/* Eşarp / moda mağazası full-width tema */
.theme-scarf {
    --scarf-ink: #231f20;
    --scarf-soft: #fff8f4;
    --scarf-blush: #d88a8f;
    --scarf-rose: #a94f5f;
    --scarf-gold: #bd8b4a;
    --scarf-line: #eadbd5;
    --scarf-muted: #75686a;
    background: #fffaf7;
    color: var(--scarf-ink);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.theme-scarf .container {
    width: 100%;
    max-width: none;
    padding-left: clamp(16px, 3.2vw, 58px);
    padding-right: clamp(16px, 3.2vw, 58px);
}

.theme-scarf .topbar {
    background: #2d2426;
    color: #fff6f1;
    border: 0;
}

.theme-scarf .topbar-inner,
.theme-scarf .mainbar {
    max-width: none;
}

.theme-scarf .site-header {
    background: rgba(255, 250, 247, .96);
    border-bottom: 1px solid var(--scarf-line);
    box-shadow: 0 14px 45px rgba(95, 58, 61, .08);
}

.theme-scarf .mainbar {
    min-height: 86px;
    gap: 24px;
}

.theme-scarf .brand {
    min-width: 180px;
}

.theme-scarf .site-logo {
    max-height: 64px;
}

.theme-scarf .search {
    max-width: 620px;
    border: 1px solid var(--scarf-line);
    background: #fff;
    box-shadow: 0 16px 34px rgba(169, 79, 95, .09);
}

.theme-scarf .search input {
    background: transparent;
    color: var(--scarf-ink);
}

.theme-scarf .search button,
.theme-scarf .slider-btn,
.theme-scarf .storefront-band a,
.theme-scarf .small-btn.ok,
.theme-scarf .btn {
    background: linear-gradient(135deg, var(--scarf-rose), var(--scarf-blush));
    color: #fff;
    border: 0;
    box-shadow: 0 14px 28px rgba(169, 79, 95, .22);
}

.theme-scarf .icon-link {
    background: #fff;
    color: var(--scarf-rose);
    border-color: var(--scarf-line);
}

.theme-scarf .icon-link b {
    background: var(--scarf-rose);
    color: #fff;
}

.theme-scarf .account-link,
.theme-scarf .accent-link {
    background: #2d2426;
    color: #fff;
}

.theme-scarf .mega-wrap {
    background: #fff;
    border-top: 1px solid var(--scarf-line);
    border-bottom: 1px solid var(--scarf-line);
}

.theme-scarf .mega {
    max-width: none;
    position: relative;
}

.theme-scarf .mega-button {
    background: var(--scarf-soft);
    color: var(--scarf-rose);
    border: 1px solid var(--scarf-line);
}

.theme-scarf .mega-links a {
    color: #46383a;
    border-radius: 999px;
}

.theme-scarf .mega-links a:hover {
    background: var(--scarf-soft);
    color: var(--scarf-rose);
}

.theme-scarf .mega-panel {
    border-color: var(--scarf-line);
    box-shadow: 0 28px 70px rgba(80, 50, 52, .16);
}

.theme-scarf .mega > .mega-button,
.theme-scarf .mega > .mega-links,
.theme-scarf .mega > .mega-panel {
    display: none !important;
}

.theme-scarf .scarf-menu-links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2.4vw, 34px);
    min-height: 54px;
}

.theme-scarf .scarf-menu-item {
    position: relative;
}

.theme-scarf .scarf-menu-item > a {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    color: #46383a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.theme-scarf .scarf-menu-item > a:hover {
    color: var(--scarf-rose);
}

.theme-scarf .scarf-submenu {
    position: absolute;
    left: 50%;
    top: calc(100% - 1px);
    min-width: 220px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--scarf-line);
    box-shadow: 0 22px 48px rgba(80, 50, 52, .16);
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 60;
}

.theme-scarf .scarf-submenu a {
    display: block;
    padding: 10px 12px;
    color: #46383a;
    text-decoration: none;
    font-size: 14px;
}

.theme-scarf .scarf-submenu a:hover {
    background: #fff8f4;
    color: var(--scarf-rose);
}

.theme-scarf .scarf-menu-item:hover .scarf-submenu,
.theme-scarf .scarf-menu-item:focus-within .scarf-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.theme-scarf .hero {
    padding: 0;
    background:
        radial-gradient(circle at 18% 0%, rgba(216, 138, 143, .18), transparent 28%),
        linear-gradient(180deg, #fff8f4 0%, #fff 76%);
}

.theme-scarf .hero-shell {
    padding-left: 0;
    padding-right: 0;
}

.theme-scarf .hero .container,
.theme-scarf .hero-shell {
    width: 100%;
    max-width: none;
}

.theme-scarf .hero-slider {
    width: 100%;
    min-height: clamp(520px, 62vw, 760px);
    border-radius: 0;
    box-shadow: none;
}

.theme-scarf .hero-slider .slide {
    border-radius: 0;
    padding-left: clamp(26px, 7vw, 112px);
    padding-right: clamp(26px, 7vw, 112px);
    overflow: hidden;
}

.theme-scarf .hero-slider .slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(45, 36, 38, .72), rgba(45, 36, 38, .28) 48%, rgba(255, 248, 244, .1));
    pointer-events: none;
}

.theme-scarf .hero-slider .slide > *:not(.slide-bg) {
    position: relative;
    z-index: 2;
}

.theme-scarf .hero-slider h1 {
    max-width: 680px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
    line-height: .98;
}

.theme-scarf .hero-slider p {
    max-width: 560px;
    color: rgba(255,255,255,.9);
}

.theme-scarf .hero-proof {
    display: none !important;
}

.theme-scarf .badge {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.24);
    color: #fff;
    backdrop-filter: blur(10px);
}

.theme-scarf .hero-proof span {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.22);
}

.theme-scarf .slider-arrow {
    background: rgba(255,255,255,.88);
    color: var(--scarf-rose);
    border: 1px solid rgba(255,255,255,.3);
}

.theme-scarf .slider-dots span {
    background: rgba(255,255,255,.55);
}

.theme-scarf .slider-dots span.active {
    background: var(--scarf-blush);
}

.theme-scarf .visual-cats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
    align-items: stretch;
}

.theme-scarf .visual-cat {
    height: clamp(230px, 22vw, 340px);
    min-height: 0;
    border-radius: 0;
    border: 1px solid var(--scarf-line);
    box-shadow: 0 22px 48px rgba(95, 58, 61, .09);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.theme-scarf .visual-cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.theme-scarf .visual-cat:after {
    background: linear-gradient(180deg, transparent 35%, rgba(35, 31, 32, .72));
}

.theme-scarf .visual-cat strong {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: clamp(24px, 2.3vw, 38px);
}

.theme-scarf .storefront-band {
    background: #2d2426;
    color: #fff8f4;
    border: 0;
    border-radius: 0;
    margin-top: 26px;
    box-shadow: none;
}

.theme-scarf .storefront-band strong {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.theme-scarf .brand-marquee {
    background: #fff;
    border-top: 1px solid var(--scarf-line);
    border-bottom: 1px solid var(--scarf-line);
}

.theme-scarf .features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.theme-scarf .feature {
    background: #fff;
    border: 1px solid var(--scarf-line);
    border-radius: 0;
    box-shadow: none;
}

.theme-scarf .feature-icon {
    background: var(--scarf-soft);
    color: var(--scarf-rose);
}

.theme-scarf .section,
.theme-scarf main > .container {
    max-width: none;
}

.theme-scarf .section-head {
    border-bottom: 1px solid var(--scarf-line);
}

.theme-scarf .section-head h2,
.theme-scarf .page-title {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    color: #2d2426;
}

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

.theme-scarf .product-card {
    border: 1px solid var(--scarf-line);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 18px 42px rgba(95, 58, 61, .08);
}

.theme-scarf .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 58px rgba(95, 58, 61, .14);
}

.theme-scarf .product-card .product-image {
    background: var(--scarf-soft);
    aspect-ratio: 4 / 5;
}

.theme-scarf .product-badge,
.theme-scarf .stock-ok {
    background: #f7efe8;
    color: var(--scarf-rose);
}

.theme-scarf .stock-no {
    background: #f2eeee;
    color: var(--scarf-muted);
}

.theme-scarf .product-title {
    color: #2d2426;
    font-weight: 600;
}

.theme-scarf .product-meta {
    color: var(--scarf-muted);
}

.theme-scarf .price,
.theme-scarf .member-price {
    color: var(--scarf-rose);
}

.theme-scarf .card-icon-button {
    background: #fff8f4;
    color: var(--scarf-rose);
    border: 1px solid var(--scarf-line);
}

.theme-scarf .card-icon-button:hover,
.theme-scarf .card-icon-button.is-active {
    background: var(--scarf-rose);
    color: #fff;
}

.theme-scarf .page-box {
    border-radius: 0;
    border: 1px solid var(--scarf-line);
    box-shadow: none;
}

.theme-scarf .category-layout {
    grid-template-columns: minmax(230px, 280px) 1fr;
}

.theme-scarf .product-detail-layout {
    grid-template-columns: minmax(380px, .9fr) 1.1fr;
}

.theme-scarf .ontech-footer {
    background: #2d2426;
    color: #fff8f4;
    margin-top: 48px;
}

.theme-scarf .footer-top,
.theme-scarf .footer-address,
.theme-scarf .footer-bottom-inner {
    max-width: none;
}

.theme-scarf .footer-col a,
.theme-scarf .footer-contact-card a {
    color: #fff8f4;
}

@media (max-width: 1100px) {
    .theme-scarf .grid-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .theme-scarf .features,
    .theme-scarf .visual-cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .theme-scarf .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .theme-scarf .mainbar {
        min-height: auto;
    }

    .theme-scarf .hero-slider {
        min-height: 430px;
    }

    .theme-scarf .hero-slider .slide {
        padding: 28px 20px;
    }

    .theme-scarf .visual-cats,
    .theme-scarf .features,
    .theme-scarf .grid-products,
    .theme-scarf .category-layout,
    .theme-scarf .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .theme-scarf .visual-cat {
        height: 210px;
    }
}

/* Product detail gallery: keep thumbnails as a clean left column on desktop. */
.theme-scarf .product-gallery {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.theme-scarf .product-main-image {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
}

.theme-scarf .product-main-image img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
}

.theme-scarf .product-thumbs {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    width: 88px !important;
    max-width: 88px !important;
    min-width: 88px !important;
    max-height: 100% !important;
    overflow: hidden !important;
}

.theme-scarf .product-thumbs button {
    width: 88px !important;
    height: 88px !important;
    min-width: 88px !important;
    min-height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    flex: 0 0 88px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 3px !important;
    border-radius: 0 !important;
    border: 1px solid var(--scarf-line) !important;
    background: #fff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

.theme-scarf .product-thumbs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}

.theme-scarf .product-thumbs button.active {
    border-color: var(--scarf-rose) !important;
    box-shadow: inset 0 0 0 2px rgba(169, 79, 95, .18) !important;
}

.theme-scarf .sibling-color-options > b,
.theme-scarf .variant-option-grid > b {
    font-size: 0 !important;
}

.theme-scarf .sibling-color-options > b:after {
    content: "Renk Secenekleri";
    font-size: 13px;
}

.theme-scarf .variant-option-grid > b:after {
    content: "Beden / Olcu Secenekleri";
    font-size: 13px;
}

.theme-scarf .sibling-color-options .variant-pill {
    min-height: 124px;
}

.theme-scarf .sibling-color-options .variant-pill img {
    width: 58px;
    height: 58px;
}

@media (max-width: 760px) {
    .theme-scarf .product-gallery {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .theme-scarf .product-main-image {
        grid-column: 1 !important;
        grid-row: 1 !important;
        aspect-ratio: 4 / 5 !important;
    }

    .theme-scarf .product-thumbs {
        grid-column: 1 !important;
        grid-row: 2 !important;
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    .theme-scarf .product-thumbs button {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: none !important;
        max-height: none !important;
        flex: none !important;
    }
}

/* Final scarf storefront overrides */
.theme-scarf .topbar:before {
    content: "750 TL ve üzeri alışverişlerde ücretsiz kargo";
    display: block;
    width: 100%;
    text-align: center;
    padding: 7px 12px;
    font-size: 13px;
    background: #a94f5f;
    color: #fff;
}

@media (min-width: 901px) {
    .theme-scarf .mobile-menu-toggle {
        display: none !important;
    }
}

.theme-scarf .cat-menu-icon,
.theme-scarf .mega-button-icon {
    display: none !important;
}

.theme-scarf .mega-links a {
    font-weight: 500;
    text-transform: none;
}

.theme-scarf .slide-bg img {
    object-position: center;
}

.theme-scarf .product-card .product-image img {
    object-fit: cover;
}

.theme-scarf .detail-breadcrumb {
    max-width: none;
    padding-top: 18px;
    color: var(--scarf-muted);
}

.theme-scarf .product-detail-layout {
    gap: clamp(24px, 4vw, 58px);
    padding: clamp(18px, 2.5vw, 42px);
}

.theme-scarf .product-gallery {
    position: sticky;
    top: 18px;
    align-self: start;
}

.theme-scarf .product-main-image {
    aspect-ratio: 4 / 5;
    border-radius: 0;
    background: var(--scarf-soft);
    border: 1px solid var(--scarf-line);
}

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

.theme-scarf .product-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.theme-scarf .product-thumbs button {
    aspect-ratio: 1;
    border-radius: 0;
    border: 1px solid var(--scarf-line);
    background: #fff;
}

.theme-scarf .product-thumbs button.active {
    border-color: var(--scarf-rose);
    box-shadow: 0 0 0 2px rgba(169, 79, 95, .12);
}

.theme-scarf .product-summary .member-price {
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--scarf-rose);
}

.theme-scarf .product-facts,
.theme-scarf .price-panel,
.theme-scarf .detail-service-strip,
.theme-scarf .advanced-variant-list {
    border-radius: 0;
    border: 1px solid var(--scarf-line);
    background: #fff;
}

.theme-scarf .detail-service-strip,
.theme-scarf .product-facts {
    background: #fff8f4;
}

.theme-scarf .detail-service-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
}

.theme-scarf .detail-service-strip span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid var(--scarf-line);
    background: #fff;
    font-size: 13px;
    color: #5e4d50;
}

.theme-scarf .detail-service-strip svg {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px;
    color: var(--scarf-rose);
}

.theme-scarf .advanced-variant-list {
    padding: 18px;
}

.theme-scarf .advanced-variant-list > strong {
    display: block;
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
}

.theme-scarf .variant-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.theme-scarf .variant-pill {
    min-height: 44px;
    border: 1px solid var(--scarf-line);
    background: #fff8f4;
    border-radius: 999px !important;
    color: #2d2426;
    padding: 8px 13px;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.theme-scarf .variant-pill.variant-color,
.theme-scarf .variant-pill.variant-pattern {
    border-radius: 14px !important;
}

.theme-scarf .variant-pill i,
.theme-scarf .variant-pill img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.08);
    object-fit: cover;
}

.theme-scarf .variant-pill:hover,
.theme-scarf .variant-pill.active {
    border-color: var(--scarf-rose);
    color: var(--scarf-rose);
    background: #fff;
}

.theme-scarf .detail-variant-select,
.theme-scarf .detail-qty {
    border-radius: 0;
    border: 1px solid var(--scarf-line);
    background: #fff;
}

.theme-scarf .product-actions.detail-actions {
    background: transparent;
    border: 0;
    padding: 0;
    gap: 10px;
}

.theme-scarf .product-actions.detail-actions .small-btn {
    border-radius: 0;
    cursor: pointer;
}

.theme-scarf .product-tabs button {
    border-radius: 0;
}

.theme-scarf .product-tab-panel {
    border-color: var(--scarf-line);
}

@media (max-width: 760px) {
    .theme-scarf .product-gallery {
        position: static;
    }

    .theme-scarf .product-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .theme-scarf .detail-service-strip {
        grid-template-columns: 1fr;
    }

    .theme-scarf .scarf-menu-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        align-items: stretch;
        justify-content: stretch;
        padding: 6px 0;
    }

    .theme-scarf .scarf-menu-item > a {
        min-height: 42px;
        justify-content: center;
    }

    .theme-scarf .scarf-submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border-width: 1px 0 0;
        min-width: 0;
        text-align: center;
        display: none;
    }

    .theme-scarf .scarf-menu-item:hover .scarf-submenu,
    .theme-scarf .scarf-menu-item:focus-within .scarf-submenu {
        display: block;
        transform: none;
    }
}

/* Final scarf layout tuning: slider, promo banners and product gallery. */
.theme-scarf {
    overflow-x: hidden;
}

.theme-scarf body,
body.theme-scarf {
    overflow-x: hidden;
}

.theme-scarf main,
.theme-scarf .site-wrap,
.theme-scarf .hero,
.theme-scarf .hero-shell {
    max-width: 100%;
    overflow-x: clip;
}

.theme-scarf .hero {
    padding: 0 !important;
}

.theme-scarf .hero .container,
.theme-scarf .hero-shell {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.theme-scarf .hero-slider {
    width: 100%;
    max-width: 100%;
    min-height: clamp(540px, 58vw, 780px);
    border-radius: 0;
    overflow: hidden;
}

.theme-scarf .hero-slider .slide {
    width: 100%;
    max-width: 100%;
    min-height: inherit;
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
}

.theme-scarf .slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.theme-scarf .slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.theme-scarf .visual-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.theme-scarf .visual-cat {
    position: relative;
    height: clamp(150px, 14vw, 220px) !important;
    min-height: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 18px;
    overflow: hidden;
}

.theme-scarf .visual-cat img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.theme-scarf .visual-cat:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(45,36,38,.7) 100%);
}

.theme-scarf .visual-cat strong,
.theme-scarf .visual-cat span {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 1px 9px rgba(0,0,0,.28);
}

.theme-scarf .visual-cat strong {
    font-size: clamp(19px, 1.7vw, 28px);
    line-height: 1.05;
}

.theme-scarf .visual-cat span {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.25;
}

.theme-scarf .product-main-image {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.theme-scarf .product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.theme-scarf .product-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.theme-scarf .product-thumbs button {
    display: block;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: hidden;
    border-radius: 0 !important;
    line-height: 0;
}

.theme-scarf .product-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.theme-scarf .product-gallery,
.theme-scarf .product-detail-layout,
.theme-scarf .product-summary {
    min-width: 0;
}

.theme-scarf .advanced-variant-list {
    padding: 16px;
}

.theme-scarf .advanced-variant-list > strong {
    margin-bottom: 12px;
}

.theme-scarf .variant-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 10px;
    align-items: stretch;
}

.theme-scarf .variant-group > b {
    grid-column: 1 / -1;
    font-size: 13px;
    font-weight: 600;
    color: #6d5a5d;
}

.theme-scarf .variant-pill,
.theme-scarf .variant-pill.variant-color,
.theme-scarf .variant-pill.variant-pattern {
    width: 100%;
    min-height: 104px;
    border-radius: 0 !important;
    padding: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    background: #fff;
    color: #2d2426;
    border: 1px solid var(--scarf-line);
    box-shadow: none;
}

.theme-scarf .variant-pill img,
.theme-scarf .variant-pill i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 0;
    object-fit: cover;
}

.theme-scarf .variant-pill span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.25;
}

.theme-scarf .variant-pill em {
    display: none;
}

.theme-scarf .variant-pill:hover,
.theme-scarf .variant-pill.active {
    border-color: var(--scarf-rose);
    background: #fff8f4;
    color: var(--scarf-rose);
}

@media (max-width: 760px) {
    .theme-scarf .hero-slider {
        min-height: 420px;
    }

    .theme-scarf .hero-slider .slide {
        padding: 76px 22px 54px;
        justify-content: flex-end;
    }

    .theme-scarf .visual-cats {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .theme-scarf .visual-cat {
        height: 178px !important;
        padding: 16px;
    }

    .theme-scarf .product-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .theme-scarf .variant-group {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .theme-scarf .variant-pill,
    .theme-scarf .variant-pill.variant-color,
    .theme-scarf .variant-pill.variant-pattern {
        min-height: 92px;
        padding: 7px;
    }
}
