/* =========================================
   CAPOPEE UNISEX
   GLOBAL FOUNDATION
========================================= */

:root {
    --black: #111111;
    --white: #ffffff;
    --cream: #f7f4ef;
    --gray: #777777;
    --light-gray: #eeeeee;

    --max-width: 1400px;

    --transition: 0.3s ease;
}


/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================
   PROMO BAR
========================================= */

.promo-bar {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 9px 15px;
    font-size: 11px;
    letter-spacing: 1.5px;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--light-gray);
}

.header-container {
    max-width: var(--max-width);
    min-height: 78px;
    margin: auto;
    padding: 0 30px;

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


/* =========================================
   LOGO
========================================= */

.brand-logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}

.brand-logo span {
    display: block;
    font-size: 8px;
    letter-spacing: 4px;
    text-align: center;
    margin-top: -2px;
}


/* =========================================
   DESKTOP NAV
========================================= */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.desktop-nav a {
    position: relative;
    font-size: 13px;
    transition: var(--transition);
}

.desktop-nav a:hover {
    opacity: 0.55;
}


/* =========================================
   HEADER ACTIONS
========================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-action {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 12px;
}

.header-action:hover {
    opacity: 0.55;
}

#cartCount {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;

    margin-left: 4px;

    border-radius: 50%;
    background: var(--black);
    color: var(--white);

    font-size: 10px;
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;
    cursor: pointer;

    font-size: 22px;
}


/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;

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

    background: var(--white);

    z-index: 2000;

    transition: left 0.35s ease;

    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    height: 78px;
    padding: 0 24px;

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

    border-bottom: 1px solid var(--light-gray);
}

.mobile-menu-header span {
    font-size: 12px;
    letter-spacing: 2px;
}

.mobile-menu-header button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 30px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    padding: 18px 24px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 14px;
}

.mobile-nav a:hover {
    background: var(--cream);
}


/* =========================================
   MENU OVERLAY
========================================= */

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

    background: rgba(0, 0, 0, 0.45);

    z-index: 1500;

    opacity: 0;
    visibility: hidden;

    transition: var(--transition);
}

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


/* =========================================
   FOUNDATION HERO PLACEHOLDER
========================================= */

.foundation-placeholder {
    min-height: 70vh;
    padding: 100px 24px;

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

    text-align: center;
    background: var(--cream);
}

.eyebrow {
    margin-bottom: 15px;

    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
}

.foundation-placeholder h1 {
    font-size: clamp(42px, 7vw, 90px);
    line-height: 0.95;
    margin-bottom: 20px;
}

.foundation-placeholder p:not(.eyebrow) {
    max-width: 550px;
    margin-bottom: 30px;
    color: var(--gray);
}


/* =========================================
   BUTTON
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 30px;

    border: 1px solid var(--black);

    font-size: 12px;
    letter-spacing: 1px;

    transition: var(--transition);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--black);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: var(--black);
    color: var(--white);
    padding-top: 70px;
}

.footer-container {
    max-width: var(--max-width);
    margin: auto;
    padding: 0 30px 60px;

    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand h2 {
    font-size: 24px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.footer-brand p {
    max-width: 300px;
    color: #aaa;
    font-size: 13px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;

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

.footer-column a {
    color: #aaa;
    font-size: 13px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #292929;

    padding: 20px 30px;

    text-align: center;

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


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-container {
        min-height: 68px;
        padding: 0 18px;
    }

    .header-actions {
        gap: 10px;
    }

    .header-action {
        font-size: 11px;
    }

    .header-action:not(.cart-link) {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
    }
}


@media (max-width: 600px) {

    .brand-logo {
        font-size: 18px;
    }

    .brand-logo span {
        font-size: 7px;
    }

    .foundation-placeholder {
        min-height: 65vh;
        padding: 70px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        padding: 20px;
    }
}
/* =========================================
   HOMEPAGE
========================================= */


/* HERO */

.hero {
    min-height: 82vh;

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

    text-align: center;

    padding: 100px 24px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        linear-gradient(
            135deg,
            #ded8d0,
            #b9b0a7
        );

    color: var(--white);
}

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

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 100px);
    line-height: 0.92;
    letter-spacing: -3px;
    margin-bottom: 28px;
}

.hero-description {
    max-width: 560px;
    margin: 0 auto 35px;

    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}


/* SECTIONS */

.section {
    max-width: var(--max-width);
    margin: auto;
    padding: 100px 30px;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1;
    margin-bottom: 12px;
}

.section-heading > p:last-child {
    color: var(--gray);
    font-size: 14px;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.text-link {
    font-size: 12px;
    border-bottom: 1px solid var(--black);
    padding-bottom: 4px;
}


/* CATEGORIES */

.category-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.category-card {
    position: relative;

    min-height: 430px;

    overflow: hidden;

    display: flex;
    align-items: end;

    background:
        linear-gradient(
            145deg,
            #d7d0c8,
            #a69d94
        );

    color: var(--white);
}

.category-card:nth-child(1) {
    grid-column: span 5;
}

.category-card:nth-child(2) {
    grid-column: span 7;
}

.category-card:nth-child(3),
.category-card:nth-child(4),
.category-card:nth-child(5) {
    grid-column: span 4;
}

.category-wigs {
    background:
        linear-gradient(
            145deg,
            #c5bbb0,
            #81776e
        );
}

.category-bags {
    background:
        linear-gradient(
            145deg,
            #c7b49e,
            #79634e
        );
}

.category-shoes {
    background:
        linear-gradient(
            145deg,
            #b6aaa2,
            #665b54
        );
}

.category-accessories {
    background:
        linear-gradient(
            145deg,
            #d8c8b8,
            #877466
        );
}

.category-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            transparent 35%,
            rgba(0, 0, 0, 0.7)
        );
}

.category-content {
    position: relative;
    z-index: 1;

    padding: 30px;
}

.category-content span {
    display: block;

    font-size: 30px;
    font-weight: 500;

    margin-bottom: 8px;
}

.category-content small {
    font-size: 11px;
    letter-spacing: 1px;
}


/* PRODUCT GRID */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    min-width: 0;
}

.product-image {
    position: relative;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: var(--cream);
}

.image-placeholder {
    width: 100%;
    height: 100%;

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

    color: #999;

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;

    z-index: 2;

    background: var(--black);
    color: var(--white);

    padding: 7px 10px;

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

.product-info {
    padding: 15px 2px;
}

.product-category {
    margin-bottom: 5px;

    color: var(--gray);

    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

.product-price {
    font-size: 13px;
}


/* FASHION BANNER */

.fashion-banner {
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 80px 8%;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.15)
        ),
        linear-gradient(
            135deg,
            #9c9187,
            #514a45
        );

    color: var(--white);
}

.fashion-banner-content {
    max-width: 600px;
}

.fashion-banner h2 {
    margin: 20px 0;

    font-size: clamp(45px, 7vw, 90px);
    line-height: 0.9;
}

.fashion-banner p:not(.eyebrow) {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}


/* BENEFITS */

.benefits-section {
    border-bottom: 1px solid var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit {
    padding-right: 20px;
}

.benefit-icon {
    margin-bottom: 25px;

    font-size: 12px;
    letter-spacing: 2px;

    color: var(--gray);
}

.benefit h3 {
    margin-bottom: 10px;

    font-size: 18px;
    font-weight: 500;
}

.benefit p {
    color: var(--gray);
    font-size: 13px;
}


/* REVIEWS */

.reviews-section {
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    padding: 35px;

    background: var(--cream);
}

.stars {
    margin-bottom: 20px;
    letter-spacing: 4px;
    font-size: 13px;
}

.review-card p {
    margin-bottom: 25px;

    font-size: 16px;
    line-height: 1.7;
}

.review-card strong {
    font-size: 11px;
    letter-spacing: 1px;
}


/* NEWSLETTER */

.newsletter-section {
    padding: 100px 24px;

    text-align: center;

    background: var(--cream);
}

.newsletter-content {
    max-width: 700px;
    margin: auto;
}

.newsletter-content h2 {
    margin: 15px 0;

    font-size: clamp(35px, 5vw, 55px);
}

.newsletter-content > p:not(.eyebrow) {
    margin-bottom: 30px;
    color: var(--gray);
}

.newsletter-form {
    max-width: 550px;
    margin: auto;

    display: flex;
}

.newsletter-form input {
    flex: 1;

    min-width: 0;
    height: 50px;

    padding: 0 18px;

    border: 1px solid #ccc;
    border-right: 0;

    background: var(--white);

    outline: none;
}

.newsletter-form .btn {
    height: 50px;
}
/* =========================================
   SHOP PAGE
========================================= */

.shop-page {
    max-width: var(--max-width);
    margin: auto;
    padding: 70px 30px 100px;
}

.shop-header {
    text-align: center;
    padding: 40px 20px 70px;
}

.shop-header h1 {
    font-size: clamp(45px, 7vw, 80px);
    line-height: 1;
    margin-bottom: 18px;
}

.shop-header p:last-child {
    color: var(--gray);
    font-size: 14px;
}

.shop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 18px 0;

    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);

    margin-bottom: 35px;
}

.shop-result-count {
    font-size: 12px;
    color: var(--gray);
}

.shop-controls-right {
    display: flex;
    gap: 10px;
}

.shop-controls select {
    min-width: 150px;
    height: 42px;

    padding: 0 12px;

    border: 1px solid #ddd;
    background: var(--white);

    font-size: 12px;

    outline: none;
}

.shop-product-grid {
    margin-top: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-new {
    top: 48px;
    background: var(--white);
    color: var(--black);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sale-price {
    font-weight: 600;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 12px;
}

.no-products {
    padding: 100px 20px;
    text-align: center;
}

.no-products h2 {
    margin-bottom: 10px;
}

.no-products p {
    margin-bottom: 25px;
    color: var(--gray);
}


@media (max-width: 900px) {

    .shop-page {
        padding: 50px 18px 80px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .shop-controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .shop-controls-right {
        width: 100%;
    }

    .shop-controls select {
        flex: 1;
        min-width: 0;
    }

}


@media (max-width: 600px) {

    .shop-header {
        padding: 25px 10px 45px;
    }

    /* Mobile category cards: square, clean, and evenly spaced */
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .category-card,
    .category-card:nth-child(1),
    .category-card:nth-child(2),
    .category-card:nth-child(3),
    .category-card:nth-child(4),
    .category-card:nth-child(5) {
        grid-column: auto;
        width: 100%;
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .category-card:nth-child(5) {
        grid-column: 1 / -1;
    }

    .category-content {
        padding: 16px;
    }

    .category-content span {
        font-size: 24px;
        margin-bottom: 7px;
    }

    .category-content small {
        font-size: 10px;
    }

    /* Featured/shop products: two balanced square cards on mobile */
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .product-card {
        min-width: 0;
    }

    .product-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        min-height: 0;
    }

    .product-image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-image .image-placeholder {
        position: absolute;
        inset: 0;
        width: auto;
        height: auto;
        z-index: 0;
    }

    .product-info {
        padding: 9px 1px 0;
    }

    .product-category {
        font-size: 9px;
        margin-bottom: 4px;
    }

    .product-info h3 {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 5px;
    }

    .product-price {
        font-size: 12px;
    }

}
/* =========================================
   CART PAGE
========================================= */
.cart-page{max-width:1400px;margin:0 auto;padding:60px 5% 90px}.cart-heading{margin-bottom:45px}.cart-heading .eyebrow{font-size:11px;letter-spacing:2px;color:#777;margin:0 0 10px}.cart-heading h1{font-size:clamp(34px,5vw,58px);font-weight:500;margin:0}.cart-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr);gap:60px;align-items:start}.cart-topline{display:flex;justify-content:space-between;border-bottom:1px solid #111;padding-bottom:12px;font-size:11px;letter-spacing:1.5px;color:#666}.cart-item{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:22px;padding:25px 0;border-bottom:1px solid #e7e7e7}.cart-item-image{position:relative;width:130px;height:165px;background:#f5f5f5;overflow:hidden}.cart-item-image img{width:100%;height:100%;object-fit:cover}.cart-item-info h3{margin:5px 0 8px;font-size:19px;font-weight:500}.cart-item-info h3 a{color:inherit}.cart-options,.cart-unit-price{font-size:13px;color:#666}.cart-controls{display:flex;align-items:center;gap:18px;margin-top:18px}.cart-quantity{display:flex;align-items:center;border:1px solid #ddd}.cart-quantity button{border:0;background:#fff;width:35px;height:34px;cursor:pointer;font-size:17px}.cart-quantity span{width:30px;text-align:center;font-size:13px}.remove-item{border:0;background:none;text-decoration:underline;cursor:pointer;font-size:12px;color:#666}.cart-item-total{font-size:15px;white-space:nowrap}.cart-summary{border:1px solid #e5e5e5;padding:28px;position:sticky;top:25px}.cart-summary h2{font-size:22px;font-weight:500;margin:0 0 25px}.summary-row,.summary-total{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #eee;font-size:14px}.summary-total{font-size:18px;border-bottom:0;padding-top:22px}.cart-primary-btn{display:block;width:100%;padding:16px 20px;background:#111;color:#fff;text-align:center;border:1px solid #111;cursor:pointer;font-weight:600;font-size:12px;letter-spacing:1px}.checkout-btn{margin-top:10px}.continue-link{display:block;text-align:center;margin-top:18px;font-size:13px;text-decoration:underline}.empty-cart{text-align:center;padding:90px 20px}.empty-cart-icon{font-size:38px;margin-bottom:15px}.empty-cart h2{font-size:30px;font-weight:500;margin:0 0 10px}.empty-cart p{color:#666;margin-bottom:28px}.empty-cart .cart-primary-btn{max-width:260px;margin:auto}.image-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:11px;background:#f5f5f5;z-index:-1}
@media(max-width:800px){.cart-page{padding:35px 20px 65px}.cart-layout{grid-template-columns:1fr;gap:35px}.cart-summary{position:static}.cart-item{grid-template-columns:90px minmax(0,1fr);gap:15px}.cart-item-image{width:90px;height:115px}.cart-item-total{grid-column:2;grid-row:1;justify-self:end}.cart-item-info h3{font-size:16px}.cart-controls{flex-wrap:wrap;gap:12px}.cart-topline{display:none}}


/* =========================================
   SEARCH / WISHLIST / INFO PAGES
========================================= */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shop-search-wrap{flex:1;min-width:220px}.shop-search{width:100%;height:42px;border:1px solid #ddd;background:#fff;padding:0 14px;font:inherit;outline:none}.shop-search:focus{border-color:#111}
.wishlist-button{position:absolute;top:12px;right:12px;z-index:4;width:38px;height:38px;border:1px solid #ddd;border-radius:50%;background:rgba(255,255,255,.95);cursor:pointer;font-size:20px;line-height:1;color:#111;display:flex;align-items:center;justify-content:center}.wishlist-button.active{background:#111;color:#fff;border-color:#111}.product-image{position:relative}
.wishlist-move{margin-top:14px;border:1px solid #111;background:#111;color:#fff;padding:11px 14px;font-size:11px;letter-spacing:1px;font-weight:600;cursor:pointer}.empty-wishlist{text-align:center;padding:90px 20px}.empty-wishlist-icon{font-size:42px;margin-bottom:12px}.empty-wishlist h2{font-size:30px;font-weight:500;margin:0 0 10px}.empty-wishlist p{color:#666;margin-bottom:28px}.wishlist-page{max-width:1400px;margin:0 auto;padding:60px 5% 90px}.wishlist-heading{margin-bottom:40px}.wishlist-heading .eyebrow,.info-page .eyebrow{font-size:11px;letter-spacing:2px;color:#777;text-transform:uppercase}.wishlist-heading h1,.info-page h1{font-size:clamp(36px,5vw,60px);font-weight:500;margin:8px 0 12px}.wishlist-heading p:not(.eyebrow),.info-lead{color:#666;max-width:650px;line-height:1.7}.info-page{max-width:1000px;margin:0 auto;padding:70px 5% 100px;min-height:65vh}.info-content{margin-top:45px;max-width:760px}.info-content p{line-height:1.85;color:#555}.info-faq details{border-top:1px solid #ddd;padding:20px 0}.info-faq details:last-child{border-bottom:1px solid #ddd}.info-faq summary{cursor:pointer;font-size:17px;font-weight:600}.info-faq p{margin:15px 0 0}.mobile-menu{z-index:1001}.menu-overlay{z-index:1000}

@media(max-width:900px){.shop-search-wrap{width:100%;min-width:0}.wishlist-page,.info-page{padding-left:20px;padding-right:20px}.wishlist-button{width:34px;height:34px;top:8px;right:8px}}
@media(max-width:600px){.shop-search{height:46px}.shop-controls-right{width:100%;display:grid;grid-template-columns:1fr 1fr}.shop-controls select{width:100%}.wishlist-page{padding-top:40px}.wishlist-grid .product-info{padding-top:10px}.wishlist-move{width:100%}.info-page{padding-top:45px}.info-content{margin-top:30px}.info-faq summary{font-size:15px}}

/* =========================================
   CAPOPEE MOBILE VISUAL FIX V2
   ========================================= */
@media (max-width: 600px) {
    .categories-section .category-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .categories-section .category-card,
    .categories-section .category-card:nth-child(1),
    .categories-section .category-card:nth-child(2),
    .categories-section .category-card:nth-child(3),
    .categories-section .category-card:nth-child(4),
    .categories-section .category-card:nth-child(5) {
        grid-column: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    .categories-section .category-card:nth-child(5) {
        grid-column: auto !important;
    }

    .categories-section .category-content {
        padding: 14px !important;
    }

    .categories-section .category-content span {
        font-size: 20px !important;
        line-height: 1.1 !important;
    }

    .categories-section .category-content small {
        font-size: 9px !important;
    }

    .featured-section .product-grid,
    .homepage-products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px 10px !important;
        width: 100% !important;
        align-items: start !important;
    }

    .homepage-products .product-card {
        width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

    .homepage-products .product-image {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        background: #eeeae5 !important;
    }

    .homepage-products .product-image img {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .homepage-products .product-image .image-placeholder {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(145deg, #eeeae5, #d8d0c7) !important;
        color: #777 !important;
        font-size: 10px !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }

    .homepage-products .product-info {
        display: block !important;
        padding: 9px 2px 0 !important;
        min-height: 74px !important;
    }

    .homepage-products .product-category {
        display: block !important;
        font-size: 9px !important;
        line-height: 1.2 !important;
        margin: 0 0 4px !important;
    }

    .homepage-products .product-info h3,
    .homepage-products .product-info h3 a {
        display: block !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        margin: 0 0 5px !important;
        white-space: normal !important;
    }

    .homepage-products .product-price {
        display: block !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .homepage-products .product-badge {
        z-index: 3 !important;
        top: 8px !important;
        left: 8px !important;
        font-size: 8px !important;
    }

    .homepage-products .wishlist-button {
        z-index: 4 !important;
    }
}

/* =========================================
   FINAL CAPOPEE PRODUCT/CATEGORY LAYOUT FIX
   ========================================= */
.category-card,
.product-card,
.product-image,
.homepage-products .product-card {
    min-width: 0;
}

.homepage-products .product-image,
.product-grid .product-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 0;
    overflow: hidden;
    background: #eeeae5;
}

.homepage-products .product-image img,
.product-grid .product-image img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    display: none !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    background: #eeeae5 !important;
    color: #777 !important;
    font-size: 10px !important;
    letter-spacing: 1px !important;
}

.image-placeholder.visible {
    display: flex !important;
}

@media (max-width: 600px) {
    .categories-section .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .categories-section .category-card,
    .categories-section .category-card:nth-child(1),
    .categories-section .category-card:nth-child(2),
    .categories-section .category-card:nth-child(3),
    .categories-section .category-card:nth-child(4),
    .categories-section .category-card:nth-child(5) {
        grid-column: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;
    }

    .categories-section .category-content {
        padding: 14px !important;
    }

    .categories-section .category-content span {
        font-size: 20px !important;
        line-height: 1.1 !important;
    }

    .categories-section .category-content small {
        font-size: 9px !important;
    }

    .featured-section .product-grid,
    .homepage-products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px 10px !important;
        align-items: start !important;
    }

    .homepage-products .product-card,
    .homepage-products .product-image {
        width: 100% !important;
        min-width: 0 !important;
    }

    .homepage-products .product-image {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
    }

    .homepage-products .product-info {
        display: block !important;
        min-height: 72px !important;
        padding: 9px 2px 0 !important;
    }

    .homepage-products .product-category {
        font-size: 9px !important;
        line-height: 1.2 !important;
        margin: 0 0 4px !important;
    }

    .homepage-products .product-info h3,
    .homepage-products .product-info h3 a {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin: 0 0 5px !important;
    }

    .homepage-products .product-price {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }
}

/* =========================================
   CAPOPEE MOBILE CATALOG — CLEAN EDITORIAL VIEW
   Inspired by the client's reference screenshot
========================================= */
.shop-category-nav{display:flex;align-items:center;justify-content:center;gap:clamp(18px,3vw,38px);overflow-x:auto;white-space:nowrap;padding:17px 22px;border-top:1px solid #eee;border-bottom:1px solid #e8e8e8;scrollbar-width:none}
.shop-category-nav::-webkit-scrollbar{display:none}
.shop-category-nav a{font-size:13px;color:#333;flex:0 0 auto;padding:3px 0}
.shop-category-nav a:hover{color:#888}
.shop-header-clean{padding:35px 20px 22px}
.shop-header-clean h1{font-size:clamp(30px,4vw,48px);font-weight:500;letter-spacing:-1px;margin:0}
.shop-header-clean .eyebrow{font-size:10px;letter-spacing:2px;color:#888;margin:0 0 10px}
.shop-product-grid{gap:34px 18px}
.shop-product-grid .product-image{aspect-ratio:4/5;background:#f3f1ee;overflow:hidden}
.shop-product-grid .product-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.shop-product-grid .product-card:hover .product-image img{transform:scale(1.025)}
.shop-product-grid .product-info{padding:12px 2px 0}
.shop-product-grid .product-category{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#888;margin:0 0 7px}
.shop-product-grid .product-info h3{font-size:15px;font-weight:400;line-height:1.4;margin:0 0 7px}
.shop-product-grid .product-price{font-size:15px;gap:8px}
.shop-product-grid .product-badge{font-size:10px;letter-spacing:.5px;padding:7px 10px;background:#fff;color:#111;top:12px;left:12px}
.shop-product-grid .product-new{top:12px;left:auto;right:12px;background:#fff;color:#111}
.shop-controls{border:0;border-top:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;margin:0 0 22px;padding:15px 0}
.shop-search-wrap{flex:1;max-width:320px}
.shop-search{width:100%;height:40px;border:1px solid #e2e2e2;padding:0 12px;font:inherit;font-size:12px}
.shop-controls select{height:40px;border:0;border-bottom:1px solid #ddd;padding:0 20px 0 4px;background-color:#fff}
@media(max-width:900px){
 .shop-page{padding:0 18px 70px}
 .shop-header-clean{padding:25px 0 18px}
 .shop-category-nav{justify-content:flex-start;margin:0 -18px;padding:15px 18px;gap:25px}
 .shop-controls{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin:0 -18px 18px;padding:13px 18px}
 .shop-result-count{font-size:12px;color:#999}
 .shop-search-wrap{grid-column:1/-1;grid-row:2;max-width:none}
 .shop-controls-right{grid-column:2;grid-row:1;width:auto;display:flex;gap:8px}
 .shop-controls select{min-width:0;width:auto;max-width:145px;font-size:11px}
 .shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 12px;margin-top:0}
 .shop-product-grid .product-image{aspect-ratio:4/5}
 .shop-product-grid .product-info{padding-top:10px}
 .shop-product-grid .product-info h3{font-size:13px;line-height:1.35}
 .shop-product-grid .product-price{font-size:13px;flex-wrap:wrap}
 .shop-product-grid .old-price{font-size:11px}
}
@media(max-width:600px){
 .promo-bar{padding:8px 10px;font-size:9px;letter-spacing:1px}
 .site-header{position:sticky;top:0}
 .header-container{min-height:68px;padding:0 15px;display:grid;grid-template-columns:40px 1fr auto;gap:8px}
 .menu-toggle{justify-self:start;font-size:0;width:34px;height:38px;position:relative}
 .menu-toggle:after{content:'☰';font-size:23px;color:#111}
 .brand-logo{justify-self:center;font-size:19px;letter-spacing:2px}
 .header-actions{justify-self:end;gap:0}
 .header-action.cart-link{font-size:0;display:flex;align-items:center;justify-content:center;width:38px;height:38px}
 .header-action.cart-link:before{content:'♧';font-size:23px;color:#111}
 .header-action.cart-link span{font-size:10px;margin-left:-2px;background:#111;color:#fff;border-radius:50%;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center}
 .shop-header-clean h1{font-size:30px}
 .shop-product-grid .product-image{aspect-ratio:4/5}
}


/* CAPOPEE CATEGORY PHOTOGRAPHY — real editorial/product photographs */
.categories-section .category-card {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  isolation: isolate;
}
.categories-section .category-dresses {
  background-image: url('https://images.unsplash.com/photo-1618583637846-1a57e87d3a99?auto=format&fit=crop&fm=jpg&q=85&w=1600') !important;
  background-position: center 38% !important;
}
.categories-section .category-wigs {
  background-image: url('https://images.squarespace-cdn.com/content/v1/5c074cb4ee175908e7b8551d/1627622124287-Q6PJASOCXHG80024FQTT/Hair%2BConnect%2BSelection-4.jpg') !important;
  background-position: center 32% !important;
}
.categories-section .category-bags {
  background-image: url('https://images.pexels.com/photos/13491577/pexels-photo-13491577.jpeg?auto=compress&cs=tinysrgb&w=1600') !important;
  background-position: center center !important;
}
.categories-section .category-shoes {
  background-image: url('https://images.unsplash.com/photo-1562687848-c1664eff566d?auto=format&fit=crop&fm=jpg&q=85&w=1600') !important;
  background-position: center center !important;
}
.categories-section .category-accessories {
  background-image: url('https://bbdazz.com/cdn/shop/collections/8B48C814-25A9-4939-846C-90F4D1E1F643_1200x1200.png?v=1743016313') !important;
  background-position: center center !important;
}
.categories-section .category-overlay { z-index: 0; pointer-events: none; }
.categories-section .category-content { position: relative; z-index: 1; }

/* Product card images: keep the image above its neutral background on Safari */
.product-grid .product-image, .homepage-products .product-image, .featured-products .product-image {
  display: block; position: relative; overflow: hidden; background: #eeeae5;
}
.product-grid .product-image img, .homepage-products .product-image img, .featured-products .product-image img {
  display: block !important; position: relative !important; z-index: 2 !important;
  width: 100% !important; height: 100% !important; min-height: 100%;
  object-fit: cover !important; opacity: 1 !important; visibility: visible !important;
}
.product-grid .image-placeholder, .homepage-products .image-placeholder, .featured-products .image-placeholder {
  display: none; position: absolute; inset: 0; z-index: 1;
  align-items: center; justify-content: center; background: #eeeae5;
}
.product-grid .image-placeholder.visible, .homepage-products .image-placeholder.visible, .featured-products .image-placeholder.visible { display: flex; }


/* Developer credit */
.developer-credit {
    margin: 6px 0 0;
    color: #b5b5b5;
    font-size: 11px;
    letter-spacing: 0.04em;
}
