/* Theme 3 — Luxury Fashion Shell */
body[class*="theme3-v"] {
    --fashion-bg: #faf9f7;
    --fashion-surface: #ffffff;
    --fashion-text: #1a1a1a;
    --fashion-muted: #6b6560;
    --fashion-border: #d9d4cd;
    --fashion-price: var(--theme-color, #b87333);
    --fashion-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --fashion-sans: 'Jost', system-ui, sans-serif;
    --fashion-max: 1280px;
    --fashion-radius: 2px;
}

.fashion-shell {
    background: var(--fashion-bg);
    color: var(--fashion-text);
    font-family: var(--fashion-sans);
}

/* Override theme3 global white headings */
.fashion-shell h1,
.fashion-shell h2,
.fashion-shell h3,
.fashion-shell h4,
.fashion-shell h5,
.fashion-shell h6 {
    color: var(--fashion-text) !important;
    text-transform: none;
}

.fashion-shell .wrapper,
.fashion-shell .fashion-main {
    max-width: 100%;
    padding: 0;
}

/* ─── Header overrides ─── */
body[class*="theme3-v"] .fashion-shell .site-header {
    background: var(--fashion-surface) !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--fashion-border) !important;
}

body[class*="theme3-v"] .fashion-shell .site-header .header-container {
    max-width: var(--fashion-max) !important;
    padding: 14px 24px !important;
}

body[class*="theme3-v"] .fashion-shell .header-text-logo {
    font-family: var(--fashion-serif) !important;
    font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .header-search-desktop .search-input-wrapper {
    background: var(--fashion-bg) !important;
    border: 1px solid var(--fashion-border) !important;
    border-radius: 0 !important;
    padding: 8px 14px !important;
    min-height: 36px;
}

body[class*="theme3-v"] .fashion-shell .header-icon-btn {
    color: var(--fashion-text) !important;
    width: 38px !important;
    height: 38px !important;
}

body[class*="theme3-v"] .fashion-shell .location-trigger-btn {
    border-radius: 0 !important;
    font-size: 12px !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body[class*="theme3-v"] .fashion-shell .header-search-row {
    display: none !important;
}

/* ─── Hero ─── */
.fashion-hero {
    position: relative;
    min-height: clamp(420px, 72vh, 680px);
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 0;
}

.fashion-hero__media {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
}

.fashion-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.fashion-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
}

.fashion-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 24px;
    max-width: 720px;
    color: #fff;
}

.fashion-hero__eyebrow {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin: 0 0 16px;
    opacity: 0.85;
}

.fashion-hero__title {
    font-family: var(--fashion-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}

.fashion-hero__tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0 0 28px;
    opacity: 0.92;
    font-weight: 300;
}

.fashion-hero__cta {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid rgba(255,255,255,0.9);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: background 0.25s ease, color 0.25s ease;
}

.fashion-hero__cta:hover {
    background: #fff;
    color: var(--fashion-text);
}

/* ─── Category nav ─── */
.fashion-category-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(250, 249, 247, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--fashion-border);
}

.fashion-category-nav__inner {
    max-width: var(--fashion-max);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    gap: 8px 28px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.fashion-category-nav__inner::-webkit-scrollbar {
    display: none;
}

.fashion-category-nav__link {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 4px 0;
    font-family: var(--fashion-sans);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fashion-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.fashion-category-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--fashion-text);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.fashion-category-nav__link:hover,
.fashion-category-nav__link.active {
    color: var(--fashion-text);
}

.fashion-category-nav__link.active::after {
    transform: scaleX(1);
}

/* ─── Product sections ─── */
.fashion-products-section,
.fashion-products-container {
    max-width: var(--fashion-max);
    margin: 0 auto;
    padding: 48px 24px 24px;
}

.fashion-shop-block {
    background-color: var(--fashion-bg);
    background-image:
        radial-gradient(circle at 18% 24%, rgba(0, 0, 0, 0.025) 0 1px, transparent 2px),
        radial-gradient(circle at 72% 68%, rgba(0, 0, 0, 0.025) 0 1px, transparent 2px);
    background-size: 40px 40px;
}

.fashion-shell .fashion-product-card--sold-out .fashion-product-card__media {
    opacity: 0.82;
}

.fashion-shell .products-container .fashion-product-card img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    position: static !important;
}

.fashion-section-header {
    text-align: center;
    margin-bottom: 36px;
}

.fashion-section-header__eyebrow {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--fashion-muted);
    margin: 0 0 8px;
}

.fashion-section-header__title {
    font-family: var(--fashion-sans);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.02em;
    color: var(--fashion-text) !important;
}

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

.fashion-product-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ─── Product card (editorial luxury) ─── */
.fashion-shell .fashion-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.fashion-shell .fashion-product-card__frame {
    background: #fff;
    padding: clamp(10px, 1.8vw, 14px);
    transition: box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fashion-shell .fashion-product-card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: linear-gradient(155deg, #faf9f7 0%, #f2ede6 100%);
}

.fashion-shell .fashion-product-card__photo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 3vw, 22px);
    text-decoration: none;
    z-index: 1;
}

.fashion-shell .fashion-product-card__photo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.fashion-shell .fashion-product-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    text-align: center;
    font-family: var(--fashion-serif);
    font-size: 15px;
    color: var(--fashion-muted);
    line-height: 1.4;
}

.fashion-shell .fashion-product-card__body {
    padding: 12px 8px 6px;
    text-align: center;
}

.fashion-shell .fashion-product-card__media:has(.product-stock-badge) {
    overflow: visible;
}

.fashion-shell .fashion-product-card__float {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.04) 0%,
        transparent 28%,
        transparent 62%,
        rgba(0, 0, 0, 0.12) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fashion-shell .fashion-product-card__float > * {
    pointer-events: auto;
}

.fashion-shell .fashion-product-card__quick {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--fashion-text);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.2s ease,
                color 0.2s ease;
}

.fashion-shell .fashion-product-card__quick:hover {
    background: var(--fashion-text);
    color: #fff;
}

.fashion-shell .fashion-product-card__cta {
    transform: translateY(10px);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.fashion-shell .fashion-product-card__cta-btn {
    display: block;
    width: 100%;
    padding: 12px 18px;
    border: none;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--fashion-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fashion-text);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.fashion-shell .fashion-product-card__cta-btn:hover {
    background: var(--fashion-text);
    border-color: var(--fashion-text);
    color: #fff;
}

.fashion-shell .fashion-product-card__name {
    margin: 0 0 8px;
    font-family: var(--fashion-serif);
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.015em;
    color: var(--fashion-text) !important;
}

.fashion-shell .fashion-product-card__name a {
    color: inherit !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.fashion-shell .fashion-product-card__name a:hover {
    opacity: 0.6;
}

.fashion-shell .fashion-product-card__category {
    display: none;
    margin: 0;
    font-family: var(--fashion-sans);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--fashion-muted);
}

.fashion-shell .fashion-product-card__price {
    font-family: var(--fashion-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--theme-color, var(--fashion-price)) !important;
}

.fashion-shell .fashion-product-card__price ins,
.fashion-shell .fashion-product-card__price .amount {
    text-decoration: none;
    color: var(--theme-color, var(--fashion-price)) !important;
    font-weight: 500;
    background: none;
}

.fashion-shell .fashion-product-card__price del {
    font-weight: 400;
    color: var(--fashion-muted) !important;
    opacity: 0.85;
    margin-right: 8px;
    text-decoration: line-through;
    font-size: 12px;
}

/* Hide legacy theme3 chrome */
.fashion-shell .fashion-product-card .pro-btn-wrapper,
.fashion-shell .fashion-product-card .product-content-bottom,
.fashion-shell .fashion-product-card .product-card-image {
    display: none !important;
}

@media (hover: hover) {
    .fashion-shell .fashion-product-card:hover .fashion-product-card__frame {
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.09);
        transform: translateY(-3px);
    }

    .fashion-shell .fashion-product-card:hover .fashion-product-card__photo img {
        transform: scale(1.06);
    }

    .fashion-shell .fashion-product-card:hover .fashion-product-card__float {
        opacity: 1;
    }

    .fashion-shell .fashion-product-card:hover .fashion-product-card__quick {
        transform: translateY(0);
    }

    .fashion-shell .fashion-product-card:hover .fashion-product-card__cta {
        transform: translateY(0);
    }
}

@media (hover: none) and (min-width: 769px) {
    .fashion-shell .fashion-product-card__float {
        opacity: 1;
        justify-content: flex-end;
        background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.18) 100%);
    }

    .fashion-shell .fashion-product-card__quick {
        display: none;
    }

    .fashion-shell .fashion-product-card__cta {
        transform: none;
        width: 100%;
        margin-top: auto;
    }
}

/* ─── Collection showcase (homepage tiles) ─── */
.fashion-collection-showcase {
    position: relative;
    padding: 72px 24px;
    background-color: var(--fashion-bg);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0,0,0,0.03) 0 2px, transparent 3px),
        radial-gradient(circle at 70% 60%, rgba(0,0,0,0.03) 0 2px, transparent 3px);
    background-size: 48px 48px;
}

.fashion-collection-showcase__inner {
    max-width: var(--fashion-max);
    margin: 0 auto;
}

.fashion-collection-showcase__header {
    text-align: center;
    margin-bottom: 40px;
}

.fashion-collection-showcase__title {
    font-family: var(--fashion-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.fashion-collection-showcase__subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--fashion-muted);
    letter-spacing: 0.04em;
}

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

.fashion-collection-showcase__tile {
    position: relative;
    display: block;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    text-decoration: none;
    color: inherit;
}

.fashion-collection-showcase__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.fashion-collection-showcase__tile:hover img {
    transform: scale(1.03);
}

.fashion-collection-showcase__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.35rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.35);
    pointer-events: none;
}

/* ─── Video section ─── */
.fashion-video-section {
    padding: 0 24px 72px;
    background: var(--fashion-bg);
}

.fashion-video-section__inner {
    max-width: var(--fashion-max);
    margin: 0 auto;
}

.fashion-video-section__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    background: #ece8e3;
    overflow: hidden;
}

.fashion-video-section__iframe,
.fashion-video-section__media {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

.fashion-video-section__iframe--social {
    min-height: 420px;
}

.fashion-wishlist-page {
    max-width: var(--fashion-max);
    margin: 0 auto;
    padding: 48px 24px 72px;
}

.fashion-wishlist-page .store-wishlist-page__header h1 {
    font-family: var(--fashion-serif);
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* ─── Collection sections ─── */
.fashion-collection-section {
    max-width: var(--fashion-max);
    margin: 0 auto;
    padding: 56px 24px;
    border-top: 1px solid var(--fashion-border);
}

.fashion-collection-section__header {
    margin-bottom: 32px;
}

.fashion-collection-section__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fashion-collection-section__eyebrow {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--fashion-muted);
    margin: 0 0 8px;
}

.fashion-collection-section__title {
    font-family: var(--fashion-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.fashion-collection-section__link {
    background: none;
    border: none;
    border-bottom: 1px solid var(--fashion-text);
    padding: 0 0 2px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fashion-text);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.fashion-collection-section__link:hover {
    opacity: 0.65;
}

/* ─── Skeleton ─── */
.fashion-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 24px;
}

.fashion-skeleton-card__frame {
    padding: 12px;
    background: #fff;
}

.fashion-skeleton-card__image {
    aspect-ratio: 3 / 4;
    background: linear-gradient(155deg, #f5f3ef 0%, #ebe6de 100%);
    position: relative;
    overflow: hidden;
}

.fashion-skeleton-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.5) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: fashion-shimmer 1.2s infinite;
}

.fashion-skeleton-card__line {
    height: 12px;
    margin-left: auto;
    margin-right: auto;
    background: #ece8e3;
    border-radius: 2px;
    animation: fashion-shimmer 1.2s infinite;
    background-size: 200% 100%;
}

.fashion-skeleton-card__line--title {
    width: 72%;
    margin-top: 18px;
    margin-bottom: 10px;
    height: 16px;
}

.fashion-skeleton-card__line--price {
    width: 36%;
    height: 11px;
}

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

/* ─── Footer in fashion shell ─── */
body[class*="theme3-v"] .fashion-shell .store-footer-extended {
    margin-top: 0;
    background: var(--fashion-surface) !important;
    color: var(--fashion-text) !important;
    border-top: 1px solid var(--fashion-border);
}

body[class*="theme3-v"] .fashion-shell > .site-footer {
    background: var(--fashion-surface) !important;
}

body[class*="theme3-v"] .fashion-shell .store-footer-extended .footer-section-title,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .footer-about-text,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .footer-page-links a,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .footer-contact-col p,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .footer-contact-col a,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .footer-copy,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .store-footer-newsletter-consent {
    color: var(--fashion-text) !important;
    opacity: 1;
}

body[class*="theme3-v"] .fashion-shell .store-footer-extended .footer-about-text,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .store-footer-newsletter-consent {
    opacity: 0.72;
}

body[class*="theme3-v"] .fashion-shell .store-footer-extended .footer-bottom {
    border-top: 1px solid var(--fashion-border);
}

body[class*="theme3-v"] .fashion-shell .store-footer-extended .social-icons li a {
    background: var(--fashion-bg) !important;
    border: 1px solid var(--fashion-border) !important;
}

body[class*="theme3-v"] .fashion-shell .store-footer-extended .social-icons li a svg,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .social-icons li a svg path {
    fill: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .store-footer-extended .social-icons li a:hover,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .social-icons li a:focus {
    background: var(--fashion-text) !important;
    border-color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .store-footer-extended .social-icons li a:hover svg,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .social-icons li a:hover svg path,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .social-icons li a:focus svg,
body[class*="theme3-v"] .fashion-shell .store-footer-extended .social-icons li a:focus svg path {
    fill: #fff !important;
    opacity: 1 !important;
}

body[class*="theme3-v"] .fashion-shell .store-footer-extended .kudita-powered {
    color: var(--theme-color, var(--fashion-text)) !important;
    opacity: 1;
}

body[class*="theme3-v"] .fashion-shell .store-footer-newsletter-form input[type="email"] {
    border: 1px solid var(--fashion-border);
    background: var(--fashion-bg);
    color: var(--fashion-text);
}

body[class*="theme3-v"] .fashion-shell .store-footer-newsletter-form input[type="email"]::placeholder {
    color: var(--fashion-muted);
}

body[class*="theme3-v"] .fashion-shell .store-footer-newsletter-form button {
    background: var(--fashion-text);
    color: #fff;
}

body[class*="theme3-v"] .fashion-shell .store-footer-newsletter-form button:hover {
    opacity: 0.85;
}

body[class*="theme3-v"] .main-wrapper.fashion-shell:has(.store-footer-extended) {
    display: block;
}

body[class*="theme3-v"] .main-wrapper.fashion-shell:has(.store-footer-extended) #cart-sidebar-container {
    display: contents;
}

/* ─── Cart sidebar (fashion shell — light editorial, theme-color accents) ─── */
body[class*="theme3-v"] .fashion-shell .cart-sidebar {
    background: var(--fashion-surface, #fff) !important;
    border-left: 1px solid var(--fashion-border) !important;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.08) !important;
    color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar-overlay {
    background: rgba(26, 26, 26, 0.45) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar-header {
    background: var(--fashion-surface, #fff) !important;
    border-bottom: 1px solid var(--fashion-border) !important;
    padding: 16px 20px !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar-header h3 {
    color: var(--fashion-text) !important;
    font-family: var(--fashion-serif) !important;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0.04em !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar-close {
    color: var(--fashion-text) !important;
    border: 1px solid var(--fashion-border) !important;
    border-radius: 50% !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar-close:hover {
    background: var(--fashion-bg) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .main-right-col {
    background: transparent !important;
    border: none !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-box-wrp,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-body-wrp,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-total-wrp,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .details-form-wrp {
    border-bottom-color: var(--fashion-border) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .coupon-box,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-body,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .details-form,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .payment-method {
    background: var(--fashion-bg, #faf9f7) !important;
    border: 1px solid var(--fashion-border) !important;
    border-radius: var(--fashion-radius, 2px) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .coupon-box::before,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .coupon-box::after {
    display: none !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .coupon-box h2,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-body h3,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkout-fields .details-form h4,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .payment-method h4 {
    color: var(--fashion-text) !important;
    font-family: var(--fashion-serif) !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-item {
    background: var(--fashion-surface, #fff) !important;
    border: 1px solid var(--fashion-border) !important;
    border-radius: var(--fashion-radius, 2px) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-item .cart-image a {
    border-color: var(--fashion-border) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-left .cart-title,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-left p,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-left p b,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-left span,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-right .price ins,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-body .price ins {
    color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-total {
    background: var(--fashion-bg, #faf9f7) !important;
    border: 1px solid var(--fashion-border) !important;
    color: var(--fashion-text) !important;
    border-radius: var(--fashion-radius, 2px) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-total ul li,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-total ul li span,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-total ul li b,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-total ins {
    color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-total ul li.total,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-total ul li.total span,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-total ul li.total b,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .final_total_price {
    color: var(--theme-color, var(--fashion-price)) !important;
    font-weight: 600 !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .cart-total ul li.total {
    border-top-color: var(--fashion-border) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .qty-spinner {
    border-color: var(--fashion-border) !important;
    background: var(--fashion-surface, #fff) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .qty-spinner button {
    background-color: var(--theme-color, var(--fashion-price)) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .qty-spinner input {
    color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .coupon-box .input-wrp {
    background: var(--fashion-surface, #fff) !important;
    border: 1px solid var(--fashion-border) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .coupon-box .input-wrp .btn,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkout-btn,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkoutBtn,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .payment-method .payment-btn.file-upload {
    background: var(--fashion-text) !important;
    border-color: var(--fashion-text) !important;
    color: #fff !important;
    border-radius: var(--fashion-radius, 2px) !important;
    font-family: var(--fashion-sans) !important;
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .coupon-box .input-wrp .btn:hover,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkout-btn:hover,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkoutBtn:hover,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .payment-method .payment-btn.file-upload:hover {
    background: var(--theme-color, var(--fashion-price)) !important;
    border-color: var(--theme-color, var(--fashion-price)) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .payment-method .payment-btn {
    background: var(--fashion-surface, #fff) !important;
    border-color: var(--fashion-border) !important;
    color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .payment-method .payment-btn:hover,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .payment-method .payment-btn:focus {
    background: var(--theme-color, var(--fashion-price)) !important;
    border-color: var(--theme-color, var(--fashion-price)) !important;
    color: #fff !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .form-control,
body[class*="theme3-v"] .fashion-shell .cart-sidebar input:not([type="checkbox"]):not([type="radio"]),
body[class*="theme3-v"] .fashion-shell .cart-sidebar textarea,
body[class*="theme3-v"] .fashion-shell .cart-sidebar select {
    background: var(--fashion-surface, #fff) !important;
    border-color: var(--fashion-border) !important;
    color: var(--fashion-text) !important;
    border-radius: var(--fashion-radius, 2px) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .form-control::placeholder,
body[class*="theme3-v"] .fashion-shell .cart-sidebar input::placeholder,
body[class*="theme3-v"] .fashion-shell .cart-sidebar textarea::placeholder {
    color: var(--fashion-muted) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar label,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .form-check-label {
    color: var(--fashion-text) !important;
}

/* Shipping delivery radios — base theme3 uses white circles for dark checkout panels */
body[class*="theme3-v"] .fashion-shell .cart-sidebar .radio-group label,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .radio-group .shipping_label {
    color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .radio-group label::before {
    border-color: var(--fashion-text, #1a1a1a) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .radio-group input[type="radio"]:checked + label::before {
    border-color: var(--theme-color, var(--fashion-price)) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .radio-group label::after {
    background-color: var(--theme-color, var(--fashion-price)) !important;
    border-color: var(--theme-color, var(--fashion-price)) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkout-summary-duplicate {
    background-color: var(--fashion-bg, #faf9f7) !important;
    color: var(--fashion-text) !important;
    border-color: var(--fashion-border) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkout-summary-duplicate h6,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkout-summary-duplicate span,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkout-summary-duplicate .final_total_price {
    color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkout-summary-duplicate .checkout-duplicate-total,
body[class*="theme3-v"] .fashion-shell .cart-sidebar .checkout-summary-duplicate .final_total_price {
    color: var(--theme-color, var(--fashion-price)) !important;
}

body[class*="theme3-v"] .fashion-shell .mobile-cart-bar {
    background: var(--fashion-surface, #fff) !important;
    border-top: 1px solid var(--fashion-border) !important;
}

body[class*="theme3-v"] .fashion-shell .mobile-cart-bar__count,
body[class*="theme3-v"] .fashion-shell .mobile-cart-bar__total {
    color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-shell .mobile-cart-bar__btn {
    background: var(--theme-color, var(--fashion-price)) !important;
    color: #fff !important;
    border-radius: var(--fashion-radius, 2px) !important;
    font-family: var(--fashion-sans) !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

/* ─── Product view modal (editorial quickview) ─── */
body[class*="theme3-v"] #quickview-modal .modal-wrapper {
    max-width: min(1080px, 96vw) !important;
    background: var(--fashion-surface) !important;
    color: var(--fashion-text) !important;
    border-radius: 0 !important;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.18) !important;
    overflow: hidden;
}

body[class*="theme3-v"] #variant-modal .modal-wrapper {
    max-width: min(1080px, 96vw) !important;
    background: var(--fashion-surface) !important;
    color: var(--fashion-text) !important;
    border-radius: 0 !important;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.18) !important;
    overflow: hidden;
}

body[class*="theme3-v"] #cart-modal .modal-wrapper {
    max-width: 520px;
    background: var(--fashion-surface) !important;
    color: var(--fashion-text) !important;
    border-radius: var(--fashion-radius) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16) !important;
}

body[class*="theme3-v"] #quickview-modal .modal-inner,
body[class*="theme3-v"] #variant-modal .modal-inner,
body[class*="theme3-v"] #cart-modal .modal-inner {
    padding: 0 !important;
    max-height: min(90vh, 920px);
}

body[class*="theme3-v"] #quickview-modal .modal-inner .modal-body.fashion-quickview,
body[class*="theme3-v"] #variant-modal .modal-inner .modal-body.fashion-quickview,
body[class*="theme3-v"] #cart-modal .modal-inner .modal-body {
    padding: 0 !important;
    background: var(--fashion-surface) !important;
    color: var(--fashion-text) !important;
    height: 100%;
}

body[class*="theme3-v"] #quickview-modal .modal-inner .modal-close,
body[class*="theme3-v"] #variant-modal .modal-inner .modal-close {
    top: 18px !important;
    right: 18px !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid var(--fashion-border) !important;
    border-radius: 50% !important;
    backdrop-filter: blur(8px);
}

body[class*="theme3-v"] .modal-inner .modal-close svg path {
    fill: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-quickview__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: min(78vh, 720px);
    max-height: min(90vh, 920px);
}

body[class*="theme3-v"] .fashion-quickview__gallery {
    background: linear-gradient(160deg, #faf9f7 0%, #f0ebe3 100%);
    border-right: 1px solid var(--fashion-border);
    padding: clamp(20px, 3vw, 32px);
    display: flex;
    align-items: center;
}

body[class*="theme3-v"] .fashion-variant-gallery {
    width: 100%;
    min-height: clamp(280px, 52vh, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
}

body[class*="theme3-v"] .fashion-variant-gallery img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(52vh, 520px);
    object-fit: contain;
    padding: 12px;
    transition: opacity 0.3s ease;
}

body[class*="theme3-v"] .fashion-variant-gallery__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(240px, 45vh, 420px);
    padding: 24px;
    text-align: center;
    font-family: var(--fashion-serif);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--fashion-muted);
    line-height: 1.4;
}

body[class*="theme3-v"] .fashion-quickview__empty {
    margin: 0;
    font-size: 14px;
    color: var(--fashion-muted);
}

body[class*="theme3-v"] .fashion-quickview__gallery .qv-slider-wrp {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

body[class*="theme3-v"] .fashion-quickview__gallery .qv-main-slider,
body[class*="theme3-v"] .fashion-quickview__gallery .qv-main-slider .slick-list {
    flex: 1;
    min-height: 0;
}

body[class*="theme3-v"] .fashion-quickview__gallery .qv-main-slider .qv-itm-img {
    padding-top: 0 !important;
    min-height: clamp(280px, 52vh, 520px);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

body[class*="theme3-v"] .fashion-quickview__gallery .qv-main-slider img {
    position: static !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: min(52vh, 520px) !important;
    object-fit: contain !important;
    padding: 12px !important;
    margin: 0 auto;
}

body[class*="theme3-v"] .fashion-quickview__gallery .qv-thumb-slider {
    margin-top: auto;
}

body[class*="theme3-v"] .fashion-quickview__gallery .qv-thumb-img {
    padding-top: 100% !important;
    background: var(--fashion-surface) !important;
    border: 1px solid var(--fashion-border) !important;
    border-radius: 0 !important;
}

body[class*="theme3-v"] .fashion-quickview__gallery .qv-thumb-slider .slick-slide.slick-current .qv-thumb-img {
    border-color: var(--theme-color, var(--fashion-price)) !important;
    box-shadow: 0 0 0 1px var(--theme-color, var(--fashion-price));
}

body[class*="theme3-v"] .fashion-quickview__panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--fashion-surface);
}

body[class*="theme3-v"] .fashion-quickview__scroll {
    flex: 1;
    overflow-y: auto;
    padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 32px) 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--fashion-border) transparent;
}

body[class*="theme3-v"] .fashion-quickview__head {
    margin-bottom: 20px;
}

body[class*="theme3-v"] .fashion-quickview__head .product-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: transparent !important;
    border: 1px solid var(--fashion-border) !important;
    color: var(--fashion-muted) !important;
    font-family: var(--fashion-sans) !important;
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
}

body[class*="theme3-v"] .fashion-quickview__head .section-title {
    margin: 0 0 10px !important;
}

body[class*="theme3-v"] .fashion-quickview__head .section-title h2 {
    margin: 0;
    font-family: var(--fashion-serif) !important;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem) !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.01em !important;
    color: var(--fashion-text) !important;
}

body[class*="theme3-v"] .fashion-quickview__head .price {
    margin: 0 !important;
}

body[class*="theme3-v"] .fashion-quickview__head .price ins {
    font-family: var(--fashion-sans) !important;
    font-size: clamp(1rem, 1.8vw, 1.125rem) !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    color: var(--theme-color, var(--fashion-price)) !important;
    text-decoration: none !important;
}

body[class*="theme3-v"] .fashion-quickview__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--fashion-border);
}

body[class*="theme3-v"] .fashion-quickview__meta .stock-badge,
body[class*="theme3-v"] .fashion-quickview__meta .qty-badge,
body[class*="theme3-v"] .fashion-quickview__meta .fashion-quickview__sku {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 7px 12px;
    background: var(--fashion-bg);
    border: 1px solid var(--fashion-border);
    border-radius: 0;
}

body[class*="theme3-v"] .fashion-quickview__meta label {
    margin: 0 !important;
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--fashion-muted) !important;
    max-width: none !important;
}

body[class*="theme3-v"] .fashion-quickview__meta .stock-badge span,
body[class*="theme3-v"] .fashion-quickview__meta .variant_stock1 {
    padding: 0 !important;
    background: none !important;
    border: none !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--theme-color, var(--fashion-price)) !important;
}

body[class*="theme3-v"] .fashion-quickview__meta .variant_qty,
body[class*="theme3-v"] .fashion-quickview__meta .fashion-quickview__sku span {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: var(--fashion-text) !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

body[class*="theme3-v"] .fashion-quickview__variants {
    margin-bottom: 24px;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-group {
    margin-bottom: 18px;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-group-label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--fashion-sans) !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: var(--fashion-muted) !important;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    min-width: 52px;
    min-height: 52px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    border: 1px solid var(--fashion-border) !important;
    border-radius: 0 !important;
    background: var(--fashion-surface) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-box:hover {
    border-color: var(--fashion-muted) !important;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-box.has-image {
    width: 56px;
    height: 56px;
    padding: 0;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-box.selected {
    border-color: var(--theme-color, var(--fashion-price)) !important;
    box-shadow: inset 0 0 0 1px var(--theme-color, var(--fashion-price));
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-text {
    font-size: 11px !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fashion-text) !important;
    text-align: center;
    word-break: break-word;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-box.selected .variant-text {
    display: none;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-box.selected .variant-thumb {
    opacity: 0.35;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-check {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    color: var(--theme-color, var(--fashion-price)) !important;
}

body[class*="theme3-v"] .fashion-quickview__variants .variant-box.selected .variant-check {
    display: flex;
}

body[class*="theme3-v"] .fashion-quickview__details {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--fashion-border);
}

body[class*="theme3-v"] .fashion-quickview__details-title {
    margin: 0 0 12px;
    font-family: var(--fashion-sans) !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--fashion-muted) !important;
}

body[class*="theme3-v"] .fashion-quickview__details .qv-description > p,
body[class*="theme3-v"] .fashion-quickview__details .qv-description ul,
body[class*="theme3-v"] .fashion-quickview__details .qv-description li {
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: var(--fashion-muted) !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 10px !important;
}

body[class*="theme3-v"] .fashion-quickview__actions {
    flex-shrink: 0;
    padding: 16px clamp(20px, 3vw, 32px) clamp(20px, 3vw, 28px);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--fashion-surface) 24%);
    border-top: 1px solid var(--fashion-border);
}

body[class*="theme3-v"] .fashion-quickview__actions .cart-btn-wrp {
    margin: 0 !important;
    width: 100%;
}

body[class*="theme3-v"] .fashion-quickview__cta {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    text-align: center !important;
    background: var(--fashion-text) !important;
    border: 1px solid var(--fashion-text) !important;
    color: #fff !important;
    font-family: var(--fashion-sans) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    transition: background 0.25s ease, border-color 0.25s ease;
}

body[class*="theme3-v"] .fashion-quickview__cta:hover {
    background: var(--theme-color, var(--fashion-price)) !important;
    border-color: var(--theme-color, var(--fashion-price)) !important;
    color: #fff !important;
}

body[class*="theme3-v"] .fashion-quickview__cta.disabled,
body[class*="theme3-v"] .fashion-quickview__cta.disabled:hover {
    opacity: 0.42 !important;
    pointer-events: none !important;
    background: var(--fashion-text) !important;
    border-color: var(--fashion-text) !important;
    color: #fff !important;
    cursor: not-allowed;
}

body[class*="theme3-v"] #quickview-modal .takeaway-options-section,
body[class*="theme3-v"] #variant-modal .takeaway-options-section {
    margin: 0 0 20px;
    padding: 16px;
    background: var(--fashion-bg) !important;
    border: 1px solid var(--fashion-border) !important;
    border-radius: 0 !important;
}

body[class*="theme3-v"] #quickview-modal .takeaway-option-item,
body[class*="theme3-v"] #variant-modal .takeaway-option-item {
    background: var(--fashion-surface) !important;
    border-color: var(--fashion-border) !important;
    border-radius: 0 !important;
}

body[class*="theme3-v"] #quickview-modal .takeaway-option-item:has(.takeaway-option-radio:checked),
body[class*="theme3-v"] #variant-modal .takeaway-option-item:has(.takeaway-option-radio:checked) {
    border-color: var(--theme-color, var(--fashion-price)) !important;
    background: color-mix(in srgb, var(--theme-color, var(--fashion-price)) 6%, var(--fashion-surface)) !important;
}

body[class*="theme3-v"] #quickview-modal .takeaway-price,
body[class*="theme3-v"] #variant-modal .takeaway-price {
    color: var(--theme-color, var(--fashion-price)) !important;
}

body[class*="theme3-v"] #quickview-modal .takeaway-qty-controls .btn,
body[class*="theme3-v"] #variant-modal .takeaway-qty-controls .btn {
    background: var(--theme-color, var(--fashion-price)) !important;
}

@media (max-width: 768px) {
    body[class*="theme3-v"] .fashion-quickview__layout {
        grid-template-columns: 1fr;
        min-height: 0;
        max-height: none;
    }

    body[class*="theme3-v"] .fashion-quickview__gallery {
        border-right: none;
        border-bottom: 1px solid var(--fashion-border);
        padding: 16px;
    }

    body[class*="theme3-v"] .fashion-quickview__gallery .qv-main-slider .qv-itm-img {
        min-height: 240px;
    }

    body[class*="theme3-v"] #quickview-modal .modal-inner,
    body[class*="theme3-v"] #variant-modal .modal-inner,
    body[class*="theme3-v"] #quickview-modal .modal-inner .modal-body.fashion-quickview,
    body[class*="theme3-v"] #variant-modal .modal-inner .modal-body.fashion-quickview {
        max-height: 94vh;
        padding: 0 !important;
    }

    body[class*="theme3-v"] .fashion-quickview__scroll.qv-right-content {
        padding: 20px 16px 12px !important;
    }

    body[class*="theme3-v"] .fashion-quickview__actions {
        position: sticky;
        bottom: 0;
        z-index: 2;
        background: var(--fashion-surface) !important;
        padding: 14px 16px 18px;
    }
}

/* ─── Cart modal (shared tokens) ─── */
body[class*="theme3-v"] .modal .product-label {
    background: var(--fashion-bg) !important;
    color: var(--theme-color, var(--fashion-price)) !important;
    border: 1px solid var(--fashion-border) !important;
    border-radius: var(--fashion-radius) !important;
    font-family: var(--fashion-sans) !important;
    font-size: 10px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
}

body[class*="theme3-v"] #cart-modal .cart-modal-info h3 {
    color: var(--theme-color, var(--fashion-price)) !important;
    font-family: var(--fashion-sans) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

body[class*="theme3-v"] #cart-modal .cart-btn {
    background: var(--fashion-text) !important;
    border: 1px solid var(--fashion-text) !important;
    color: #fff !important;
    border-radius: var(--fashion-radius) !important;
    font-family: var(--fashion-sans) !important;
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
}

body[class*="theme3-v"] #cart-modal .cart-btn:hover {
    background: var(--theme-color, var(--fashion-price)) !important;
    border-color: var(--theme-color, var(--fashion-price)) !important;
}

body[class*="theme3-v"] #cart-modal .cart-variable p {
    color: var(--fashion-muted) !important;
}

/* ─── Layout cleanup ─── */
.fashion-shell .main-wrapper > .row {
    display: block;
    margin: 0;
}

.fashion-shell .main-left-col,
.fashion-shell .tabs-wrapper {
    width: 100%;
    max-width: 100%;
}

.fashion-shell .welcome-banner-section {
    display: none !important;
}

.fashion-shell .location-trigger-btn {
    display: none !important;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .fashion-product-grid,
    .fashion-skeleton-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {
    .fashion-hero {
        min-height: 360px;
    }

    .fashion-products-section {
        padding: 32px 16px 16px;
    }

    .fashion-product-grid,
    .fashion-skeleton-grid,
    .fashion-product-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 14px;
    }

    .fashion-shell .fashion-product-card__frame {
        padding: 8px;
    }

    /* Mobile stack: pre-order (top) → image → add to bag (bottom), all centered */
    .fashion-shell .fashion-product-card__media {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        aspect-ratio: auto;
        overflow: visible;
    }

    .fashion-skeleton-card__image {
        aspect-ratio: 5 / 6;
    }

    .fashion-shell .fashion-product-card__media > .product-stock-badge--card {
        position: absolute;
        top: 10px;
        left: 50%;
        z-index: 4;
        margin: 0;
        transform: translateX(-50%);
        max-width: calc(100% - 8px);
        flex-shrink: 0;
    }

    .fashion-shell .product-stock-badge--theme3 .product-stock-badge__bow {
        left: 50%;
        transform: translateX(-50%);
    }

    .fashion-shell .fashion-product-card__photo {
        position: relative;
        inset: auto;
        flex: 1 1 auto;
        width: 100%;
        min-height: 0;
        aspect-ratio: 4 / 5;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
    }

    .fashion-shell .fashion-product-card__photo img,
    .fashion-shell .products-container .fashion-product-card img {
        width: 100% !important;
        height: auto !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center;
    }

    .fashion-shell .fashion-product-card__float {
        position: static;
        inset: auto;
        opacity: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        padding: 10px 0 6px;
        background: none;
        pointer-events: auto;
    }

    .fashion-shell .fashion-product-card__quick {
        display: none;
    }

    .fashion-shell .fashion-product-card__cta {
        transform: none;
        width: 100%;
        margin: 0;
    }

    .fashion-shell .fashion-product-card__cta-btn {
        padding: 10px 14px;
        font-size: 9px;
    }

    .fashion-shell .fashion-product-card__body {
        padding: 14px 4px 4px;
    }

    .fashion-shell .fashion-product-card__name {
        font-size: clamp(15px, 4vw, 17px);
    }

    .fashion-collection-section {
        padding: 40px 16px;
    }

    .fashion-collection-section__title-row {
        gap: 12px;
    }

    .fashion-collection-showcase {
        padding: 48px 16px;
    }

    .fashion-collection-showcase__grid {
        grid-template-columns: 1fr;
    }

    .fashion-video-section {
        padding: 0 16px 48px;
    }
}

@media (max-width: 480px) {
    .fashion-product-grid,
    .fashion-skeleton-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ─── Fashion homepage showcase (Catlog-style tiles) ─── */
.fashion-home-showcase {
    padding: 16px 16px 8px;
    background: var(--fashion-bg, #fff);
}

.fashion-home-showcase__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    max-width: var(--fashion-max, 1200px);
    margin: 0 auto;
}

.fashion-home-showcase__tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    min-height: 160px;
    background: #ddd;
}

.fashion-home-showcase__tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.fashion-home-showcase__tile:hover img {
    transform: scale(1.03);
}

.fashion-home-showcase__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 35%, rgba(0,0,0,0.72) 100%);
    pointer-events: none;
}

.fashion-home-showcase__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.fashion-home-showcase__copy {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fashion-home-showcase__title {
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    font-weight: 700;
    line-height: 1.15;
}

.fashion-home-showcase__count {
    font-size: 13px;
    opacity: 0.92;
}

.fashion-home-showcase__tile--hero {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 220px;
}

.fashion-home-showcase__tile--side-top,
.fashion-home-showcase__tile--side-bottom {
    min-height: 150px;
}

.fashion-home-categories {
    padding-top: 8px;
}

.fashion-catalog-page .fashion-products-section {
    padding-top: 0;
}

.fashion-product-view > .products-container.fashion-products-container {
    padding: 0;
    max-width: none;
}

.fashion-catalog-products > .fashion-collection-section:first-child {
    border-top: none;
    padding-top: 24px;
}

@media (max-width: 768px) {
    .fashion-catalog-products > .fashion-collection-section:first-child {
        padding-top: 16px;
    }
}

@media (min-width: 768px) {
    .fashion-home-showcase {
        padding: 24px 24px 12px;
    }

    .fashion-home-showcase__grid {
        grid-template-columns: 1.15fr 0.85fr;
        grid-template-rows: 1fr 1fr;
        gap: 16px;
        min-height: 520px;
    }

    .fashion-home-showcase__tile--hero {
        grid-column: 1;
        grid-row: 1 / span 2;
        min-height: 100%;
    }

    .fashion-home-showcase__tile--side-top {
        grid-column: 2;
        grid-row: 1;
    }

    .fashion-home-showcase__tile--side-bottom {
        grid-column: 2;
        grid-row: 2;
    }

    .fashion-home-showcase__tile {
        min-height: 0;
        height: 100%;
    }
}

/* ─── Footer / policy pages ─── */
.fashion-shell.footer-page-wrapper {
    background: var(--fashion-bg);
    min-height: 100vh;
}

.fashion-shell .footer-page-content,
.fashion-shell .store-footer-page {
    max-width: var(--fashion-max);
    margin: 0 auto;
    padding: 32px 24px 64px;
    width: 100%;
}

.fashion-shell .store-breadcrumbs {
    padding: 20px 0 0;
    max-width: none;
}

.fashion-shell .store-breadcrumbs__list {
    color: var(--fashion-muted);
    font-size: 12px;
    letter-spacing: 0.06em;
}

.fashion-shell .store-breadcrumbs__item a {
    color: var(--fashion-muted);
}

.fashion-shell .store-breadcrumbs__item a:hover {
    color: var(--fashion-text);
}

.fashion-shell .store-catalog-header {
    padding: 16px 0 24px;
    max-width: none;
}

.fashion-shell .store-catalog-header__title,
.fashion-shell .footer-page-title {
    font-family: var(--fashion-serif) !important;
    font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    color: var(--fashion-text) !important;
}

/* Editorial About / policy page layout */
.fashion-shell .fashion-footer-page {
    padding: 24px 24px 72px;
}

.fashion-shell .fashion-footer-page .store-breadcrumbs {
    padding-top: 12px;
    text-align: center;
}

.fashion-shell .fashion-footer-page .store-breadcrumbs__list {
    justify-content: center;
}

.fashion-shell .fashion-footer-page .store-catalog-header {
    text-align: center;
    padding: 20px 0 36px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--fashion-border);
}

.fashion-shell .fashion-footer-page .store-catalog-header__title {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    letter-spacing: 0.04em !important;
    margin: 0 !important;
}

.fashion-shell .fashion-footer-page .store-page-prose {
    max-width: 42rem;
    margin: 0 auto;
    font-family: var(--fashion-sans);
    font-size: 16px;
    line-height: 1.85;
}

.fashion-shell .fashion-footer-page .store-page-prose > p:first-of-type {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--fashion-text);
}

.fashion-shell .fashion-footer-page .store-page-prose div {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
}

.fashion-shell .fashion-footer-page .store-page-prose h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    margin: 2.75rem 0 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fashion-border);
    text-align: center;
}

.fashion-shell .fashion-footer-page .store-page-prose h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.fashion-shell .fashion-footer-page .store-page-prose h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    margin: 2rem 0 0.75rem;
}

.fashion-shell .fashion-footer-page .store-page-prose ol {
    list-style: none;
    counter-reset: fashion-footer-section;
    margin: 1.5rem 0 2rem;
    padding: 0;
}

.fashion-shell .fashion-footer-page .store-page-prose ol li {
    counter-increment: fashion-footer-section;
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 1.35rem;
}

.fashion-shell .fashion-footer-page .store-page-prose ol li::before {
    content: counter(fashion-footer-section) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    color: var(--theme-color, var(--fashion-price));
    font-family: var(--fashion-sans);
}

.fashion-shell .fashion-footer-page .store-page-prose img {
    margin: 2rem auto;
    max-width: min(100%, 480px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.fashion-shell .fashion-footer-page .store-page-prose img[style*="float: left"],
.fashion-shell .fashion-footer-page .store-page-prose img[style*="float:left"] {
    float: left;
    margin: 0.35rem 1.75rem 1rem 0;
    max-width: min(100%, 220px);
    box-shadow: none;
}

.fashion-shell .fashion-footer-page .store-page-prose img[style*="float: right"],
.fashion-shell .fashion-footer-page .store-page-prose img[style*="float:right"] {
    float: right;
    margin: 0.35rem 0 1rem 1.75rem;
    max-width: min(100%, 220px);
    box-shadow: none;
}

.fashion-shell .fashion-footer-page .store-page-prose p:last-child em,
.fashion-shell .fashion-footer-page .store-page-prose p:last-child strong {
    display: block;
    margin-top: 2rem;
    text-align: center;
    font-family: var(--fashion-serif);
    font-size: 1.05rem;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .fashion-shell .fashion-footer-page {
        padding: 16px 16px 56px;
    }

    .fashion-shell .fashion-footer-page .store-catalog-header {
        padding-bottom: 24px;
    }

    .fashion-shell .fashion-footer-page .store-page-prose {
        font-size: 15px;
    }

    .fashion-shell .fashion-footer-page .store-page-prose h2 {
        text-align: left;
    }
}
