/* =========================================================
   SEED HUB — BRANDS PAGE
   Premium Editorial / Modern E-commerce Style
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f5f1;
    color: #17251a;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1420px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   PAGE INTRO / HERO
========================================================= */

/* =========================================================
   PAGE INTRO / HERO
========================================================= */

.brands-intro {
    position: relative;
    overflow: hidden;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 120px 0;

    background-image:
        
        url("../images/brands-hero.webp");

    /*
       Show the complete image horizontally.
       No cover cropping.
    */
    background-size: 100% auto;

    background-position: center center;

    background-repeat: no-repeat;

    background-color: #17251a;

    border-bottom: none;
}




/* =========================================================
   INTRO CONTENT
========================================================= */

.intro-content {
    position: relative;

    max-width: 800px;

    width: 100%;

    margin: 0 auto;

    padding-left: 0;

    text-align: center;

    z-index: 2;
}


















/* =========================================================
   BRANDS SECTION
========================================================= */

.brands-section {
    padding: 90px 0 120px;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 42px;
}


/* Label */

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2.5px;

    color: #81920b;
}


/* Heading */

.section-top h2 {
    font-size: 36px;

    line-height: 1.1;

    letter-spacing: -1.2px;

    color: #17251a;
}


/* =========================================================
   BRAND COUNT
========================================================= */

.brand-count {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 10px 0;
}


.brand-count span {
    font-size: 42px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: -2px;

    color: #a2aaa0;
}


.brand-count small {
    padding-left: 13px;

    border-left: 1px solid #d6dcd5;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    color: #737c74;
}


/* =========================================================
   BRAND GRID
========================================================= */

.brands-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}


/* =========================================================
   BRAND CARD
========================================================= */

.brand-card {
    position: relative;

    height: 240px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e0e5df;

    border-radius: 14px;

    isolation: isolate;

    transition:
        transform 0.4s cubic-bezier(.2,.8,.2,1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


/* Card number */

.brand-card::before {
    content: "";

    position: absolute;

    top: 16px;
    left: 18px;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #b0b7b0;

    z-index: 3;
}


/* Subtle corner decoration */

.brand-card::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    right: -45px;
    top: -45px;

    border-radius: 50%;

    border: 1px solid #edf0eb;

    transition:
        transform 0.5s ease,
        border-color 0.5s ease;
}


/* Hover */

.brand-card:hover {
    transform: translateY(-8px);

    border-color: #cdd5ca;

    box-shadow:
        0 22px 45px rgba(31, 49, 34, 0.11);
}


.brand-card:hover::after {
    transform: scale(2.2);

    border-color: rgba(135, 156, 22, 0.14);
}


/* =========================================================
   LOGO AREA
========================================================= */

.brand-logo {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 42px;

    background: #ffffff;

    transition:
        transform 0.5s cubic-bezier(.2,.8,.2,1);
}


.brand-logo img {
    width: auto;

    max-width: 76%;
    max-height: 115px;

    object-fit: contain;

    transition:
        transform 0.5s cubic-bezier(.2,.8,.2,1),
        filter 0.4s ease;
}


/* Logo hover */

.brand-card:hover .brand-logo {
    transform: scale(1.01);
}


.brand-card:hover .brand-logo img {
    transform: scale(1.08);
}


/* =========================================================
   HOVER OVERLAY
========================================================= */

.brand-overlay {
    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 12px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 12px 13px 12px 17px;

    background: rgba(23, 37, 26, 0.96);

    border-radius: 9px;

    color: #ffffff;

    transform: translateY(90px);

    opacity: 0;

    transition:
        transform 0.4s cubic-bezier(.2,.8,.2,1),
        opacity 0.3s ease;

    z-index: 5;
}


.brand-card:hover .brand-overlay {
    transform: translateY(0);

    opacity: 1;
}


/* Overlay text */

.brand-overlay span:first-child {
    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.3px;
}


/* =========================================================
   ARROW
========================================================= */

.brand-arrow {
    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.3);

    border-radius: 50%;

    font-size: 15px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.brand-card:hover .brand-arrow {
    background: #ffffff;

    color: #17251a;

    transform: translateX(2px);
}


/* =========================================================
   DESKTOP LARGE
========================================================= */

@media (min-width: 1500px) {

    .brand-card {
        height: 255px;
    }

    .brands-grid {
        gap: 22px;
    }
}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1100px) {

    .container {
        width: min(100% - 60px, 1420px);
    }

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);

        gap: 18px;
    }

    .brand-card {
        height: 225px;
    }

    .brands-intro {
        padding: 85px 0 80px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .container {
        width: calc(100% - 44px);
    }

    .brands-intro {
        padding: 70px 0 65px;
    }

    .intro-content {
        padding-left: 25px;
    }

    .intro-content::before {
        width: 4px;
        height: 88px;
    }

    .intro-content h1 {
        font-size: 55px;

        letter-spacing: -2.5px;
    }

    .intro-content p {
        font-size: 16px;
    }

    .brands-section {
        padding: 70px 0 90px;
    }

    .section-top {
        margin-bottom: 32px;
    }

    .section-top h2 {
        font-size: 31px;
    }

    .brand-count span {
        font-size: 34px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 16px;
    }

    .brand-card {
        height: 205px;

        border-radius: 12px;
    }

    .brand-logo {
        padding: 30px;
    }

    .brand-logo img {
        max-width: 78%;
        max-height: 95px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .container {
        width: calc(100% - 30px);
    }


    /* HERO */

    .brands-intro {
        padding: 58px 0 52px;
    }

    .intro-content {
        padding-left: 19px;
    }

    .intro-content::before {
        width: 3px;
        height: 73px;

        top: 3px;
    }

    .intro-label {
        margin-bottom: 14px;

        font-size: 9px;

        letter-spacing: 2.2px;
    }

    .intro-label::before {
        width: 6px;
        height: 6px;
    }

    .intro-content h1 {
        margin-bottom: 13px;

        font-size: 43px;

        letter-spacing: -2px;
    }

    .intro-content p {
        max-width: 300px;

        font-size: 14px;

        line-height: 1.6;
    }


    /* SECTION */

    .brands-section {
        padding: 55px 0 75px;
    }

    .section-top {
        display: block;

        margin-bottom: 27px;
    }

    .section-label {
        margin-bottom: 8px;

        font-size: 9px;
    }

    .section-top h2 {
        font-size: 27px;

        letter-spacing: -0.8px;
    }

    .brand-count {
        display: none;
    }


    /* GRID */

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }


    /* CARD */

    .brand-card {
        height: 155px;

        border-radius: 9px;
    }

    .brand-card::before {
        top: 10px;
        left: 11px;

        font-size: 7px;
    }

    .brand-logo {
        padding: 20px;
    }

    .brand-logo img {
        max-width: 82%;
        max-height: 68px;
    }


    /* Keep overlay visible as a subtle bottom strip */

    .brand-overlay {
        left: 7px;
        right: 7px;
        bottom: 7px;

        padding: 7px 8px 7px 10px;

        border-radius: 6px;

        transform: none;

        opacity: 1;

        background: rgba(23, 37, 26, 0.88);
    }

    .brand-overlay span:first-child {
        font-size: 7px;

        letter-spacing: 0.8px;
    }

    .brand-arrow {
        width: 21px;
        height: 21px;

        font-size: 11px;
    }


    /* Disable large hover movement on touch */

    .brand-card:hover {
        transform: translateY(-3px);
    }

    .brand-card:hover .brand-logo img {
        transform: scale(1.04);
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .container {
        width: calc(100% - 24px);
    }

    .brands-grid {
        gap: 8px;
    }

    .brand-card {
        height: 140px;
    }

    .brand-logo {
        padding: 16px;
    }

    .brand-logo img {
        max-height: 60px;
    }

    .intro-content h1 {
        font-size: 39px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.brand-card:focus-visible {
    outline: 3px solid rgba(135, 156, 22, 0.35);

    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition: none !important;
    }
}
/* =========================================================
   BRAND SHOP PAGE - IMPROVED DESIGN
========================================================= */

.brand-shop-page {
    background: #f5f6f7;
    min-height: 100vh;
    padding-bottom: 50px;
}


/* =========================================================
   SHOP TOOLBAR
========================================================= */

.shop-toolbar {
    width: calc(100% - 40px);
    margin: 20px auto 15px;

    min-height: 64px;

    background: #ffffff;

    border: 1px solid #e6e6e6;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 18px;

    box-sizing: border-box;
}


/* LEFT VIEW BUTTONS */

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 7px;
}

.view-button {
    width: 38px;
    height: 38px;

    border: 1px solid #dddddd;

    background: #ffffff;

    color: #555555;

    font-size: 16px;

    cursor: pointer;

    transition: 0.2s ease;
}

.view-button:hover,
.view-button.active {
    background: #f7d21b;
    border-color: #f7d21b;
    color: #ffffff;
}


/* TOOLBAR RIGHT */

.shop-toolbar-center {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #666666;

    font-size: 13px;
}

.shop-toolbar-center label {
    font-size: 13px;
    color: #555555;
}

.shop-toolbar-center select {
    min-width: 160px;

    height: 38px;

    border: 1px solid #dddddd;

    background: #ffffff;

    padding: 0 12px;

    color: #444444;

    outline: none;

    cursor: pointer;
}

.shop-toolbar-center select:focus {
    border-color: #f7d21b;
}

.product-count {
    color: #888888;
    white-space: nowrap;
}


/* =========================================================
   SHOP CONTAINER
========================================================= */

.shop-content {
    width: calc(100% - 40px);
    margin: 0 auto;
}

.shop-container {
    display: grid;

    grid-template-columns: 245px 1fr;

    gap: 20px;

    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.shop-sidebar {
    width: 100%;
}


/* FILTER BOX */

.filter-box {
    background: #ffffff;

    border: 1px solid #e4e4e4;

    padding: 18px;

    margin-bottom: 14px;

    box-sizing: border-box;
}


/* FILTER TITLE */

.filter-box h3 {
    position: relative;

    margin: 0 0 15px;

    padding-bottom: 11px;

    font-size: 14px;

    font-weight: 600;

    color: #292929;

    border-bottom: 1px solid #e2e2e2;
}

.filter-box h3::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 35px;
    height: 2px;

    background: #f7d21b;
}


/* CATEGORY LIST */

.filter-box ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.filter-box ul li {
    margin: 0;
}

.filter-box ul li a {
    display: block;

    padding: 7px 0;

    color: #666666;

    text-decoration: none;

    font-size: 12px;

    transition: 0.2s ease;
}

.filter-box ul li a:hover {
    color: #d0a900;

    padding-left: 5px;
}


/* =========================================================
   FILTER CHECKBOXES
========================================================= */

.filter-box label {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 9px;

    color: #666666;

    font-size: 12px;

    cursor: pointer;
}

.filter-box label input {
    width: 13px;
    height: 13px;

    accent-color: #f7d21b;

    cursor: pointer;
}


/* =========================================================
   PRICE SLIDER
========================================================= */

.price-slider {
    padding: 8px 0 5px;
}

.price-slider input[type="range"] {
    width: 100%;

    accent-color: #f7d21b;

    cursor: pointer;
}


/* PRICE BOTTOM */

.price-filter-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 10px;
}

.price-filter-bottom button {
    border: none;

    background: #f7d21b;

    color: #ffffff;

    padding: 8px 16px;

    font-size: 11px;

    cursor: pointer;

    transition: 0.2s ease;
}

.price-filter-bottom button:hover {
    background: #333333;
}

.price-filter-bottom span {
    color: #777777;

    font-size: 11px;
}


/* =========================================================
   BRAND FILTER
========================================================= */

.brand-filter {
    max-height: 500px;

    overflow-y: auto;
}

.brand-filter::-webkit-scrollbar {
    width: 4px;
}

.brand-filter::-webkit-scrollbar-thumb {
    background: #d6d6d6;
}

.brand-filter::-webkit-scrollbar-track {
    background: #f5f5f5;
}


/* =========================================================
   PRODUCTS GRID
========================================================= */

.shop-products {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.shop-product-card {
    background: #ffffff;

    border: 1px solid #e5e5e5;

    position: relative;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);

    border-color: #eeeeee;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.shop-product-image {
    height: 245px;

    background: #fafafa;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    border-bottom: 1px solid #eeeeee;

    overflow: hidden;
}

.shop-product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.04);
}


/* =========================================================
   PRODUCT DETAILS
========================================================= */

.shop-product-details {
    padding: 16px;
}


/* CATEGORY */

.product-category {
    display: block;

    color: #999999;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    margin-bottom: 7px;
}


/* PRODUCT NAME */

.shop-product-details h2 {
    margin: 0;

    color: #292929;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.4;

    min-height: 42px;
}


/* =========================================================
   RATING
========================================================= */

.product-rating {
    margin-top: 9px;

    color: #f7d21b;

    font-size: 13px;

    letter-spacing: 2px;
}


/* =========================================================
   PRICE
========================================================= */

.product-price {
    margin-top: 7px;

    color: #d3ad00;

    font-size: 16px;

    font-weight: 700;
}


/* =========================================================
   VIEW DETAILS BUTTON
========================================================= */

.view-details-btn {
    width: 100%;

    height: 40px;

    margin-top: 14px;

    border: 1px solid #f7d21b;

    background: #f7d21b;

    color: #ffffff;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.3px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.view-details-btn:hover {
    background: #333333;

    border-color: #333333;
}


/* =========================================================
   PRODUCT POPUP OVERLAY
========================================================= */

.product-popup-overlay {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(20, 20, 20, 0.68);

    backdrop-filter: blur(3px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition: all 0.25s ease;
}

.product-popup-overlay.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   POPUP
========================================================= */

.product-popup {
    position: relative;

    width: 100%;

    max-width: 800px;

    background: #ffffff;

    display: grid;

    grid-template-columns: 46% 54%;

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);

    transform: translateY(25px) scale(0.96);

    transition: transform 0.3s ease;
}

.product-popup-overlay.active .product-popup {
    transform: translateY(0) scale(1);
}


/* =========================================================
   POPUP IMAGE
========================================================= */

.popup-product-image {
    min-height: 440px;

    background: #f8f8f8;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 35px;

    border-right: 1px solid #eeeeee;
}

.popup-product-image img {
    width: 100%;

    height: 100%;

    max-height: 380px;

    object-fit: contain;
}


/* =========================================================
   POPUP DETAILS
========================================================= */

.popup-product-details {
    padding: 45px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


/* CATEGORY */

.popup-product-category {
    display: inline-block;

    color: #c6a200;

    font-size: 10px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 10px;
}


/* NAME */

.popup-product-details h2 {
    margin: 0 0 12px;

    color: #292929;

    font-size: 27px;

    font-weight: 600;

    line-height: 1.3;
}


/* RATING */

.popup-product-rating {
    color: #f7d21b;

    font-size: 16px;

    letter-spacing: 2px;

    margin-bottom: 12px;
}


/* PRICE */

.popup-product-price {
    color: #c7a400;

    font-size: 23px;

    font-weight: 700;

    margin-bottom: 18px;
}


/* DESCRIPTION */

.popup-product-description {
    color: #777777;

    font-size: 13px;

    line-height: 1.8;

    margin: 0 0 25px;
}


/* =========================================================
   POPUP BUTTONS
========================================================= */

.popup-product-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}


/* BOTH BUTTONS */

.popup-product-actions button {
    height: 46px;

    border: none;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.3px;

    cursor: pointer;

    transition: 0.2s ease;
}


/* ADD CART */

.popup-add-cart {
    background: #f7d21b;

    color: #ffffff;
}

.popup-add-cart:hover {
    background: #dcb900;
}


/* BUY NOW */

.popup-buy-now {
    background: #333333;

    color: #ffffff;
}

.popup-buy-now:hover {
    background: #111111;
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.product-popup-close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 34px;
    height: 34px;

    border: none;

    border-radius: 50%;

    background: #ffffff;

    color: #444444;

    font-size: 22px;

    line-height: 34px;

    padding: 0;

    cursor: pointer;

    z-index: 10;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);

    transition: 0.2s ease;
}

.product-popup-close:hover {
    background: #f7d21b;

    color: #ffffff;
}


/* =========================================================
   BODY WHEN POPUP OPEN
========================================================= */

body.popup-open {
    overflow: hidden;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .shop-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 900px) {

    .shop-container {
        grid-template-columns: 210px 1fr;
    }

    .shop-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop-product-image {
        height: 220px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .shop-toolbar {
        width: calc(100% - 20px);

        flex-direction: column;

        align-items: stretch;

        gap: 12px;

        padding: 12px;
    }

    .shop-toolbar-center {
        justify-content: space-between;

        flex-wrap: wrap;
    }

    .shop-content {
        width: calc(100% - 20px);
    }

    .shop-container {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        order: 2;
    }

    .shop-products {
        order: 1;

        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-filter {
        max-height: none;
    }

    .product-popup {
        max-width: 480px;

        grid-template-columns: 1fr;

        max-height: 90vh;

        overflow-y: auto;
    }

    .popup-product-image {
        min-height: 260px;

        height: 260px;

        border-right: none;

        border-bottom: 1px solid #eeeeee;

        padding: 20px;
    }

    .popup-product-image img {
        max-height: 220px;
    }

    .popup-product-details {
        padding: 28px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .shop-products {
        grid-template-columns: 1fr;
    }

    .shop-product-image {
        height: 260px;
    }

    .shop-toolbar-center {
        gap: 8px;
    }

    .shop-toolbar-center select {
        min-width: 135px;
    }

    .product-popup-overlay {
        padding: 10px;
    }

    .popup-product-actions {
        grid-template-columns: 1fr;
    }

}




/* =========================================================
   SEED HUB CART PAGE
========================================================= */

.cart-page {
    width: 100%;
    min-height: 100vh;
    background: #f7f7f4;
    color: #222;
}


/* =========================================================
   CART CONTAINER
========================================================= */

.cart-container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}


/* =========================================================
   CART HEADER
========================================================= */

.cart-header {
    padding: 80px 0 70px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.cart-label {
    display: block;
    margin-bottom: 12px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #777;
}

.cart-header h1 {
    margin: 0 0 15px;

    font-size: 52px;
    line-height: 1.1;
    font-weight: 600;

    color: #222;
}

.cart-header p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #777;
}


/* =========================================================
   CART CONTENT
========================================================= */

.cart-content {
    padding: 70px 0 100px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 50px;
    align-items: start;
}


/* =========================================================
   CART ITEMS SECTION
========================================================= */

.cart-items-section {
    min-width: 0;
}

.cart-items-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
    padding-bottom: 18px;

    border-bottom: 1px solid #ddd;
}

.cart-items-header h2 {
    margin: 0;

    font-size: 28px;
    font-weight: 600;
}

.cart-items-header span {
    font-size: 14px;
    color: #777;
}


/* =========================================================
   CART ITEM
========================================================= */

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto auto auto;
    gap: 22px;

    align-items: center;

    padding: 20px;

    background: #ffffff;
    border: 1px solid #e5e5e5;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.cart-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.cart-item-image {
    width: 110px;
    height: 110px;

    overflow: hidden;

    background: #f3f3ef;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   PRODUCT DETAILS
========================================================= */

.cart-item-details {
    min-width: 0;
}

.cart-item-category {
    display: block;
    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;

    color: #777;
}

.cart-item-details h3 {
    margin: 0 0 9px;

    font-size: 19px;
    line-height: 1.35;
    font-weight: 600;

    color: #222;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 600;

    color: #333;
}


/* =========================================================
   QUANTITY
========================================================= */

.cart-item-quantity {
    display: flex;
    align-items: center;

    border: 1px solid #dcdcdc;
    background: #fff;
}

.cart-item-quantity button {
    width: 36px;
    height: 38px;

    padding: 0;

    border: 0;
    background: transparent;

    font-size: 20px;
    line-height: 1;

    color: #222;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.cart-item-quantity button:hover {
    background: #222;
    color: #fff;
}

.quantity-value {
    min-width: 38px;

    text-align: center;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   ITEM TOTAL
========================================================= */

.cart-item-total {
    min-width: 85px;

    text-align: right;

    font-size: 16px;
    font-weight: 700;

    color: #222;
}


/* =========================================================
   REMOVE BUTTON
========================================================= */

.cart-item-remove {
    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    background: transparent;

    font-size: 25px;
    line-height: 1;

    color: #888;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.cart-item-remove:hover {
    color: #222;
    background: #f1f1f1;
}


/* =========================================================
   EMPTY CART
========================================================= */

.empty-cart {
    display: none;

    padding: 70px 30px;

    text-align: center;

    background: #ffffff;
    border: 1px solid #e5e5e5;
}

.empty-cart-icon {
    margin-bottom: 20px;

    font-size: 48px;
}

.empty-cart h2 {
    margin: 0 0 10px;

    font-size: 27px;
    font-weight: 600;
}

.empty-cart p {
    margin: 0 auto 25px;

    max-width: 450px;

    font-size: 15px;
    line-height: 1.7;

    color: #777;
}

.continue-shopping-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 25px;

    background: #222;
    color: #fff;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.continue-shopping-btn:hover {
    background: #444;
    transform: translateY(-1px);
}


/* =========================================================
   CART SUMMARY
========================================================= */

.cart-summary {
    position: sticky;
    top: 30px;

    padding: 30px;

    background: #ffffff;
    border: 1px solid #e2e2e2;
}

.cart-summary h2 {
    margin: 0 0 28px;

    font-size: 25px;
    font-weight: 600;
}


/* =========================================================
   SUMMARY ROWS
========================================================= */

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;

    font-size: 15px;
}

.summary-row span {
    color: #777;
}

.summary-row strong {
    font-weight: 600;
    color: #222;
}

.summary-divider {
    height: 1px;

    margin: 25px 0;

    background: #ddd;
}


/* =========================================================
   TOTAL
========================================================= */

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
}

.summary-total span {
    font-size: 17px;
    font-weight: 600;
}

.summary-total strong {
    font-size: 22px;
    font-weight: 700;
}


/* =========================================================
   CHECKOUT BUTTON
========================================================= */

.checkout-btn {
    width: 100%;
    min-height: 54px;

    border: 0;
    background: #222;
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.checkout-btn:hover {
    background: #444;
    transform: translateY(-1px);
}


/* =========================================================
   CONTINUE SHOPPING
========================================================= */

.continue-shopping {
    display: block;

    margin-top: 20px;

    text-align: center;

    color: #555;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;
}

.continue-shopping:hover {
    color: #222;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cart-summary {
        position: static;
    }

    .cart-header h1 {
        font-size: 44px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .cart-container {
        width: 92%;
    }

    .cart-header {
        padding: 55px 0 45px;
    }

    .cart-header h1 {
        font-size: 36px;
    }

    .cart-content {
        padding: 45px 0 70px;
    }

    .cart-items-header h2 {
        font-size: 23px;
    }

    .cart-item {
        grid-template-columns: 80px minmax(0, 1fr) auto;

        gap: 15px;

        padding: 15px;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-details h3 {
        font-size: 16px;
    }

    .cart-item-quantity {
        grid-column: 2;
        justify-self: start;
    }

    .cart-item-total {
        grid-column: 3;
        grid-row: 1;

        min-width: auto;

        font-size: 14px;
    }

    .cart-item-remove {
        grid-column: 3;
        grid-row: 2;

        justify-self: end;
    }

    .cart-summary {
        padding: 25px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .cart-header h1 {
        font-size: 31px;
    }

    .cart-item {
        grid-template-columns: 70px 1fr;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-total {
        grid-column: 2;
        grid-row: 3;

        text-align: left;
    }

    .cart-item-remove {
        position: absolute;
    }

    .cart-item {
        position: relative;
    }

    .cart-item-remove {
        top: 12px;
        right: 10px;
    }

    .cart-item-quantity {
        grid-column: 2;
    }

}



/* =========================================================
   PRODUCT WISHLIST BUTTON
========================================================= */

.shop-product-image {
    position: relative;
}


.wishlist-btn {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e1e6df;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: #17251a;

    font-size: 22px;

    line-height: 1;

    cursor: pointer;

    z-index: 5;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}


.wishlist-btn:hover {
    transform: scale(1.08);

    background: #17251a;

    color: #ffffff;

    border-color: #17251a;
}


.wishlist-btn.active {
    background: #d5bf00;

    color: #17251a;

    border-color: #d5bf00;
}


.wishlist-btn.active:hover {
    background: #c5b100;
}


/* =========================================================
   POPUP WISHLIST
========================================================= */

.popup-wishlist {
    width: 100%;

    min-height: 48px;

    padding: 12px 20px;

    border: 1px solid #dfe5dc;

    border-radius: 8px;

    background: #ffffff;

    color: #17251a;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.popup-wishlist:hover {
    background: #f3f5f1;

    border-color: #cbd4c8;
}


.popup-wishlist.active {
    background: #d5bf00;

    border-color: #d5bf00;

    color: #17251a;
}

