/* ========================================
   GLOBAL
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f2;
    color: #111;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

button {
    font-family: inherit;
}



/* ========================================
   HEADER
========================================= */

header {
    height: 72px;
    background: white;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 0 30px;

    position: sticky;
    top: 0;

    z-index: 1000;

    border-bottom: 1px solid #ddd;
}

.logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3px;
    white-space: nowrap;
}

.icon-button,
.cart {
    border: none;
    background: none;
    color: #111;
    cursor: pointer;
}

.icon-button {
    font-size: 22px;
}

.menu {
    justify-self: start;
}

.header-right {
    justify-self: end;

    display: flex;
    align-items: center;

    gap: 22px;
}

.cart {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}



/* ========================================
   HERO
========================================= */

.hero {
    min-height: calc(100vh - 72px);

    background: #111;
    color: white;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 65px 25px 70px;

    text-align: center;
}

.collection {
    margin-bottom: 30px;

    font-size: 10px;
    letter-spacing: 5px;
}

.hero-photo {
    width: min(500px, 70vw);
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #222;
}

.hero-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

.hero h1 {
    margin-top: 32px;

    font-size: clamp(65px, 10vw, 120px);

    line-height: 0.8;

    letter-spacing: -5px;

    font-weight: 900;
}

.shop-button {
    margin-top: 38px;

    padding: 17px 40px;

    background: white;
    color: black;

    border: 1px solid white;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 2px;

    cursor: pointer;

    transition: 0.25s;
}

.shop-button:hover {
    background: transparent;
    color: white;
}



/* ========================================
   ANNOUNCEMENT
========================================= */

.announcement {
    background: #111;
    color: white;

    padding: 14px 0;

    overflow: hidden;

    border-top: 1px solid #333;
    border-bottom: 1px solid #333;

    text-align: center;

    white-space: nowrap;
}

.announcement-track {
    font-size: 10px;
    letter-spacing: 2px;
}



/* ========================================
   SHOP
========================================= */

main {
    padding: 90px 30px 130px;
}

.shop-header {
    margin-bottom: 60px;
    text-align: center;
}

.shop-header h2 {
    font-size: 42px;
    letter-spacing: -2px;
}

.shop-header p {
    margin-top: 10px;

    font-size: 10px;
    letter-spacing: 4px;
}



/* ========================================
   PRODUCTS
========================================= */

.products {
    max-width: 1400px;

    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 60px 25px;
}

.product {
    cursor: pointer;
}

.product-image {
    width: 100%;
    aspect-ratio: 4 / 5;

    background: #eeeeeb;

    overflow: hidden;

    transition: transform 0.35s ease;
}

.product-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.product:hover .product-image {
    transform: scale(0.985);
}

.product:hover .product-image img {
    transform: scale(1.025);
}

.product-info {
    margin-top: 15px;

    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 15px;
}

.product-info h3 {
    font-size: 12px;
    letter-spacing: 0.5px;
}

.product-info p {
    font-size: 12px;

    color: #555;

    white-space: nowrap;
}



/* ========================================
   BRAND SECTION
========================================= */

.brand-section {
    min-height: 650px;

    background: #111;
    color: white;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 70px 30px;

    text-align: center;
}

.established {
    margin-bottom: 35px;

    font-size: 10px;
    letter-spacing: 5px;
}

.brand-section h2 {
    font-size: clamp(65px, 11vw, 145px);

    line-height: 0.78;

    letter-spacing: -7px;
}

.brand-description {
    margin-top: 55px;

    font-size: 11px;

    line-height: 1.8;

    letter-spacing: 3px;
}



/* ========================================
   FOOTER
========================================= */

footer {
    min-height: 300px;

    background: white;

    padding: 70px 30px 35px;

    display: flex;
    flex-direction: column;

    align-items: center;

    text-align: center;
}

.footer-logo {
    font-size: 25px;

    font-weight: 900;

    letter-spacing: 4px;
}

.instagram {
    margin-top: 35px;

    color: black;

    text-decoration: none;

    font-size: 12px;

    letter-spacing: 1px;
}

.instagram:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: auto;

    padding-top: 60px;

    font-size: 8px;

    line-height: 1.8;

    letter-spacing: 1px;
}



/* ========================================
   PRODUCT MODAL
========================================= */

.product-modal {
    position: fixed;

    inset: 0;

    z-index: 4000;

    visibility: hidden;

    pointer-events: none;
}

.product-modal.open {
    visibility: visible;

    pointer-events: auto;
}


.modal-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.55);

    opacity: 0;

    transition: opacity 0.3s ease;
}

.product-modal.open .modal-backdrop {
    opacity: 1;
}


.modal-panel {
    position: absolute;

    top: 0;
    right: 0;

    width: min(1000px, 90vw);
    height: 100%;

    background: white;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    overflow-y: auto;

    transform: translateX(100%);

    transition: transform 0.4s ease;
}

.product-modal.open .modal-panel {
    transform: translateX(0);
}


.modal-close {
    position: absolute;

    top: 22px;
    right: 25px;

    width: 40px;
    height: 40px;

    z-index: 10;

    border: none;

    background: white;

    font-size: 30px;
    font-weight: 300;

    cursor: pointer;
}


.modal-image {
    min-height: 100%;

    background: #efefec;
}

.modal-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.modal-details {
    padding: 100px 55px 50px;

    display: flex;
    flex-direction: column;
}


.modal-label {
    font-size: 9px;

    letter-spacing: 3px;

    margin-bottom: 20px;
}


.modal-details h2 {
    font-size: 38px;

    line-height: 1;

    letter-spacing: -1.5px;
}


.modal-price {
    margin-top: 18px;

    font-size: 14px;
}


.modal-description {
    margin-top: 35px;

    max-width: 420px;

    font-size: 13px;

    line-height: 1.7;

    color: #444;
}



/* SIZE */

.size-section {
    margin-top: 45px;
}


.option-heading {
    display: flex;

    justify-content: space-between;

    margin-bottom: 12px;

    font-size: 9px;

    letter-spacing: 1.5px;
}


.sizes {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 7px;
}


.size-button {
    height: 48px;

    background: white;

    border: 1px solid #ccc;

    cursor: pointer;

    font-size: 11px;

    transition: 0.2s;
}


.size-button:hover {
    border-color: black;
}


.size-button.selected {
    background: black;

    color: white;

    border-color: black;
}



/* QUANTITY */

.quantity-section {
    margin-top: 35px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    font-size: 9px;

    letter-spacing: 1.5px;
}


.quantity-control {
    display: flex;

    align-items: center;

    border: 1px solid #ccc;
}


.quantity-control button {
    width: 40px;
    height: 40px;

    border: none;

    background: white;

    cursor: pointer;

    font-size: 17px;
}


.quantity-control span {
    width: 35px;

    text-align: center;

    font-size: 11px;
}



/* ADD TO BAG */

.add-to-bag {
    width: 100%;

    margin-top: 30px;

    padding: 19px;

    background: black;

    color: white;

    border: 1px solid black;

    cursor: pointer;

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 2px;

    transition: 0.2s;
}


.add-to-bag:hover {
    background: white;

    color: black;
}


.product-notes {
    margin-top: 30px;

    padding-top: 25px;

    border-top: 1px solid #ddd;

    display: flex;

    flex-direction: column;

    gap: 12px;

    font-size: 8px;

    letter-spacing: 1.3px;

    color: #666;
}



/* ========================================
   FAKE MESSAGE
========================================= */

.fake-message {
    position: fixed;

    bottom: 25px;
    left: 50%;

    transform: translate(-50%, 150px);

    background: black;
    color: white;

    padding: 18px 30px;

    z-index: 5000;

    font-size: 10px;

    letter-spacing: 2px;

    white-space: nowrap;

    transition: transform 0.35s ease;
}

.fake-message.show {
    transform: translate(-50%, 0);
}



/* ========================================
   MOBILE
========================================= */

@media (max-width: 750px) {

    header {
        height: 62px;

        padding: 0 16px;
    }

    .logo {
        font-size: 12px;

        letter-spacing: 2px;
    }

    .heart {
        display: none;
    }

    .header-right {
        gap: 8px;
    }

    .cart {
        font-size: 10px;
    }

    .menu {
        font-size: 18px;
    }



    /* HERO */

    .hero {
        min-height: calc(100vh - 62px);

        padding: 45px 18px 55px;
    }

    .collection {
        margin-bottom: 25px;

        font-size: 8px;

        letter-spacing: 4px;
    }

    .hero-photo {
        width: min(82vw, 400px);
    }

    .hero h1 {
        margin-top: 27px;

        font-size: 68px;

        letter-spacing: -4px;
    }

    .shop-button {
        margin-top: 32px;
    }



    /* SHOP */

    main {
        padding: 70px 12px 100px;
    }

    .shop-header {
        margin-bottom: 40px;
    }

    .shop-header h2 {
        font-size: 32px;
    }

    .shop-header p {
        font-size: 8px;

        letter-spacing: 3px;
    }



    /* PRODUCTS */

    .products {
        grid-template-columns: repeat(2, 1fr);

        gap: 45px 10px;
    }

    .product-info {
        display: block;

        line-height: 1.8;
    }

    .product-info h3 {
        font-size: 10px;
    }

    .product-info p {
        font-size: 10px;
    }



    /* BRAND */

    .brand-section {
        min-height: 500px;

        padding: 60px 20px;
    }

    .established {
        font-size: 8px;

        margin-bottom: 30px;
    }

    .brand-section h2 {
        font-size: 58px;

        letter-spacing: -4px;
    }

    .brand-description {
        margin-top: 40px;

        font-size: 9px;

        letter-spacing: 2px;
    }



    /* FOOTER */

    .footer-logo {
        font-size: 17px;

        letter-spacing: 3px;
    }



    /* PRODUCT MODAL */

    .modal-panel {
        width: 100%;

        display: block;

        overflow-y: auto;
    }

    .modal-close {
        position: fixed;

        top: 14px;
        right: 14px;

        background: white;
    }

    .modal-image {
        width: 100%;

        min-height: auto;

        aspect-ratio: 4 / 5;
    }

    .modal-details {
        padding: 45px 22px 60px;
    }

    .modal-details h2 {
        font-size: 30px;
    }

    .modal-description {
        font-size: 12px;
    }

    .size-section {
        margin-top: 35px;
    }



    /* MESSAGE */

    .fake-message {
        max-width: calc(100vw - 30px);

        padding: 16px 20px;

        font-size: 8px;
    }

}



/* VERY SMALL PHONES */

@media (max-width: 380px) {

    .logo {
        font-size: 10px;

        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .brand-section h2 {
        font-size: 50px;
    }

}