* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background-color: #f2eee5;
    color: #171715;

    font-family:
        Helvetica,
        Arial,
        sans-serif;
}


body.no-scroll {
    overflow: hidden;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


/* TOP BAR */

.announcement-bar {
    padding: 10px 20px;

    background-color: #151513;
    color: white;

    text-align: center;

    font-size: 9px;
    font-weight: bold;

    letter-spacing: 2px;
}


/* HEADER */

.site-header {
    position: sticky;

    top: 0;

    z-index: 50;

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 30px;

    padding:
        20px 40px;

    background-color:
        rgba(242, 238, 229, 0.96);

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


.brand-name {
    color: #171715;

    text-decoration: none;

    font-size: 15px;
    font-weight: bold;

    letter-spacing: 3px;

    white-space: nowrap;
}


nav {
    display: flex;

    justify-content: center;

    gap: 25px;
}


nav a {
    color: #171715;

    text-decoration: none;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 2px;
}


nav a:hover {
    opacity: 0.55;
}


.header-actions {
    display: flex;

    gap: 15px;
}


.header-button,
.mobile-menu-button {
    border: none;

    background: none;

    color: #171715;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 1px;
}


.mobile-menu-button {
    display: none;
}


/* HERO */

.hero {
    min-height: 650px;

    display: flex;

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

    padding:
        80px 20px;

    color: white;

    text-align: center;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.30),
            rgba(0, 0, 0, 0.58)
        ),
        url("images/abide-hero-banner.png");

    background-position: center;

    background-size: cover;
}


.hero-content {
    max-width: 800px;
}


.section-label {
    font-size: 9px;

    font-weight: bold;

    letter-spacing: 3px;
}


.hero h1 {
    margin:
        12px 0 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            58px,
            10vw,
            105px
        );

    font-weight: normal;

    letter-spacing: 12px;
}


.hero-subtitle {
    margin-top: 5px;

    letter-spacing: 8px;
}


.hero-message {
    max-width: 600px;

    margin:
        30px auto 38px;

    font-size: 17px;

    line-height: 1.7;
}


.hero-buttons {
    display: flex;

    justify-content: center;

    gap: 12px;
}


.main-button,
.outline-button {
    padding:
        16px 28px;

    text-decoration: none;

    font-size: 9px;
    font-weight: bold;

    letter-spacing: 2px;
}


.main-button {
    background-color: white;

    color: #171715;
}


.outline-button {
    color: white;

    border:
        1px solid white;
}


/* GENERAL */

.brand-intro,
.about,
.faq,
.contact {
    padding:
        105px 25px;
}


.brand-intro,
.about,
.contact {
    text-align: center;
}


.brand-intro,
.about {
    max-width: 850px;

    margin: auto;
}


.brand-intro h2,
.section-heading h2,
.about h2,
.faq h2,
.contact h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            30px,
            4vw,
            43px
        );

    font-weight: normal;

    letter-spacing: 3px;
}


.brand-intro p,
.section-heading p,
.about p,
.contact p {
    color: #656158;

    line-height: 1.8;
}


/* COLLECTION */

.collection {
    padding:
        100px 40px;

    background-color: #ded8cb;
}


.section-heading {
    max-width: 750px;

    margin: auto;

    text-align: center;
}


/* SEARCH */

.shop-tools {
    max-width: 900px;

    margin:
        45px auto;

    display: grid;

    gap: 15px;
}


.shop-tools input {
    width: 100%;

    padding: 15px;

    background-color: white;

    border:
        1px solid #bbb5aa;
}


.filter-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;
}


.filter-button {
    padding:
        10px 16px;

    background: transparent;

    border:
        1px solid #171715;

    font-size: 9px;
    font-weight: bold;

    letter-spacing: 2px;
}


.filter-button.active {
    background-color: #171715;

    color: white;
}


/* PRODUCTS */

.products {
    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;
}


.product {
    background-color: white;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.product.hidden {
    display: none;
}


.product:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.10);
}


/* SAME IMAGE SIZE FOR ALL PRODUCTS */

.product-image-area {
    position: relative;

    height: 430px;

    display: flex;

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

    padding: 18px;

    overflow: hidden;

    background-color: #ebe7df;
}


.product-image-area img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    transition:
        transform 0.3s ease;
}


.product:hover
.product-image-area img {
    transform:
        scale(1.02);
}


/* HEART */

.heart-button {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    background-color:
        rgba(255, 255, 255, 0.94);

    color: #171715;

    border: none;

    border-radius: 50%;

    font-size: 22px;
}


.heart-button.saved {
    background-color: #171715;

    color: white;
}


/* PRODUCT BADGE */

.product-badge {
    position: absolute;

    left: 16px;
    bottom: 16px;

    padding:
        8px 10px;

    background-color: #171715;

    color: white;

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

    letter-spacing: 2px;
}


/* PRODUCT TEXT */

.product-info {
    padding: 27px;
}


.product-type {
    margin:
        0 0 8px;

    color: #8b867d;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 2px;
}


.product-info h3 {
    margin:
        0 0 7px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;

    font-weight: normal;

    letter-spacing: 2px;
}


.product-color {
    margin:
        0 0 15px;

    color: #171715;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 2px;
}


.product-detail {
    color: #656158;

    font-size: 12px;

    line-height: 1.6;
}


.price {
    color: #171715;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1px;
}


.product-buttons {
    display: grid;

    gap: 8px;

    margin-top: 22px;
}


.product-buttons button {
    width: 100%;

    padding: 14px;

    font-size: 9px;

    font-weight: bold;

    letter-spacing: 2px;
}


.view-button {
    background-color: white;

    color: #171715;

    border:
        1px solid #171715;
}


.view-button:hover {
    background-color: #171715;

    color: white;
}


.coming-soon-button,
.coming-soon-large {
    background-color: #d5d0c6;

    color: #747069;

    border:
        1px solid #c4beb3;

    cursor: not-allowed;
}


/* VALUES */

.values {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    padding:
        75px 40px;

    background-color: white;

    text-align: center;
}


.value {
    padding: 30px;

    border-right:
        1px solid #ddd8cf;
}


.value:last-child {
    border-right: none;
}


.value span {
    color: #8b867d;

    font-size: 10px;
}


.value h3 {
    letter-spacing: 2px;
}


.value p {
    color: #656158;

    line-height: 1.6;
}


/* FAQ */

.faq {
    max-width: 900px;

    margin: auto;

    text-align: center;
}


.faq-list {
    margin-top: 45px;

    text-align: left;
}


.faq-item {
    border-bottom:
        1px solid #bfb9ae;
}


.faq-question {
    width: 100%;

    display: flex;

    justify-content: space-between;

    padding:
        22px 0;

    background: none;

    border: none;

    color: #171715;

    text-align: left;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1px;
}


.faq-answer {
    display: none;

    padding-bottom: 20px;

    color: #656158;

    line-height: 1.8;
}


.faq-item.open
.faq-answer {
    display: block;
}


/* CONTACT */

.contact {
    background-color: #ded8cb;
}


.contact-email {
    display: inline-block;

    margin:
        15px 0;

    color: #171715;

    text-decoration: none;

    font-weight: bold;
}


/* FOOTER */

footer {
    padding:
        70px 25px;

    background-color: #151513;

    color: white;

    text-align: center;
}


footer h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: normal;

    letter-spacing: 5px;
}


.copyright {
    margin-top: 30px;

    color: #8c8c86;

    font-size: 10px;
}


/* MODAL */

.modal {
    position: fixed;

    inset: 0;

    z-index: 150;

    display: none;

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

    padding: 20px;
}


.modal.open {
    display: flex;
}


.modal-background {
    position: absolute;

    inset: 0;

    background-color:
        rgba(0, 0, 0, 0.76);
}


.modal-content {
    position: relative;

    z-index: 1;

    width:
        min(950px, 100%);

    max-height: 90vh;

    display: grid;

    grid-template-columns:
        1.1fr 1fr;

    background-color: white;

    overflow: auto;
}


.modal-image-area {
    min-height: 560px;

    display: flex;

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

    padding: 30px;

    background-color: #ebe7df;
}


.modal-image-area img {
    width: 100%;

    height: 100%;

    max-height: 540px;

    object-fit: contain;
}


.modal-information {
    padding:
        50px 42px;
}


.modal-information h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 34px;

    font-weight: normal;

    letter-spacing: 2px;
}


.modal-information > p {
    color: #656158;

    line-height: 1.7;
}


.modal-price {
    color: #171715 !important;

    font-weight: bold;
}


.behind-design {
    margin:
        28px 0;

    padding: 22px;

    background-color: #f2eee5;
}


.product-specs {
    display: grid;

    gap: 10px;

    margin-bottom: 25px;
}


.product-specs p {
    margin: 0;

    padding-bottom: 10px;

    border-bottom:
        1px solid #ddd8cf;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 2px;
}


.coming-soon-large {
    width: 100%;

    padding: 16px;

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 2px;
}


.close-button {
    position: absolute;

    top: 12px;
    right: 16px;

    z-index: 2;

    border: none;

    background: none;

    font-size: 34px;
}


/* DRAWERS */

.drawer {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 210;

    width:
        min(430px, 92vw);

    height: 100%;

    display: flex;

    flex-direction: column;

    background-color: white;

    transform:
        translateX(105%);

    transition:
        transform 0.3s ease;
}


.drawer.open {
    transform:
        translateX(0);
}


.drawer-overlay {
    position: fixed;

    inset: 0;

    z-index: 200;

    display: none;

    background-color:
        rgba(0, 0, 0, 0.60);
}


.drawer-overlay.open {
    display: block;
}


.drawer-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 25px;

    border-bottom:
        1px solid #ddd;
}


.drawer-header h2 {
    margin: 0;

    letter-spacing: 3px;
}


.drawer-header button {
    border: none;

    background: none;

    font-size: 30px;
}


.drawer-items {
    flex: 1;

    padding: 25px;

    overflow-y: auto;
}


.drawer-item {
    display: grid;

    grid-template-columns:
        85px 1fr;

    gap: 15px;

    padding:
        15px 0;

    border-bottom:
        1px solid #ddd;
}


.drawer-item img {
    width: 85px;

    height: 95px;

    object-fit: contain;

    background-color: #ebe7df;
}


/* EMPTY SEARCH */

.no-products-message {
    display: none;

    margin-top: 45px;

    text-align: center;
}


/* TABLET */

@media (max-width: 900px) {

    .site-header {
        grid-template-columns:
            1fr auto;

        padding:
            18px 20px;
    }


    .mobile-menu-button {
        display: block;
    }


    nav {
        position: absolute;

        top: 100%;

        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        padding: 25px;

        background-color: #f2eee5;
    }


    nav.open {
        display: flex;
    }


    .header-actions {
        grid-column:
            1 / -1;

        justify-content:
            space-between;
    }


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


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


    .value {
        border-right: none;

        border-bottom:
            1px solid #ddd8cf;
    }

}


/* PHONE */

@media (max-width: 600px) {

    body {
        overflow-x: hidden;
    }


    .announcement-bar {
        font-size: 8px;

        letter-spacing: 1px;
    }


    .brand-name {
        font-size: 13px;

        letter-spacing: 2px;
    }


    .hero {
        min-height: 530px;
    }


    .hero h1 {
        font-size: 50px;

        letter-spacing: 6px;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .collection {
        padding:
            80px 17px;
    }


    .product-image-area {
        height: 340px;

        padding: 15px;
    }


    .modal {
        padding: 10px;
    }


    .modal-content {
        grid-template-columns: 1fr;
    }


    .modal-image-area {
        min-height: 310px;
    }


    .modal-image-area img {
        max-height: 300px;
    }


    .modal-information {
        padding:
            35px 22px;
    }

}