:root {
    --body-font:"Inter", sans-serif;
    --header-font: "Playfair Display", serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

p {
    font-family: var(--body-font);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.75);
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;

    &.show {
        opacity: 1;
        visibility: visible;
    }

    .intro {
        background-color: #FFFFFF;
        padding: 0;
        max-width: 640px;

        p {
            margin: 10px 20px;
        }

        h3 {
            background-color: #3d3d3d;
            color: white;
            margin: 0 0 20px 0;
            padding: 10px 20px;
            font-size: 2rem;
            font-weight: 500;
        }

        .buttons {
            margin-top: 30px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            justify-content: center;

            a {
                display: block;
                text-align: center;
                text-decoration: none;
                font-family: "Inter", sans-serif;
                color: #666666;
                padding: 20px 0;
                border-top: 1px solid #DDDDDD;
                text-transform: uppercase;

                &:hover {
                    background-color: #FAFAFA;
                }
            }
            a:nth-child(2) {
                border-left: 1px solid #DDDDDD;
            }
        }
    }

}



.image-zoom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.75);

    .big-image {

        border: 10px solid #DDDDDD;
        background-color: #FFFFFF;
        display: flex;
        justify-content: center;
        align-items: center;


        img {
            min-width: 400px;
            max-width: 80%;
            max-height: 90vh;
            width: auto;
            height: auto;
            display: block;
        }
    }

    &.show {
        opacity: 1;
        visibility: visible;
    }
}

#sidecart {
    position: fixed;
    z-index: 20;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background-color: #FFFFFF;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 10px;
    font-family: "Inter", sans-serif;
    color: #444;
    overflow-y: scroll;

    &.show {
        right: 0;
    }

    img.close {
        cursor: pointer;
    }

}
.cart-header {
    display: flex;
    justify-content: space-between;
    color: #333;
}

.cart-columns {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-bottom: 1px solid #EEEEEE;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 230px 100px;
    padding: 10px 0;
    margin: 10px 0;
    border-bottom: 1px solid #EEEEEE;

    .image-holder {
        border: 1px solid #EEEEEE;
        width: 100px;
        height: 100px;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    img {
        width: auto;
        max-width: 100%;
        max-height: 100%;
    }

    .price {
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .item-text {

        display: flex;
        flex-direction: column;
        padding: 5px 10px;

        a.delete {
            display: block;
            width: 20px;
            height: 20px;
            background-image: url("/img/icons/trash.svg");
            background-size: contain
        }

        p {
            color: #666666;
            font-size: 1rem;
            margin: 0 0 5px 0;
        }

        p.attribute {
            font-size: 0.8rem;
            margin-bottom: 2px;
        }

        .options {

            p {
                font-size: 0.8rem;
                font-weight: bold;
                margin-bottom: 2px;
                border-top: 1px solid #EEEEEE;
                padding-top: 5px;

                &.option {
                    padding: 0;
                    font-weight: normal;
                    border-top: none;
                }
            }

            padding: 5px 0;
        }

        .edit {
            flex-grow: 1;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: flex-end;

            .quantity {
                display: flex;
                align-items: flex-end;
                column-gap: 2px;

                input {
                    -webkit-appearance: textfield;
                    appearance: textfield;
                    font-size: 0.9rem;
                    line-height: 24px;
                    width: 24px;
                    height: 24px;
                    text-align: center;
                    border: 1px solid #DDDDDD;
                    color: #444444;
                }

                a {
                    width: 18px;
                    height: 24px;
                    line-height: 24px;
                    text-align: center;
                    text-decoration: none;
                    font-size: 0.9rem;
                    display: inline-block;
                    border: 1px solid #DDDDDD;
                    color: #444444;
                }
            }
        }
    }
}

.summary {

    padding: 20px 0;

    p {
        text-align: right;
        font-size: 1.2rem;
        line-height: 2.2rem;
        color: #444444;
        margin: 5px 0;
        padding: 5px 10px;
        font-weight: 300;
        display: flex;
        justify-content: space-between;

        &.total {
            font-size: 1.6rem;
        }
    }
}
a.checkout {
    display: block;
    text-align: center;
    background-color: #666666;
    color: #fff;
    text-decoration: none;
    padding: 10px;
}


.ticker {
    background-color: #EDFFEC;
    padding: 5px;

    p {
        margin: 0;
        text-align: center;
        color: #3d3d3d;
    }
}

header {
    background-color: #3d3d3d;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    .container {
        margin: 15px;
        width: 100%;
        max-width: 1480px;
        display: grid;
        grid-gap: 10px;
        grid-template-columns: 150px 1fr;
    }

    .logo {

        display: flex;
        align-items: center;
        justify-content: left;

        img {
            width: 100%;
            max-width: 150px;
            height: auto;
        }
    }

    nav {
        display: flex;
        align-items: center;
        font-family: "Inter", sans-serif;
        position: fixed;
        z-index: 3;
        top: 0;
        width: 100%;
        right: -100%;
        background-color: #F4F4F4;
        transition: all 0.3s ease;

        &.show {
            right: 0;
        }

        ul {
            display: flex;
            flex-direction: column;
            list-style-type: none;
            margin: 0;
            padding: 0;
            width: 100%;
            font-size: 1.4rem;
        }

        li {

            border-bottom: 1px solid #DDDDDD;

            &:last-child {
                border-bottom: none;
            }

            .dropdown {
                width: 100%;
                height: 200px;
                position: absolute;
                top: calc(100% - 1px);
                left: 0;
                background-color: #3d3d3d;
                transition: opacity 0.2s ease;
                visibility: hidden;
                opacity: 0;
            }

            &:hover {
                .dropdown {
                    visibility: visible;
                    opacity: 1;
                }
            }
        }

        a {
            display: block;
            color: #3d3d3d;
            padding: 20px 15px;
            text-decoration: none;
            text-align: center;
        }

        .offcanvas {
            position: absolute;
            right: 5px;
            top: 5px;
            width: 50px;
            height: 50px;
        }
    }

    .searchbox {
        display: flex;
        align-items: center;
        grid-row-start: 2;
        grid-column-start: 1;
        grid-column-end: span 2;
        position: relative;

        form {
            display: flex;
            width: 100%;

            input {
                height: 35px;
                flex-grow: 1;
                margin: 0;
                border-left: 1px solid #EDFFEC;
                border-top: 1px solid #EDFFEC;
                border-bottom: 1px solid #EDFFEC;
                border-right: none;
                background: none;
                border-radius: 20px 0 0 20px;
                color: #FFFFFF;
                padding-left:10px;
                font-family: "Inter", sans-serif;
                font-size: 16px;

                &:focus {
                    outline: none;
                }
            }

            button {
                height: 35px;
                width: 45px;
                margin: 0;
                border-right: 1px solid #EDFFEC;
                border-top: 1px solid #EDFFEC;
                border-bottom: 1px solid #EDFFEC;
                border-left: none;
                background: none;
                border-radius: 0 20px 20px 0;
                display: flex;
                align-items: center;
                justify-content: center;

                svg {
                    fill: #EDFFEC;
                    width: 20px;
                    height: auto;
                }
            }


        }

        .results {
            position: absolute;
            top: 100%;
            z-index: 3;
            background-color: white;
            width: 100%;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 10px;

            &.active {
                opacity: 1;
                visibility: visible;
            }

            h3 {
                font-family: "Inter", sans-serif;
                font-size: 1.2rem;
                font-weight: normal;
                color: #444444;
            }

            a {
                display: block;
                color: #3d3d3d;
                border-bottom: 1px solid #DDDDDD;
                padding: 15px 5px;
                font-family: "Inter", sans-serif;
                text-decoration: none;
                background-color: #FFFFFF;

                &:hover {
                    background-color: #EEEEEE;
                }

                &:last-child {
                    border-bottom: none;
                }
            }
        }
    }

    .buttons {
        display: flex;
        align-items: center;
        justify-content: flex-end;

        div {
            display: flex;
            position: relative;
            overflow: visible;
        }

        .counter {
            position: absolute;
            right: -5px;
            top: -5px;
            background-color: darkred;
            color: white;
            border-radius: 10px;
            pointer-events: none;
            font-size: 15px;
            min-height:20px;
            min-width: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--body-font);
        }

        img {
            height: 30px;
            width: auto;
            margin-left: 10px;
            cursor: pointer;
        }

        svg {
            fill: #FFFFFF;
            width: auto;
            height: 30px;
        }
    }

}

@media (min-width: 700px) {

    header {

        .container {
            grid-template-columns: 150px 1fr auto;
        }

        .searchbox {
            justify-content: flex-end;
            grid-row-start: auto;
            grid-column-start: auto;
            grid-column-end: auto;

            form {
                width: 80%;
                max-width: 460px;
            }

        }
    }
}

@media (min-width: 1200px) {

    header {

        .container {
            grid-template-columns: 150px 2fr 1fr auto;
            margin: 0 15px;
        }

        .searchbox {

            form {
                width: 100%;
                max-width: unset;
            }
        }

        nav {
            position: static;
            top: auto;
            right: auto;
            background-color: transparent;
            padding-left: 20px;
            transition: none;

            ul {
                flex-direction: row;
                font-size: 1.1rem;
            }

            li {
                border-bottom: none;
            }

            a {
                color: white;
                padding: 20px 10px;
            }
        }

        .offcanvas {
            display: none;
        }
    }
}

main {
    flex-grow: 1;
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.hero {
    background-color: #CCDBDC;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    .slideshow {
        margin: 40px;
        width: 100%;
        max-width: 1920px;
        height: 700px;
        border: 10px solid white;
        box-shadow: 0 1px 1px rgba(0,0,0,0.1),
        0 2px 2px rgba(0,0,0,0.09),
        0 4px 4px rgba(0,0,0,0.08),
        0 8px 8px rgba(0,0,0,0.07),
        0 16px 16px rgba(0,0,0,0.06);
        position: relative;
        background-color: #FFFFFF;

        > div {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            top: 0;
            opacity: 0;
            visibility: hidden;
            transition: all 1s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;

            &.active {
                visibility: visible;
                opacity: 1;
            }
        }

        .text-content {
            background-color: rgba(0,0,0,0.5);
            color: #FFFFFF;
            width: 500px;
            text-align: center;
            margin-bottom: 30px;

            h2 {
                font-family: "Playfair Display", serif;
                font-size: 4rem;
                font-weight: 300;
                margin: 20px 10px;
            }

            p {
                font-size: 1.2rem;
                margin: 20px 10px;
            }
        }

        .frame1 {
            background: url("/img/Delta-Premium.webp") no-repeat center bottom;
            background-size: cover;
        }

        .frame2 {
            background: url("/img/Kappa-black-Premium.webp") no-repeat center bottom;
            background-size: cover;
        }

        .frame3 {
            background: url("/img/Theta-Premium.webp") no-repeat center bottom;
            background-size: cover;
        }
    }
}

.intro-text {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 0;

    h2 {
        text-align: center;
        font-family: "Playfair Display", serif;
        font-size: 3rem;
        font-weight: 100;
        margin: 20px 10px;
        color: #3d3d3d;
    }

    p {
        text-align: center;
        max-width: 900px;
        line-height: 1.8;
        font-family: "Inter", sans-serif;
        font-size: 1.1rem;
        color: #3d3d3d;
    }
}

@media (min-width: 700px) {
    .intro-text {

        h2 {
            font-size: 4rem;
        }
    }
}

.blocks {
    background-color: #f5f4f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;

    .block {
        max-width: 2000px;
        display: grid;
        grid-template-columns: 100%;

        .image {

            img {
                display: block;
                width: 100%;
                height: auto;
            }
        }

        .text {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 10px;

            h3 {
                text-align: center;
                font-family: "Playfair Display", serif;
                font-size: 3rem;
                font-weight: 100;
                margin: 20px 10px;
                color: #3d3d3d;
            }

            p {
                text-align: center;
                line-height: 1.8;
                font-family: "Inter", sans-serif;
                font-size: 1rem;
                color: #3d3d3d;
            }

            hr {
                width: 80%;
                max-width: 900px;
                color: #DDDDDD;
                margin-top: 40px;
            }
        }
    }
}

@media (min-width: 860px) {
    .blocks {
        .block {
            grid-template-columns: [image] 50% [text] 50%;

            .image {
                grid-area: image;
            }
            .text {
                grid-area: text;
            }

            &.rtl {
                grid-template-columns: [text] 50% [image] 50%;
            }
        }
    }
}

@media (min-width: 1200px) {
    .blocks {
        .block {
            .text {
                padding: 100px;
            }
        }
    }
}

.squares {
    background-color: #f5f4f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;

    .square {
        max-width: 2000px;
        display: grid;
        grid-template-columns: 100%;

        .image {

            img {
                display: block;
                width: 100%;
                height: auto;
            }
        }

        .text {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 10% 0;

            h3 {
                text-align: center;
                font-family: "Playfair Display", serif;
                font-size: clamp(2.25rem, 1.828rem + 1.875vw, 3rem);
                font-weight: 100;
                margin: 20px 10px;
                color: #3d3d3d;
            }

            p {
                text-align: center;
                line-height: 1.8;
                font-family: "Inter", sans-serif;
                font-size: clamp(0.8rem, 0.631rem + 0.75vw, 1.1rem);
                color: #3d3d3d;
                width: calc(60% + (1000px - 100vw)/2);
                max-width: 80%;
                min-width: 60%;
            }

            hr {
                width: 60%;
                max-width: 900px;
                color: #DDDDDD;
                margin-top: 40px;
            }
        }
    }
}

@media (min-width: 1000px) {
    .squares {
        .square {
            grid-template-columns: [image] 50% [text] 50%;

            .image {
                grid-area: image;
            }
            .text {
                grid-area: text;

                h3 {
                    font-size: clamp(2.25rem, 1.5rem + 1.2vw, 3rem);
                }

                p {
                    font-size: clamp(0.9rem, 0.6rem + 0.48vw, 1.2rem);
                    width: calc(60% + (2000px - 100vw)/2);
                }
            }

            &.rtl {
                grid-template-columns: [text] 50% [image] 50%;
            }
        }
    }
}


.quote {
    background-color: #3d3d3d;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 0;

    h4 {

        text-align: center;
        font-family: "Playfair Display", serif;
        font-size: 1.8rem;
        font-style: italic;
        font-weight: 100;
        margin: 20px 10px;
        color: #FFFFFF;
        max-width: 900px;
    }

    p {
        text-align: center;
        max-width: 900px;
        font-family: "Inter", sans-serif;
        font-size: 1rem;
        color: #DDDDDD;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 20px;
    max-width: 1440px;
    margin: 20px;

    .image {

        img {
            display: block;
            width: 100%;
            height: auto;
        }
    }
    .half {
        grid-column: auto / span 6;
    }
}

.carousel {

    overflow: scroll;
    width: 100%;

    .belt {
        display: flex;
        align-items: center;
        column-gap: 60px;

        .image {
            width: 20%;
            display: inline-block;
            flex-shrink: 0;
        }

        img {
            display: block;
            width: 100%;
            height: auto;
        }
    }
}

.hero2 {
    min-height: 50vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    h1 {
        color: #FFFFFF;
        font-size: 4rem;
        font-weight: 300;
        text-shadow: 0 0 10px rgba(0,0,0,0.5);
    }

    &.mattress {
        background: url("/img/Kappa-black-Premium.webp") no-repeat center bottom;
        background-size: cover;
    }

    &.sofa {
        background: url("/img/Miro-corner-group.webp") no-repeat center bottom;
        background-size: cover;
    }

    &.dining {
        background: url("/img/Bentleys-Chester-Oak-Roomset3.webp") no-repeat center bottom;
        background-size: cover;
    }
}

.products-container {
    background-color: #EEEEEE;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-table {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    max-width: 1740px;

    .product-card {
        background-color: #FFFFFF;
        display: flex;
        flex-direction: column;

        box-shadow: 0 1px 1px rgba(0,0,0,0.12),
                    0 2px 2px rgba(0,0,0,0.12),
                    0 4px 4px rgba(0,0,0,0.12),
                    0 8px 8px rgba(0,0,0,0.12),
                    0 16px 16px rgba(0,0,0,0.12);

        p.title {
            font-family: "Playfair Display", serif;
            color: #444444;
            text-align: center;
            font-size: 1.6rem;
        }
        .image-holder {
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;

            img {
                width: 100%;
                height: auto;
            }

            img.reveal {
                position: absolute;
                top: 0;
                left: 0;
                transition: all 0.5s ease;
                opacity: 0;
                visibility: hidden;
            }

            &:hover {

                img.reveal {
                    visibility: visible;
                    opacity: 1;
                }
            }
        }

        .buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            justify-content: center;

            a {
                display: block;
                text-align: center;
                text-decoration: none;
                font-family: "Inter", sans-serif;
                color: #666666;
                padding: 20px 0;
                border-top: 1px solid #DDDDDD;
                text-transform: uppercase;

                &:hover {
                    background-color: #FAFAFA;
                }
            }
            a:nth-child(2) {
                border-left: 1px solid #DDDDDD;
            }
        }
    }
}

@media (min-width: 680px) {
    .product-table {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 900px) {
    .product-table {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media (min-width: 1200px) {
    .product-table {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.product-container {
    background: #F4F4F4;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.product{
    display: flex;
    flex-direction: column;

    img.main {
        width:  100%;
        height: auto;
        cursor: zoom-in;
    }

    .details {

        padding: 20px;
        background: #FFFFFF;

        h1 {
            font-family: "Playfair Display", serif;
            font-size: 2.8rem;
            margin-top: 0;
            font-weight: 500;
            margin-bottom: 5px;
        }

        h2 {
            font-family: "Inter", sans-serif;
            font-size: 1.8rem;
            margin-top: 0;
            font-weight: 500;
            color: #666666;
        }

        p.sku {
            font-size: 0.9rem;
            color: #333333;

            span {
                font-weight: bold;
                color: #999999;
            }
        }

        p.RRP {
            text-decoration: line-through;
            font-style: italic;
            color: #666666;
        }
        p.Sale {
            font-size: 1.4rem;
            font-weight: bold;
            color: rebeccapurple;
        }

        p.price {
            font-size: 2rem;
            color: #666666;
        }

        p.description {
            color: #444444;
            line-height: 1.5;
        }

        form.attributes {
            display: flex;
            display: none;
            flex-direction: column;
            font-family: "Inter", sans-serif;
            padding-bottom: 10px;

            label {
                color: #666666;
                margin: 15px 0 5px 0;
                font-size: 0.9rem;
            }

            select {
                font-size: 1.1rem;
                font-family: "Inter", sans-serif;
                padding: 5px;
                background-color: #FFFFFF;
                border: 1px solid #DDDDDD;
                color: #444444;

                option {
                    font-family: "Inter", sans-serif;
                    color: red;
                }
            }

        }

        div.attributes {
            position: relative;

            p.label {
                color: #666666;
                margin: 15px 0 0 0;
                font-size: 0.9rem;
            }

            p.current {
                border: 1px solid #DDDDDD;
                padding: 5px;
                position: relative;
                margin-top: 5px;

                &::after {
                    content: '\25BE';
                    position: absolute;
                    right: 10px;
                }
            }

            .attribute-list {
                position: absolute;
                z-index: 10;
                top: 100%;
                background-color: #FFFFFF;
                width: 100%;
                border-radius: 5px;
                box-shadow: 0 8px 16px 0 rgba(0,0,0,0.3);
                display: none;
            }

            &:hover {
                .attribute-list {
                    display: block;
                }
            }

            div.selected {
                background-color: #EEEEEE;
            }

            div.attribute {

                position: relative;

                > p {
                    cursor: pointer;
                    margin: 0;
                    padding: 4px 10px;

                }

                .swatches {
                    display: grid;
                    grid-template-columns: 1fr 1fr 1fr;
                    grid-gap: 10px;
                    position: absolute;
                    right: 100%;
                    top: -100px;
                    border: 1px solid #DDDDDD;
                    background-color: #FFFFFF;
                    opacity: 0;
                    visibility: hidden;
                    transition: all 0.2s ease;
                    padding: 20px;
                }

                .swatch {

                    padding: 10px;
                    cursor: pointer;

                    img {
                        width: 200px;
                        height: auto;

                    }

                    &:hover {
                        background-color: #EEEEEE;
                    }
                }

                &:hover {
                    background-color: #eeeeee;
                    .swatches {
                        opacity: 1;
                        visibility: visible;
                    }
                }
            }

            div.attribute[data-status='disabled'] {

                > p {
                    color: #DDDDDD;
                    text-decoration: line-through;
                }

                .swatches {
                    display: none;
                }

                &:hover {
                    background-color: transparent;
                }
            }
        }

        div.attribute-list {
            display: flex;
            flex-direction: column;

            p {
                margin: 4px 0;
            }
        }

        h3.additional {
            font-size: 1.4rem;
            margin-top: 20px;
        }

        .option-list {

            p.title {
                font-size: 1.2rem;
                margin-bottom: 10px;
            }

        }

        .options {
            display: grid;
            grid-template-columns: repeat(4, 25%);
            grid-gap: 5px;

            .option {
                border: 1px solid #DDDDDD;
                padding: 5px;
                cursor: pointer;

                p {
                    text-align: center;
                    font-size: 0.9rem;
                    margin: 7px 0;
                }
                p.type {
                    font-size: 0.8rem;
                    font-style: italic;
                }
                &.selected {
                    border: 1px solid darkblue;
                }
                &:hover {
                    background-color: #F9F9F9;
                }
            }
        }

        .quantity {

            display: flex;
            align-items: center;
            column-gap: 5px;
            padding: 10px 0;

            input {
                -webkit-appearance: textfield;
                appearance: textfield;
                font-size: 1.4rem;
                line-height: 50px;
                width: 50px;
                height: 50px;
                text-align: center;
                border: 1px solid #DDDDDD;
                color: #444444;
            }

            a {
                width: 50px;
                height: 50px;
                line-height: 50px;
                text-align: center;
                text-decoration: none;
                font-size: 2rem;
                display: inline-block;
                border: 1px solid #DDDDDD;
                color: #444444;
            }

        }

        .buttons {

            padding: 20px 0;

            a {
                background-color: midnightblue;
                color: white;
                text-decoration: none;
                padding: 12px 0;
                display: block;
                text-align: center;
                text-transform: uppercase;
                margin: 10px 0;
            }

            a.finance {
                background-color: #DDDDDD;
                color: #333333;
            }

        }
    }

    .images {
        display: flex;
        flex-direction: column;
        align-items: center;

        .thumbs {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            grid-gap: 10px;
            background-color: #FFFFFF;
            margin-top: 40px;
            padding: 10px;

            img {
                width: 100%;
                height: auto;
                cursor: pointer;
            }
        }
    }
}

@media (min-width: 700px) {
    .product {
        .images {
            .thumbs {
                grid-template-columns: repeat(4, 1fr);
            }
        }
    }
}

.extra {
    border-top: 1px solid #CCCCCC;
    padding-top: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    .headings {
        width: 100%;
        max-width: 1440px;
        display: flex;
        justify-content: center;

        a {
            display: block;
            flex-grow: 1;
            text-align: center;
            color: #444444;
            text-decoration: none;
            font-size: 1.2rem;
            border-bottom: 1px solid #DDDDDD;
            padding: 10px 0;

            &.current {
                border-bottom: 1px solid #660066;
            }
        }
    }

    .info-block {
        border: 1px solid #DDDDDD;
        width: 100%;
        max-width: 1440px;
        padding: 30px 20px;
        min-height: 300px;
        display: none;
        margin-bottom: 40px;

        h3 {
            font-size: 2.6rem;
            font-weight: 300;
        }

        h4 {
            font-family: "Inter", sans-serif;
            color: #444444;
            font-weight: normal;

            span {
                font-weight: bold;
            }
        }

        &.current {
            display: block;
        }
    }
}


@media (min-width: 1000px) {

    .product {
        max-width: 1440px;
        flex-direction: row;
        margin: 0 20px;

        .images {
            flex-basis: 58%;
            flex-grow: 1;
            flex-shrink: 1;
            margin: 50px 20px 50px 0;
        }

        .details {
            flex-basis: 42%;
            max-width: 450px;
            flex-grow: 1;
            margin-left: 20px;
            padding: 40px;
        }
    }
}

.related {
    background-color: #F4F4F4;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;

    h2 {
        font-size: 2.6rem;
        color: #444444;
        font-weight: 300;
        margin: 0;
    }

    p {
        font-family: "Playfair Display", serif;
        font-size: 1.6rem;
        font-weight: 300;
        margin: 10px 0 30px 0;
        font-style: italic;
    }

    .products {
        width: 100%;
        max-width: 1440px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;

        > div {

            background-color: #FFFFFF;

            img {
                width: 100%;
                height: auto;
                display: block;
            }

            h3 {
                text-align: center;
                font-size: 1.2rem;

                a {
                    display: block;
                    padding: 10px 0 15px 0;
                    text-decoration: none;
                    color: #444444;
                }
            }
        }
    }
}


@media (min-width: 700px) {

    .related {

        .products {
            grid-template-columns: repeat(3, 1fr);
        }
    }
}

@media (min-width: 1000px) {

    .related {

        .products {
            grid-template-columns: repeat(4, 1fr);
        }
    }
}

.block-group1 {
    display: flex;
    flex-direction: row;
    max-width: 1280px;
    margin: 50px 0;

    .image-box {
        flex-basis: 45%;

        img {
            width: 100%;
            height: auto;
            display: block;
        }
    }

    .column {
        flex-basis: 55%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        .text-box {
            padding: 30px;
            box-shadow: 0 1px 1px rgba(0,0,0,0.1),
            0 2px 2px rgba(0,0,0,0.09),
            0 4px 4px rgba(0,0,0,0.08),
            0 8px 8px rgba(0,0,0,0.07),
            0 16px 16px rgba(0,0,0,0.06);

            background-color: #FFFFFF;
            position: relative;
            left: -50px;

            p.heading {
                text-transform: uppercase;
                color: #1688ca;
                font-weight: bold;
                margin: 15px 0;
            }

            h2 {
                font-weight: normal;
                font-size: 3rem;
                margin: 0;
                line-height: 1.2;
            }

            p {
                color: #444444;
                line-height: 1.5;
                margin: 30px 0 35px 0;
            }

            a.button {
                background-color: #3d3d3d;
                color: white;
                padding: 15px 20px;
                display: inline-block;
                text-transform: uppercase;
                text-decoration: none;

                &:hover {
                    background-color: #4d4d4d;
                }
            }
        }

        .stats {
            display: flex;
            justify-content: space-evenly;

            .stat-box {
                padding: 20px;
                text-align: center;
                color: #444444;

                h3 {
                    font-size: 3rem;
                    margin-bottom: 0;
                }
            }
        }
    }

}

.block-group2 {
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 100px 0;

    .row {
        max-width: 1440px;
        display: flex;
        align-items: center;


        p {
            color: #444444;
            line-height: 1.5;
            margin: 30px 0 35px 0;
        }

        .text-box {
            flex-basis: 30%;
            padding-right: 30px;

            h3 {
                font-size: 3rem;
                margin: 0;
                font-weight: normal;
                color: #3d3d3d
            }

            a.button {
                background-color: #3d3d3d;
                color: white;
                padding: 15px 20px;
                display: inline-block;
                text-transform: uppercase;
                text-decoration: none;

                &:hover {
                    background-color: #4d4d4d;
                }
            }
        }

        .grid {
            flex-basis: 70%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-gap: 30px;
            grid-template-rows: 1fr 1fr;

            .cell {
                display: flex;
                background-color: #FFFFFF;
                box-shadow: 0 1px 1px rgba(0,0,0,0.1),
                0 2px 2px rgba(0,0,0,0.09),
                0 4px 4px rgba(0,0,0,0.08),
                0 8px 8px rgba(0,0,0,0.07),
                0 16px 16px rgba(0,0,0,0.06);
                padding: 30px 20px;

                .icon {
                    flex-basis: 20%;
                    padding: 14px;

                    img {
                        width: 100%;
                        height: auto;
                        display: block;
                    }
                }

                .text {
                    flex-basis: 80%;
                    padding: 10px;

                    h4 {
                        font-size: 2rem;
                        margin: 0 0 10px 0;
                        font-weight: normal;
                        color: #3d3d3d;
                    }

                    p {
                        margin: 0;
                    }

                }
            }
        }
    }

    .icon-row {

        padding-top: 100px;

        img {
            width: 100%;
            height: auto;
            display: block;
        }
    }
}

.range-block {

    padding: 40px 0;
    width: 100%;
    color: #3d3d3d;
    display: flex;
    align-items: center;
    justify-content: center;

    .container {
        max-width: 1480px;
    }

    img {
        width: 100%;
        height: auto;
        display: block;
    }
    .featured {
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr;
        grid-column-gap: 60px;
        align-items: center;
        margin-bottom: 40px;

        .double-feature {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-column-gap: 20px;

            h3 {
                font-family: "Playfair Display", serif;
                font-size: 1.1rem;
                font-weight: 300;
                margin: 20px 0;
                text-align: center;
            }
        }

        h2 {
            font-family: "Playfair Display", serif;
            font-size: clamp(2.9rem, 2.281rem + 2.75vw, 4rem);
            font-weight: 300;
            margin: 20px 0;
        }

        p {
            color: #444444;
            line-height: 1.5;
            margin: 30px 0;
            font-size: clamp(0.8rem, 0.631rem + 0.75vw, 1.1rem);
        }
    }

    .grid {
        padding: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;

        .cell {

            h3 {
                font-family: "Playfair Display", serif;
                font-size: 1.1rem;
                font-weight: 300;
                margin: 20px 0;
                text-align: center;
            }

            &:nth-child(3) {
                display: none;
            }
        }
    }

    &.rtl {
        background-color: #f8f8f8;

    }
}

@media screen and (min-width: 1000px) {

    .range-block {

        padding: 100px 0;

        .featured {
            grid-template-columns: [text] 2fr [image] 3fr;

            h2 {
                font-size: clamp(2.9rem, 0.608rem + 3.667vw, 4rem);
            }

            p {
                font-size: clamp(0.8rem, 0.175rem + 1vw, 1.1rem);
            }

            .double-feature {
                grid-area: image;
            }

        }

        .text-box {
            grid-area: text;
        }

        .image-box {
            grid-area: image;
        }

        &.rtl {
            background-color: #f8f8f8;

            .featured {
                grid-template-columns: [image] 3fr [text] 2fr;
            }
        }

        .grid {
            grid-template-columns: 1fr 1fr 1fr;
            grid-gap: 40px;

            .cell {

                &:nth-child(3) {
                    display: block;
                }
            }
        }
    }
}


footer {
    background-color: #3d3d3d;
    min-height: 200px;
    justify-self: flex-end;
}

.contact{

    width: 100%;
    max-width: 1380px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px;
    align-items: center;
    padding: 40px 0;

    .form {

        background-color: #F4F4F4;
        padding: 50px;

        form {

            display: grid;
            grid-template-columns: repeat(6, 1fr);
            grid-gap: 20px;
            width: 100%;
        }

        input,textarea,button {
            border: 1px solid #CCCCCC;
            padding: 15px 10px;
            grid-column: span 6;
            background-color: #FFFFFF;
            font-family: "Inter", sans-serif;
        }

        textarea {
            min-height: 200px;
        }
    }

    .info {

        padding: 50px;

        h2 {
            font-family: "Playfair Display", serif;
            font-size: 3rem;
            font-weight: 300;
            margin: 0;
        }

        p {
            color: #444444;
            line-height: 1.5;
            margin: 30px 0;
        }

        .method {
            display: flex;
            align-items: center;
            margin: 15px 0;

            .icon {
                width: 50px;

                svg {
                    fill: #3d3d3d;
                }
            }

            .text {

                a {
                    color: #444444;
                    text-decoration: none;

                    &:hover {
                        color: #000000;
                    }
                }
            }
        }
    }
}

@media (min-width: 800px) {
    .contact {
        grid-template-columns: 1fr 1fr;
        padding: 0;

        .form {
            padding: 100px 50px;
        }
    }
}

#checkout {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1440px;

    h3 {
        text-transform: uppercase;
        font-weight: 300;
        font-size: 1.6rem;
        color: #666666;
    }
    h4 {
        text-transform: uppercase;
        font-weight: 300;
        font-size: 1.4rem;
        color: #666666;
        margin: 20px 0 10px 0;
    }

    .order {
        width: 70%;
        padding: 40px 40px 20px 0;

        .headings {
            display: flex;

            div {
                border-bottom: 3px solid #CCCCCC;
                flex-grow: 1;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                padding-bottom: 10px;

                p {
                    font-size: 1.1rem;
                    margin-bottom: 5px;
                    color: #AAAAAA;
                }

                p.sub {
                    margin-top: 0;
                    font-size: 0.8rem;
                }

                &.current {
                    border-bottom: 3px solid rebeccapurple;

                    p {
                        color: #444444;
                    }
                }
            }
        }
    }

    .forms {
        padding-top: 20px;

        .buttons {
            display: flex;
            flex-direction: row-reverse;
            justify-content: space-between;
            padding-top: 20px;

            a {
                padding: 15px;
                text-decoration: none;
                background-color: rebeccapurple;
                color: #FFFFFF;
                font-size: 1.2rem;
            }
        }


    }

    .confirmation {

        .addresses {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-gap: 20px;
            width: 100%;

            p {
                margin: 5px 0;
            }
        }

        .billing, .delivery {
            border: 1px solid #CCCCCC;
            padding: 0 20px 20px 20px;
        }

        .order-item {
            border-bottom: 1px solid #CCCCCC;
            display: grid;
            grid-template-columns: 26% 50% 12% 12%;
            align-items: center;
            margin: 10px 0;
            padding: 10px 0;

            .order-image {

                grid-row-start: 1;
                grid-row-end: 3;
                padding: 10px;

                img {
                    width: 100%;
                    height: auto;
                    display: block;
                }
            }

            .line-details {
                padding: 0 20px;
                grid-row-start: 1;
                grid-row-end: 3;
            }

            p {
                color: #444444;
                font-size: 1rem;
            }
            p.title {
                font-size: 1.3rem;
                margin-bottom: 0;
            }
            p.sku {
                margin-top: 5px;
                font-size: 0.9rem;
                font-weight: bold;
            }

            .subtotal {
                align-self: center;
                p {
                    text-align: center;
                    font-size: 0.9rem;
                    margin: 12px 0;

                    em {
                        font-size: 0.8rem;
                    }
                }
            }

            .quantity {
                align-self: center;
                p {
                    text-align: center;
                    margin: 12px 0;
                }
            }

            .line-total {
                align-self: end;
                grid-column-start: 3;
                grid-column-end: 5;

                p {
                    text-align: right;
                    font-size: 1.2rem;
                    font-weight: bold;
                    color: #666666;
                }
            }
        }
    }

    .totals {

        p {
            text-align: right;
        }

        p.order-total {
            font-size: 1.6rem;
            margin-top: 5px;
        }

        p.tax {
            margin-bottom: 5px;
            font-size: 0.9rem;
            font-style: italic;
            color: #666666;
        }

    }

    form.checkout {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-gap: 20px;
        width: 100%;

        input, select {
            border: 1px solid #CCCCCC;
            padding: 15px 10px;
            width: 100%;
            background-color: #FFFFFF;
        }

        .full {
            grid-column: span 6;
        }
        .half {
            grid-column: span 3;
        }
        .third {
            grid-column: span 2;
        }

        p.error {
            background-color: #DD0000;
            color: #fff;
            margin: 0;
            padding: 10px;
        }

        .buttons {
            display: flex;
            flex-direction: row-reverse;
            justify-content: space-between;
            padding-top: 20px;
            grid-column: span 6;

            button {
                font-family: "Inter", sans-serif;
                padding: 15px;
                background-color: rebeccapurple;
                color: #FFFFFF;
                font-size: 1.2rem;
                border: none;
            }
        }
    }

    .cart-summary {
        width: 30%;
        background-color: #F4F4F4;
        padding: 40px 20px;

        p {
            color: #666666;
        }
        .cart-item {
            display: flex;
            padding: 20px 0;
            border-bottom: 1px solid #DDDDDD;


            .image-holder {
                width: 100px;
                height: 100px;
                border: 1px solid #EEEEEE;
                background-color: #FFFFFF;
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 5px;

                img {
                    max-width: 100%;
                    max-height: 100%;
                }
            }

            .item-text {
                flex-grow: 1;
                padding: 0 10px;
            }
        }

        .subtotal {

            p {
                display: flex;
                justify-content: space-between;
            }

            border-bottom: 1px solid #DDDDDD;

        }

        .total {


            p {
                font-size: 1.6rem;
                color: #444444;
                display: flex;
                justify-content: space-between;
            }
        }
    }
}