/* ============================================================
   ZUZU MARKET - Marketplace / Public Frontend Styles
   ============================================================ */

.marketplace-body {
    background: linear-gradient(180deg, #f3f5f4 0%, #edf0ef 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.marketplace-body .site-header {
    background: rgba(255, 253, 249, 0.88);
}

.marketplace-main {
    background: var(--warm, #fffdf9);
}

.market-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 16px;
}

.market-home-eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
}

.market-home-hero {
    padding: 42px 0 24px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%),
        linear-gradient(180deg, #fffdf9 0%, #f7f4ee 100%);
}

.market-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(380px, 0.98fr) minmax(0, 1.02fr);
    gap: 28px;
    align-items: center;
}

.market-home-hero__content {
    padding: 18px 0;
}

.market-home-hero__content h1,
.market-home-section__title,
.market-home-trust__head h2 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 800;
    color: #0d0d0d;
}

.market-home-section__title,
.market-home-trust__head h2 {
    font-size: clamp(28px, 3.8vw, 46px);
}

.market-home-hero__sub,
.market-home-section__sub,
.market-home-band__copy p,
.market-home-promo p,
.trust-item p,
.market-home-summary-card p {
    font-size: 16px;
    line-height: 1.75;
    color: #6d6760;
}

.market-home-hero__sub {
    max-width: 640px;
    margin-bottom: 24px;
}

.market-home-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.market-home-hero__note {
    font-size: 13px;
    color: #9b968f;
}

.market-home-hero__visual {
    display: block;
}

.market-home-hero__visual-card,
.market-home-summary-card,
.market-home-band__inner,
.market-home-promo,
.trust-item {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(13, 13, 13, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.market-home-hero__visual-card {
    border-radius: 24px;
    padding: 18px;
}

.market-home-section__head,
.market-home-band__inner,
.market-home-trust__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.market-home-summary-card strong,
.market-home-promo h3 {
    display: block;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0d0d0d;
}

.market-home-band {
    padding: 24px 0 8px;
}

.market-home-band__inner {
    border-radius: 24px;
    padding: 22px 24px;
    display: grid;
    gap: 18px;
}

.market-home-band__copy h2 {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.market-home-section {
    padding: 64px 0;
}

.market-home-section--paper,
.market-home-trust {
    background: #f7f4ee;
}

.market-home-section__head {
    margin-bottom: 26px;
}

.market-home-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(13, 13, 13, 0.12);
    color: #0d0d0d;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.16s ease;
}

.market-home-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.market-home-promos {
    padding: 16px 0 8px;
}

.market-home-promos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.market-home-promo {
    border-radius: 24px;
    padding: 24px;
}

.market-home-promo--vendor {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(255,255,255,0.98) 100%);
}

.market-home-trust {
    padding: 64px 0 72px;
}

.market-home-trust__head {
    margin-bottom: 26px;
}

.hero-section {
    padding: 0;
}

.marketplace-main .hero-slider {
    min-height: 360px;
    border-radius: 22px;
    overflow: hidden;
    background: #111;
}

.marketplace-main .hero-slide {
    min-height: 360px;
}

.marketplace-main .hero-overlay {
    background: linear-gradient(180deg, rgba(13,13,13,0.12), rgba(13,13,13,0.52));
}

.marketplace-main .hero-text {
    max-width: 460px;
}

.marketplace-main .hero-text h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.marketplace-main .hero-text p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,0.82);
}

.marketplace-main .hero-dots {
    margin-top: 14px;
    justify-content: center;
}

.hero-default {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.16) 0%, transparent 38%),
        linear-gradient(160deg, #e41d24 0%, #d51b22 55%, #c6171e 100%);
}

.hero-default-visual {
    min-height: 360px;
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 18px;
    padding: 24px;
}

.hero-default-visual__pill {
    display: inline-flex;
    justify-self: start;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-default-visual__panel {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-default-visual__panel--primary {
    width: 100%;
}

.hero-default-visual__panel--secondary {
    width: 68%;
    justify-self: end;
    min-height: 78px;
}

.hero-default-visual__footer {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 12px;
}

.hero-default-visual__footer span {
    display: block;
    min-height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.marketplace-main .category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.marketplace-main .category-pill {
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(13, 13, 13, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.marketplace-main .category-pill span:last-child {
    font-weight: 700;
    color: #0d0d0d;
}

.marketplace-main .product-grid {
    gap: 18px;
}

.marketplace-main .product-card,
.marketplace-main .product-card-skeleton {
    border-radius: 20px;
    border: 1px solid rgba(13, 13, 13, 0.08);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 14px 36px rgba(0,0,0,0.05);
}

.marketplace-main .product-card {
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.marketplace-main .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 18px 42px rgba(0,0,0,0.08);
}

.marketplace-main .product-card-img-wrap {
    background: #f6f2eb;
}

.marketplace-main .product-card-body {
    padding: 18px 18px 12px;
}

.marketplace-main .product-store {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 10px;
}

.marketplace-main .product-name {
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #0d0d0d;
    min-height: 2.4em;
}

.marketplace-main .product-pricing {
    margin-top: 12px;
    align-items: baseline;
}

.marketplace-main .product-price {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0d0d0d;
}

.marketplace-main .product-compare {
    font-size: 14px;
    color: #9b968f;
}

.marketplace-main .product-rating {
    margin-top: 12px;
    gap: 8px;
    color: #6d6760;
}

.marketplace-main .stars {
    display: inline-flex;
    gap: 4px;
    color: var(--primary);
}

.marketplace-main .product-card-footer {
    padding: 0 18px 18px;
    gap: 10px;
}

.marketplace-main .btn-add-cart {
    border-radius: 999px;
    min-height: 44px;
    font-weight: 800;
}

.marketplace-main .btn-wishlist {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(13, 13, 13, 0.08);
}

.store-chip {
    min-width: 220px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(13, 13, 13, 0.08);
    box-shadow: 0 14px 32px rgba(0,0,0,0.05);
}

.store-chip-avatar {
    border-radius: 16px;
}

.marketplace-main .stores-row {
    gap: 16px;
}

.trust-grid {
    gap: 18px;
}

.trust-item {
    padding: 24px;
    border-radius: 22px;
}

.trust-item h4 {
    font-size: 20px;
    line-height: 1.16;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin: 14px 0 8px;
}

.marketplace-main .empty-grid {
    padding: 36px 24px;
    border-radius: 20px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(13,13,13,0.08);
    color: #6d6760;
}

@media (max-width: 980px) {
    .market-home-hero__grid,
    .market-home-promos__grid {
        grid-template-columns: 1fr;
    }

    .market-home-section__head,
    .market-home-band__inner,
    .market-home-trust__head,
    .market-home-hero__visual-top {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .market-home-hero {
        padding-top: 28px;
    }

    .market-home-hero__content h1,
    .market-home-section__title,
    .market-home-trust__head h2 {
        max-width: none;
    }

    .hero-slider,
    .hero-slide {
        min-height: 300px;
    }

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

@media (max-width: 560px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.marketplace-main {
    flex: 1;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 56px 0;
}

.bg-subtle {
    background: rgba(255, 255, 255, 0.34);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    margin-bottom: 14px;
}

.info-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: end;
    padding: 34px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

.info-title {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 12px;
}

.info-subtitle {
    max-width: 760px;
    font-size: 15px;
    color: var(--text-secondary);
}

.info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.info-grid,
.store-directory-grid,
.pricing-grid-public {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.legal-stack {
    display: grid;
    gap: 18px;
}

.info-panel,
.directory-card,
.pricing-card-public {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.info-panel h2,
.directory-card h2,
.pricing-card-public h2 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.info-panel p,
.directory-copy,
.pricing-meta {
    color: var(--text-secondary);
}

.info-panel a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.info-list,
.pricing-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 14px;
    color: var(--text-secondary);
}

.info-list li,
.pricing-list li {
    position: relative;
    padding-left: 18px;
}

.info-list li::before,
.pricing-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.7);
}

.directory-card,
.pricing-card-public {
    display: grid;
    gap: 14px;
}

.directory-card-top,
.pricing-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.directory-badge,
.directory-count {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.directory-badge {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
}

.directory-count {
    color: var(--text-secondary);
    background: rgba(25, 35, 31, 0.06);
}

.directory-slug {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-card-public.featured {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(255, 255, 255, 0.98) 34%);
}

.pricing-amount {
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: var(--text-primary);
}

.site-header {
    position: sticky;
    top: 0;
    background: rgba(243, 245, 244, 0.88);
    backdrop-filter: blur(16px);
    z-index: 100;
    transition: box-shadow 0.16s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 30px rgba(28, 39, 34, 0.08);
}

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px 24px 14px;
    max-width: 1240px;
    margin: 0 auto;
}

.header-logo img {
    display: block;
}

.header-search {
    flex: 1;
    position: relative;
}

.search-form {
    position: relative;
}

.search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow);
}

.search-wrap input {
    flex: 1;
    border: none;
    padding: 11px 14px;
    font-size: 14px;
    outline: none;
    background: transparent;
    box-shadow: none;
}

.search-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    z-index: 200;
    overflow: hidden;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.12s ease;
}

.suggestion-item:hover {
    background: rgba(var(--primary-rgb), 0.03);
}

.sug-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 12px;
}

.sug-name {
    font-size: 13px;
    font-weight: 600;
}

.sug-store {
    font-size: 11px;
    color: var(--text-secondary);
}

.sug-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-left: auto;
}

.suggestion-more {
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    text-align: center;
    background: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-xs);
    transition: all 0.16s ease;
}

.header-action-btn:hover {
    color: var(--primary);
    background: #fff;
}

.cart-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.user-menu-wrap {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.96);
    border: none;
    border-radius: 999px;
    padding: 6px 12px 6px 6px;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
}

.user-avatar-sm {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 228px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    z-index: 200;
    overflow: hidden;
}

.user-menu-header {
    padding: 16px;
    background: rgba(238, 241, 239, 0.8);
}

.um-name {
    font-size: 13px;
    font-weight: 700;
}

.um-email {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.user-menu-links a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.12s ease;
}

.user-menu-links a:hover {
    background: rgba(var(--primary-rgb), 0.03);
    color: var(--primary);
}

.um-divider {
    height: 1px;
    background: rgba(25, 35, 31, 0.06);
}

.um-logout {
    color: var(--danger) !important;
}

.category-nav {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px 16px;
    max-width: 1240px;
    margin: 0 auto;
    white-space: nowrap;
}

.cat-nav-link {
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-xs);
    transition: all 0.16s ease;
}

.cat-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.cat-nav-items {
    display: flex;
    gap: 8px;
}

.hero-section {
    position: relative;
    padding: 6px 24px 0;
}

.hero-slider {
    position: relative;
    height: 430px;
    max-width: 1240px;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.45s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.88) 0%, rgba(var(--primary-rgb), 0.52) 46%, rgba(var(--primary-rgb), 0.12) 100%);
    display: flex;
    align-items: center;
    padding: 0 64px;
}

.hero-default {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 1;
}

.hero-text h1 {
    font-size: 46px;
    line-height: 1.05;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    max-width: 560px;
}

.hero-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 26px;
    max-width: 480px;
}

.btn-hero {
    padding: 13px 28px;
    font-size: 15px;
}

.hero-skeleton {
    height: 430px;
    position: absolute;
    inset: 0;
}

.hero-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 2;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.44);
    border: none;
    cursor: pointer;
}

.hero-dot.active {
    background: #fff;
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 26px;
    gap: 16px;
}

.section-heading {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 800;
}

.section-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.link-more {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.category-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 14px;
}

.category-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 10px;
    text-decoration: none;
    color: var(--text-primary);
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.category-pill:hover {
    transform: translateY(-2px);
}

.category-pill img,
.category-pill .cat-emoji,
.category-pill .cat-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    object-fit: cover;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.category-pill .cat-icon {
    color: var(--primary);
}

.category-pill .cat-icon svg {
    width: 30px;
    height: 30px;
}

.category-pill span:last-child {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

.product-list {
    grid-template-columns: 1fr;
}

.product-card,
.product-card-skeleton {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-card {
    transition: transform 0.16s ease, box-shadow 0.16s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.product-card-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img {
    transform: scale(1.03);
}

.discount-badge,
.type-badge {
    position: absolute;
    top: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.discount-badge {
    left: 12px;
    background: rgba(209, 96, 103, 0.92);
    color: #fff;
}

.type-badge {
    right: 12px;
    background: rgba(25, 35, 31, 0.64);
    color: #fff;
    text-transform: capitalize;
}

.product-card-body {
    padding: 16px;
}

.product-store {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.product-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
}

.product-compare {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-secondary);
}

.stars {
    color: #d8a03b;
    letter-spacing: 1px;
}

.product-card-footer {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}

.btn-add-cart {
    flex: 1;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
}

.btn-wishlist {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(238, 241, 239, 0.86);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.btn-wishlist:hover {
    color: var(--danger);
}

.pcs-image {
    aspect-ratio: 1;
}

.pcs-title {
    height: 14px;
    margin: 14px 16px 8px;
    border-radius: 999px;
}

.pcs-price {
    height: 18px;
    width: 40%;
    margin: 0 16px 16px;
    border-radius: 999px;
}

.skeleton-pulse {
    background: linear-gradient(90deg, #edf0ef 25%, #e3e8e5 50%, #edf0ef 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.stores-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-xs);
    transition: all 0.16s ease;
}

.store-chip:hover {
    color: var(--primary);
}

.store-chip-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

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

.trust-item {
    padding: 28px 22px;
    text-align: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.trust-icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(249, 115, 22, 0.12));
    color: var(--primary);
}

.trust-icon svg {
    width: 32px;
    height: 32px;
}

.trust-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.trust-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.promo-card {
    border-radius: 22px;
    padding: 42px;
    min-height: 220px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.promo-sell {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.promo-agent {
    background: linear-gradient(135deg, #60756c, #46594f);
}

.promo-content h3 {
    font-size: 28px;
    line-height: 1.08;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.promo-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 22px;
    max-width: 420px;
}

.site-footer {
    background: #1f2b26;
    color: rgba(255, 255, 255, 0.68);
    margin-top: 72px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 52px 24px 34px;
}

.footer-brand img {
    filter: brightness(0) invert(1);
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 9px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    font-size: 12px;
}

.search-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 32px 24px;
    align-items: start;
}

.filter-sidebar {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    box-shadow: var(--shadow);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filter-header h2 {
    font-size: 16px;
    font-weight: 700;
}

.link-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 5px 0;
    cursor: pointer;
}

.filter-count {
    color: var(--text-secondary);
    font-size: 11px;
    margin-left: auto;
}

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

.results-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.results-info {
    flex: 1;
}

.results-title {
    font-size: 24px;
    font-weight: 800;
}

.results-count {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 3px;
}

.view-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xs);
}

.view-btn.active {
    color: var(--primary);
    background: var(--primary-light);
}

.filter-toggle-btn {
    display: none;
}

.active-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.filter-tag button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 12px;
}

.search-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 34px 0;
    flex-wrap: wrap;
}

.page-active {
    background: var(--primary) !important;
    color: #fff !important;
}

.page-ellipsis {
    padding: 6px 4px;
    color: var(--text-secondary);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px 0 46px;
    align-items: start;
}

.pd-gallery-skeleton,
.pd-info-skeleton {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.pd-gallery-skeleton {
    aspect-ratio: 1;
}

.pd-main-img-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1;
    margin-bottom: 14px;
    box-shadow: var(--shadow);
}

.pd-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.94);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xs);
    z-index: 2;
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.pd-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.thumb-btn {
    width: 68px;
    height: 68px;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    background: #fff;
    padding: 0;
    box-shadow: inset 0 0 0 1px rgba(25, 35, 31, 0.08);
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-btn.active {
    box-shadow: inset 0 0 0 2px rgba(var(--primary-rgb), 0.3);
}

.pd-store-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 14px;
}

.pd-title {
    font-size: 30px;
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 10px;
}

.pd-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--text-secondary);
}

.pd-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pd-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
}

.pd-compare {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.pd-discount {
    background: rgba(209, 96, 103, 0.12);
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
}

.pd-short-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.pd-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 8px;
}

.pd-variants {
    margin-bottom: 16px;
}

.variant-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(25, 35, 31, 0.08);
}

.variant-btn:hover,
.variant-btn.selected {
    color: var(--primary);
    background: var(--primary-light);
    box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), 0.1);
}

.variant-oos {
    font-size: 10px;
    color: var(--danger);
    display: block;
}

.pd-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    padding: 4px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(25, 35, 31, 0.08);
}

.qty-btn {
    background: rgba(238, 241, 239, 0.92);
    border: none;
    font-size: 18px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-secondary);
}

.qty-display {
    font-size: 15px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.stock-info {
    font-size: 12px;
    color: var(--success);
    font-weight: 600;
}

.pd-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.pd-add-cart {
    flex: 1;
    padding: 14px;
    font-size: 15px;
    border-radius: 14px;
}

.btn-wishlist-lg {
    width: 50px;
    border: none;
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    box-shadow: var(--shadow-xs);
}

.btn-wishlist-lg:hover {
    color: var(--danger);
}

.pd-meta {
    border-top: 1px solid rgba(25, 35, 31, 0.06);
    padding-top: 16px;
}

.pd-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(25, 35, 31, 0.06);
}

.pd-meta-row span:first-child {
    color: var(--text-secondary);
}

.product-tabs {
    margin-top: 42px;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.tab-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.tab-btn {
    padding: 9px 16px;
    border: none;
    background: rgba(238, 241, 239, 0.9);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 999px;
}

.tab-btn.active {
    color: var(--primary);
    background: var(--primary-light);
}

.tab-content {
    min-height: 120px;
}

.rich-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-primary);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.spec-table td {
    padding: 10px 12px;
    border-top: 1px solid rgba(25, 35, 31, 0.06);
    font-size: 13px;
}

.spec-table tr:nth-child(odd) td {
    background: rgba(238, 241, 239, 0.55);
}

.product-reviews {
    display: grid;
    gap: 18px;
}

.product-reviews__summary {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 20px;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(25, 35, 31, 0.08);
    background: #fdfcfa;
}

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

.product-reviews__average {
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.product-reviews__stars {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.product-review-breakdown {
    display: grid;
    gap: 10px;
    align-content: center;
}

.product-review-breakdown__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.product-review-breakdown__bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(238, 241, 239, 0.9);
    overflow: hidden;
}

.product-review-breakdown__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.product-review-card {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(25, 35, 31, 0.08);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.product-review-card--mine {
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.03), #fff);
}

.product-review-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.product-review-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.product-review-card__eyebrow {
    margin: 0 0 4px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-review-card__name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.product-review-card__meta {
    margin: 4px 0 0;
    color: var(--text-secondary);
    font-size: 12px;
}

.product-review-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
}

.product-review-card__text {
    margin: 0;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-line;
}

.product-review-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-review-status--approved {
    background: rgba(31, 160, 94, 0.12);
    color: #1f9f5e;
}

.product-review-status--pending {
    background: rgba(235, 168, 37, 0.14);
    color: #b77a12;
}

.product-review-status--rejected {
    background: rgba(220, 28, 35, 0.12);
    color: #dc1c23;
}

.product-review-form {
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(25, 35, 31, 0.08);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.product-review-form__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-review-form__note {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    max-width: 360px;
}

.product-review-stars-picker {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.product-review-star {
    min-width: 52px;
    height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(25, 35, 31, 0.08);
    background: #fdfcfa;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
}

.product-review-star.active {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
}

.product-review-textarea {
    width: 100%;
    min-height: 130px;
    border-radius: 16px;
    border: 1px solid rgba(25, 35, 31, 0.1);
    background: #fdfcfa;
    padding: 14px 16px;
    font: inherit;
    resize: vertical;
    color: var(--text-primary);
}

.product-review-textarea:focus {
    outline: none;
    border-color: rgba(var(--primary-rgb), 0.45);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.08);
}

.product-review-form__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.product-review-list {
    display: grid;
    gap: 14px;
}

.product-review-empty,
.product-review-login {
    padding: 20px;
    border-radius: 18px;
    border: 1px dashed rgba(25, 35, 31, 0.14);
    color: var(--text-secondary);
    background: rgba(238, 241, 239, 0.45);
    font-size: 14px;
    line-height: 1.7;
}

.product-review-login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.review-stars-fallback {
    letter-spacing: 2px;
    color: var(--primary);
}

.store-banner-wrap {
    height: 220px;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
}

.store-banner,
.store-banner-skeleton {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.store-info-card {
    max-width: 1240px;
    margin: -46px auto 0;
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.store-logo {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    object-fit: cover;
}

.store-logo-placeholder {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.store-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.store-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.store-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.store-content {
    padding: 28px 0 52px;
}

.store-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.2s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .info-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .info-actions {
        justify-content: flex-start;
    }

    .info-grid,
    .store-directory-grid,
    .pricing-grid-public {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 300;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        border-radius: 0;
        max-height: 100vh;
        overflow-y: auto;
    }

    .filter-sidebar.open {
        transform: translateX(0);
        box-shadow: var(--shadow-md);
    }

    .filter-toggle-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .info-hero {
        padding: 26px 22px;
        border-radius: 24px;
    }

    .info-grid,
    .store-directory-grid,
    .pricing-grid-public {
        grid-template-columns: 1fr;
    }

    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
        padding: 14px 16px 12px;
    }

    .header-search,
    .header-links {
        display: none;
    }

    .category-nav-inner,
    .hero-section,
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-slider {
        height: 300px;
        border-radius: 22px;
    }

    .hero-overlay {
        padding: 0 24px;
    }

    .hero-text h1 {
        font-size: 30px;
    }

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

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

    .promo-card {
        padding: 24px 20px;
    }

    .market-hero {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .market-hero__left {
        padding: 52px 24px 44px;
    }

    .market-hero__right {
        display: none;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-pills {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* ============================================================
   MARKETPLACE REDESIGN V4
   ============================================================ */

.marketplace-body {
    background: #f5f0e8;
    color: #0f0d0a;
}

.marketplace-main {
    background: #f5f0e8;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 240, 232, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 13, 10, 0.08);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 72px;
    display: grid;
    grid-template-columns: auto minmax(260px, 420px) auto auto;
    align-items: center;
    gap: 18px;
}

.header-logo img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.header-search {
    max-width: 440px;
    width: 100%;
}

.search-form,
.search-wrap {
    width: 100%;
}

.search-wrap {
    position: relative;
}

.search-wrap input,
.mobile-search-input {
    width: 100%;
    min-height: 48px;
    padding: 0 18px 0 48px;
    border-radius: 999px;
    border: 1px solid rgba(15, 13, 10, 0.1);
    background: #fdfcfa;
    font-size: 14px;
    color: #0f0d0a;
    box-shadow: 0 12px 30px rgba(15, 13, 10, 0.04);
}

.search-wrap input:focus,
.mobile-search-input:focus {
    outline: none;
    border-color: rgba(212, 40, 28, 0.38);
    box-shadow: 0 0 0 4px rgba(212, 40, 28, 0.08);
}

.search-wrap svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7a736a;
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.search-btn svg {
    position: static;
    transform: none;
    color: currentColor;
    flex-shrink: 0;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.header-links a {
    color: #5f584f;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.header-links a:hover {
    color: #0f0d0a;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.header-action-btn,
.user-menu-trigger {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 252, 250, 0.9);
    border: 1px solid rgba(15, 13, 10, 0.08);
    color: #5f584f;
    box-shadow: 0 10px 24px rgba(15, 13, 10, 0.04);
}

.header-action-btn:hover,
.user-menu-trigger:hover {
    color: #0f0d0a;
    background: #fff;
}

.header-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.header-auth-btn--ghost {
    background: rgba(253, 252, 250, 0.9);
    border: 1px solid rgba(15, 13, 10, 0.1);
    color: #0f0d0a;
}

.header-auth-btn--primary {
    background: var(--primary);
    border: 1px solid transparent;
    color: #fff;
}

.mobile-menu-overlay,
.mobile-menu-panel {
    display: none;
}

.category-nav {
    border-top: 1px solid rgba(15, 13, 10, 0.04);
    border-bottom: 1px solid rgba(15, 13, 10, 0.08);
    background: #fdfcfa;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.cat-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    color: #7a736a;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cat-nav-link:hover,
.cat-nav-link.active {
    color: #0f0d0a;
    border-bottom-color: var(--primary);
    background: transparent;
    box-shadow: none;
}

.market-homepage {
    overflow: hidden;
}

.market-hero {
    min-height: calc(100vh - 120px);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.market-hero__left {
    background: #0f0d0a;
    color: #fdfcfa;
    padding: 84px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    position: relative;
    overflow: hidden;
}

.market-hero__left::before {
    content: '';
    position: absolute;
    inset: auto -100px -120px auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(212, 40, 28, 0.24);
    filter: blur(80px);
}

.market-hero__tag,
.market-section__eyebrow,
.market-cta-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.market-hero__tag {
    color: rgba(255, 255, 255, 0.72);
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.market-hero__tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.market-hero__headline {
    font-size: clamp(52px, 6vw, 90px);
    line-height: 0.92;
    letter-spacing: -0.06em;
    font-weight: 800;
    color: #fff;
}

.market-hero__headline em {
    font-style: normal;
    color: var(--primary);
    display: block;
}

.market-hero__sub {
    max-width: 360px;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.58);
}

.market-hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.market-hero__btn-primary,
.market-hero__btn-ghost {
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.market-hero__btn-ghost {
    color: rgba(255, 255, 255, 0.82);
    border-color: rgba(255, 255, 255, 0.16);
}

.market-hero__stats {
    display: flex;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.market-hero-stat__value {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #fff;
}

.market-hero-stat__label {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.46);
}

.market-hero__right {
    position: relative;
    background: #f5f0e8;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.market-hero__featured-label {
    position: absolute;
    top: 34px;
    left: 34px;
    z-index: 2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7a736a;
}

.market-hero__product-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(212, 40, 28, 0.08) 0%, transparent 70%);
}

.market-hero__product-showcase {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 84px 40px 0;
    position: relative;
}

.market-hero-product-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 390px;
    background: #fdfcfa;
    border-radius: 24px 24px 0 0;
    padding: 30px;
    box-shadow: 0 -8px 60px rgba(15, 13, 10, 0.08);
}

.market-hero-product-card__image {
    position: relative;
    aspect-ratio: 1;
    border-radius: 18px;
    background: #ede7d9;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-hero-product-card__image img,
.product-card-img,
.store-product-thumb img,
.market-category-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-hero-product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.market-hero-product-card__store,
.pc-store {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7a736a;
}

.market-hero-product-card__name {
    margin-top: 8px;
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.06;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #0f0d0a;
}

.market-hero-product-card__footer,
.pc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.market-hero-product-card__price,
.pc-price {
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #0f0d0a;
}

.market-hero-product-card__old-price,
.pc-old-price {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #7a736a;
    text-decoration: line-through;
}

.market-hero-product-card__cart,
.pc-add-btn,
.pc-wishlist {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s ease;
}

.market-hero-product-card__cart,
.pc-add-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0f0d0a;
    color: #fff;
}

.market-hero-product-card__cart:hover,
.pc-add-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.market-hero__scroll-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 18px 24px 22px;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(15, 13, 10, 0.18);
}

.scroll-dot.active {
    width: 22px;
    background: var(--primary);
}

.market-marquee {
    overflow: hidden;
    background: var(--primary);
}

.market-marquee__track {
    display: flex;
    width: max-content;
    animation: marketplace-marquee 20s linear infinite;
}

@keyframes marketplace-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.market-marquee__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 28px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.market-marquee__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.market-section {
    padding: 80px 0;
}

.market-section--categories,
.market-section--stores {
    background: #fdfcfa;
}

.market-section--featured,
.market-section--why {
    background: #f5f0e8;
}

.market-section--arrivals {
    background: #ede7d9;
}

.market-section--blog {
    background: #fff;
    border-top: 1px solid rgba(25,35,31,.07);
}

.market-section__eyebrow,
.market-cta-panel__eyebrow {
    color: var(--primary);
    margin-bottom: 16px;
}

.market-section__eyebrow::before,
.market-cta-panel__eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
}

.market-section__title {
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #0f0d0a;
}

.market-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 44px;
}

.market-section__link {
    color: #5f584f;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.market-section__link:hover {
    color: #0f0d0a;
}

.market-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

.market-category-card,
.market-category-card-skeleton {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 132px;
    padding: 22px 14px;
    border-radius: 18px;
    border: 1px solid rgba(15, 13, 10, 0.12);
    background: #f5f0e8;
    text-decoration: none;
    color: #0f0d0a;
    text-align: center;
}

.market-category-card:hover {
    border-color: var(--primary);
    background: #fdfcfa;
    transform: translateY(-3px);
}

.market-category-card__icon,
.market-category-card-skeleton__icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #ede7d9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    overflow: hidden;
    font-size: 20px;
}

.market-category-card__name {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.market-category-card-skeleton__line {
    width: 78%;
    height: 12px;
    border-radius: 999px;
}

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

.product-card,
.product-card-skeleton {
    background: #fdfcfa;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(15, 13, 10, 0.12);
    transition: all 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(15, 13, 10, 0.08);
}

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.pc-image {
    position: relative;
    aspect-ratio: 1;
    background: #ede7d9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(15, 13, 10, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a8379;
    font-size: 28px;
}

.pc-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pc-badge.green {
    background: #1a7a4a;
}

.pc-body {
    padding: 18px;
}

.pc-name {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: #0f0d0a;
    min-height: 2.7em;
}

.pc-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 16px;
}

.pc-rating--empty {
    min-height: 18px;
}

.stars {
    display: inline-flex;
    gap: 3px;
    color: #f0a500;
    font-size: 12px;
}

.rating-count {
    font-size: 11px;
    color: #7a736a;
}

.pc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-wishlist {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(15, 13, 10, 0.08);
    color: #7a736a;
}

.pc-wishlist:hover {
    color: var(--primary);
}

.market-cta-dual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #0f0d0a;
}

.market-cta-panel {
    position: relative;
    overflow: hidden;
    padding: 72px 56px;
    background: #181511;
    color: #fff;
}

.market-cta-panel--seller {
    background: #0f0d0a;
}

.market-cta-panel::before {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--primary);
}

.market-cta-panel__title {
    max-width: 340px;
    margin-bottom: 16px;
    font-size: 42px;
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #fff;
}

.market-cta-panel__title em {
    font-style: normal;
    color: var(--primary);
}

.market-cta-panel__desc {
    max-width: 360px;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.54);
}

.market-cta-panel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.market-cta-panel__btn--primary {
    background: var(--primary);
    color: #fff;
}

.market-cta-panel__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.86);
}

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

.store-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(15, 13, 10, 0.12);
    background: #f5f0e8;
    color: #0f0d0a;
    text-decoration: none;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 13, 10, 0.07);
}

.store-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.store-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #0f0d0a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
}

.store-info {
    flex: 1;
}

.store-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f0d0a;
}

.store-handle {
    margin-top: 2px;
    font-size: 12px;
    color: #7a736a;
}

.store-verified {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.store-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.store-product-thumb {
    aspect-ratio: 1;
    border-radius: 12px;
    background: #ede7d9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #8a8379;
}

.store-stats {
    display: flex;
    gap: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 13, 10, 0.12);
}

.store-stat-val {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f0d0a;
}

.store-stat-key {
    margin-top: 2px;
    font-size: 11px;
    color: #7a736a;
}

.market-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 44px;
}

.market-why-card {
    padding: 30px 26px;
    border-radius: 20px;
    border: 1px solid rgba(15, 13, 10, 0.12);
    background: #fdfcfa;
}

.market-why-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(212, 40, 28, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.market-why-card__title {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f0d0a;
}

.market-why-card__desc,
.market-empty {
    font-size: 14px;
    line-height: 1.65;
    color: #7a736a;
}

.market-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 52px 20px;
}

.site-footer {
    background: #0f0d0a;
    padding: 72px 40px 40px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-top {
    max-width: 1440px;
    margin: 0 auto;
    padding-bottom: 44px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
}

.footer-brand-name span {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--primary);
}

.footer-brand-desc {
    max-width: 300px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.7;
}

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

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.56);
    text-decoration: none;
}

.social-btn:hover {
    color: #fff;
    border-color: var(--primary);
    background: rgba(212, 40, 28, 0.12);
}

.footer-col-title {
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
}

.footer-made {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-made span {
    color: var(--primary);
}

.search-layout {
    padding: 56px 0 80px;
}

.filter-sidebar,
.product-tabs,
.tab-content,
.pd-gallery,
.pd-info {
    background: #fdfcfa;
    border: 1px solid rgba(15, 13, 10, 0.12);
    box-shadow: 0 16px 40px rgba(15, 13, 10, 0.05);
}

.filter-sidebar,
.pd-gallery,
.pd-info {
    border-radius: 22px;
}

.product-grid.product-list {
    grid-template-columns: 1fr;
}

.product-grid.product-list .product-card-link {
    display: grid;
    grid-template-columns: 240px 1fr;
}

.product-grid.product-list .pc-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-layout {
    gap: 28px;
}

.pd-store-chip {
    border-radius: 999px;
    background: #f5f0e8;
    border: 1px solid rgba(15, 13, 10, 0.1);
    color: #5f584f;
}

.user-menu {
    background: #fdfcfa;
    border: 1px solid rgba(15, 13, 10, 0.1);
    box-shadow: 0 20px 40px rgba(15, 13, 10, 0.08);
}

@media (max-width: 1200px) {
    .header-inner {
        grid-template-columns: auto minmax(220px, 1fr) auto;
    }

    .header-links {
        display: none;
    }

    .market-categories-grid,
    .market-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .market-hero,
    .market-cta-dual,
    .footer-top,
    .stores-grid {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .market-hero__left,
    .market-cta-panel {
        padding: 56px 28px;
    }

    .market-hero__product-showcase {
        padding: 76px 24px 0;
    }
}

@media (max-width: 768px) {
    body.marketplace-body {
        overflow-x: clip;
    }

    .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        padding: 0 20px;
    }

    .category-nav-inner,
    .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-search {
        max-width: none;
    }

    .header-actions .header-auth-btn,
    .header-actions .header-action-btn,
    .header-actions .user-menu-wrap {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .mobile-menu-overlay {
        position: fixed;
        inset: 72px 0 0;
        background: rgba(15, 13, 10, 0.35);
        backdrop-filter: blur(4px);
        z-index: 95;
        opacity: 0;
        transition: opacity 0.2s ease;
        display: block;
    }

    .mobile-menu-overlay.open {
        opacity: 1;
    }

    .mobile-menu-panel {
        position: fixed;
        top: 72px;
        right: 0;
        width: min(100%, 360px);
        max-width: calc(100vw - 24px);
        height: calc(100dvh - 72px);
        background: #fdfcfa;
        border-left: 1px solid rgba(15, 13, 10, 0.08);
        box-shadow: -18px 0 48px rgba(15, 13, 10, 0.12);
        z-index: 100;
        transform: translateX(100%);
        transition: transform 0.22s ease;
        overflow-y: auto;
        display: block;
    }

    .mobile-menu-panel.open {
        transform: translateX(0);
    }

    .mobile-menu-panel__inner {
        display: grid;
        gap: 14px;
        padding: 18px;
    }

    .mobile-menu-panel__section {
        display: grid;
        gap: 10px;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(15, 13, 10, 0.08);
    }

    .mobile-menu-panel__section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .mobile-menu-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 46px;
        padding: 0 16px;
        border: 1px solid rgba(15, 13, 10, 0.08);
        border-radius: 16px;
        background: #fff;
        color: #0f0d0a;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-menu-link--button {
        width: 100%;
        cursor: pointer;
    }

    .mobile-menu-link--primary {
        background: var(--primary);
        border-color: transparent;
        color: #fff;
    }

    .market-hero__headline {
        font-size: clamp(42px, 13vw, 72px);
    }

    .market-section__header,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .market-categories-grid,
    .products-grid,
    .product-grid,
    .market-why-grid {
        grid-template-columns: 1fr;
    }

    .market-hero__stats,
    .store-stats {
        flex-wrap: wrap;
    }

    .product-grid.product-list .product-card-link {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   STORES DIRECTORY PAGE
   ============================================================ */

.stores-page-hero {
    position: relative;
    overflow: hidden;
    background: #0f0d0a;
    padding: 72px 0 80px;
}

.stores-page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.07;
    filter: blur(80px);
}

.stores-page-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 200px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.05;
    filter: blur(60px);
}

.stores-page-hero__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.stores-page-hero__tag,
.stores-section-eyebrow,
.fsc-eyebrow,
.osc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stores-page-hero__tag {
    margin-bottom: 20px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.45);
}

.stores-page-hero__tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.stores-page-hero h1 {
    font-family: var(--font-display, inherit);
    font-size: clamp(40px, 4.6vw, 72px);
    line-height: 1;
    letter-spacing: -0.06em;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.stores-page-hero h1 em {
    font-style: normal;
    color: var(--primary);
}

.stores-page-hero__desc {
    max-width: 480px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}

.stores-page-hero__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.stores-hero-btn {
    min-height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.22s ease;
}

.stores-hero-btn--primary {
    border: none;
    color: #fff;
    background: var(--primary);
}

.stores-hero-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 40, 28, 0.35);
}

.stores-hero-btn--outline {
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
}

.stores-hero-btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
}

.stores-page-hero__stats {
    display: flex;
    gap: 40px;
    padding-top: 48px;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stores-page-stat__num {
    font-family: var(--font-display, inherit);
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #fff;
}

.stores-page-stat__label {
    margin-top: 3px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

.stores-toolbar {
    position: sticky;
    top: 120px;
    z-index: 50;
    background: #fffdf9;
    border-bottom: 1px solid rgba(15, 13, 10, 0.12);
}

.stores-toolbar__inner {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.stores-toolbar__left,
.stores-toolbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stores-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(15, 13, 10, 0.15);
    border-radius: 999px;
    background: #fffdf9;
    color: #0f0d0a;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.stores-filter-btn .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.stores-filter-btn:hover,
.stores-filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(212, 40, 28, 0.03);
}

.stores-toolbar__search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.stores-toolbar__search input {
    width: 100%;
    min-height: 44px;
    padding: 0 18px 0 46px;
    border: 1px solid rgba(15, 13, 10, 0.15);
    border-radius: 999px;
    background: #f5f0e8;
    font-size: 14px;
    color: #0f0d0a;
}

.stores-toolbar__search input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(212, 40, 28, 0.08);
}

.stores-toolbar__search svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7a736a;
    opacity: 0.5;
}

.stores-toolbar__count {
    font-size: 15px;
    color: #7a736a;
    white-space: nowrap;
}

.stores-toolbar__count strong {
    color: #0f0d0a;
    font-weight: 700;
    font-size: 18px;
}

.stores-sort-select {
    min-height: 44px;
    padding: 0 40px 0 18px;
    border: 1px solid rgba(15, 13, 10, 0.15);
    border-radius: 999px;
    background: #f5f0e8;
    color: #0f0d0a;
    font-size: 14px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A736A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    white-space: nowrap;
}

.stores-view-toggle {
    display: flex;
    align-items: center;
    padding: 2px;
    border: none;
    border-radius: 999px;
    overflow: hidden;
    background: #0f0d0a;
}

.stores-view-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    transition: all 0.18s ease;
}

.stores-view-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.stores-view-btn:hover {
    color: #fff;
}

.stores-main {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 48px;
    padding-bottom: 80px;
}

.featured-store-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 48px 52px;
    border-radius: 24px;
    background: #0f0d0a;
    color: #fff;
}

.featured-store-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: 200px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.08;
    filter: blur(60px);
}

.fsc-eyebrow,
.stores-section-eyebrow,
.osc-eyebrow {
    color: var(--primary);
    margin-bottom: 16px;
}

.fsc-eyebrow::before,
.stores-section-eyebrow::before,
.osc-eyebrow::before {
    content: '';
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
}

.fsc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.fsc-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    overflow: hidden;
    flex-shrink: 0;
}

.fsc-avatar img,
.sc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fsc-name {
    font-family: var(--font-display, inherit);
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #fff;
}

.fsc-handle {
    margin-top: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.fsc-desc {
    max-width: 520px;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}

.fsc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.fsc-tag {
    padding: 5px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.fsc-actions {
    display: flex;
    gap: 12px;
}

.fsc-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.fsc-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fsc-stat {
    padding: 18px 20px;
    border-radius: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fsc-stat-val,
.fsc-rating {
    font-family: var(--font-display, inherit);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #fff;
}

.fsc-stat-key {
    margin-top: 3px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
}

.stores-section-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

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

.stores-grid.is-list {
    grid-template-columns: 1fr;
}

.stores-grid.is-list .store-card {
    display: grid;
    grid-template-columns: 220px 1fr;
}

.stores-grid.is-list .sc-banner {
    height: 100%;
    min-height: 100%;
    border-radius: 0;
}

.stores-grid.is-list .sc-avatar-wrap {
    display: none;
}

.store-card {
    background: #fdfcfa;
    border-radius: 20px;
    border: 1.5px solid rgba(15, 13, 10, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.store-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15, 13, 10, 0.1);
    border-color: transparent;
}

.store-card.is-hidden {
    display: none;
}

.sc-banner {
    position: relative;
    height: 80px;
    background: #ede7d9;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.sc-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 40, 28, 0.06) 0%, transparent 60%);
}

.sc-banner-pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(15, 13, 10, 0.04) 0, rgba(15, 13, 10, 0.04) 1px, transparent 0, transparent 50%);
    background-size: 20px 20px;
}

.sc-avatar-wrap {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    margin-top: -24px;
    margin-bottom: 16px;
}

.sc-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 3px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(15, 13, 10, 0.12);
    overflow: hidden;
}

.sc-body {
    padding: 0 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.sc-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sc-badge.featured {
    background: rgba(212, 40, 28, 0.1);
    color: var(--primary);
}

.sc-badge.store {
    background: #ede7d9;
    color: #7a736a;
}

.sc-badge.new {
    background: rgba(26, 122, 74, 0.1);
    color: #1a7a4a;
}

.sc-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.sc-product-count {
    font-size: 12px;
    color: #7a736a;
    font-weight: 500;
}

.sc-name {
    font-family: var(--font-display, inherit);
    font-size: 20px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #0f0d0a;
    margin-bottom: 4px;
}

.sc-handle {
    font-size: 12px;
    color: #7a736a;
    margin-bottom: 10px;
}

.sc-desc {
    flex: 1;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: #7a736a;
}

.sc-stats {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    margin-bottom: 18px;
    border-top: 1px solid rgba(15, 13, 10, 0.12);
    border-bottom: 1px solid rgba(15, 13, 10, 0.12);
}

.sc-stat-val {
    font-family: var(--font-display, inherit);
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #0f0d0a;
}

.sc-stat-key {
    margin-top: 2px;
    font-size: 10px;
    color: #7a736a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.sc-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-visit {
    flex: 1;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #0f0d0a;
    border: none;
}

.btn-visit:hover {
    background: var(--primary);
}

.btn-visit.outline {
    background: transparent;
    color: #0f0d0a;
    border: 1.5px solid rgba(15, 13, 10, 0.12);
}

.btn-visit.outline:hover {
    color: #fff;
    background: #0f0d0a;
}

.sc-wishlist {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(15, 13, 10, 0.12);
    border-radius: 50%;
    background: transparent;
    color: #7a736a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.sc-wishlist:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.open-store-cta {
    margin-top: 60px;
    padding: 52px 60px;
    border-radius: 24px;
    border: 1.5px solid rgba(15, 13, 10, 0.12);
    background: #ede7d9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.osc-title {
    font-family: var(--font-display, inherit);
    margin-bottom: 12px;
    font-size: 36px;
    line-height: 1.05;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #0f0d0a;
}

.osc-title em {
    font-style: normal;
    color: var(--primary);
}

.osc-desc {
    max-width: 440px;
    font-size: 14px;
    line-height: 1.7;
    color: #7a736a;
}

.osc-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.stores-open-btn {
    min-height: 50px;
    padding: 0 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    transition: all 0.22s ease;
}

.stores-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 40, 28, 0.32);
}

.osc-note {
    font-size: 12px;
    color: #7a736a;
}

@media (max-width: 1200px) {
    .stores-toolbar__inner {
        flex-wrap: wrap;
    }

    .stores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .stores-page-hero__inner,
    .featured-store-card,
    .open-store-cta {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .stores-page-hero__actions,
    .fsc-actions {
        flex-wrap: wrap;
    }

    .fsc-right,
    .osc-right {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .stores-page-hero,
    .stores-main {
        padding-left: 0;
        padding-right: 0;
    }

    .stores-page-hero__inner,
    .stores-main {
        gap: 24px;
    }

    .stores-page-hero {
        padding: 56px 0 64px;
    }

    .stores-page-hero__stats,
    .sc-stats {
        flex-wrap: wrap;
    }

    .stores-page-hero__inner,
    .stores-toolbar__inner {
        padding: 16px 20px;
    }

    .stores-main {
        padding: 48px 20px 80px;
    }

    .stores-toolbar__inner {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 12px;
    }

    .stores-toolbar__left {
        display: flex;
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .stores-toolbar__left::-webkit-scrollbar {
        display: none;
    }

    .stores-toolbar__right {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 10px;
        align-items: center;
    }

    .stores-toolbar__search {
        order: 3;
        max-width: none;
        width: 100%;
    }

    .stores-grid,
    .stores-grid.is-list {
        grid-template-columns: 1fr;
    }

    .stores-grid.is-list .store-card {
        grid-template-columns: 1fr;
    }

    .open-store-cta {
        padding: 36px 28px;
    }
}

@media (max-width: 560px) {
    .stores-toolbar__right {
        grid-template-columns: 1fr;
    }

    .stores-toolbar__count {
        white-space: normal;
    }

    .stores-sort-select,
    .stores-view-toggle {
        width: 100%;
    }

    .stores-view-toggle {
        justify-content: flex-start;
    }
}

/* ============================================================
   SEARCH & PRODUCT PAGE REFINEMENTS
   ============================================================ */

.search-page__hero,
.product-page__hero {
    padding: 42px 0 18px;
    background:
        radial-gradient(circle at top left, rgba(var(--primary-rgb), 0.08) 0%, transparent 32%),
        linear-gradient(180deg, #fffdf9 0%, #f5f0e8 100%);
}

.search-page__hero-inner,
.product-page__hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 24px;
    align-items: end;
}

.product-page__hero-inner {
    grid-template-columns: 1fr;
}

.search-page__eyebrow,
.product-page__eyebrow,
.search-results-head__eyebrow,
.product-page__related-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.search-page__eyebrow::before,
.product-page__eyebrow::before,
.search-results-head__eyebrow::before,
.product-page__related-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
}

.search-page__title,
.product-page__title {
    max-width: 12ch;
    margin: 0 0 14px;
    font-family: var(--font-display, inherit);
    font-size: clamp(38px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 800;
    color: #0f0d0a;
}

.search-page__desc,
.product-page__desc {
    max-width: 58ch;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #6d6760;
}

.search-page__summary {
    padding: 22px 24px;
    border-radius: 24px;
    border: 1px solid rgba(15, 13, 10, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(15, 13, 10, 0.05);
}

.search-page__summary-label {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7a736a;
}

.search-page__summary-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.search-page__summary-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.65;
    color: #5f584f;
}

.search-page__summary-list li::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.72);
}

.search-page__content,
.product-page__content {
    padding-top: 16px;
    padding-bottom: 80px;
}

.search-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    padding: 0;
    align-items: start;
}

.filter-sidebar {
    position: sticky;
    top: 136px;
    border-radius: 24px;
    padding: 26px 24px;
    background: #fdfcfa;
    border: 1px solid rgba(15, 13, 10, 0.12);
    box-shadow: 0 16px 40px rgba(15, 13, 10, 0.05);
}

.search-results-wrap {
    min-width: 0;
}

.search-results-wrap .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.search-results-wrap .product-grid.product-list {
    grid-template-columns: 1fr;
}

.search-results-head {
    margin-bottom: 20px;
    align-items: end;
}

.search-results-head__title {
    margin-bottom: 8px;
    font-family: var(--font-display, inherit);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.search-results-head__sub {
    max-width: 48ch;
}

.search-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-action-btn,
.search-view-btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(15, 13, 10, 0.12);
    background: #fdfcfa;
    color: #0f0d0a;
    transition: all 0.16s ease;
}

.search-action-btn:hover,
.search-view-btn:hover,
.search-view-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.04);
}

.search-action-btn--ghost {
    width: 100%;
    justify-content: center;
}

#filterToggleBtn.search-action-btn--ghost {
    width: auto;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fdfcfa;
    border: 1px solid rgba(15, 13, 10, 0.12);
    font-size: 13px;
    color: #5f584f;
}

.filter-tag button {
    border: none;
    background: none;
    color: var(--primary);
    font-size: 16px;
    line-height: 1;
}

.empty-results {
    padding: 48px 28px;
    border-radius: 24px;
    border: 1px solid rgba(15, 13, 10, 0.12);
    background: #fdfcfa;
    text-align: center;
}

.empty-results__icon {
    margin-bottom: 14px;
    font-size: 42px;
    color: var(--primary);
}

.product-page__breadcrumb {
    padding-top: 6px;
    margin-bottom: 20px;
}

.product-detail-layout {
    gap: 28px;
    padding: 0 0 28px;
    align-items: start;
}

.pd-gallery,
.pd-info,
.product-tabs {
    background: #fdfcfa;
    border: 1px solid rgba(15, 13, 10, 0.12);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(15, 13, 10, 0.05);
}

.pd-gallery,
.pd-info {
    padding: 24px;
}

.pd-main-img-wrap {
    margin-bottom: 16px;
    border-radius: 22px;
    background: #ede7d9;
    box-shadow: none;
}

.pd-store-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f5f0e8;
    border: 1px solid rgba(15, 13, 10, 0.1);
    color: #5f584f;
}

.pd-title {
    font-family: var(--font-display, inherit);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.pd-price {
    color: #0f0d0a;
}

.pd-actions {
    gap: 12px;
}

.pd-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border-radius: 16px;
}

.btn-wishlist-lg {
    width: 52px;
    border-radius: 16px;
    border: 1px solid rgba(15, 13, 10, 0.12);
    box-shadow: none;
}

.product-tabs {
    margin-top: 18px;
    padding: 24px;
}

.tab-bar {
    gap: 10px;
}

.tab-btn {
    padding: 10px 16px;
    border-radius: 999px;
    background: #f5f0e8;
}

.product-page__related {
    margin-top: 22px;
}

.product-page__related-head {
    margin-bottom: 22px;
}

@media (max-width: 980px) {
    .search-page__hero-inner,
    .search-layout,
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .search-page__title,
    .product-page__title {
        max-width: none;
    }

    .filter-sidebar {
        top: 0;
    }

    .search-results-wrap .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .search-page__hero,
    .product-page__hero {
        padding: 30px 0 12px;
    }

    .search-page__content,
    .product-page__content {
        padding-bottom: 56px;
    }

    .search-results-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-toolbar {
        flex-wrap: wrap;
    }

    .search-results-wrap .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CATEGORY / SEARCH REFERENCE LAYOUT
   ============================================================ */

.search-ref-page {
    background: #f5f0e8;
}

.search-ref-hero {
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.12), transparent 32%),
        linear-gradient(180deg, #14110f 0%, #181310 100%);
    padding: 64px 40px 72px;
    position: relative;
    overflow: hidden;
}

.search-ref-hero__inner,
.search-ref-body {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

.search-ref-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 56px;
    align-items: center;
}

.search-ref-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.search-ref-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.search-ref-eyebrow,
.search-results-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.search-ref-eyebrow::before,
.search-results-head__eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
}

.search-ref-title {
    max-width: 11ch;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    font-weight: 800;
    color: #fdfcfa;
    margin-bottom: 14px;
}

.search-ref-desc {
    max-width: 540px;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.7);
}

.search-ref-summary {
    padding: 28px 30px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.search-ref-summary__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}

.search-ref-summary__label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.09);
}

.search-ref-summary__list {
    display: grid;
    gap: 12px;
    list-style: none;
}

.search-ref-summary__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.search-ref-summary__list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--primary);
    flex-shrink: 0;
}

.search-ref-body {
    padding: 0 0 72px;
}

.search-ref-body .search-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 0;
    background: transparent;
    min-width: 0;
}

.search-ref-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
    width: 100%;
    min-width: 0;
    background: #fdfcfa;
    border-right: 1px solid rgba(15, 13, 10, 0.1);
    padding: 32px 28px;
    min-height: calc(100vh - 120px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}

.search-ref-sidebar .filter-header {
    margin-bottom: 28px;
}

.search-ref-sidebar .filter-group {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(15, 13, 10, 0.1);
}

.search-ref-sidebar .filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.search-ref-sidebar .filter-label,
.search-ref-sidebar .filter-header h2 {
    color: #0f0d0a;
}

.search-ref-sidebar .filter-header h2 {
    font-size: 16px;
    letter-spacing: -0.03em;
}

.search-ref-sidebar .filter-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.search-ref-sidebar .link-btn {
    padding: 0;
    background: none;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.search-ref-sidebar .filter-options,
.search-ref-sidebar .price-inputs {
    display: grid;
    gap: 10px;
}

.search-ref-sidebar .filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #2a2520;
}

.search-ref-sidebar .filter-check input {
    accent-color: var(--primary);
}

.search-ref-sidebar .filter-count {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ede7d9;
    font-size: 11px;
    color: #7a736a;
}

.search-ref-sidebar .price-inputs {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.search-ref-sidebar .price-inputs input,
.search-ref-sidebar .filter-select {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1.5px solid rgba(15, 13, 10, 0.12);
    background: #f5f0e8;
}

.search-ref-results {
    padding: 32px 40px;
    min-width: 0;
}

.search-ref-results__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.search-results-head__title {
    font-size: clamp(28px, 3.8vw, 42px);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #0f0d0a;
}

.search-results-head__sub {
    margin-top: 8px;
    font-size: 13px;
    color: #7a736a;
}

.search-ref-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-ref-results .active-filters {
    gap: 8px;
    margin-bottom: 22px;
}

.search-ref-results .filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #0f0d0a;
    color: #fdfcfa;
    font-size: 12px;
}

.search-ref-results .filter-tag button {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fdfcfa;
    cursor: pointer;
}

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

.search-product-card {
    border-radius: 20px;
    border: 1.5px solid rgba(15, 13, 10, 0.12);
    background: #fdfcfa;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.search-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(15, 13, 10, 0.1);
}

.search-product-card__link {
    display: block;
    text-decoration: none;
}

.search-product-card__media {
    position: relative;
    aspect-ratio: 1;
    background: #ede7d9;
    overflow: hidden;
}

.search-product-card__img,
.search-product-card__placeholder {
    width: 100%;
    height: 100%;
}

.search-product-card__img {
    object-fit: cover;
}

.search-product-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(15, 13, 10, 0.22);
    font-size: 34px;
}

.search-product-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.search-product-card__badge.is-new {
    background: #1a7a4a;
}

.search-product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #6d6760;
    box-shadow: 0 10px 22px rgba(15, 13, 10, 0.08);
}

.search-product-card__body {
    padding: 18px;
}

.search-product-card__store {
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.search-product-card__name {
    font-size: 16px;
    line-height: 1.28;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: #0f0d0a;
}

.search-product-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 20px;
    margin: 10px 0 16px;
    color: #7a736a;
}

.search-product-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.search-product-card__pricing {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-product-card__price {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f0d0a;
}

.search-product-card__compare {
    font-size: 12px;
    color: #7a736a;
    text-decoration: line-through;
}

.search-product-card__add {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: #0f0d0a;
    color: #fff;
    flex-shrink: 0;
}

.search-ref-grid.product-list {
    grid-template-columns: 1fr;
}

.search-ref-grid.product-list .search-product-card__link {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
}

.search-ref-grid.product-list .search-product-card__media {
    aspect-ratio: auto;
    min-height: 100%;
}

.search-ref-grid.product-list .search-product-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 980px) {
    .search-ref-hero {
        padding: 48px 24px 56px;
    }

    .search-ref-hero__inner,
    .search-ref-body {
        width: calc(100% - 48px);
    }

    .search-ref-hero__inner,
    .search-ref-body .search-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .search-ref-page .filter-sidebar.search-ref-sidebar,
    .search-ref-page .filter-sidebar.search-ref-sidebar.open {
        position: static;
        left: auto;
        top: auto;
        bottom: auto;
        z-index: auto;
        transform: none;
        transition: none;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: auto;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid rgba(15, 13, 10, 0.1);
        padding: 24px;
        overflow: visible;
        box-shadow: none;
        border-radius: 0;
        display: block;
        visibility: visible;
        opacity: 1;
    }

    .search-ref-results {
        min-width: 0;
        padding: 28px 24px;
    }

    .search-ref-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .search-ref-hero {
        padding: 36px 18px 42px;
    }

    .search-ref-hero__inner,
    .search-ref-body {
        width: 100%;
    }

    .search-ref-hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .search-ref-title {
        max-width: none;
    }

    .search-ref-results__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-ref-toolbar {
        flex-wrap: wrap;
        width: 100%;
    }

    .search-ref-results {
        padding: 24px 18px 40px;
    }

    .search-ref-page .filter-sidebar.search-ref-sidebar,
    .search-ref-page .filter-sidebar.search-ref-sidebar.open {
        padding: 20px 18px;
    }

    .search-ref-sidebar .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .search-ref-sidebar .price-inputs {
        grid-template-columns: 1fr;
    }

    .search-ref-sidebar .price-inputs span {
        display: none;
    }

    .search-ref-sidebar .price-inputs input,
    .search-ref-sidebar .filter-select,
    .search-ref-sidebar .search-action-btn {
        width: 100%;
        min-width: 0;
    }

    .search-ref-sidebar .filter-check {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .search-ref-sidebar .filter-count {
        margin-left: 0;
        width: 100%;
        padding-left: 26px;
    }

    .search-ref-results .active-filters {
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .search-ref-results .active-filters::-webkit-scrollbar {
        display: none;
    }

    .search-ref-grid,
    .search-ref-grid.product-list {
        grid-template-columns: 1fr;
    }

    .search-ref-grid.product-list .search-product-card__link {
        grid-template-columns: 1fr;
    }

    .product-reviews__summary {
        grid-template-columns: 1fr;
    }

    .product-review-form__actions,
    .product-review-login {
        flex-direction: column;
        align-items: stretch;
    }

    .product-review-star {
        flex: 1 1 calc(50% - 10px);
    }
}

/* ============================================================
   PRODUCT DETAIL REFERENCE LAYOUT
   ============================================================ */

.product-ref-page {
    padding: 18px 0 80px;
    background: #f5f0e8;
}

.product-ref-shell {
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
    padding-bottom: 0;
}

.product-ref-breadcrumb {
    padding: 12px 0 18px;
    margin-bottom: 0;
    font-size: 12.5px;
    color: #7a736a;
}

.product-ref-breadcrumb a {
    color: #7a736a;
    text-decoration: none;
}

.product-ref-breadcrumb a:hover {
    color: #0f0d0a;
}

.product-ref-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    gap: 28px;
    align-items: start;
    padding: 0 0 40px;
}

.product-ref-skeleton {
    min-height: 460px;
    border-radius: 24px;
    background: #fdfcfa;
    border: 1.5px solid rgba(15, 13, 10, 0.11);
}

.product-ref-page .pd-gallery,
.product-ref-page .pd-info,
.product-ref-page .product-tabs {
    background: #fdfcfa;
    border: 1.5px solid rgba(15, 13, 10, 0.11);
    border-radius: 24px;
    box-shadow: none;
}

.product-ref-gallery,
.product-ref-purchase {
    padding: 0;
}

.product-ref-purchase {
    padding: 24px;
    background: #fdfcfa;
    border: 1.5px solid rgba(15, 13, 10, 0.11);
    border-radius: 24px;
}

.product-ref-main-image {
    position: relative;
    margin-bottom: 0;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    background: linear-gradient(135deg, #ece5d8 0%, #d9d0c1 100%);
}

.product-ref-main-image .pd-main-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.product-ref-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-ref-thumbnails {
    padding: 14px 16px 16px;
    gap: 10px;
    border-top: 1px solid rgba(15, 13, 10, 0.09);
}

.product-ref-thumbnails .thumb-btn {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #efe8db;
    border: 2px solid transparent;
    overflow: hidden;
}

.product-ref-thumbnails .thumb-btn.active {
    border-color: var(--primary);
}

.product-ref-page .pd-store-chip {
    width: fit-content;
    margin-bottom: 16px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    background: #fdfcfa;
    border: 1.5px solid rgba(15, 13, 10, 0.11);
    color: #0f0d0a;
}

.product-ref-store-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.product-ref-title {
    font-size: clamp(38px, 4.2vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.06em;
    margin-bottom: 14px;
    color: #0f0d0a;
}

.product-ref-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.product-ref-price-current {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.product-ref-page .pd-compare {
    font-size: 16px;
}

.product-ref-page .pd-discount {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-ref-short {
    margin-bottom: 0;
    max-width: 640px;
    font-size: 16px;
    line-height: 1.75;
    color: #5f584f;
}

.product-ref-divider {
    height: 1px;
    background: rgba(15, 13, 10, 0.11);
    margin: 22px 0;
}

.product-ref-page .pd-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #7a736a;
    margin-bottom: 12px;
}

.product-ref-page .variant-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-ref-page .variant-btn {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.5px solid rgba(15, 13, 10, 0.12);
    background: #fdfcfa;
    color: #5f584f;
}

.product-ref-page .variant-btn.selected {
    border-color: #0f0d0a;
    background: #0f0d0a;
    color: #fff;
}

.product-ref-page .variant-oos {
    display: inline-block;
    margin-left: 8px;
    color: #d4281c;
    font-size: 11px;
    font-weight: 700;
}

.product-ref-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0 0 24px;
}

.product-ref-page .qty-control {
    border-radius: 999px;
    border: 1.5px solid rgba(15, 13, 10, 0.12);
    background: #fdfcfa;
    overflow: hidden;
}

.product-ref-page .qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 18px;
    color: #0f0d0a;
}

.product-ref-page .qty-display {
    min-width: 42px;
    line-height: 40px;
    text-align: center;
    font-weight: 800;
    color: #0f0d0a;
    border-inline: 1px solid rgba(15, 13, 10, 0.12);
}

.product-ref-stock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

.product-ref-page .stock-dot {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 999px;
}

.product-ref-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.product-ref-page .pd-add-cart {
    min-height: 52px;
    border-radius: 999px;
    box-shadow: none;
    font-weight: 800;
    flex: 1;
}

.product-ref-wishlist {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1.5px solid rgba(15, 13, 10, 0.11);
    background: #fdfcfa;
}

.product-ref-trust {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    margin-bottom: 18px;
    border-top: 1px solid rgba(15, 13, 10, 0.11);
    border-bottom: 1px solid rgba(15, 13, 10, 0.11);
}

.product-ref-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    font-size: 12px;
    color: #7a736a;
}

.product-ref-trust-item i {
    color: #1a7a4a;
}

.product-ref-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
}

.product-ref-page .pd-meta-row {
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 13, 10, 0.05);
}

.product-ref-page .pd-meta-row:last-child {
    border-bottom: none;
}

.product-ref-page .pd-meta-row span:first-child {
    color: #7a736a;
}

.product-ref-tabs {
    margin-top: 0;
    padding: 0;
    overflow: hidden;
}

.product-ref-tabs .tab-bar {
    display: flex;
    gap: 0;
    padding: 0 10px;
    border-bottom: 1px solid rgba(15, 13, 10, 0.11);
}

.product-ref-tabs .tab-btn {
    padding: 16px 18px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #7a736a;
    font-size: 14px;
    font-weight: 600;
}

.product-ref-tabs .tab-btn.active {
    color: #0f0d0a;
    border-bottom-color: var(--primary);
}

.product-ref-tabs .tab-content {
    padding: 28px;
}

.product-ref-delivery p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #5f584f;
}

.product-ref-delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.product-ref-delivery-grid div {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(15, 13, 10, 0.1);
    background: #f8f3ea;
}

.product-ref-delivery-grid strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #0f0d0a;
}

.product-ref-delivery-grid span {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: #7a736a;
}

.product-ref-related {
    padding-top: 40px;
}

.product-ref-related .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1080px) {
    .product-ref-hero {
        grid-template-columns: 1fr;
    }

    .product-ref-delivery-grid,
    .product-ref-related .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .product-ref-page {
        padding: 8px 0 56px;
    }

    .product-ref-shell {
        width: calc(100% - 36px);
    }

    .product-ref-title {
        font-size: clamp(32px, 10vw, 42px);
    }

    .product-ref-trust,
    .product-ref-actions {
        flex-direction: column;
    }

    .product-ref-thumbnails {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .product-ref-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .product-ref-delivery-grid,
    .product-ref-related .product-grid {
        grid-template-columns: 1fr;
    }

    .product-ref-tabs .tab-content {
        padding: 22px 18px;
    }
}
