/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: #f5f5f5;
    color: #161616;

    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.hidden {
    display: none !important;
}


/* =========================================================
   CAMPAIGN BAR
========================================================= */

.campaign-bar {
    background: #0b0b0b;
    color: #fff;

    padding: 9px 15px;

    text-align: center;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .65px;
}

.campaign-bar strong {
    color: #ffd600;
}

.campaign-bar span {
    margin: 0 7px;
    color: #696969;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;

    z-index: 1000;

    background: rgba(255,255,255,.96);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid #e9e9e9;
}

.header-container {
    max-width: 1280px;

    margin: auto;

    min-height: 68px;

    padding: 10px 20px;

    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    border: 0;
    background: transparent;

    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 21px;
    font-weight: 950;

    letter-spacing: -1px;
}

.brand-symbol {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;
    color: #fff;

    border-radius: 8px;

    font-size: 16px;
}

.header-search {
    position: relative;

    flex: 1;

    max-width: 590px;

    margin: auto;
}

.header-search svg {
    position: absolute;

    width: 18px;
    height: 18px;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #777;
}

.header-search input {
    width: 100%;
    height: 44px;

    border: 1px solid #dedede;
    border-radius: 10px;

    background: #f7f7f7;

    padding: 0 15px 0 44px;

    outline: none;

    transition: .2s;
}

.header-search input:focus {
    background: #fff;
    border-color: #999;
}

.header-cart {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    border: 1px solid #e4e4e4;
    border-radius: 10px;
}

.header-cart svg {
    width: 21px;
    height: 21px;
}


/* =========================================================
   HERO
========================================================= */

.hero-wrapper {
    padding: 22px 20px 0;
}

.hero {
    position: relative;

    max-width: 1280px;
    min-height: 405px;

    margin: auto;

    overflow: hidden;

    color: #fff;

    background:
        linear-gradient(
            125deg,
            #050505 0%,
            #111 52%,
            #292929 100%
        );

    border-radius: 24px;
}

.hero-content {
    position: relative;
    z-index: 5;

    width: 57%;

    padding: 54px;
}

.hero-label {
    display: inline-flex;

    padding: 8px 13px;

    background: #ffd600;
    color: #111;

    border-radius: 50px;

    font-size: 11px;
    font-weight: 950;

    margin-bottom: 18px;
}

.hero h1 {
    max-width: 580px;

    font-size: clamp(46px, 6vw, 75px);

    line-height: .88;

    letter-spacing: -4px;

    font-weight: 950;
}

.hero h1 span {
    display: block;

    color: #ffd600;
}

.hero p {
    max-width: 500px;

    margin: 19px 0 20px;

    color: #cecece;

    line-height: 1.55;

    font-size: 16px;
}

.hero-price-label {
    color: #aaa;

    font-size: 12px;

    margin-bottom: 1px;
}

.hero-price {
    font-size: 44px;
    font-weight: 950;

    letter-spacing: -2px;

    margin-bottom: 24px;
}

.hero-price small {
    font-size: 18px;
    letter-spacing: 0;
}

.primary-button {
    min-height: 52px;

    border: 0;
    border-radius: 9px;

    padding: 0 25px;

    background: #ffd600;
    color: #111;

    font-size: 13px;
    font-weight: 950;

    transition: .2s;
}

.primary-button:hover {
    transform: translateY(-2px);
    background: #ffe23b;
}

.hero-visual {
    position: absolute;

    width: 47%;
    height: 100%;

    right: 0;
    top: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    position: absolute;

    width: 430px;
    height: 430px;

    right: -80px;

    border-radius: 50%;

    background: #ffd600;
}

.hero-visual img {
    position: relative;

    z-index: 2;

    width: 92%;
    max-height: 360px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 30px 27px rgba(0,0,0,.45)
        );

    transform: rotate(-3deg);
}


/* =========================================================
   BENEFITS
========================================================= */

.benefits {
    max-width: 1280px;

    margin: 15px auto 0;

    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.benefit {
    padding: 15px;

    display: flex;
    align-items: center;
    gap: 11px;

    background: #fff;

    border: 1px solid #e7e7e7;
    border-radius: 12px;
}

.benefit-icon {
    min-width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f2f2f2;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 950;
}

.benefit strong {
    display: block;

    font-size: 12px;

    margin-bottom: 2px;
}

.benefit span {
    display: block;

    font-size: 10px;

    color: #777;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-section {
    max-width: 1280px;

    margin: auto;

    padding: 47px 20px 65px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}

.section-label {
    display: block;

    color: #777;

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1.3px;

    margin-bottom: 5px;
}

.section-heading h2 {
    font-size: 30px;

    letter-spacing: -1.3px;

    line-height: 1;
}

.section-heading > span {
    color: #777;

    font-size: 12px;
}


/* =========================================================
   FILTERS
========================================================= */

.filters {
    display: flex;
    gap: 8px;

    overflow-x: auto;

    padding-bottom: 20px;

    scrollbar-width: none;
}

.filters::-webkit-scrollbar {
    display: none;
}

.filter {
    flex-shrink: 0;

    height: 38px;

    padding: 0 17px;

    border: 1px solid #ddd;
    border-radius: 50px;

    background: #fff;

    font-size: 12px;
    font-weight: 750;
}

.filter.active {
    background: #111;
    border-color: #111;

    color: #fff;
}


/* =========================================================
   GRID
========================================================= */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 14px;

    cursor: pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.product-card:hover {
    transform: translateY(-3px);

    border-color: #d1d1d1;

    box-shadow:
        0 13px 33px rgba(0,0,0,.07);
}

.card-image {
    position: relative;

    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 14px;

    background: #f7f7f7;

    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: .25s;
}

.product-card:hover .card-image img {
    transform: scale(1.035);
}

.card-discount {
    position: absolute;

    top: 11px;
    left: 11px;

    padding: 6px 8px;

    border-radius: 6px;

    background: #111;
    color: #fff;

    font-size: 9px;
    font-weight: 900;
}

.card-campaign {
    position: absolute;

    top: 11px;
    right: 11px;

    padding: 6px 8px;

    border-radius: 6px;

    background: #ffd600;
    color: #111;

    font-size: 9px;
    font-weight: 900;
}

.card-content {
    padding: 14px;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;

    margin-bottom: 7px;

    color: #777;

    font-size: 10px;
}

.card-rating .star {
    color: #f0b400;

    font-size: 13px;
}

.card-title {
    min-height: 42px;

    color: #252525;

    font-size: 13px;
    font-weight: 650;

    line-height: 1.45;

    margin-bottom: 12px;
}

.card-old-price {
    color: #999;

    text-decoration: line-through;

    font-size: 10px;
}

.card-price {
    margin: 2px 0 3px;

    color: #111;

    font-size: 23px;
    font-weight: 950;

    letter-spacing: -.8px;
}

.card-campaign-text {
    margin-bottom: 12px;

    color: #777;

    font-size: 9px;
}

.card-button {
    width: 100%;
    height: 42px;

    border: 0;
    border-radius: 8px;

    background: #111;
    color: #fff;

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    grid-column: 1 / -1;

    padding: 70px 20px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 14px;

    text-align: center;
}

.empty-state strong {
    display: block;

    margin-bottom: 7px;

    font-size: 19px;
}

.empty-state span {
    color: #777;

    font-size: 12px;
}


/* =========================================================
   CAMPAIGN INFORMATION
========================================================= */

.campaign-information {
    max-width: 1240px;

    margin: 0 auto 60px;

    padding: 20px;

    background: #fff;

    border: 1px solid #e7e7e7;
    border-radius: 13px;

    color: #666;

    font-size: 11px;

    line-height: 1.6;
}

.campaign-information strong {
    display: block;

    color: #222;

    margin-bottom: 4px;
}


/* =========================================================
   PRODUCT PAGE
========================================================= */

.product-page {
    min-height: 80vh;
}

.product-page-container {
    max-width: 1240px;

    margin: auto;

    padding: 26px 20px 70px;
}

.back-button {
    border: 0;

    background: transparent;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #555;

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 22px;
}

.back-button svg {
    width: 17px;
    height: 17px;
}


/* =========================================================
   PRODUCT MAIN
========================================================= */

.product-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(350px, .95fr);

    gap: 43px;

    padding: 28px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 18px;
}


/* =========================================================
   GALLERY
========================================================= */

.main-image-box {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    padding: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f6f6f6;

    border-radius: 14px;
}

.main-image-box img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.product-campaign-tag {
    position: absolute;

    z-index: 2;

    top: 15px;
    left: 15px;

    padding: 7px 9px;

    border-radius: 6px;

    background: #ffd600;
    color: #111;

    font-size: 9px;
    font-weight: 950;
}

.thumbnails {
    display: flex;

    gap: 8px;

    overflow-x: auto;

    padding-top: 10px;

    scrollbar-width: none;
}

.thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    flex-shrink: 0;

    width: 69px;
    height: 69px;

    padding: 5px;

    border: 1px solid #ddd;
    border-radius: 9px;

    background: #fafafa;
}

.thumbnail.active {
    border: 2px solid #111;
}

.thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   PRODUCT INFO
========================================================= */

.product-info {
    padding: 9px 0;
}

.product-brand {
    margin-bottom: 8px;

    color: #777;

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1px;
}

.product-info h1 {
    font-size: 29px;

    line-height: 1.15;

    letter-spacing: -1px;

    margin-bottom: 12px;
}

.detail-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;

    padding-bottom: 18px;

    border-bottom: 1px solid #ededed;

    color: #777;

    font-size: 11px;
}

.stars {
    color: #f0b400;

    letter-spacing: -1px;
}

.rating-separator {
    color: #ddd;
}

.price-container {
    padding: 20px 0;

    border-bottom: 1px solid #ededed;
}

.detail-original-price {
    color: #999;

    font-size: 12px;

    text-decoration: line-through;

    margin-bottom: 1px;
}

.detail-price-row {
    display: flex;
    align-items: center;

    gap: 10px;
}

.detail-price {
    font-size: 36px;
    font-weight: 950;

    letter-spacing: -1.7px;
}

.detail-discount {
    padding: 5px 7px;

    border-radius: 5px;

    background: #111;
    color: #fff;

    font-size: 10px;
    font-weight: 900;
}

.campaign-price-text {
    margin-top: 3px;

    color: #666;

    font-size: 10px;
}


/* =========================================================
   OPTIONS
========================================================= */

.option-block {
    padding: 18px 0;

    border-bottom: 1px solid #ededed;
}

.option-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 11px;
}

.option-heading strong {
    font-size: 12px;
}

.option-heading span {
    color: #777;

    font-size: 11px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}

.size-button {
    width: 54px;
    height: 43px;

    border: 1px solid #d7d7d7;
    border-radius: 7px;

    background: #fff;

    font-size: 12px;
    font-weight: 800;

    transition: .15s;
}

.size-button:hover {
    border-color: #777;
}

.size-button.active {
    background: #111;
    color: #fff;

    border-color: #111;
}


/* =========================================================
   BUY
========================================================= */

.buy-button {
    width: 100%;
    height: 55px;

    margin-top: 21px;

    border: 0;
    border-radius: 9px;

    background: #111;
    color: #fff;

    font-size: 13px;
    font-weight: 950;

    letter-spacing: .2px;

    transition: .2s;
}

.buy-button:hover {
    background: #292929;
}

.buy-button.needs-size {
    animation: shake .28s linear 2;
}

@keyframes shake {

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }

}

.purchase-info {
    display: grid;

    gap: 8px;

    margin-top: 15px;
}

.purchase-info > div {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #777;

    font-size: 10px;

    line-height: 1.4;
}

.purchase-info svg {
    min-width: 16px;
    width: 16px;
    height: 16px;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.description-card {
    margin-top: 17px;

    padding: 30px;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 16px;
}

.description-card h2 {
    margin-bottom: 18px;

    font-size: 22px;

    letter-spacing: -.6px;
}

.description-content {
    color: #555;

    font-size: 13px;

    line-height: 1.75;
}

.description-content b {
    color: #222;
}


/* =========================================================
   RELATED
========================================================= */

.related-section {
    padding-top: 45px;
}

.related-grid {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #111;

    color: #fff;
}

.footer-container {
    max-width: 1280px;

    margin: auto;

    padding: 40px 20px 25px;
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.3fr 1fr 1fr;

    gap: 45px;

    padding-bottom: 30px;
}

.footer-brand strong {
    display: block;

    font-size: 20px;

    margin-bottom: 9px;
}

.footer-brand p {
    max-width: 380px;

    color: #999;

    font-size: 11px;

    line-height: 1.6;
}

.footer-column strong {
    display: block;

    margin-bottom: 11px;

    font-size: 12px;
}

.footer-column span,
.footer-column a {
    display: block;

    margin-bottom: 7px;

    color: #999;

    text-decoration: none;

    font-size: 10px;
}

.footer-column a:hover {
    color: #fff;
}

.footer-policies {
    padding: 22px 0;

    border-top: 1px solid #292929;

    color: #7d7d7d;

    font-size: 9px;

    line-height: 1.6;
}

.footer-policies p + p {
    margin-top: 5px;
}

.footer-bottom {
    padding-top: 19px;

    border-top: 1px solid #292929;

    color: #666;

    font-size: 9px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .products-grid,
    .related-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .hero-content {
        width: 62%;

        padding: 43px;
    }

    .hero-visual {
        width: 44%;
    }

    .product-main {
        gap: 25px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .campaign-bar {
        padding: 7px;

        font-size: 9px;
    }


    /* HEADER */

    .header-container {
        min-height: auto;

        padding: 9px 12px;

        flex-wrap: wrap;

        gap: 9px;
    }

    .brand {
        font-size: 18px;
    }

    .brand-symbol {
        width: 30px;
        height: 30px;
    }

    .header-cart {
        width: 37px;
        height: 37px;

        margin-left: auto;
    }

    .header-search {
        order: 3;

        max-width: none;

        width: 100%;
    }

    .header-search input {
        height: 40px;
    }


    /* HERO */

    .hero-wrapper {
        padding: 11px 11px 0;
    }

    .hero {
        min-height: 510px;

        border-radius: 15px;
    }

    .hero-content {
        width: 100%;

        padding: 27px 22px 0;

        text-align: center;
    }

    .hero-label {
        margin-bottom: 13px;
    }

    .hero h1 {
        font-size: 44px;

        letter-spacing: -2.5px;
    }

    .hero p {
        margin:
            15px auto
            14px;

        font-size: 13px;

        max-width: 340px;
    }

    .hero-price {
        font-size: 34px;

        margin-bottom: 13px;
    }

    .primary-button {
        min-height: 46px;

        font-size: 11px;
    }

    .hero-visual {
        width: 100%;
        height: 210px;

        right: auto;
        top: auto;
        left: 0;
        bottom: 0;
    }

    .hero-circle {
        width: 275px;
        height: 275px;

        right: auto;
        bottom: -105px;
    }

    .hero-visual img {
        width: 77%;
        height: 205px;
    }


    /* BENEFITS */

    .benefits {
        padding: 0 11px;

        margin-top: 9px;

        grid-template-columns: 1fr;

        gap: 6px;
    }

    .benefit {
        padding: 10px 12px;
    }

    .benefit-icon {
        min-width: 34px;
        height: 34px;
    }


    /* PRODUCTS */

    .products-section {
        padding:
            35px
            11px
            45px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .section-heading > span {
        display: none;
    }

    .products-grid,
    .related-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .card-image {
        padding: 7px;
    }

    .card-discount,
    .card-campaign {
        top: 6px;

        padding: 5px;

        font-size: 7px;
    }

    .card-discount {
        left: 6px;
    }

    .card-campaign {
        right: 6px;
    }

    .card-content {
        padding: 9px;
    }

    .card-title {
        min-height: 49px;

        font-size: 11px;

        margin-bottom: 7px;
    }

    .card-price {
        font-size: 20px;
    }

    .card-button {
        height: 38px;

        font-size: 9px;
    }


    /* INFO */

    .campaign-information {
        margin:
            0
            11px
            35px;

        padding: 15px;

        font-size: 10px;
    }


    /* PRODUCT */

    .product-page-container {
        padding:
            17px
            11px
            45px;
    }

    .back-button {
        margin-bottom: 13px;
    }

    .product-main {
        display: block;

        padding: 11px;

        border-radius: 13px;
    }

    .main-image-box {
        padding: 12px;

        border-radius: 10px;
    }

    .thumbnail {
        width: 57px;
        height: 57px;
    }

    .product-info {
        padding:
            22px
            4px
            5px;
    }

    .product-info h1 {
        font-size: 22px;
    }

    .detail-price {
        font-size: 31px;
    }

    .size-button {
        width: 51px;
        height: 42px;
    }

    .buy-button {
        position: sticky;

        bottom: 9px;

        z-index: 50;

        box-shadow:
            0 8px 25px rgba(0,0,0,.18);
    }


    /* DESCRIPTION */

    .description-card {
        margin-top: 10px;

        padding: 20px 16px;

        border-radius: 13px;
    }

    .description-card h2 {
        font-size: 19px;
    }

    .description-content {
        font-size: 12px;
    }

    .related-section {
        padding-top: 35px;
    }


    /* FOOTER */

    .footer-container {
        padding: 30px 17px 22px;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 25px;
    }

}


@media (max-width: 360px) {

    .hero h1 {
        font-size: 39px;
    }

    .card-price {
        font-size: 18px;
    }

}