:root {
    --white: #f9f9f9;
    --offwhite: #dfdfdf;
    --grey: #999999;
    --black: #000000;
    --red: #b54c2f;

    --logo-height: 2.5rem;
    --header-padding-y: 1rem;
    --header-border-bottom-width: 0.25rem;
}
* {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    background-color: var(--white);
    height: 100%;
}
html, body, .input, .btn {
    margin: 0;
    font-size: 16px;
    line-height: 1.4rem;
    font-family: -apple-system,BlinkMacSystemFont,helvetica,"helvetica neue",ubuntu,roboto,noto,"segoe ui",arial,sans-serif;
    font-weight: 500;
}
body {
    display: flex;
    flex-direction: column;
}
a {
    color: var(--primary);
}
.text-primary {
    color: var(--primary) !important;
}
.text-grey {
    color: var(--grey) !important;
}
.text-red {
    color: var(--red) !important;
}
p, .margin-t-3 {
    margin-top: 1rem;
}
p, .margin-b-5 {
    margin-bottom: 1.5rem;
}
img {
    width: 100%;
    height: auto;
}
h1 {
    font-size: 3rem;
    line-height: 3.5rem;
    margin: 0;
}
h2 {
    font-size: 2rem;
    line-height: 2.25rem;
    margin: 0;
}
h3, .h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    margin: 0;
}
.btn, .input {
    padding: 0.5rem 0.75rem;
    line-height: 1.2rem;
    height: 2.2rem;
    color: var(--black);
    border-radius: 0.25rem;
    border: 0;
    vertical-align: middle;
}
.btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 500;
}
.btn[disabled], .btn[disabled]:hover {
    opacity: 0.6;
    cursor: default;
    text-decoration: none !important;
}
.btn-link, .btn:not(.btn-link):hover, .btn:not(.btn-link):focus {
    text-decoration: underline;
}
.btn.btn-sm {
    padding: 0.25rem 0.5rem;
    height: 1.7rem;
}
.btn.btn-lg {
    padding: 0.75rem 1.125rem;
    height: 2.625rem;
    font-weight: 700;
}
.btn.btn-wide {
    padding: 0.375rem 1.5rem;
}
.btn.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn.btn-white {
    background-color: var(--white);
    color: var(--black);
    border: 0.125rem solid var(--offwhite);
}
.btn.btn-offwhite {
    background-color: var(--offwhite);
    color: var(--black);
}
.input {
    background-color: var(--white);
    border: 0.125rem solid var(--offwhite);
    font-family: inherit;
}
.input::placeholder {
    text-transform: uppercase;
    font-weight: 500;
}
.wrap {
    width: 100%;
    max-width: 1210px;
    margin: 0 auto;
    padding: 0 1rem;
}
.flex {
    display: flex;
}
.flex.flex-wrap {
    flex-wrap: wrap;
}
.flex.row {
    flex-direction: row;
}
.flex.column {
    flex-direction: column;
}
.flex.align-centre {
    display: flex;
    align-items: center;
}
.flex.space-between {
    display: flex;
    justify-content: space-between;
}
.flex-0 {
    flex: 0;
}
.flex-1 {
    flex: 1;
}
.pad-y-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.pad-y-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.pad-l-4 {
    padding-left: 1rem;
}
.logo {
    width: auto;
    max-width: 50vw;
    height: var(--logo-height);
}
.logo svg, .logo img {
    width: auto;
    height: 100%;
    max-width: 100%;
}
.toggle {
    display: inline-block;
    cursor: pointer;
    line-height: 1.5rem;
    position: relative;
}
.toggle input {
    opacity: 0;
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 1px;
    height: 1px;
    margin: 0;
}
.toggle span:nth-child(2) {
    display: inline-block;
    position: relative;
    width: 2.5rem;
    height: 1.75rem;
    left: 0;
    top: 0;
    vertical-align: middle;
    border: 0.125rem solid var(--offwhite);
    border-radius: 1rem;
    background-color: var(--white);
}
.toggle span:nth-child(2):before {
    content: "";
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    left: 0;
    top: 0;
    border: 0.125rem solid var(--white);
    border-radius: 50%;
    background-color: var(--offwhite);
    -webkit-transition: transform 0.4s;
    transition: transform 0.4s;
}
.toggle input:checked + span:nth-child(2) {
    background-color: var(--primary);
}
.toggle input:checked + span:nth-child(2):before {
    -webkit-transform: translateX(0.75rem);
    -ms-transform: translateX(0.75rem);
    transform: translateX(0.75rem);
    border-color: var(--primary);
    background-color: var(--white);
}
.toggle b, .toggle span {
    vertical-align: middle;
}

header, section {
    padding: var(--header-padding-y) 0;
}
header {
    border-bottom: var(--header-border-bottom-width) solid var(--primary);
}
/*header nav > div {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 2.5rem);
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background-color: var(--offwhite);
    z-index: 1000;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
}
header nav.nav-open > div {
    display: flex;
}
header nav > div > div {
    position: fixed;
    top: 0;
    left: 0;
    width: 2.5rem;
    height: 100%;
    cursor: pointer;
}
header nav > div a {
    margin-bottom: 1rem;
}*/
header form {
    display: none;
}

.list-inline, .md-list-inline {
    padding: 0 1rem;
    list-style: none;
    margin: 0 -1rem;
}
.list-inline li {
    display: inline;
    font-size: 0.75rem;
}
.list-inline li + li:before {
    padding: 0.5rem;
}
.breadcrumbs {
    max-width: 480px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.list-inline.breadcrumbs li + li:before {
    content: "/\00a0";
}
.list-inline.piped li + li:before {
    content: "|\00a0";
}
.postcode {
    position: relative;
}
.postcode a {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
}
.table-row {
    display: table-row;
}
.table-cell {
    display: table-cell;
}
.quantity input {
    width: 100%;
}

main > section:nth-child(1) {
    background-color: var(--offwhite);
    min-height: calc(100vh - (var(--logo-height) + (var(--header-padding-y) * 2) + var(--header-border-bottom-width)));
    display: flex;
    align-items: center;
}
main > section:nth-child(1) .wrap {
    flex-direction: column;
}
main > section:nth-child(1).region-found h1 {
    font-size: 2rem;
    line-height: 2.5rem;
    margin: 0.75rem 0;
}
main > section:nth-child(1) form {
    display: flex;
    flex-direction: column;
}
main > section:nth-child(1) form .input {
    width: 100%;
}
main > section:nth-child(1) .price-found h2 {
    color: var(--primary);
    font-size: 4rem;
    line-height: 5rem;
}
main > section:nth-child(1) .price-found form {
    display: block;
    max-width: 480px;
}
main > section:nth-child(1) .price-found form > div {
    width: 100%;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}
main > section:nth-child(1) .contact-line span {
    display: inline-block;
}
main > section:nth-child(1) .contact-line a {
    color: var(--black) !important;
}
.home main > section:nth-child(1) aside {
    display: none;
}
main > section:nth-child(1) aside img {
    max-width: 320px;
}

.cart h1, .checkout h1 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 1rem;
}
.cart-postcode-form > span {
    line-height: 2.2rem;
}
.cart .items {
    width: 100%;
}
.cart .items .item, .cart .total-row {
    padding: 1rem 0;
    border-top: 2px solid var(--grey);
}
.cart .items .product-link img {
    width: 7rem;
}
.cart .items .flex.md-space-between {
    flex-direction: column;
}
.cart .items .product-link {
    display: block;
}
.cart .items .total-row, .cart .items .item-subtotal {
    text-align: right;
}
.cart .items .total-row table {
    float: right;
}
.cart .items .total-row table td:nth-child(2) {
    padding-left: 1rem;
}
.cart .items .total-row table tr:nth-child(4) td:nth-child(2) {
    font-weight: bold;
}

.checkout main > section:nth-child(1) .wrap {
    max-width: 768px;
    margin: 0 auto;
}
.checkout-fields .btn {
    display: none;
}
.checkout-aside {
    margin-top: 1rem;
}
.checkout-aside .items {
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--grey);
}
.checkout-aside .legal {
    padding-top: 1rem;
    border-top: 2px solid var(--grey);
    font-size: 90%;
}

.related-product {
    margin-bottom: 1rem;
}

footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
    padding: 2rem 0;
}
footer svg path {
    fill: var(--white) !important;
}
footer, footer a {
    color: rgba(255, 255, 255, 0.8) !important;
}
footer .flex {
    flex-direction: column;
}
footer .list-inline li {
    display: block;
}
footer .accreditation {
    max-width: 10rem;
    max-height: 10rem;
}

@media (min-width: 320px) {
    .flex.sm-row {
        flex-direction: row;
    }
}
@media (min-width: 768px) {
    .home main > section:nth-child(1) aside {
        display: block;
    }
    .related-product {
        flex: 33.33%;
        max-width: 33.33%;
    }
    .flex.md {
        display: flex;
    }
    .flex.md-row {
        flex-direction: row;
    }
    .flex.md-space-between {
        justify-content: space-between;
    }
    .flex.md-align-centre {
        display: flex;
        align-items: center;
    }
    .flex-0:not(:first-child), .flex-1:not(:first-child) {
        padding-left: 0.5rem;
    }
    .flex-0:not(:last-child), .flex-1:not(:last-child) {
        padding-right: 0.5rem;
    }
    .pad-md-l-4 {
        padding-left: 1rem;
    }
    /*header .wrap {
        display: flex;
        flex-direction: column-reverse;
    }
    #nav-open {
        display: none;
    }
    header nav > div {
        position: relative;
        width: auto;
        height: 2.5rem;
        display: flex;
        flex-direction: row;
        align-self: flex-end;
        align-items: center;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
    }
    .nav-close {
        display: none;
    }*/
    header form {
        display: flex;
    }
    header .cart-btn {
        margin-left: 1rem;
    }

    .md-list-inline {
        padding: 0 1rem;
        list-style: none;
        margin: 0 -1rem;
    }
    .md-list-inline li {
        display: inline;
        font-size: 0.75rem;
    }
    .md-list-inline li + li:before {
        padding: 0.5rem;
    }
    .breadcrumbs {
        max-width: 768px;
    }
    .md-list-inline.breadcrumbs li + li:before {
        content: "/\00a0";
    }
    .md-list-inline.piped li + li:before {
        content: "|\00a0";
    }

    main > section:nth-child(1) {
        padding: 2.5rem 0;
        position: relative;
    }
    main > section:nth-child(1) .wrap {
        flex-direction: row;
    }
    main > section:nth-child(1) form {
        flex-direction: row;
    }

    .cart .items .flex.md-space-between {
        flex-direction: row;
    }

    .checkout-fields .btn {
        display: inline-block;
    }
    .checkout-aside {
        margin-top: 0;
        padding-left: 1rem !important;
    }
    .checkout-aside .btn {
        display: none;
    }
}

@media (min-width: 1210px) {
    .wrap {
        padding: 0;
    }
}

/* fontawesome */
.fa {
    display: inline-block;
    font-size: inherit;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
    width: auto;
}
.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}