* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f4f1eb;
    color: #151515;
}

button,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* HEADER */

.header {
    height: 82px;
    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 100;

    background: rgba(244, 241, 235, .86);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(0,0,0,.07);
}

.logo {
    color: #111;
    text-decoration: none;

    font-family: "Manrope";
    font-weight: 800;
    font-size: 23px;

    letter-spacing: -1px;
}

.logo span {
    font-size: 9px;
    vertical-align: top;
}

.header nav {
    display: flex;
    gap: 36px;
}

.header nav a {
    text-decoration: none;
    color: #555;

    font-size: 13px;
    font-weight: 600;

    transition: .2s;
}

.header nav a:hover {
    color: #111;
}

.cart-button {
    border: 0;
    background: #151515;
    color: white;

    padding: 12px 18px;

    cursor: pointer;

    font-size: 12px;
    font-weight: 700;
}

.cart-button span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 8px;

    width: 21px;
    height: 21px;

    background: white;
    color: #111;

    border-radius: 50%;
}


/* HERO */

.hero {
    min-height: 100vh;

    padding: 160px 8% 100px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
    overflow: hidden;
}

.hero-small {
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;

    margin-bottom: 25px;
}

.hero h1 {
    font-family: "Manrope";
    font-size: clamp(75px, 10vw, 155px);

    line-height: .82;
    letter-spacing: -8px;

    max-width: 1100px;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 2px #151515;
}

.hero > p {
    max-width: 470px;

    margin-top: 40px;

    color: #666;

    font-size: 15px;
    line-height: 1.8;
}

.hero-button {
    width: fit-content;

    margin-top: 35px;

    padding: 16px 22px;

    background: #151515;
    color: white;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: .25s;
}

.hero-button span {
    margin-left: 30px;
}

.hero-button:hover {
    transform: translateY(-3px);
}

.hero-word {
    position: absolute;

    right: -30px;
    bottom: -80px;

    font-family: "Manrope";
    font-size: 270px;
    font-weight: 800;

    letter-spacing: -18px;

    color: rgba(0,0,0,.025);

    pointer-events: none;
}


/* PRODUCTS */

.products {
    padding: 140px 8%;

    background: #151515;
    color: white;
}

.section-heading span,
.about > span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #888;
}

.section-heading h2 {
    font-family: "Manrope";
    font-size: clamp(50px, 6vw, 85px);

    letter-spacing: -5px;

    margin-top: 12px;
}

.section-heading p {
    color: #777;
    margin-top: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

    margin-top: 70px;
}

.product-card {
    background: #202020;

    border: 1px solid rgba(255,255,255,.08);
}

.product-image {
    height: 460px;

    position: relative;

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

    background: #e9e6df;
}

.image-placeholder {
    color: #999;

    text-align: center;

    display: flex;
    flex-direction: column;
}

.image-placeholder span {
    font-family: "Manrope";
    font-weight: 800;
    font-size: 35px;
}

.image-placeholder small {
    margin-top: 7px;
}

.product-tag {
    position: absolute;

    top: 20px;
    left: 20px;

    background: #151515;
    color: white;

    padding: 9px 12px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-tag.secondary {
    background: white;
    color: #111;
}

.product-info {
    padding: 30px;
}

.product-top {
    display: flex;
    justify-content: space-between;

    gap: 20px;
}

.product-top small {
    color: #777;

    font-size: 8px;
    letter-spacing: 2px;
}

.product-top h3 {
    font-family: "Manrope";

    font-size: 28px;

    margin-top: 4px;
}

.product-top > strong {
    font-family: "Manrope";
    font-size: 25px;
}

.product-info > p {
    margin: 18px 0 28px;

    color: #888;

    font-size: 13px;
}

.product-info label {
    display: block;

    margin: 17px 0 7px;

    color: #777;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.product-info select {
    width: 100%;

    padding: 14px;

    color: white;
    background: #181818;

    border: 1px solid #333;

    outline: none;
}

.add-button {
    width: 100%;

    margin-top: 25px;
    padding: 17px;

    display: flex;
    justify-content: space-between;

    background: white;
    color: #111;

    border: 0;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition: .25s;
}

.add-button:hover {
    background: #ddd;
}


/* ABOUT */

.about {
    min-height: 650px;

    padding: 140px 8%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
}

.about h2 {
    font-family: "Manrope";

    font-size: clamp(60px, 7vw, 110px);

    letter-spacing: -7px;
    line-height: .9;

    margin-top: 20px;
}

.about h2 em {
    color: #777;
    font-style: normal;
}

.about p {
    max-width: 500px;

    color: #666;

    line-height: 1.8;

    margin-top: 35px;
}


/* DELIVERY */

.delivery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: #151515;
    color: white;
}

.delivery > div {
    min-height: 330px;

    padding: 45px;

    border-right: 1px solid #292929;
}

.delivery span {
    color: #666;

    font-size: 11px;
}

.delivery h3 {
    font-family: "Manrope";

    font-size: 27px;

    margin-top: 65px;
}

.delivery p {
    color: #777;

    font-size: 13px;
    line-height: 1.6;

    max-width: 270px;

    margin-top: 12px;
}

.delivery strong {
    display: block;

    margin-top: 30px;

    font-size: 11px;
    letter-spacing: 1px;
}


/* CART */

.cart-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.55);

    z-index: 199;

    opacity: 0;
    visibility: hidden;

    transition: .3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart {
    position: fixed;

    right: -520px;
    top: 0;

    width: min(480px, 100%);
    height: 100vh;

    z-index: 200;

    background: #f4f1eb;

    display: flex;
    flex-direction: column;

    transition: right .4s cubic-bezier(.2,.8,.2,1);
}

.cart.active {
    right: 0;
}

.cart-header {
    padding: 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid #ddd;
}

.cart-header small {
    color: #888;
    font-size: 9px;
    letter-spacing: 2px;
}

.cart-header h2 {
    font-family: "Manrope";
    font-size: 30px;
}

.cart-header button {
    border: 0;
    background: none;

    font-size: 35px;

    cursor: pointer;
}

.cart-items {
    flex: 1;

    overflow-y: auto;

    padding: 25px 30px;
}

.empty-cart {
    color: #888;

    text-align: center;

    margin-top: 70px;
}

.cart-item {
    padding: 20px 0;

    display: flex;
    justify-content: space-between;

    gap: 20px;

    border-bottom: 1px solid #ddd;
}

.cart-item h4 {
    font-family: "Manrope";
}

.cart-item p {
    margin-top: 5px;

    color: #777;

    font-size: 12px;
}

.remove-item {
    margin-top: 8px;

    border: 0;
    background: none;

    color: #999;

    text-decoration: underline;

    font-size: 10px;

    cursor: pointer;
}

.cart-bottom {
    padding: 25px 30px 30px;

    border-top: 1px solid #ddd;
}

.cart-total {
    display: flex;
    justify-content: space-between;

    margin-bottom: 20px;
}

.cart-total strong {
    font-family: "Manrope";

    font-size: 23px;
}

.checkout-button {
    width: 100%;

    padding: 18px;

    border: 0;

    background: #151515;
    color: white;

    cursor: pointer;

    font-size: 11px;
    font-weight: 800;
}


/* TOAST */

.toast {
    position: fixed;

    left: 50%;
    bottom: -80px;

    transform: translateX(-50%);

    z-index: 300;

    padding: 14px 20px;

    background: #151515;
    color: white;

    font-size: 11px;
    font-weight: 700;

    transition: .35s;
}

.toast.active {
    bottom: 30px;
}


/* FOOTER */

footer {
    min-height: 250px;

    padding: 70px 8%;

    display: flex;
    align-items: flex-end;

    gap: 35px;

    background: #0b0b0b;
    color: white;
}

.footer-logo {
    font-family: "Manrope";
    font-size: 35px;
    font-weight: 800;

    margin-right: auto;
}

footer p,
footer span {
    color: #666;

    font-size: 11px;
}


/* MOBILE */

@media(max-width: 800px) {

    .header nav {
        display: none;
    }

    .hero h1 {
        letter-spacing: -5px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 350px;
    }

    .delivery {
        grid-template-columns: 1fr;
    }

    .delivery > div {
        min-height: 260px;
    }

    .about h2 {
        letter-spacing: -4px;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
    }
    /* =========================
   CART QUANTITY
========================= */

.cart-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.cart-item-top h3 {
    font-family: "Manrope", sans-serif;
    font-size: 15px;
}

.cart-item-top p {
    margin-top: 5px;

    color: #777;
    font-size: 11px;
}

.cart-item-top strong {
    font-size: 13px;
    white-space: nowrap;
}

.cart-item-bottom {
    margin-top: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* - 1 + */

.quantity-control {
    display: flex;
    align-items: center;

    border: 1px solid #333;
}

.quantity-control button {
    width: 38px;
    height: 36px;

    border: 0;

    background: transparent;
    color: white;

    font-size: 18px;

    cursor: pointer;

    transition: .2s;
}

.quantity-control button:hover {
    background: white;
    color: #111;
}

.quantity-control span {
    min-width: 34px;

    text-align: center;

    font-size: 11px;
    font-weight: 700;
}


/* REMOVE */

.remove-item {
    padding: 8px 0;

    border: 0;

    background: transparent;
    color: #666;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;

    cursor: pointer;

    transition: .2s;
}

.remove-item:hover {
    color: white;
}


/* EMPTY */

.empty-cart {
    padding: 50px 0;

    text-align: center;
}

.empty-cart span {
    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.empty-cart p {
    margin-top: 8px;

    color: #666;
    font-size: 11px;
}
.cart-unit-price {
    display: inline-block;
    margin-top: 9px;

    color: #555;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: .4px;
}
/* =========================================
   ADD TO CART NOTIFICATION
========================================= */

.product-toast {
    position: fixed;

    right: 28px;
    bottom: 28px;

    width: min(390px, calc(100vw - 40px));

    padding: 18px 20px;

    display: flex;
    align-items: center;

    gap: 15px;

    background: #111;
    color: white;

    border: 1px solid #292929;

    box-shadow:
        0 25px 70px rgba(0,0,0,.25);

    z-index: 9999;


    /* hidden */

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(25px)
        scale(.97);

    transition:
        opacity .3s ease,
        transform .3s ease,
        visibility .3s;
}


/* SHOW */

.product-toast.show {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);
}


/* CHECK */

.toast-check {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

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

    border-radius: 50%;

    background: white;
    color: #111;

    font-size: 16px;
    font-weight: 900;
}


/* CONTENT */

.toast-content {
    min-width: 0;
}

.toast-content > span {
    display: block;

    margin-bottom: 4px;

    color: #666;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.toast-content strong {
    display: block;

    font-family: "Manrope", sans-serif;

    font-size: 14px;
    font-weight: 700;
}

.toast-content p {
    margin-top: 4px;

    color: #888;

    font-size: 10px;
}


/* LITTLE TIMER LINE */

.product-toast::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background: white;

    transform-origin: left;
}

.product-toast.show::after {
    animation:
        toastTimer 2.5s linear forwards;
}


@keyframes toastTimer {

    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }

}


/* MOBILE */

@media(max-width:600px) {

    .product-toast {
        right: 15px;
        bottom: 15px;

        width: calc(100vw - 30px);
    }

}
/* =====================================
   PRODUCT ADDED POPUP
===================================== */

.product-toast {
    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 370px;
    max-width: calc(100vw - 30px);

    padding: 19px;

    display: flex;
    align-items: center;

    gap: 15px;

    background: #111;
    color: #fff;

    border: 1px solid #2d2d2d;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .3);

    z-index: 999999;

    overflow: hidden;


    opacity: 0;

    transform:
        translateY(30px)
        scale(.96);

    transition:
        opacity .3s ease,
        transform .3s ease;
}


.product-toast.show {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* CHECK */

.toast-check {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

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

    border-radius: 50%;

    background: #fff;
    color: #111;

    font-size: 17px;
    font-weight: 900;
}


/* TEXT */

.toast-info {
    min-width: 0;
}


.toast-info span {
    display: block;

    margin-bottom: 4px;

    color: #707070;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.7px;
}


.toast-info strong {
    display: block;

    font-family: "Manrope", sans-serif;

    color: #fff;

    font-size: 15px;
    font-weight: 700;
}


.toast-info p {
    margin: 4px 0 0;

    color: #8b8b8b;

    font-size: 10px;
}


/* TIMER */

.toast-progress {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 2px;

    background: #fff;

    transform-origin: left;

    animation:
        toastProgress 2.6s linear forwards;
}


@keyframes toastProgress {

    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }

}


/* PHONE */

@media (max-width: 600px) {

    .product-toast {
        right: 15px;
        bottom: 15px;

        width: calc(100vw - 30px);
    }

}
}