/* =========================================================
   Frontend V2 - Office Furniture (Minimal / Clean)
   Design intent: professional, fast browsing, low visual noise
   Palette:
   - Primary: #3E7ABA
   - Background: #F8FAFC
   - Text: #1E293B
   - Accent: #0F172A
========================================================= */

:root {
    --c-primary: #3E7ABA;
    --c-bg: #F8FAFC;
    --c-text: #1E293B;
    --c-accent: #0F172A;

    --c-panel: #FFFFFF;
    --c-muted: #64748B;
    --c-line: #E2E8F0;
    --c-line-strong: #CBD5E1;
    --c-success: #0F766E;
    --c-warning: #B45309;
    --c-danger: #B91C1C;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.07);
    --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.10);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;

    --container-max: 1200px;
}

/* ---------- Base ---------- */
* {
    box-sizing: border-box;
}

html,
body {
    background: var(--c-bg);
    color: var(--c-text);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--c-primary);
    text-decoration: none;
}

a:hover {
    color: #295f96;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--c-accent);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.container {
    max-width: var(--container-max);
}

.fe-shell {
    min-height: 70vh;
    padding-top: var(--space-6);
}

.fe-orb {
    display: none;
}

/* ---------- Utility Bar + Navbar ---------- */
.nav-utility {
    background: var(--c-accent);
    color: #E2E8F0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-utility__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    font-size: 12px;
}

.nav-neo {
    background: rgba(248, 250, 252, 0.94);
    border-bottom: 1px solid var(--c-line);
    backdrop-filter: blur(8px);
    transition: transform .24s ease, box-shadow .2s ease;
    will-change: transform;
}

.nav-neo--hidden {
    transform: translateY(calc(-100% - 1px));
}

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-mobile-actions {
    display: none;
}

.nav-mobile-action {
    position: relative;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: #fff;
    color: var(--c-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 8px;
    text-decoration: none;
}

.nav-mobile-action i {
    font-size: 15px;
}

.nav-mobile-action:hover {
    color: var(--c-primary);
    border-color: #c1d6ec;
    background: #f8fbff;
}

.nav-mobile-action.is-active {
    color: #2f679f;
    border-color: #bfd5ec;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
    box-shadow: 0 4px 14px rgba(62, 122, 186, 0.16);
}

.mobile-action-badge,
.mobile-open-order-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid #fff;
}

.nav-menu {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--c-line);
    background: #fff;
    color: var(--c-text);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    transition: all .16s ease;
}

.nav-pill:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: #F1F6FC;
}

.nav-pill.is-active {
    border-color: #bfd5ec;
    background: #eef5fc;
    color: #2f679f;
    box-shadow: 0 2px 8px rgba(62, 122, 186, 0.12);
}

.nav-pill--accent {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

.nav-pill--accent:hover {
    background: #2E679F;
    border-color: #2E679F;
    color: #fff;
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--c-text);
}

.nav-icon-btn:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.mobile-menu {
    gap: 10px;
}

.mobile-menu__group {
    border: 1px solid var(--c-line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.mobile-menu__group-title {
    padding: 8px 12px;
    border-bottom: 1px solid var(--c-line);
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--c-line);
    color: var(--c-text);
    font-weight: 600;
    text-decoration: none;
}

.mobile-menu__dropdown-toggle {
    appearance: none;
}

.mobile-menu__group .mobile-menu__link:last-child {
    border-bottom: 0;
}

.mobile-menu__link:hover {
    background: #f8fafc;
    color: var(--c-primary);
}

.mobile-menu__link.is-active {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
    color: #2f679f;
    font-weight: 700;
}

.mobile-menu__dropdown {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--c-line);
    border-radius: 0;
    box-shadow: none !important;
    width: 100%;
    padding: 4px 0;
}

.mobile-menu__dropdown .dropdown-item {
    padding: 10px 12px;
    font-weight: 600;
    color: var(--c-text);
}

.mobile-menu__dropdown .dropdown-item:hover,
.mobile-menu__dropdown .dropdown-item:focus {
    background: #f8fafc;
    color: var(--c-primary);
}

.mobile-menu__footer {
    border-top: 1px solid var(--c-line);
    padding-top: 10px;
}

.mobile-menu__footer .btn {
    min-height: 44px;
    border-radius: 12px;
    font-weight: 700;
}

.mobile-menu__footer .btn-outline-primary {
    background: #fff;
}

.mobile-main-menu {
    --bs-offcanvas-width: min(100vw, 430px);
}

.mobile-main-menu .offcanvas-header {
    padding: 14px 14px;
}

.mobile-main-menu .offcanvas-body {
    padding: 12px;
    gap: 10px;
}

.mobile-search-sheet {
    --bs-offcanvas-height: min(100dvh, 430px);
}

.mobile-search-sheet .offcanvas-header {
    padding: 12px 14px;
}

.mobile-search-sheet .offcanvas-body {
    padding: 14px;
    display: grid;
    align-content: start;
    gap: 12px;
}

.mobile-search-sheet__form {
    display: grid;
    gap: 10px;
}

.mobile-search-sheet__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-search-sheet__chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    background: #fff;
    color: #334155;
    padding: 6px 11px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.mobile-search-sheet__chip:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.cart-count-badge {
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Shared panels ---------- */
.card,
.offcanvas,
.modal-content,
.shop-panel,
.home-card,
.blog-card,
.project-card,
.bundle-card,
.product-tile,
.pd-card,
.orders-v2__card,
.order-x__card,
.contact-card,
.intro-card,
.cart-v2__card {
    background: var(--c-panel);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

/* ---------- Buttons + form ---------- */
.btn {
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: .01em;
}

.btn-primary {
    background: var(--c-primary);
    border-color: var(--c-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #2E679F;
    border-color: #2E679F;
}

.btn-outline-primary {
    color: var(--c-primary);
    border-color: #93B5DA;
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--c-primary);
    border-color: var(--c-primary);
}

.btn-outline-dark {
    color: var(--c-accent);
    border-color: #B8C4D2;
}

.btn-outline-dark:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

.form-control,
.form-select,
input,
textarea,
select {
    border-radius: 10px;
    border: 1px solid var(--c-line-strong);
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: #8CB0D7;
    box-shadow: 0 0 0 .2rem rgba(62, 122, 186, 0.15);
    outline: none;
}

/* ---------- Hero blocks ---------- */
.home-hero,
.shop-hero,
.bundle-hero,
.blog-hero,
.projects-hero,
.orders-v2__hero,
.order-x__hero,
.contact-hero,
.intro-hero,
.cart-v2__hero {
    border: 1px solid var(--c-line);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: var(--space-6);
    margin-bottom: var(--space-5);
}

.home-hero__title,
.cart-v2__hero h1,
.shop-hero h1,
.blog-hero h1,
.projects-hero h1,
.orders-v2__hero h1,
.order-x__hero h1,
.intro-hero h1,
.contact-hero h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    margin-bottom: var(--space-2);
}

.home-muted,
.home-hero__lead,
.blog-meta,
.project-meta,
.bundle-meta,
.orders-v2__sub,
.order-x__sub,
.cart-v2__sub,
.pd-meta,
.pd-vat {
    color: var(--c-muted);
}

/* ---------- Home ---------- */
.home-v2-section {
    position: relative;
}

.home-grid {
    display: grid;
    gap: var(--space-3);
}

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

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

.home-section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.home-section-title i {
    font-size: 18px;
    color: var(--c-primary);
}

.home-pill,
.home-chip,
.shop-chip,
.pd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    padding: 5px 11px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.home-chip i,
.home-pill i {
    font-size: 12px;
    color: var(--c-primary);
}

.home-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.home-chip--soft {
    background: #f3f8fe;
    border-color: #d2e1f1;
    color: #355474;
}

.home-hero__lead {
    max-width: 54ch;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 12px;
    font-weight: 700;
    min-height: 44px;
    padding: 10px 18px;
}

.home-btn--solid {
    border: 1px solid #2f679f;
    background: linear-gradient(180deg, #3f7fbe 0%, #356ea9 100%);
    color: #fff;
    box-shadow: 0 8px 18px rgba(62, 122, 186, 0.22);
}

.home-btn--solid:hover {
    color: #fff;
    border-color: #275b8f;
    background: linear-gradient(180deg, #3b79b7 0%, #2f628f 100%);
}

.home-btn--outline {
    border: 1px solid #bfd1e5;
    background: #fff;
    color: #2f679f;
}

.home-btn--outline:hover {
    color: #245784;
    border-color: #a9c3de;
    background: #f6f9fd;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-hero__actions .btn {
    display: inline-flex;
    align-items: center;
}

.home-kpi {
    display: grid;
    gap: 8px;
    font-size: 28px;
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1;
    min-width: 142px;
    padding: 12px 14px;
    border: 1px solid #dbe6f3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.home-kpi__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #eef5fc;
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.home-kpi-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.home-kpi small {
    display: block;
    margin-top: 2px;
    color: var(--c-muted);
    font-size: 12px;
    font-weight: 600;
}

.home-hero__surface {
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafe 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.home-mini-card {
    height: 100%;
    border: 1px solid #e3ebf6;
    border-radius: 16px;
    background: #fff;
    padding: 14px;
}

.home-mini-card--office {
    background: linear-gradient(180deg, #f6f2ea 0%, #ffffff 100%);
}

.home-mini-card--showroom {
    background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
}

.home-enterprise {
    border-radius: 16px;
    background: linear-gradient(135deg, #182131 0%, #2b3a52 100%);
    color: #fff;
    padding: 18px;
}

.home-enterprise__label {
    color: rgba(255, 255, 255, 0.72);
}

.home-enterprise__sub {
    color: rgba(255, 255, 255, 0.78);
}

.home-enterprise__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 6px 11px;
    background: #fff;
    color: #1f3654;
    font-size: 12px;
    font-weight: 700;
}

.home-enterprise__badge--dark {
    background: #15233b;
    color: #fff;
}

.home-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.home-section-lead p {
    margin-bottom: 0;
}

.home-feature-grid {
    gap: 14px;
}

.home-feature-card {
    height: 100%;
    display: grid;
    gap: 10px;
    padding: 16px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-feature-card:hover {
    transform: translateY(-2px);
    border-color: #c8d9ec;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.10);
}

.home-feature-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-feature-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #edf4fc;
    color: #2f679f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-v2-section--plain {
    background: #fff;
}

.home-process {
    display: grid;
    gap: 8px;
    height: 100%;
}

.home-process-list li {
    padding: 10px 12px;
    border: 1px dashed #d6e3f2;
    border-radius: 12px;
    background: #fbfdff;
}

.home-timeline-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.home-timeline-card__head {
    gap: 12px;
    margin-bottom: 18px;
}

.home-grid--timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.home-phase {
    border: 1px solid #dde8f5;
    border-radius: 14px;
    padding: 12px;
}

.home-phase--1 {
    background: #faf6ef;
}

.home-phase--2 {
    background: #f3f7ff;
}

.home-phase--3 {
    background: #faf2f3;
}

.home-v2-section--soft {
    background: linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.home-trust-intro {
    display: grid;
    align-content: center;
}

.home-trust-grid {
    gap: 12px;
}

.home-trust-card {
    height: 100%;
    display: grid;
    gap: 8px;
    padding: 16px;
}

.home-list {
    margin: 0;
    padding-left: 0;
    display: grid;
    gap: 8px;
    list-style: none;
}

.home-list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.home-list li i {
    font-size: 14px;
    margin-top: 2px;
    color: var(--c-primary);
}

.home-cta {
    background: var(--c-accent);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.home-cta .home-section-title,
.home-cta p {
    color: #fff;
}

.home-cta .home-section-title i {
    color: #fff;
}

.home-cta--v2 {
    background: linear-gradient(120deg, #0f172a 0%, #1f3758 100%);
    box-shadow: 0 22px 34px rgba(15, 23, 42, 0.22);
}

.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.home-cta__actions .home-btn {
    min-width: 170px;
}

.home-cta__actions .home-btn--outline {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.56);
    color: #fff;
}

.home-cta__actions .home-btn--outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.74);
    color: #fff;
}

/* ---------- Product list ---------- */
.shop-shell {
    padding-bottom: var(--space-8);
}

.shop-meta,
.mobile-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-sticky {
    position: sticky;
    top: 92px;
}

.product-filter-form {
    display: grid;
    gap: 14px;
}

.product-filter-section {
    display: grid;
    gap: 8px;
}

.product-filter-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--c-muted);
}

.product-filter-quick-price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-filter-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-filter-pill {
    cursor: pointer;
}

.product-filter-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-filter-pill span {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    transition: all .15s ease;
}

.product-filter-pill input:checked+span {
    border-color: var(--c-primary);
    color: var(--c-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .08);
}

.product-filter-chip-link {
    text-decoration: none;
}

.product-filter-chip-link:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
}

.product-tile {
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #F1F5F9;
    overflow: hidden;
}

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

.product-tile:hover .product-media img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 999px;
    padding: 4px 10px;
    background: var(--c-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.product-quick {
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 11px;
}

.product-out {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.45);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.product-body {
    padding: var(--space-4);
    display: grid;
    gap: 6px;
}

.product-actions {
    display: grid;
    gap: 4px;
}

.product-actions--two {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.product-actions .btn {
    margin: 0;
    min-height: 36px;
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.product-actions--two .btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-actions .btn-buy.mt-2 {
    margin-top: 0 !important;
}

/* ---------- Cart toast ---------- */
.cart-toast-wrap .toast {
    min-width: 320px;
}

.cart-toast {
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
    border: 1px solid #dbe4f0 !important;
    overflow: hidden;
    background: #ffffff;
    color: #1e293b;
}

.cart-toast__body {
    padding: 10px 12px;
}

.cart-toast__img {
    border-color: #dbe4f0 !important;
}

.cart-toast__title {
    font-size: 15px;
    line-height: 1.2;
}

.cart-toast__sub {
    font-size: 13px;
    margin-top: 2px;
    color: #64748b;
}

.cart-toast__link {
    border-radius: 999px;
    background: #3e7aba;
    border: 1px solid #3e7aba;
    color: #fff;
    font-weight: 600;
    padding: 4px 12px;
}

.cart-toast__link:hover {
    background: #2f679f;
    border-color: #2f679f;
    color: #fff;
}

.cart-toast .btn-close {
    filter: none;
    opacity: 0.6;
}

.cart-toast.cart-toast--ok {
    background: #ffffff;
    color: #1e293b;
    border-left: 5px solid #3e7aba;
}

.cart-toast.cart-toast--error {
    background: #fff5f5;
    color: #7f1d1d;
    border-left: 5px solid #dc2626;
}

.cart-toast.cart-toast--neutral {
    background: #f8fafc;
    color: #0f172a;
    border-left: 5px solid #64748b;
}

.product-body .d-flex.align-items-center.justify-content-between {
    margin-bottom: 2px;
}

.product-title {
    color: var(--c-accent);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

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

.product-vat {
    font-size: 12px;
    color: var(--c-muted);
}

.bundle-meta--compact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bundle-meta--compact-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
}

.bundle-meta--compact-item i {
    font-size: 11px;
    color: #64748b;
}

.bundle-meta--compact-item strong {
    font-weight: 700;
}

.bundle-price-inline {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.bundle-price-inline__price {
    font-size: 20px;
    line-height: 1.15;
}

.bundle-price-inline__vat {
    font-size: 12px;
    line-height: 1.2;
    padding: 2px 7px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
}

/* ---------- Product detail ---------- */
.pd-shell {
    padding-bottom: var(--space-8);
}

.pd-title {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.06;
}

.pd-price {
    color: var(--c-primary);
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 800;
    line-height: 1;
}

.pd-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.pd-cta .btn {
    width: 100%;
    min-height: 38px;
    padding: 7px 10px;
    font-size: 14px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pd-qty-total {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

.btn-buy {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
}

.btn-buy:hover {
    background: #1E293B;
    border-color: #1E293B;
    color: #fff;
}

.pd-section-title {
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: var(--space-3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pd-section-title i {
    font-size: 18px;
    color: var(--c-primary);
}

.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-3);
}

.pd-related-wrap {
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 16px;
}

.pd-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.pd-related-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-primary);
}

.pd-related-card {
    border: 1px solid var(--c-line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.pd-related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #c4d9ef;
}

.pd-related-media {
    display: block;
    background: #f8fafc;
    border-bottom: 1px solid var(--c-line);
}

.pd-related-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.pd-related-body {
    padding: 10px;
    display: grid;
    gap: 8px;
}

.pd-related-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--c-muted);
    font-size: 12px;
    font-weight: 600;
}

.pd-related-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    background: #fff;
    color: #475569;
}

.pd-related-title {
    color: var(--c-accent);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-related-price {
    color: var(--c-primary);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.pd-v4-related,
.pd-v5-related {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* ---------- Cart / Checkout ---------- */
.cart-v2 {
    padding-bottom: var(--space-8);
}

.cart-v2__eyebrow {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 700;
    color: var(--c-primary);
    margin: 0;
}

.cart-v2__grid {
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: var(--space-4);
}

.cart-v2__card-head {
    padding: var(--space-4);
    border-bottom: 1px solid var(--c-line);
}

.cart-v2__card-head h2 {
    margin: 0;
    font-size: 24px;
}

.cart-v2__card-head p {
    margin: 2px 0 0;
    color: var(--c-muted);
    font-size: 13px;
}

.cart-v2__list {
    padding: var(--space-3);
    display: grid;
    gap: var(--space-3);
}

.cart-v2__item {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    gap: var(--space-3);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-md);
    padding: var(--space-3);
}

.cart-v2__thumb img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-v2__info h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
}

.cart-v2__info p {
    margin: 0;
    font-size: 13px;
    color: var(--c-muted);
}

.cart-v2__price .price {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--c-primary);
}

.cart-v2__price .price-sm {
    font-size: 12px;
    color: var(--c-muted);
}

.stock-badge {
    display: inline-flex;
    margin-top: 6px;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 11px;
    font-weight: 700;
}

.stock-badge.in-stock {
    background: #ECFDF5;
    color: #065F46;
}

.stock-badge.preorder {
    background: #EFF6FF;
    color: #1D4ED8;
}

.cart-v2__summary .cart-v2__sticky {
    position: sticky;
    top: 92px;
}

.cart-v2__total {
    padding: 14px 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-v2__total strong {
    font-size: 28px;
    color: var(--c-primary);
}

.cart-v2__summary-lines {
    padding: 0 16px 14px;
    display: grid;
    gap: 7px;
}

.cart-v2__summary-lines>div {
    display: flex;
    justify-content: space-between;
}

.cart-v2__divider {
    border-top: 1px dashed var(--c-line-strong);
    margin: 0 16px;
}

.cart-v2__block {
    padding: 14px 16px;
}

.cart-v2__block h3 {
    font-size: 17px;
    margin: 0 0 8px;
}

.cart-v2__address-list {
    display: grid;
    gap: 8px;
}

.cart-v2__address {
    display: flex;
    gap: 9px;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
}

.cart-v2__address strong {
    font-size: 13px;
}

.cart-v2__address small,
.cart-v2__address em {
    display: block;
    font-size: 12px;
    color: var(--c-muted);
}

.cart-v2__delivery {
    margin-top: 8px;
    font-size: 12px;
    color: var(--c-muted);
}

.cart-v2__form {
    margin-top: 8px;
    display: grid;
    gap: 8px;
}

.cart-v2__form input,
.cart-v2__form textarea {
    border: 1px solid var(--c-line-strong);
    border-radius: 10px;
    padding: 9px 10px;
}

.pay-option {
    display: flex;
    gap: 9px;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    padding: 9px 10px;
    margin-bottom: 8px;
}

.pay-option small {
    color: var(--c-muted);
    display: block;
    font-size: 12px;
}

.cart-v2__empty {
    text-align: center;
    border: 1px dashed var(--c-line-strong);
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 34px 20px;
}

.cart-v2__empty-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-v2__empty-sub {
    color: var(--c-muted);
    margin-bottom: 12px;
}

/* Related products in cart */
.cart-v2__related {
    padding: var(--space-3);
    display: grid;
    gap: var(--space-2);
}

.cart-v2__related-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    padding: 8px;
    background: #fff;
    color: var(--c-text);
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.cart-v2__related-item:hover {
    border-color: #c6d6e8;
    box-shadow: var(--shadow-xs);
}

.cart-v2__related-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    background: #f1f5f9;
}

.cart-v2__related-item h4 {
    margin: 0 0 2px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--c-accent);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-v2__related-item span {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary);
}

/* ---------- Orders ---------- */
.orders-v2,
.order-x {
    padding-bottom: var(--space-8);
}

.orders-v2__filter {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.orders-v2__filter label {
    display: block;
    margin-bottom: 4px;
    color: var(--c-muted);
    font-size: 12px;
}

.orders-v2__filter input,
.orders-v2__filter select {
    width: 100%;
    border: 1px solid var(--c-line-strong);
    border-radius: 10px;
    padding: 9px 10px;
}

.orders-v2__table,
.order-x__table {
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.orders-v2__table thead th,
.order-x__table thead th,
thead th {
    background: #F1F5F9 !important;
    color: #334155;
    border-color: var(--c-line) !important;
    font-weight: 700;
}

.orders-v2__table tbody tr:hover,
.order-x__table tbody tr:hover,
tbody tr:hover {
    background: #F8FAFC;
}

/* ---------- Blog / Projects / Bundles ---------- */
.blog-grid,
.projects-grid,
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
}

.blog-card,
.project-card,
.bundle-card {
    overflow: hidden;
    transition: transform .16s ease, box-shadow .16s ease;
}

.blog-card:hover,
.project-card:hover,
.bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-media img,
.project-media img,
.bundle-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.blog-body,
.project-body,
.bundle-body {
    padding: 14px;
}

.blog-title,
.project-title,
.bundle-title {
    color: var(--c-accent);
    font-weight: 700;
}

/* ---------- Projects v2 ---------- */
.projects-v2__hero {
    margin-bottom: 16px;
}

.projects-v2__hero .breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.projects-v2__hero .breadcrumb i {
    font-size: 12px;
    color: #64748b;
}

.projects-v2__hero .lead {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.projects-v2__hero .lead i {
    font-size: 13px;
    color: #64748b;
}

.projects-v2__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.projects-v2__tag {
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.projects-v2__tag i {
    font-size: 12px;
    color: #64748b;
}

.projects-v2__tag:hover {
    border-color: #b8d1ea;
    color: var(--c-primary);
}

.projects-v2__tag.is-active {
    background: #f1f6fc;
    border-color: #b8d1ea;
    color: #2f679f;
}

.projects-v2__grid {
    align-items: stretch;
}

.projects-v2__card {
    overflow: hidden;
    border-radius: 16px;
}

.projects-v2__media {
    display: block;
    border-bottom: 1px solid var(--c-line);
    background: #f8fafc;
}

.projects-v2__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.projects-v2__body {
    display: grid;
    gap: 10px;
}

.projects-v2__title {
    font-size: 16px;
    line-height: 1.35;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.projects-v2__actions .btn {
    min-height: 38px;
    font-size: 14px;
}

/* ---------- Bundles v2 ---------- */
.bundles-v2__hero {
    margin-bottom: 16px;
}

.bundles-v2__hero-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.bundles-v2__hero-meta {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}

.bundles-v2__chip {
    border: 1px solid #d3e1f0;
    border-radius: 999px;
    background: #f5f9fe;
    color: #355e8a;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
}

.bundles-v2__grid {
    align-items: stretch;
}

.bundles-v2__card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bundles-v2__media {
    position: relative;
    display: block;
    background: #f8fafc;
    border-bottom: 1px solid var(--c-line);
}

.bundle-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    z-index: 2;
}

.bundles-v2__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 12px;
}

.bundles-v2__count {
    position: absolute;
    left: 10px;
    bottom: 10px;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(15, 23, 42, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bundles-v2__count-num {
    font-weight: 800;
}

.bundles-v2__count-label {
    opacity: 0.95;
}

.bundles-v2__body {
    display: grid;
    gap: 6px;
    height: 100%;
}

.bundles-v2__title {
    font-size: 15px;
    line-height: 1.35;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bundles-v2__price-wrap {
    margin-top: auto;
}

.bundles-v2__price {
    font-size: 24px;
    line-height: 1.1;
}

.bundles-v2__actions {
    margin-top: 8px;
}

.bundles-v2__actions form {
    margin: 0;
    width: 100%;
}

.bundles-v2__actions .btn {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Bundle detail v2 ---------- */
.bd-v2__gallery {
    overflow: hidden;
    padding: 10px;
}

.bd-v2__gallery-img {
    height: 460px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 12px;
}

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

.bd-v2__item {
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    color: var(--c-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bd-v2__item:hover {
    border-color: #c5d8ec;
    box-shadow: var(--shadow-xs);
}

.bd-v2__item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    background: #f8fafc;
}

.bd-v2__item-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.bd-v2__item-price {
    margin-top: 4px;
    color: var(--c-primary);
    font-size: 16px;
    font-weight: 800;
}

.bd-v2__cta-meta {
    font-size: 13px;
    color: #475569;
}

.bundle-shell [data-bundle-variant="1"] {
    min-width: 150px;
    border-radius: 12px;
    text-align: left;
    padding: 8px 10px;
    border-color: #d0dbe8;
    background: #fff;
}

.bundle-shell [data-bundle-variant="1"].active {
    border-color: #2f6db0;
    box-shadow: 0 0 0 2px rgba(47, 109, 176, 0.12);
    color: #0f172a;
    background: #f7fbff;
}

.bd-v5-buybox {
    position: sticky;
    top: 92px;
}

.bd-v5-variant-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.bd-v5-variant-toolbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bd-v5-variant-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.bd-v5-variant-search-wrap .form-control {
    max-width: 280px;
}

.bd-v5-variant-count {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.bd-v5-variant-count strong {
    color: #1e293b;
}

.bd-v5-variant-grid {
    max-height: 240px;
    overflow: auto;
    padding-right: 4px;
}

.bd-v5-variant-pill {
    min-width: 162px;
    border-radius: 14px !important;
}

.bd-v5-variant-pill__meta {
    font-size: 11px;
    color: #64748b;
    line-height: 1.25;
}

.bd-v5-variant-empty {
    border: 1px dashed #d8e3f0;
    border-radius: 10px;
    background: #f8fbff;
    color: #64748b;
    font-size: 13px;
    padding: 8px 10px;
    margin-top: 6px;
}

.bd-v5-items-list {
    display: grid;
    gap: 8px;
}

.bd-v5-item-row {
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: #fff;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    padding: 8px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bd-v5-item-row:hover {
    border-color: #c5d8ec;
    box-shadow: var(--shadow-xs);
}

.bd-v5-item-row__thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bd-v5-item-row__thumb img {
    width: 100%;
    height: 100%;
    padding: 8px;
}

.bd-v5-item-row__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
}

.bd-v5-item-row__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.bd-v5-item-row__title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bd-v5-item-row__qty {
    flex: 0 0 auto;
    border: 1px solid #d9e4f1;
    background: #f8fbff;
    color: #334155;
    border-radius: 999px;
    min-width: 40px;
    text-align: center;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
}

.bd-v5-item-row__meta {
    color: #64748b;
    font-size: 12px;
}

.bd-v5-item-row__price {
    color: var(--c-primary);
    font-size: 18px;
    font-weight: 800;
}

.bd-v5-mobile-cta {
    display: none;
}

/* ---------- Bundle detail v6 ---------- */
.bundle-v6__container {
    display: grid;
    gap: 12px;
}

.bundle-v6__hero {
    border: 1px solid var(--c-line);
    border-radius: 14px;
    background: linear-gradient(160deg, #ffffff 0%, #f7fbff 100%);
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
}

.bundle-v6__hero-main {
    min-width: 0;
}

.bundle-v6__eyebrow {
    margin: 0 0 2px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #4f76a1;
}

.bundle-v6__title {
    margin: 0;
    font-size: clamp(20px, 2.6vw, 34px);
    line-height: 1.12;
    color: #0f172a;
}

.bundle-v6__description {
    margin: 6px 0 0;
    max-width: 820px;
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}

.bundle-v6__hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    justify-content: flex-end;
}

.bundle-v6__metric {
    border: 1px solid #dbe7f5;
    border-radius: 999px;
    background: #fff;
    padding: 5px 10px;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}

.bundle-v6__metric span {
    color: #64748b;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-weight: 700;
}

.bundle-v6__metric strong {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 800;
}

.bundle-v6__gallery-card {
    padding: 12px;
    border: 1px solid #d9e2ee;
    border-radius: 14px;
    background: #fff;
}

.bundle-v6__media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.bundle-v6__media-grid.is-single-media {
    grid-template-columns: minmax(0, 1fr);
}

.bundle-v6__media-pane {
    min-width: 0;
    display: grid;
    gap: 8px;
    padding: 0;
}

.bundle-v6__media-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bundle-v6__media-title {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #4f647a;
}

.bundle-v6__media-pane--real {
    order: 1;
}

.bundle-v6__carousel .carousel-item {
    border-radius: 12px;
    overflow: hidden;
    background: #f4f7fb;
}

.bundle-v6__carousel.is-single .carousel-control-prev,
.bundle-v6__carousel.is-single .carousel-control-next {
    display: none;
}

.bundle-v6__gallery-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
}

.bundle-v6__gallery-frame--real {
    border: 1px solid #d9e2ee;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6fd 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.bundle-v6__gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bundle-v6__gallery-frame [data-gallery-image="1"] {
    position: relative;
    z-index: 1;
}

.bundle-v6__carousel .carousel-control-prev,
.bundle-v6__carousel .carousel-control-next {
    width: 38px;
    height: 38px;
    top: calc(50% - 19px);
    background: rgba(15, 23, 42, 0.46);
    border-radius: 999px;
    opacity: .9;
}

.bundle-v6__carousel .carousel-control-prev {
    left: 10px;
}

.bundle-v6__carousel .carousel-control-next {
    right: 10px;
}

.bundle-v6__carousel .carousel-control-prev-icon,
.bundle-v6__carousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}

.bundle-v6__gallery-thumbs {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
}

.bundle-v6__thumb {
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    border: 1px solid #cfdbeb;
    border-radius: 12px;
    background: #fff;
    padding: 3px;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.07);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
    scroll-snap-align: start;
}

.bundle-v6__thumb:hover {
    border-color: #9ab0c9;
    transform: translateY(-1px);
}

.bundle-v6__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

.bundle-v6__thumb:focus-visible {
    outline: none;
    border-color: #2b6599;
    box-shadow: 0 0 0 2px rgba(43, 101, 153, 0.2);
}

.bundle-v6__thumb.is-active {
    border-color: #2b6599;
    box-shadow:
        0 0 0 2px rgba(43, 101, 153, 0.16),
        0 6px 14px rgba(15, 23, 42, 0.1);
}

.bundle-v6__buybox {
    display: grid;
    gap: 14px;
}

.bundle-v6__form {
    display: grid;
    gap: 8px;
}

.bundle-v6__price-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.bundle-v6__price-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.bundle-v6__share-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: #0b2f6a;
    font-size: 0.85rem;
    font-weight: 600;
}

.bundle-v6__price-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #d6deed;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.bundle-v6__price-chip i {
    font-size: 12px;
    color: #64748b;
}

.bundle-v6__price-main {
    min-width: 0;
    flex: 1 1 auto;
}

.bundle-v6__price {
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.02;
    white-space: nowrap;
}

.bundle-v6__vat {
    white-space: nowrap;
    flex: 0 0 auto;
}

.bundle-v6__variants {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.bundle-v6__variants-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.bundle-v6__variants-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f2338;
}

.bundle-v6__variants-title {
    letter-spacing: -.01em;
}

.bundle-v6__variants-actions {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bundle-v6__sort-btn,
.bundle-v6__compare-btn {
    border-radius: 999px;
    border: 1px solid #9eb3c9;
    background: #fff;
    color: #2f445b;
    width: 28px;
    height: 28px;
    min-width: 28px;
    padding: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bundle-v6__sort-btn i,
.bundle-v6__compare-btn i {
    font-size: 13px;
    line-height: 1;
}

.bundle-v6__sort-btn:hover,
.bundle-v6__sort-btn:focus-visible,
.bundle-v6__compare-btn:hover,
.bundle-v6__compare-btn:focus-visible {
    border-color: #6389b0;
    color: #1f3750;
    background: #f8fbff;
}

.bundle-v6__sort-btn:focus-visible,
.bundle-v6__compare-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(38, 104, 175, .18);
}

.bundle-v6__variant-search {
    margin-bottom: 8px;
}

.bundle-v6__variant-search-wrap {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.bundle-v6__variant-search-wrap .form-control {
    min-height: 34px;
    max-width: none;
    border: 1px solid #c3d4e7;
    border-radius: 8px;
    color: #0f172a;
    box-shadow: none;
    padding-inline: 10px;
    font-size: 13px;
}

.bundle-v6__variant-search-wrap .form-control:focus {
    border-color: #2f79cc;
    box-shadow: 0 0 0 3px rgba(47, 121, 204, .16);
}

.bundle-v6__variant-counter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #d1deec;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    color: #5a6d83;
    white-space: nowrap;
}

.bundle-v6__variant-counter strong {
    color: #1a3553;
    font-size: 12px;
    font-weight: 800;
}

.bundle-v6__variant-groups-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.bundle-v6__variant-group-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #c9d8ea;
    border-radius: 999px;
    background: #fff;
    color: #234060;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 10px;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.bundle-v6__variant-group-filter span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid #d5e2f0;
    background: #f4f8fd;
    color: #355c87;
    font-size: 10px;
    font-weight: 800;
    padding: 0 4px;
}

.bundle-v6__variant-group-filter:hover {
    border-color: #8fb4d8;
    background: #f8fbff;
}

.bundle-v6__variant-group-filter.is-active {
    border-color: #2d75c1;
    background: #edf5ff;
    color: #0f2b46;
    box-shadow: 0 0 0 1px rgba(45, 117, 193, .14);
}

.bundle-v6__variant-group-filter.is-active span {
    border-color: #8eb6df;
    background: #dbeafe;
    color: #1f4f8d;
}

.bundle-v6__variant-grid {
    max-height: 272px;
    overflow: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-right: 2px;
}

.bundle-shell .bundle-v6__variant-grid {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.bundle-v6__variant-group {
    border: 1px solid #cfdeee;
    border-radius: 12px;
    background: linear-gradient(180deg, #f9fbff 0%, #f3f8fd 100%);
    padding: 7px;
}

.bundle-shell .bundle-v6__variant-group {
    border: 0;
    background: transparent;
    padding: 0;
}

.bundle-v6__variant-group-title {
    display: inline-flex;
    align-items: center;
    margin: 0 0 6px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #cddced;
    background: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #1d3f62;
}

.bundle-shell .bundle-v6__variant-group-title {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: .02em;
}

.bundle-v6__variant-group-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.bundle-v6__variant-pill {
    min-width: 0;
    width: 100%;
    border-radius: 10px !important;
    border-color: #c1d4e8;
    background: #fff;
    color: #0f172a;
    display: grid;
    gap: 5px;
    text-align: left;
    padding: 8px 9px !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

.bundle-v6__variant-pill--best {
    border-color: #aec9e6;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.bundle-v6__variant-pill:hover {
    border-color: #85acd6;
    background: #f9fcff;
}

.bundle-v6__variant-pill.active,
.bundle-v6__variant-pill[aria-pressed="true"] {
    border-radius: 10px !important;
    border-color: #2d75c1;
    background: #edf5ff;
    color: #0f2338;
    box-shadow: 0 0 0 1px rgba(45, 117, 193, .18);
}

.bundle-v6__variant-pill:focus-visible {
    outline: none;
    border-color: #2d75c1;
    box-shadow: 0 0 0 3px rgba(45, 117, 193, .2);
}

.bundle-v6__variant-pill-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
}

.bundle-v6__variant-pill-icons {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.bundle-v6__variant-name {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.15;
}

.bundle-v6__variant-price {
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.01em;
    color: #1f4f8d;
}

.bundle-v6__variant-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.bundle-v6__variant-check {
    font-size: 12px;
    line-height: 1;
    color: #2f79cc;
    opacity: 0;
    transform: translateY(-1px);
    transition: opacity .16s ease, transform .16s ease;
}

.bundle-v6__variant-delta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 16px;
    padding: 2px 5px;
    border-radius: 999px;
    border: 1px solid #d0e0f1;
    background: #f4f9ff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    color: #3a628e;
}

.bundle-v6__variant-delta--best {
    border-color: #bfd6f1;
    color: #2b6cb5;
    background: #edf5ff;
}

.bundle-v6__variant-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #9db7d8;
    background: #eaf3ff;
    color: #1d4f90;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    padding: 3px 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: 0;
    transform: translateY(-2px);
    transition: opacity .16s ease, transform .16s ease;
    pointer-events: none;
}

.bundle-v6__variant-pill.active .bundle-v6__variant-badge,
.bundle-v6__variant-pill[aria-pressed="true"] .bundle-v6__variant-badge {
    opacity: 1;
    transform: translateY(0);
}

.bundle-v6__variant-pill.active .bundle-v6__variant-check,
.bundle-v6__variant-pill[aria-pressed="true"] .bundle-v6__variant-check {
    opacity: 1;
    transform: translateY(0);
}

.bundle-v6__variant-meta-grid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.bundle-v6__variant-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border-radius: 999px;
    border: 1px solid #dee8f4;
    background: #f8fbff;
}

.bundle-v6__variant-meta-chip i {
    font-size: 10px;
    color: #647b98;
}

.bundle-v6__variant-meta-chip strong {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    color: #223a56;
}

.bundle-v6__variant-empty {
    margin-top: 6px;
    border: 1px dashed #b8cde4;
    border-radius: 10px;
    background: #fff;
    color: #5e7390;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 10px;
}

.bundle-v6__qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bundle-v6__subtotal {
    margin-top: -6px !important;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.bundle-v6__selection-rule {
    margin-top: 6px;
    margin-bottom: 8px;
    display: grid;
    gap: 4px;
}

.bundle-v6__selection-status {
    font-size: 12px;
    font-weight: 700;
    color: #1e3a8a;
}

.bundle-v6__selection-warning {
    font-size: 12px;
    font-weight: 600;
    color: #b42318;
}

.bundle-v6__actions .btn {
    min-height: 44px;
}

.bundle-v6__add-message {
    margin-top: 6px;
}

.bundle-v6__trust {
    border: 1px solid #dbe7f5;
    border-radius: 14px;
}

.bundle-v6__trust--inline {
    border: 0;
    border-top: 1px dashed #dbe7f5;
    border-radius: 0;
    margin-top: 6px;
    padding-top: 10px;
}

.bundle-v6__trust-list {
    display: grid;
    gap: 6px;
}

.bundle-v6__trust-item {
    display: flex;
    align-items: center;
    color: #24364d;
    font-size: 14px;
    font-weight: 600;
}

.bundle-v6__items-card {
    margin-top: 2px !important;
}

.bundle-shell .bundle-v6__items-card {
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-xs);
    padding: 14px !important;
}

.bundle-shell .bundle-v6__items-list {
    gap: 0;
}

.bundle-shell .bundle-v6__item-row {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 12px 0;
}

.bundle-shell .bundle-v6__item-row:hover {
    border-color: transparent;
    box-shadow: none;
}

.bundle-shell .bundle-v6__item-row+.bundle-v6__item-row {
    border-top: 1px solid #e2e8f0;
}

.bundle-shell .bundle-v6__item-col--qty {
    border-left: 0;
    padding-left: 0;
}

.bundle-v6__items-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

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

.bundle-v6__share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid #c6d4e6;
    background: #fff;
    color: #1f3b5b;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    transition: border-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.bundle-v6__share-btn:hover,
.bundle-v6__share-btn:focus-visible {
    border-color: #8fb4d8;
    color: #0f2b46;
    box-shadow: 0 0 0 2px rgba(45, 117, 193, .12);
    outline: none;
}

.bundle-v6__share-list {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px dashed #d5e3f4;
    border-radius: 12px;
    background: #f8fbff;
}

.bundle-v6__share-list-head {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #35506b;
    margin-bottom: 8px;
}

.bundle-v6__share-list-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bundle-v6__share-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e3edf9;
}

.bundle-v6__share-item-main {
    flex: 1;
    min-width: 0;
}

.bundle-v6__share-item-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f2b46;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bundle-v6__share-item-note {
    font-weight: 500;
    color: #5b6b7a;
}

.bundle-v6__share-item-meta {
    font-size: 0.8rem;
    color: #6b7b8d;
    margin-top: 2px;
}

.bundle-v6__share-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bundle-v6__share-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid #c6d4e6;
    background: #fff;
    color: #2f4b68;
}

.bundle-v6__share-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid #c6d4e6;
    background: #fff;
    color: #2f4b68;
    text-decoration: none;
}

.bundle-v6__share-copy:hover,
.bundle-v6__share-copy:focus-visible {
    border-color: #8fb4d8;
    color: #0f2b46;
    box-shadow: 0 0 0 2px rgba(45, 117, 193, .12);
    outline: none;
}

.bundle-v6__share-open:hover,
.bundle-v6__share-open:focus-visible {
    border-color: #8fb4d8;
    color: #0f2b46;
    box-shadow: 0 0 0 2px rgba(45, 117, 193, .12);
    outline: none;
}

.bundle-v6__share-empty {
    font-size: 0.85rem;
    color: #7f8a98;
}

.bundle-v6__share-more {
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: #2f5ea1;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
}

.bundle-v6__share-copied {
    display: none;
    font-size: 0.75rem;
    color: #1f6f4a;
    font-weight: 600;
}

.bundle-v6__share-item.is-copied .bundle-v6__share-copied {
    display: inline-flex;
}

.bundle-v6__items-head-main {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.bundle-v6__items-sub {
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
}

.bundle-v6__items-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bundle-v6__items-summary-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #d6deed;
    background: #f8fbff;
    color: #1e293b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.bundle-v6__items-summary-badge.is-valid {
    border-color: #bde5d2;
    background: #f1fdf6;
    color: #166534;
}

.bundle-v6__items-summary-badge.is-invalid {
    border-color: #f8d2d2;
    background: #fff5f5;
    color: #b42318;
}

.bundle-v6__items-summary-text {
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.bundle-v6__items-summary-warning {
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}

.bundle-v6__items-toggle {
    border: 1px solid #d7e1ee;
    border-radius: 999px;
    min-height: 32px;
    padding: 0 12px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.bundle-v6__items-grid-head {
    position: sticky;
    top: 76px;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 182px;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 6px 10px;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.bundle-v6__items-grid-head span:last-child {
    text-align: center;
}

.bundle-v6__items-grid-head--single {
    grid-template-columns: 1fr;
}

.bundle-v6__items-grid-head--single span:last-child {
    text-align: left;
}

.bundle-v6__items-progress {
    display: grid;
    gap: 5px;
    max-width: 420px;
}

.bundle-v6__items-progress-track {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: #e7edf7;
    overflow: hidden;
}

.bundle-v6__items-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #4f8fd0 0%, #2f6fab 100%);
    transition: width .2s ease;
}

.bundle-v6__items-progress-text {
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.bundle-v6__items-list {
    gap: 12px;
}

.bundle-v6__item-row {
    grid-template-columns: 92px minmax(0, 1fr) 196px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #d5e2f1;
    background: #fff;
    align-items: center;
    gap: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bundle-v6__item-row:hover {
    border-color: #b8cfe8;
    box-shadow: 0 6px 14px rgba(30, 64, 120, .08);
}

.bundle-v6__item-col {
    min-width: 0;
}

.bundle-v6__item-col--product {
    display: contents;
}

.bundle-v6__item-col--qty {
    display: grid;
    justify-items: start;
    align-content: center;
    gap: 6px;
    padding: 0 0 0 10px;
    border-left: 1px dashed #bfd3ea;
}

.bundle-v6__item-thumb {
    width: 92px;
    height: 92px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    overflow: hidden;
    display: block;
}

.bundle-v6__item-thumb img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}

.bundle-v6__item-row:hover .bundle-v6__item-thumb img {
    transform: scale(1.02);
}

.bundle-v6__item-body {
    gap: 6px;
    justify-content: center;
}

.bundle-v6__item-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.bundle-v6__item-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bundle-v6__item-meta-line--single {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 1px;
}

.bundle-shell .bundle-v6__item-meta-line--single {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
}

.bundle-v6__item-meta-line--single::-webkit-scrollbar {
    height: 4px;
}

.bundle-v6__item-meta-line--single::-webkit-scrollbar-thumb {
    background: #cfdced;
    border-radius: 999px;
}

.bundle-v6__item-qty-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #cfe0f3;
    background: #eff6ff;
    color: #1f3f61;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    flex: 0 0 auto;
}

.bundle-v6__item-qty-pill i {
    font-size: 11px;
}

.bundle-v6__item-meta-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.bundle-v6__item-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #d8e2ee;
    background: #f8fafc;
    color: #334155;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .01em;
    white-space: nowrap;
    flex: 0 0 auto;
}

.bundle-v6__item-status.is-ok {
    border-color: #bde5d2;
    background: #f1fdf6;
    color: #166534;
}

.bundle-v6__item-status.is-low {
    border-color: #f8d2d2;
    background: #fff5f5;
    color: #b42318;
}

.bundle-v6__item-status.is-over {
    border-color: #f4d5a2;
    background: #fff8eb;
    color: #a15c07;
}

.bundle-v6__item-panel-title,
.bundle-v6__item-price-title {
    font-size: 11px;
    color: #5f7087;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.bundle-v6__item-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d6e0ec;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.bundle-v6__item-qty-stepper button {
    width: 26px;
    height: 26px;
    border: 0;
    background: #f8fbff;
    color: #1e293b;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bundle-v6__item-qty-stepper input {
    width: 54px;
    border: 0;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    padding: 0;
    height: 26px;
}

.bundle-v6__item-line-price {
    color: #1d4d8b;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.bundle-v6__item-metric-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #d8e5f3;
    background: #f8fbff;
    color: #385472;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex: 0 0 auto;
}

.bundle-v6__item-metric-chip i {
    font-size: 11px;
}

.bundle-v6__item-metric-chip.is-price {
    border-color: #c7daf2;
    background: #eef5ff;
    color: #1f3f61;
}

.bundle-v6__item-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bundle-v6__item-formula {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

.bundle-v6__item-unit-price {
    font-size: 11px;
    color: #1e3a8a;
    font-weight: 600;
}

.bundle-v6__items-card:not(.is-items-details-expanded) .bundle-v6__item-extra {
    display: none;
}

.bundle-v6__mobile-cta {
    border-radius: 16px;
}

.bd-v5-mobile-cta__variant {
    font-size: 11px;
    font-weight: 700;
    color: #1e3a5f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bd-v5-compare-table {
    font-size: 14px;
}

.bd-v5-compare-table tbody tr {
    cursor: pointer;
}

.bd-v5-compare-table tbody tr .btn {
    position: relative;
    z-index: 1;
}

.bd-v5-compare-table tr.is-selected {
    background: #eef6ff;
}

.bd-v5-compare-head {
    padding: 12px 14px;
    border-bottom: 1px solid var(--c-line);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.bd-v6-compare-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.bd-v6-compare-kpi {
    border: 1px solid #d8e3f0;
    border-radius: 12px;
    background: #fff;
    padding: 8px 10px;
    display: grid;
    gap: 3px;
}

.bd-v6-compare-kpi span {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-weight: 700;
}

.bd-v6-compare-kpi strong {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 800;
}

.bd-v6-compare-kpi small {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.bd-v6-compare-kpi--accent {
    border-color: #bde5d2;
    background: #f1fdf6;
}

.bd-v6-compare-kpi--accent strong {
    color: #166534;
}

.bd-v6-compare-kpi .btn {
    margin-top: 2px;
    justify-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.bd-v5-compare-head__line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.bd-v5-compare-head__label {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}

.bd-v5-compare-head__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bd-v5-compare-head__filters {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 8px;
}

.bd-v5-compare-chip {
    border: 1px solid #d8e3f0;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    color: #334155;
    background: #fff;
    font-weight: 600;
}

.bd-v5-compare-chip strong {
    color: #0f172a;
}

.bd-v5-compare-chip.is-best {
    border-color: #bde5d2;
    background: #f1fdf6;
    color: #166534;
}

.bd-v5-compare-badge {
    border: 1px solid #dbe6f4;
    color: #274c77;
    background: #f8fbff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
}

.bd-v5-compare-badge--best {
    border-color: #bde5d2;
    color: #166534;
    background: #f1fdf6;
}

.bd-v5-compare-empty {
    border-top: 1px solid var(--c-line);
    text-align: center;
    color: #64748b;
    font-size: 13px;
    padding: 16px;
}

.bundle-shell [data-bundle-gallery="1"],
.bundle-shell [data-bundle-items-grid="1"] {
    position: relative;
}

.bundle-shell [data-bundle-gallery="1"] .carousel-item {
    overflow: hidden;
    border-radius: 14px;
    background: #f8fafc;
}

.bundle-shell .bundle-v6__gallery-frame--real {
    position: relative;
}

@media (hover: hover) and (pointer: fine) {

    .bundle-shell [data-bundle-gallery="1"] .bd-v2__gallery-img,
    .bundle-shell [data-bundle-gallery="1"] .bundle-v6__gallery-img {
        transition: transform .22s ease;
        transform-origin: center center;
        cursor: zoom-in;
    }

    .bundle-shell [data-bundle-gallery="1"] .carousel-item:hover .bd-v2__gallery-img,
    .bundle-shell [data-bundle-gallery="1"] .carousel-item:hover .bundle-v6__gallery-img {
        transform: scale(1.08);
    }
}

.bundle-shell.is-variant-loading .bundle-v6__gallery-img,
.bundle-shell.is-variant-loading [data-bundle-items-grid="1"],
.bundle-shell.is-variant-loading .bundle-v6__variant-grid,
.bundle-shell.is-variant-loading .bundle-v6__price-wrap {
    opacity: .55;
    filter: saturate(.88);
}

.bundle-shell.is-variant-loading [data-bundle-gallery="1"]::after,
.bundle-shell.is-variant-loading [data-bundle-items-grid="1"]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 100%);
    animation: bdV5Shimmer 1.1s linear infinite;
}

.bundle-shell.is-media-loading .bundle-v6__gallery-img {
    opacity: .42;
    filter: saturate(.85);
}

.bundle-shell.is-media-loading .bundle-v6__gallery-frame--real::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .46) 50%, rgba(255, 255, 255, 0) 100%);
    animation: bdV5Shimmer .95s linear infinite;
    z-index: 10;
}

@keyframes bdV5Shimmer {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

/* ---------- Bundles v3 ---------- */
.bundles-v3__hero {
    border: 1px solid var(--c-line);
    background: linear-gradient(135deg, #ffffff, #f7fbff);
    border-radius: var(--radius-lg);
    padding: 18px;
    margin-bottom: 16px;
}

.bundles-v3__eyebrow {
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 11px;
    font-weight: 700;
    color: #537ba6;
}

.bundles-v3__hero h1 {
    margin: 0;
    font-size: clamp(28px, 3.5vw, 40px);
}

.bundles-v3__sub {
    margin: 6px 0 0;
    color: var(--c-muted);
    font-size: 14px;
}

.bundles-v3__meta {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 12px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    padding: 5px 10px;
}

.bundles-v3__meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #94a3b8;
}

.bundles-v3__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.bundles-v3__card {
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
}

.bundles-v3__media {
    position: relative;
    display: block;
    background: #f8fafc;
    border-bottom: 1px solid var(--c-line);
}

.bundles-v3__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.bundles-v3__count {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, 0.82);
    font-size: 11px;
    font-weight: 700;
}

.bundles-v3__body {
    display: grid;
    gap: 6px;
    height: 100%;
}

.bundles-v3__title {
    font-size: 18px;
    line-height: 1.28;
    min-height: 46px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bundles-v3__meta-line {
    color: #64748b;
}

.bundles-v3__price-wrap {
    margin-top: auto;
}

.bundles-v3__price {
    font-size: 34px;
    line-height: 1.03;
}

.bundles-v3__actions {
    margin-top: 8px;
}

.bundles-v3__actions form {
    margin: 0;
    width: 100%;
}

@media (max-width: 991.98px) {
    .bundles-v3__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .bundles-v3__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Product list v4 ---------- */
.shop-v4 {
    --shop-v4-paper: #fff;
    --shop-v4-card: #ffffff;
    --shop-v4-line: #e5e7eb;
    --shop-v4-ink: #0f172a;
    --shop-v4-muted: #64748b;
    --shop-v4-primary: #1d4ed8;
    --shop-v4-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.shop-v4-hero {
    padding: 20px 0 14px;
}

.shop-v4-hero__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
}

.shop-v4-title {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0;
    line-height: 1.08;
}

.shop-v4-muted {
    color: var(--shop-v4-muted);
    font-size: 14px;
}

.shop-v4-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-v4-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #dbe3f3;
    background: #fff;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.shop-v4-toolbar {
    position: sticky;
    top: 84px;
    z-index: 20;
    margin-bottom: 18px;
    border: 1px solid var(--shop-v4-line);
    border-radius: 16px;
    background: var(--shop-v4-paper);
    padding: 10px;
    box-shadow: var(--shop-v4-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.shop-v4-toolbar__sort {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-v4-sort-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border: 1px solid #d5dfef;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    padding: 0 12px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all .18s ease;
}

.shop-v4-sort-chip:hover,
.shop-v4-sort-chip.is-active {
    border-color: var(--shop-v4-primary);
    color: var(--shop-v4-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .08);
}

.shop-v4-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-v4-mobile-btn {
    border-radius: 999px;
    border: 1px solid #d4dded;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    font-size: 13px;
}

.shop-v4-clear-btn {
    border-radius: 999px;
    border: 1px solid #d4dded;
    background: #fff;
    color: #475569;
    text-decoration: none;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 13px;
}

.shop-v4-panel {
    border: 1px solid var(--shop-v4-line);
    border-radius: 18px;
    background: var(--shop-v4-card);
    box-shadow: var(--shop-v4-shadow);
}

.shop-v4-panel-title {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 800;
}

.shop-v4-filter-form {
    gap: 12px;
}

.shop-v4-filter-section {
    gap: 7px;
}

.shop-v4-filter-control {
    border-radius: 999px;
    border-color: #d4dded;
    min-height: 40px;
    box-shadow: none;
}

.shop-v4-filter-control:focus {
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
    border-color: #8fb0ef;
}

.shop-v4-filter-price-range {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}

.shop-v4-filter-separator {
    color: #94a3b8;
    font-size: 12px;
}

.shop-v4-filter-quick {
    gap: 6px;
}

.shop-v4-filter-chip {
    border-radius: 999px;
    border: 1px solid #d4dded;
    background: #fff;
    color: #334155;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.shop-v4-pill-group .product-filter-pill span {
    background: #fff;
    border-color: #d4dded;
}

.shop-v4-filter-actions {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.shop-v4-btn {
    border-radius: 999px;
    min-height: 40px;
    font-size: 14px;
    font-weight: 700;
}

.shop-v4-btn--primary {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.shop-v4-btn--primary:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.shop-v4-filter-clear {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
}

.shop-v4-active {
    margin-bottom: 16px;
    border: 1px dashed #d6dfef;
    border-radius: 14px;
    padding: 10px;
    background: #f8fbff;
}

.shop-v4-active__summary {
    font-size: 12px;
    color: #475569;
    margin-bottom: 8px;
    font-weight: 700;
}

.shop-v4-active__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.shop-v4-chip-link {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #d5dfef;
    color: #334155;
    background: #fff;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.shop-v4-grid {
    gap: 18px;
}

.shop-v4-card {
    border: 1px solid var(--shop-v4-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shop-v4-shadow);
}

.shop-v4-media {
    aspect-ratio: 4 / 3.3;
    background: #f8fafc;
}

.shop-v4-state {
    position: absolute;
    left: 10px;
    bottom: 10px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #0f172a;
}

.shop-v4-state.in_stock {
    background: #166534;
}

.shop-v4-state.preorder {
    background: #1d4ed8;
}

.shop-v4-state.out_of_stock {
    background: #9f1239;
}

.shop-v4-body {
    gap: 8px;
    padding: 12px;
}

.shop-v4-product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.shop-v4-price-wrap {
    display: grid;
    gap: 4px;
}

.shop-v4-preorder-hint {
    font-size: 12px;
    color: #1d4ed8;
    font-weight: 700;
}

.shop-v4-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.shop-v4-card-actions .btn {
    min-height: 38px;
    font-size: 13px;
    font-weight: 700;
}

.shop-v4-empty {
    grid-column: 1 / -1;
    border: 1px solid var(--shop-v4-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shop-v4-shadow);
    padding: 34px 20px;
}

/* ---------- Product detail v4 ---------- */
.pd-v4 {
    --pd-v4-line: #e5e7eb;
    --pd-v4-shadow: 0 12px 34px rgba(15, 23, 42, 0.09);
}

.pd-v4-hero {
    margin-bottom: 12px;
}

.pd-v4-hero__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pd-v4-title {
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.05;
}

.pd-v4-state {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: #0f172a;
}

.pd-v4-state.in_stock {
    background: #166534;
}

.pd-v4-state.preorder {
    background: #1d4ed8;
}

.pd-v4-state.out_of_stock {
    background: #9f1239;
}

.pd-v4-gallery-card,
.pd-v4-content-card,
.pd-v4-buybox,
.pd-v4-related {
    border: 1px solid var(--pd-v4-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--pd-v4-shadow);
}

.pd-v4-gallery-card {
    overflow: hidden;
}

.pd-v4-buybox {
    position: sticky;
    top: 88px;
}

.pd-v4-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.pd-v4-price-compare {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

.pd-v4-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 14px;
}

.pd-v4-select {
    border-radius: 12px;
    border-color: #d4dded;
    min-height: 44px;
}

.pd-v4-section-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.pd-v4-related {
    padding: 16px;
}

.pd-v4-mobile-cta {
    display: none;
}

.pd-v4 .pd-cta {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0;
}

@media (max-width: 991.98px) {
    .shop-v4-toolbar {
        top: 70px;
    }

    .pd-v4-buybox {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .shop-v4-toolbar {
        border-radius: 12px;
        padding: 8px;
        flex-direction: column;
        align-items: stretch;
    }

    .shop-v4-toolbar__actions {
        width: 100%;
        justify-content: space-between;
    }

    .shop-v4-card-actions {
        grid-template-columns: 1fr;
    }

    .pd-v4 .pd-cta {
        display: none;
    }

    .pd-v4-mobile-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 1040;
        border: 1px solid var(--pd-v4-line);
        border-radius: 12px;
        background: #fff;
        padding: 8px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    }

    .pd-v4-mobile-cta .btn {
        min-height: 38px;
        font-size: 14px;
        font-weight: 700;
    }

    .pd-v4 {
        padding-bottom: 96px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .shop-v4-card,
    .shop-v4-sort-chip,
    .pd-related-card,
    .product-tile {
        transition: none !important;
    }
}

/* ---------- Product list/detail v5 ---------- */
.shop-v5 {
    --shop-v5-paper: #fff;
    --shop-v5-card: #fff;
    --shop-v5-line: #e3e8f2;
    --shop-v5-ink: #0f172a;
    --shop-v5-muted: #64748b;
    --shop-v5-primary: #1d4ed8;
    --shop-v5-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.shop-v5-hero {
    padding: 18px 0 10px;
}

.shop-v5-hero__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.shop-v5-title {
    margin: 0;
    line-height: 1.08;
    font-size: clamp(30px, 4vw, 42px);
}

.shop-v5-muted {
    color: var(--shop-v5-muted);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-v5-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-v5-chip {
    border: 1px solid #dce5f5;
    border-radius: 999px;
    background: #fff;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.shop-v5-toolbar {
    position: static;
    top: auto;
    z-index: 24;
    margin-bottom: 16px;
    border: 1px solid var(--shop-v5-line);
    border-radius: 16px;
    background: var(--shop-v5-paper);
    box-shadow: var(--shop-v5-shadow);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.shop-v5-toolbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-v5-toolbar__row--filters {
    border-top: 1px dashed #d6deed;
    padding-top: 6px;
    justify-content: flex-start;
}

.shop-v5-filter-cluster {
    width: 100%;
    border: 1px solid #e2e8f5;
    border-radius: 16px;
    background: #fff;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-v5-filter-cluster__head {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #64748b;
}

.shop-v5-filter-cluster__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 12px;
    align-items: start;
}

.shop-v5-filter-cluster__chips {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.shop-v5-filter-chip-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.shop-v5-filter-chip-label {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f2f5fb;
    color: #5b6f92;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex: 0 0 auto;
}

.shop-v5-filter-cluster .shop-v5-toolbar__chips {
    gap: 6px;
    flex-wrap: wrap;
}

.shop-v5-filter-cluster__form {
    min-width: 0;
}

.shop-v5-filter-cluster .product-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(200px, 260px) auto;
    gap: 8px;
    align-items: end;
    margin: 0;
}

.shop-v5-filter-cluster .product-filter-section {
    margin: 0;
}

.shop-v5-filter-cluster .product-filter-label {
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #7a89a8;
}

.shop-v5-filter-cluster .product-filter-label i {
    font-size: 12px;
    color: #94a3b8;
    margin-right: 6px;
}

.shop-v5-filter-input {
    position: relative;
}

.shop-v5-filter-input i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 12px;
    pointer-events: none;
}

.shop-v5-filter-input .shop-v5-filter-control {
    padding-left: 32px;
}

.shop-v5-filter-cluster .shop-v5-filter-actions {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-v5-filter-cluster .shop-v5-filter-actions .btn {
    min-height: 36px;
    padding: 6px 14px;
}

.shop-v5-filter-cluster .shop-v5-filter-control {
    min-height: 36px;
}

.shop-v5-filter-cluster .shop-v5-filter-price-range {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px;
    border-radius: 10px;
}

.shop-v5-filter-cluster .shop-v5-filter-chip {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
}

.shop-v5-toolbar__row--advanced {
    border-top: 1px dashed #d6deed;
    padding-top: 10px;
    margin-top: 10px;
    justify-content: flex-start;
}

.shop-v5-toolbar__row--advanced .product-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 320px) auto;
    gap: 12px;
    align-items: end;
}

.shop-v5-toolbar__row--advanced .product-filter-section {
    margin: 0;
}

.shop-v5-toolbar__row--advanced .product-filter-label {
    font-size: 11px;
    letter-spacing: .04em;
}

.shop-v5-toolbar__row--advanced .shop-v5-filter-actions {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-v5-toolbar__row--advanced .shop-v5-filter-actions .btn {
    min-height: 36px;
    padding: 6px 14px;
}

.shop-v5-toolbar__sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.shop-v5-toolbar__label {
    font-size: 12px;
    color: #475569;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-v5-toolbar__label i {
    font-size: 12px;
    color: #64748b;
}

.shop-v5-sort-chip {
    text-decoration: none;
    border: 1px solid #d6deed;
    border-radius: 999px;
    min-height: 32px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    background: #fff;
    transition: all .17s ease;
}

.shop-v5-sort-chip:hover,
.shop-v5-sort-chip.is-active {
    color: var(--shop-v5-primary);
    border-color: var(--shop-v5-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
}

.shop-v5-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-v5-toolbar__filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.shop-v5-toolbar__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.shop-v5-mobile-btn {
    border-radius: 999px;
    border: 1px solid #d6deed;
    background: #fff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
}

.shop-v5-mobile-btn.is-active {
    border-color: var(--shop-v5-primary);
    color: var(--shop-v5-primary);
}

.shop-v5-clear-btn {
    text-decoration: none;
    border: 1px solid #d6deed;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-v5-panel {
    border: 1px solid var(--shop-v5-line);
    border-radius: 18px;
    background: var(--shop-v5-card);
    box-shadow: var(--shop-v5-shadow);
}

.shop-v5-panel-title {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 800;
}

.shop-v5-filter-form {
    gap: 12px;
}

.shop-v5-filter-section {
    gap: 7px;
}

.shop-v5-filter-control {
    border-radius: 999px;
    border-color: #d6deed;
    min-height: 40px;
    box-shadow: none;
}

.shop-v5-filter-control:focus {
    border-color: #95b4ef;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
}

.shop-v5-filter-price-range {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
}

.shop-v5-filter-separator {
    color: #94a3b8;
    font-size: 12px;
}

.shop-v5-filter-quick {
    gap: 6px;
}

.shop-v5-filter-chip {
    text-decoration: none;
    border: 1px solid #d6deed;
    border-radius: 999px;
    color: #334155;
    background: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
}

.shop-v5-filter-chip.is-active {
    border-color: var(--shop-v5-primary);
    color: var(--shop-v5-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
}

.shop-v5-pill-group .product-filter-pill span {
    border-color: #d6deed;
    background: #fff;
}

.shop-v5-filter-actions {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.shop-v5-btn {
    border-radius: 999px;
    min-height: 40px;
    font-size: 14px;
    font-weight: 700;
}

.shop-v5-btn--primary {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

.shop-v5-btn--primary:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.shop-v5-filter-clear {
    text-decoration: none;
    text-align: center;
    color: #64748b;
    font-size: 12px;
}

.shop-v5-active {
    margin-bottom: 14px;
    border: 1px dashed #d8e2f2;
    border-radius: 14px;
    padding: 10px;
    background: #f8fbff;
}

.shop-v5-active__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.shop-v5-active__summary {
    font-size: 12px;
    color: #475569;
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.shop-v5-active__summary i {
    font-size: 12px;
    color: #64748b;
}

.shop-v5-active__head .shop-v5-active__summary {
    margin-bottom: 0;
}

.shop-v5-active__clear {
    font-size: 12px;
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.shop-v5-active__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.shop-v5-chip-link {
    border: 1px solid #d6deed;
    border-radius: 999px;
    color: #334155;
    background: #fff;
    text-decoration: none;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
}

.shop-v5-grid {
    gap: 18px;
}

.shop-v5-card {
    border: 1px solid var(--shop-v5-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shop-v5-shadow);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.shop-v5-media {
    aspect-ratio: 4 / 3.3;
    background: #f8fafc;
}

.shop-v5-media picture,
.shop-v5-media img {
    width: 100%;
    height: 100%;
    display: block;
}

.shop-v5-media img {
    object-fit: cover;
}

.shop-shell[data-page="products-list"] .shop-v5-media {
    display: grid;
    place-items: center;
    background: #f8fafc;
    aspect-ratio: 4 / 3.3;
}

.shop-shell[data-page="products-list"] .shop-v5-media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.shop-shell[data-page="products-list"] .shop-v5-media img {
    object-fit: contain !important;
    object-position: center;
    padding: 0;
    background: transparent;
    height: 100% !important;
    width: 100% !important;
    transform: none !important;
}

.shop-shell[data-page="products-list"] .product-tile:hover .shop-v5-media img {
    transform: none;
}

.shop-shell[data-page="products-list"] .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    align-content: start;
}

.shop-shell[data-page="products-list"] .shop-v5-card,
.shop-shell[data-page="products-list"] .shop-v5-body,
.shop-shell[data-page="products-list"] .shop-v5-card-actions,
.shop-shell[data-page="products-list"] .shop-v5-btn--variant,
.shop-shell[data-page="products-list"] .shop-v5-variant-toggle,
.shop-shell[data-page="products-list"] .shop-v5-btn-variant__labels {
    min-width: 0;
}

.shop-shell[data-page="products-list"] .shop-v5-variant-toggle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-shell[data-page="products-list"] .shop-v5-btn-variant__label,
.shop-shell[data-page="products-list"] .shop-v5-btn-variant__meta {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-shell[data-page="products-list"] .home-fade {
    animation: none;
    opacity: 1;
    transform: none;
}

.shop-shell[data-page="products-list"] .shop-v5-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.shop-shell[data-page="products-list"] #product-grid > article,
.shop-shell[data-page="products-list"] #product-grid > .product-tile {
    display: flex !important;
}

.shop-v5-state {
    position: absolute;
    left: 10px;
    top: 10px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #0f172a;
}

.shop-v5-state.in_stock {
    background: #166534;
}

.shop-v5-state.preorder {
    background: #1d4ed8;
}

.shop-v5-state.out_of_stock {
    background: #9f1239;
}

.shop-v5-body {
    padding: 12px;
    gap: 6px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-v5-product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.shop-v5-price-wrap {
    display: grid;
    gap: 4px;
}

.shop-v5-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.shop-v5-price-wrap .product-price {
    font-size: 20px;
}

.shop-v5-original-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 700;
}

.shop-v5-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.shop-v5-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #d6deed;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 11px;
    color: #475569;
    background: #fff;
    font-weight: 700;
}

.shop-v5-meta-chip i {
    font-size: 11px;
    color: #64748b;
}

.shop-v5-preorder-hint {
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
}

.shop-v5-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: auto;
}

.shop-v5-card-actions form {
    margin: 0;
    width: 100%;
}

.shop-v5-card-actions .btn {
    min-height: 38px;
    font-size: 13px;
    font-weight: 700;
}

.shop-v5-btn--variant {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
}

.shop-v5-btn-variant__text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.shop-v5-btn-variant__labels {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.shop-v5-btn-variant__label {
    font-size: 13px;
    font-weight: 700;
}

.shop-v5-btn-variant__meta {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-v5-btn-variant__chev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1d4ed8;
    font-size: 12px;
}

.shop-v5-btn--variant:hover .shop-v5-btn-variant__chev {
    background: #dbe8ff;
}

.shop-v5-variant-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    align-self: stretch;
}

.shop-v5-variant-actions.is-open .shop-v5-variant-toggle {
    border-style: solid;
    background: #e6f0ff;
}

.shop-v5-variant-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px dashed #c9d7f2;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    background: #f6f9ff;
    color: #1d4ed8;
    transition: all .2s ease;
    width: 100%;
}

.shop-v5-variant-toggle:hover {
    background: #e9f1ff;
    border-color: #9fb8f5;
}

.shop-v5-variant-toggle:focus-visible {
    outline: 2px solid var(--shop-v5-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.18);
}

.shop-v5-variant-panel {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.shop-v5-variant-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.shop-v5-variant-panel__title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.shop-v5-variant-panel__close {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.shop-v5-variant-panel__close:hover {
    background: #f1f5f9;
    color: #1f2937;
}

.shop-v5-variant-panel__search {
    position: relative;
}

.shop-v5-variant-panel__search i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 12px;
}

.shop-v5-variant-panel__search input {
    padding-left: 30px;
    font-size: 12px;
    height: 32px;
}
}

.shop-v5-variant-panel__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-v5-variant-chip {
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid #d7e3f7;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #1f3b68;
    background: #f8fbff;
    text-decoration: none;
    width: 100%;
}

.shop-v5-variant-chip__title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1 1 100%;
}

.shop-v5-variant-chip__title span {
    white-space: normal;
    line-height: 1.3;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
}

.shop-v5-variant-chip__title i {
    font-size: 8px;
    color: #1d4ed8;
}

.shop-v5-variant-chip__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    flex: 0 0 auto;
}

.shop-v5-variant-chip__meta i {
    margin-right: 4px;
    color: #94a3b8;
}

.shop-v5-variant-chip:hover {
    border-color: #9fb8f5;
    background: #edf4ff;
}

.shop-v5-variant-panel__more {
    font-size: 12px;
    font-weight: 700;
    color: #1d4ed8;
    text-decoration: none;
}

.shop-v5-variant-panel__more:hover {
    text-decoration: underline;
}

.shop-v5-variant-panel__empty {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
}

.shop-v5-variant-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 1025;
}

body.variant-sheet-open .shop-v5-variant-backdrop {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 991.98px) {
    .shop-v5-variant-panel.is-mobile-sheet {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-height: 70vh;
        overflow: auto;
        border-radius: 16px;
        z-index: 1030;
    }

    body.variant-sheet-open {
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    .shop-v5-variant-panel__list {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .shop-v5-variant-chip {
        width: 100%;
    }
}

.shop-v5-empty {
    grid-column: 1 / -1;
    border: 1px solid var(--shop-v5-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shop-v5-shadow);
    padding: 34px 20px;
}

.shop-v5-empty__title {
    font-weight: 700;
    color: #1f2937;
}

.shop-v5-empty__hint {
    margin-top: 6px;
    font-size: 12px;
    color: #64748b;
}

.shop-shell.is-list-loading #product-grid {
    opacity: .68;
    filter: saturate(.9);
    transition: opacity .16s ease;
}

.shop-shell.is-list-loading .shop-v5-toolbar a,
.shop-shell.is-list-loading .shop-v5-toolbar button,
.shop-shell.is-list-loading .js-product-filter-form button,
.shop-shell.is-list-loading .pagination a {
    pointer-events: none;
}

.shop-v5-sort-chip:focus-visible,
.shop-v5-mobile-btn:focus-visible,
.shop-v5-clear-btn:focus-visible,
.shop-v5-chip-link:focus-visible,
.shop-v5-filter-chip:focus-visible,
.shop-v5-filter-clear:focus-visible,
.shop-v5-btn:focus-visible,
.shop-v5-card-actions .btn:focus-visible {
    outline: 2px solid var(--shop-v5-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.18);
}

.shop-shell[data-page="products-list"] #product-grid,
.shop-shell[data-page="products-list"] [data-shop-v5-active="1"] {
    scroll-margin-top: 130px;
}

.shop-shell[data-page="products-list"] .is-focus-target {
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
    border-radius: 14px;
}

.pd-v5 {
    --pd-v5-line: #e4e9f2;
    --pd-v5-shadow: 0 12px 34px rgba(15, 23, 42, 0.09);
}

.pd-v5-hero {
    margin-bottom: 12px;
}

.pd-v5-hero__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pd-v5-hero .breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pd-v5-hero .breadcrumb i {
    font-size: 12px;
    color: #64748b;
}

.pd-v5-title {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
}

.pd-v5-state {
    border-radius: 999px;
    padding: 6px 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: #0f172a;
}

.pd-v5-state.in_stock {
    background: #166534;
}

.pd-v5-state.preorder {
    background: #1d4ed8;
}

.pd-v5-state.out_of_stock {
    background: #9f1239;
}

.pd-v5-gallery-card,
.pd-v5-content-card,
.pd-v5-buybox,
.pd-v5-related {
    border: 1px solid var(--pd-v5-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--pd-v5-shadow);
}

.pd-v5-gallery-card {
    padding: 12px;
}

.pd-v5-gallery-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pd-v5-gallery-tab {
    border: 1px solid #c9d8ea;
    border-radius: 999px;
    background: #fff;
    color: #1f3f61;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 12px;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pd-v5-gallery-tab i {
    font-size: 12px;
    color: #64748b;
}

.pd-v5-gallery-tab:hover {
    border-color: #8fb4d8;
    background: #f7fbff;
}

.pd-v5-gallery-tab.is-active {
    border-color: #2d75c1;
    background: #edf5ff;
    color: #0f2b46;
    box-shadow: 0 0 0 1px rgba(45, 117, 193, .12);
}

.pd-v5-gallery-pane {
    min-width: 0;
}

.pd-v5-gallery-thumbs {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.pd-v5-gallery-thumb {
    flex: 0 0 68px;
    border: 1px solid #d3dfed;
    border-radius: 10px;
    background: #fff;
    padding: 0;
    overflow: hidden;
    scroll-snap-align: start;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pd-v5-gallery-thumb:hover {
    border-color: #8fb4d8;
    transform: translateY(-1px);
}

.pd-v5-gallery-thumb.is-active {
    border-color: #2d75c1;
    box-shadow: 0 0 0 1px rgba(45, 117, 193, .14);
}

.pd-v5-gallery-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.pd-v5-media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    gap: 12px;
    align-items: start;
}

.pd-v5-media-grid.is-single-media {
    grid-template-columns: minmax(0, 1fr);
}

.pd-v5-media-pane {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.pd-v5-media-pane--real {
    order: 1;
}

.pd-v5-buybox {
    position: sticky;
    top: 88px;
}

.pd-v5-buybox-legend {
    margin-bottom: 8px;
    padding: 7px 9px;
    border: 1px solid #dbe5f1;
    border-radius: 10px;
    background: #f8fbff;
    color: #475569;
    font-size: 11px;
    line-height: 1.35;
}

.pd-v5-gallery-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: auto;
}

.pd-v5-real-frame {
    border: 1px solid var(--pd-v5-line);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6fd 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.pd-v5-real-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    padding: 0;
}

.pd-v5-gallery-frame--video {
    aspect-ratio: auto;
    min-height: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-v5-gallery-frame--video.pd-v5-real-frame {
    background: #000;
    box-shadow: none;
}

.pd-v5-real-video {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: 86vh;
    object-fit: contain;
    margin: 0 auto;
    background: #000;
    border-radius: var(--radius-sm);
}

.pd-v5-carousel .carousel-item[data-gallery-video-item="1"] {
    background: #000;
}

.pd-v5-carousel .carousel-item[data-gallery-video-item="1"] .pd-v5-gallery-frame {
    aspect-ratio: auto !important;
    min-height: 0 !important;
}

.pd-v5-carousel .carousel-item[data-gallery-video-item="1"] [data-gallery-video="1"] {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: 86vh !important;
    object-fit: contain !important;
    margin: 0 auto;
    background: #000;
}

.pd-v5-gallery-frame--video.is-video-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(15, 23, 42, .16) 0%, rgba(15, 23, 42, .34) 100%);
}

.pd-v5-gallery-frame--video.is-video-loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-left: -17px;
    margin-top: -17px;
    z-index: 3;
    pointer-events: none;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    animation: pd-v5-video-spin .8s linear infinite;
}

.pd-v5-gallery-frame--video.is-video-loading [data-gallery-video="1"] {
    opacity: .38;
}

.pd-v5-video-fallback {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 14px;
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    background: rgba(15, 23, 42, .78);
}

.pd-v5-video-fallback__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.pd-v5-video-fallback__actions .btn {
    min-width: 120px;
}

@keyframes pd-v5-video-spin {
    to {
        transform: rotate(360deg);
    }
}

.pd-v5-gallery-stage {
    position: relative;
}

.pd-v5-gallery-stage .carousel-inner {
    border-radius: 14px;
    overflow: hidden;
    background: #f4f7fb;
}

.pd-v5-gallery-stage .carousel-item {
    border-radius: 12px;
    overflow: hidden;
    background: #f4f7fb;
}

.pd-v5-carousel .carousel-control-prev,
.pd-v5-carousel .carousel-control-next {
    width: 38px;
    height: 38px;
    top: calc(50% - 19px);
    background: rgba(15, 23, 42, 0.46);
    border-radius: 999px;
    opacity: .9;
}

.pd-v5-carousel .carousel-control-prev {
    left: 10px;
}

.pd-v5-carousel .carousel-control-next {
    right: 10px;
}

.pd-v5-carousel .carousel-control-prev-icon,
.pd-v5-carousel .carousel-control-next-icon {
    width: 16px;
    height: 16px;
}


.pd-v5-gallery-frame [data-gallery-image="1"] {
    position: relative;
    z-index: 1;
}

.pd-v5-gallery-frame--video [data-gallery-video="1"] {
    position: relative;
    z-index: 1;
}

.pd-v5-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.pd-v5-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.pd-v5-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.pd-v5-meta-chip i {
    font-size: 12px;
    color: #64748b;
}

.pd-v5-meta-label {
    color: #64748b;
    font-weight: 600;
}

.pd-v5-meta-chip--vat {
    background: #f8fafc;
}

.pd-v5-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.pd-v5-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.pd-v5-info-chip i {
    font-size: 12px;
    color: #64748b;
}

.pd-v5-info-label {
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 10px;
}

.pd-v5-info-chip--vat {
    background: #f8fbff;
    border-color: #d7e6f7;
    color: #2f679f;
}

.pd-v5-price-block {
    margin: 6px 0 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.pd-v5-price-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.pd-v5-price-label i {
    font-size: 14px;
    color: #64748b;
}

.pd-v5-price-value {
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 900;
    color: #0b63d4;
    line-height: 1.05;
    margin-top: 2px;
}

.pd-v5-price-compare {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

.pd-v5-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 14px;
}

.pd-v5-trust {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--pd-v5-line);
    display: grid;
    gap: 8px;
}

.pd-v5-trust-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.pd-v5-variant-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.pd-v5-variant-selected {
    font-size: 12px;
    color: #475569;
    font-weight: 700;
}

.pd-v5-variant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.pd-v5-variant-pill {
    border: 1px solid #d6deed;
    border-radius: 12px;
    background: #fff;
    padding: 8px 10px;
    display: grid;
    justify-items: start;
    gap: 2px;
    text-align: left;
    color: #1e293b;
    transition: all .16s ease;
}

.pd-v5-variant-pill:hover,
.pd-v5-variant-pill.is-active {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .09);
}

.pd-v5-variant-dimension {
    font-size: 13px;
    font-weight: 700;
}

.pd-v5-variant-state {
    font-size: 11px;
    color: #64748b;
}

.pd-v5-variant-price {
    font-size: 12px;
    color: #1d4ed8;
    font-weight: 700;
}

.pd-v5-buybox .bundle-v6__variant-grid {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.pd-v5-buybox .bundle-v6__variant-group {
    border: 0;
    background: transparent;
    padding: 0;
}

.pd-v5-buybox .bundle-v6__variant-group-title {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
    letter-spacing: .02em;
    color: #64748b;
}

.pd-v5-section-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pd-v5-section-title i {
    font-size: 18px;
    color: var(--c-primary);
}

.pd-v5-related {
    padding: 16px;
}

.pd-v5-mobile-cta {
    display: none;
}

.pd-v5 .pd-cta {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0;
}

@media (max-width: 991.98px) {
    .pd-v5-buybox {
        position: static;
    }

    .pd-v5-media-grid {
        grid-template-columns: 1fr;
    }

    .pd-v5-gallery-frame--video {
        min-height: 0;
    }

    .pd-v5-real-video {
        max-height: 70vh;
    }

    .pd-v5-carousel .carousel-item[data-gallery-video-item="1"] [data-gallery-video="1"] {
        max-height: 70vh !important;
    }
}

@media (max-width: 767.98px) {
    .shop-v5-toolbar {
        border-radius: 12px;
        padding: 8px;
        flex-direction: column;
        align-items: stretch;
    }

    .shop-v5-toolbar__row {
        width: 100%;
    }

    .shop-v5-toolbar__actions {
        width: 100%;
        justify-content: space-between;
    }

    .shop-v5-toolbar__label {
        display: none;
    }

    .shop-v5-toolbar__filter-group {
        width: 100%;
    }

    .shop-v5-filter-cluster {
        padding: 8px;
    }

    .shop-v5-filter-cluster__body {
        grid-template-columns: 1fr;
    }

    .shop-v5-filter-cluster__chips,
    .shop-v5-filter-cluster__form {
        min-width: 0;
        width: 100%;
    }

    .shop-v5-filter-cluster .product-filter-form {
        grid-template-columns: 1fr;
    }

    .shop-v5-card {
        border-radius: 16px;
    }

    .shop-v5-body {
        padding: 10px;
        gap: 6px;
    }

    .shop-v5-product-title {
        font-size: 14px;
    }

    .shop-v5-price-wrap .product-price {
        font-size: 18px;
    }

    .shop-v5-meta {
        gap: 4px;
    }

    .shop-v5-meta-chip {
        font-size: 11px;
        padding: 3px 7px;
    }

    .shop-v5-card-actions .btn {
        min-height: 34px;
        font-size: 13px;
    }

    .projects-v2__tags {
        gap: 6px;
    }

    .projects-v2__tag {
        font-size: 12px;
        padding: 5px 10px;
    }

    .projects-v2__body {
        padding: 12px;
        gap: 8px;
    }

    .projects-v2__title {
        font-size: 14px;
        min-height: auto;
    }

    .pd-v5-variant-grid {
        grid-template-columns: 1fr;
    }

    .pd-v5-gallery-tabs {
        width: 100%;
    }

    .pd-v5-gallery-tab {
        flex: 1 1 0;
        justify-content: center;
        padding: 7px 10px;
    }

    .pd-v5-info-row {
        gap: 6px;
    }

    .pd-v5-info-chip {
        padding: 4px 8px;
        font-size: 11px;
    }

    .pd-v5-info-label {
        font-size: 9px;
    }

    .pd-v5-gallery-card,
    .pd-v5-content-card,
    .pd-v5-buybox,
    .pd-v5-related {
        padding: 14px !important;
    }

    .pd-v5 .pd-cta {
        display: none;
    }

    .pd-v5-mobile-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 1040;
        border: 1px solid var(--pd-v5-line);
        border-radius: 12px;
        background: #fff;
        padding: 8px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .16);
    }

    .pd-v5-mobile-cta .btn {
        min-height: 38px;
        font-size: 14px;
        font-weight: 700;
    }

    .pd-v5 {
        padding-bottom: 96px;
    }

    .pd-v5-gallery-frame--video {
        min-height: 0;
    }

    .pd-v5-real-video {
        max-height: 64vh;
    }

    .pd-v5-carousel .carousel-item[data-gallery-video-item="1"] [data-gallery-video="1"] {
        max-height: 64vh !important;
    }

}

@media (prefers-reduced-motion: reduce) {

    .shop-v5-sort-chip,
    .shop-v5-card,
    .pd-v5-variant-pill,
    .pd-related-card {
        transition: none !important;
    }

    .pd-v5-gallery-frame--video.is-video-loading::after {
        animation: none !important;
    }
}

/* ---------- Mini cart ---------- */
.mini-cart-drawer {
    width: min(430px, 94vw) !important;
}

.mini-cart-drawer .offcanvas-header {
    padding: 14px 16px;
}

.mini-cart-drawer .offcanvas-body {
    padding: 12px;
}

.mini-cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.mini-cart__summary,
.mini-cart-item,
.mini-cart__empty {
    border: 1px solid #e7edf5;
    border-radius: 16px;
    background: #fff;
}

.mini-cart__summary {
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.mini-cart__summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mini-cart__summary-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.mini-cart__label {
    font-size: 12px;
    color: #64748b;
}

.mini-cart__summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
}

.mini-cart__summary-value {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.mini-cart__summary-row--grand {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed #d9e2ef;
}

.mini-cart__total {
    font-size: 21px;
    font-weight: 900;
    line-height: 1.1;
    color: #0b63d4;
}

.mini-cart__summary-note {
    margin-top: 8px;
    font-size: 11px;
    color: #94a3b8;
}

.mini-cart__count {
    border-radius: 999px;
    border: 1px solid #dbe6f5;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    background: #f8fbff;
    color: #1e293b;
}

.mini-cart__discount {
    border: 1px dashed #f59e0b;
    background: #fffbeb;
    color: #b45309;
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 12px;
}

.mini-cart__items {
    display: grid;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 120px;
    max-height: none;
    overflow: auto;
    padding-right: 2px;
    transition: opacity .16s ease;
}

.mini-cart__items--busy {
    opacity: .72;
    pointer-events: none;
}

.mini-cart-skeleton {
    display: grid;
    gap: 8px;
}

.mini-cart-skeleton__item {
    height: 112px;
    border: 1px solid #e7edf5;
    border-radius: 16px;
    background: linear-gradient(110deg, #f1f5f9 10%, #e6edf6 26%, #f1f5f9 42%);
    background-size: 200% 100%;
    animation: miniCartSkeletonPulse 1.1s ease-in-out infinite;
}

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

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

@media (prefers-reduced-motion: reduce) {
    .mini-cart-skeleton__item {
        animation: none;
    }
}

.mini-cart-item {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    gap: 10px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    transition: opacity .18s ease;
}

.mini-cart-item--loading {
    opacity: 0.6;
    pointer-events: none;
}

.mini-cart-item--warning {
    border-color: rgba(220, 38, 38, 0.32);
}

.mini-cart-item__thumb {
    width: 74px;
    height: 74px;
    border-radius: 10px;
    object-fit: cover;
    background: #f1f5f9;
}

.mini-cart-item__title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-cart-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}

.mini-cart-item__meta-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #dbe6f5;
    background: #f8fbff;
    color: #345071;
    font-size: 11px;
    line-height: 1.1;
    padding: 3px 8px;
}

.mini-cart-item__dim-warning {
    margin-top: 5px;
    border: 1px solid rgba(220, 38, 38, 0.32);
    background: #fff1f2;
    color: #b91c1c;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    padding: 5px 8px;
}

.mini-cart-item__variant-link {
    display: inline-flex;
    margin-top: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #0b63d4;
    text-decoration: none;
}

.mini-cart-item__variant-link:hover {
    text-decoration: underline;
}

.mini-cart-item__variant-picker {
    margin-top: 6px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    align-items: center;
}

.mini-cart-item__variant-select {
    min-height: 30px;
    border: 1px solid #d7e3f1;
    border-radius: 9px;
    background: #fff;
    color: #0f172a;
    font-size: 12px;
    padding: 4px 8px;
}

.mini-cart-item__variant-select:focus {
    border-color: #9ebfe7;
    outline: none;
    box-shadow: 0 0 0 2px rgba(11, 99, 212, 0.15);
}

.mini-cart-item__variant-apply {
    min-height: 30px;
    border: 1px solid #0b63d4;
    border-radius: 9px;
    background: #fff;
    color: #0b63d4;
    font-size: 12px;
    font-weight: 700;
    padding: 0 10px;
    white-space: nowrap;
}

.mini-cart-item__variant-apply:hover {
    background: #eef5ff;
}

.mini-cart-item__group-note {
    margin-top: 4px;
    font-size: 11px;
    color: #64748b;
}

.mini-cart-item__price-old {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 11px;
    margin-right: 5px;
}

.mini-cart-item__price-label {
    margin-top: 4px;
    font-size: 11px;
    color: #64748b;
}

.mini-cart-item__snapshot-items {
    margin-top: 2px;
}

.mini-cart-item__price {
    margin-top: 1px;
}

.mini-cart-item__price-main {
    color: #0b63d4;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.1;
}

.mini-cart-item__actions {
    display: flex;
    align-content: start;
    justify-content: flex-end;
    align-items: flex-start;
}

.mini-cart-item__remove {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid #dbe4f0;
    background: #fff;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.mini-cart-item__remove:hover {
    border-color: #f1c9c9;
    background: #fff3f3;
    color: #b42323;
}

.mini-cart__footer {
    margin-top: auto;
    display: grid;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #e7edf5;
}

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

.mini-cart__cta {
    min-height: 42px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}

.mini-cart__recommend {
    border: 1px dashed #d9e5f3;
    border-radius: 14px;
    background: #f8fbff;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.mini-cart__recommend-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.mini-cart__recommend-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.mini-cart__recommend-sub {
    font-size: 11px;
    color: #64748b;
}

.mini-cart__recommend-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mini-cart__recommend-list:empty {
    display: none;
}

.mini-cart__recommend-empty {
    border: 1px dashed #d7e3f1;
    border-radius: 10px;
    background: #fff;
    color: #64748b;
    font-size: 12px;
    text-align: center;
    padding: 10px;
    margin: 0;
}

.mini-cart__recommend-skeleton {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mini-cart__recommend-skeleton-item {
    height: 132px;
    border-radius: 12px;
    border: 1px solid #e3ebf7;
    background: linear-gradient(110deg, #eef3fa 10%, #e2eaf6 26%, #eef3fa 42%);
    background-size: 200% 100%;
    animation: miniCartSkeletonPulse 1.1s ease-in-out infinite;
}

.mini-cart-reco {
    border: 1px solid #dbe6f5;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.mini-cart-reco__media {
    display: block;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
}

.mini-cart-reco__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-cart-reco__body {
    padding: 8px;
    display: grid;
    gap: 5px;
}

.mini-cart-reco__title {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-cart-reco__meta {
    margin: 0;
    font-size: 11px;
    color: #64748b;
}

.mini-cart-reco__price {
    margin: 0;
    color: #0b63d4;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
}

.mini-cart-reco__action {
    min-height: 30px;
    border-radius: 9px;
    border: 1px solid #9bbce3;
    background: #fff;
    color: #0b63d4;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mini-cart-reco__action:hover {
    background: #eef5ff;
    color: #0b63d4;
}

@media (max-width: 575.98px) {
    .mini-cart__footer--dual {
        grid-template-columns: 1fr;
    }

    .mini-cart__recommend-list,
    .mini-cart__recommend-skeleton {
        grid-template-columns: 1fr;
    }
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 58px;
    border-top: 1px solid var(--c-line);
    background: #FFFFFF;
    padding: 44px 0 30px;
}

.foot-brand {
    color: var(--c-accent);
    font-size: 20px;
    font-weight: 700;
}

.foot-muted {
    color: var(--c-muted);
    font-size: 12px;
}

.foot-link {
    color: #334155;
}

.foot-link:hover {
    color: var(--c-primary);
}

.foot-card {
    border: 1px solid var(--c-line);
    border-radius: 14px;
    background: #fff;
}

.foot-social,
.foot-pill {
    border: 1px solid var(--c-line);
    background: #fff;
    color: #334155;
}

.foot-social:hover,
.foot-pill:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

/* ---------- Chat ---------- */
#ai-chat-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: var(--c-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
    z-index: 1080;
}

#ai-chatbox {
    position: fixed;
    right: 22px;
    bottom: 88px;
    width: min(420px, calc(100vw - 24px));
    max-height: 72vh;
    border-radius: 16px;
    border: 1px solid var(--c-line);
    background: #fff;
    box-shadow: var(--shadow-md);
    display: none;
    overflow: hidden;
    z-index: 1080;
}

#ai-chatbox.open {
    display: flex;
    flex-direction: column;
}

#ai-chatbox .chat-header {
    background: var(--c-accent);
    color: #fff;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#ai-chatbox .chat-header button {
    background: transparent;
    border: none;
    color: #fff;
}

#chat-messages {
    padding: 12px;
    max-height: 45vh;
    overflow: auto;
    background: #F8FAFC;
}

#ai-chatbox .chat-input {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid var(--c-line);
}

#ai-chatbox .chat-input input {
    flex: 1;
    border: 1px solid var(--c-line-strong);
    border-radius: 10px;
    padding: 8px 10px;
}

#ai-chatbox .chat-input button {
    border: none;
    border-radius: 10px;
    background: var(--c-primary);
    color: #fff;
    font-weight: 700;
    padding: 8px 12px;
}

/* ---------- Helpers ---------- */
.qty-stepper,
.bundle-v6__item-qty-stepper,
.mini-cart-item__qtybox {
    --qty-size: 36px;
    --qty-input-width: 52px;
    --qty-border-color: #d6e0ec;
    --qty-bg: #fff;
    --qty-btn-bg: #f8fbff;
    --qty-btn-color: #334155;
    --qty-input-color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--qty-border-color);
    border-radius: 999px;
    overflow: hidden;
    background: var(--qty-bg);
    min-height: var(--qty-size);
}

.qty-stepper {
    --qty-size: 38px;
    --qty-input-width: 52px;
}

.bundle-v6__item-qty-stepper {
    --qty-size: 32px;
    --qty-input-width: 56px;
}

.mini-cart-item__qtybox {
    --qty-size: 30px;
    --qty-input-width: 40px;
    margin-top: 6px;
    width: fit-content;
}

.qty-stepper .qty-minus,
.qty-stepper .qty-plus,
.bundle-v6__item-qty-stepper .qty-minus,
.bundle-v6__item-qty-stepper .qty-plus,
.mini-cart-item__qtybox .qty-minus,
.mini-cart-item__qtybox .qty-plus {
    width: var(--qty-size);
    height: var(--qty-size);
    border: 0;
    background: var(--qty-btn-bg);
    color: var(--qty-btn-color);
    font-weight: 700;
    line-height: 1;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color .16s ease, color .16s ease;
}

.qty-stepper .qty-minus:hover,
.qty-stepper .qty-plus:hover,
.bundle-v6__item-qty-stepper .qty-minus:hover,
.bundle-v6__item-qty-stepper .qty-plus:hover,
.mini-cart-item__qtybox .qty-minus:hover,
.mini-cart-item__qtybox .qty-plus:hover {
    background: #eef2f7;
    color: #1e293b;
}

.qty-stepper .qty-minus:disabled,
.qty-stepper .qty-plus:disabled,
.bundle-v6__item-qty-stepper .qty-minus:disabled,
.bundle-v6__item-qty-stepper .qty-plus:disabled,
.mini-cart-item__qtybox .qty-minus:disabled,
.mini-cart-item__qtybox .qty-plus:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.qty-stepper .qty-input,
.bundle-v6__item-qty-stepper .qty-input,
.mini-cart-item__qtybox .qty-input {
    width: var(--qty-input-width);
    height: var(--qty-size);
    border: 0;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    text-align: center;
    font-weight: 700;
    color: var(--qty-input-color);
    border-radius: 0;
    background: #fff;
    padding: 0 6px;
}

.qty-stepper .qty-input:focus,
.bundle-v6__item-qty-stepper .qty-input:focus,
.mini-cart-item__qtybox .qty-input:focus {
    outline: none;
    box-shadow: none;
}

/* ---------- Motion ---------- */
.home-fade {
    animation: feFade .6s ease both;
}

.home-fade.delay-1 {
    animation-delay: .08s;
}

.home-fade.delay-2 {
    animation-delay: .16s;
}

.home-fade.delay-3 {
    animation-delay: .24s;
}

@keyframes feFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {

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

    .cart-v2__grid {
        grid-template-columns: 1fr;
    }

    .cart-v2__summary .cart-v2__sticky {
        position: static;
    }

    .pd-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .nav-neo .container {
        min-height: 62px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .nav-brand img {
        height: 34px;
    }

    .nav-mobile-actions {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        width: min(70%, 340px);
        margin-left: auto;
    }

    .mobile-main-menu {
        --bs-offcanvas-width: 100vw;
    }

    .mobile-main-menu .offcanvas-body {
        padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-search-sheet {
        --bs-offcanvas-height: 100dvh;
    }

    .mobile-search-sheet .offcanvas-body {
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }

    .nav-utility__inner {
        justify-content: center;
    }

    .nav-utility__inner span:first-child {
        display: none;
    }

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

    .home-grid--timeline {
        grid-template-columns: 1fr;
    }

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

    .home-kpi {
        min-width: 0;
    }

    .home-section-head {
        align-items: flex-start;
    }

    .home-cta__actions {
        justify-content: flex-start;
    }

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

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

    .bd-v2__gallery-img {
        height: 360px;
    }

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

    .bundle-v6__hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .bundle-v6__hero-metrics {
        min-width: 0;
    }

    .bundle-v6__items-grid-head,
    .bundle-v6__item-row {
        grid-template-columns: 82px minmax(0, 1fr) 180px;
    }

    .bundle-v6__items-grid-head {
        top: 66px;
    }

    .bundle-v6__item-thumb {
        width: 82px;
        height: 82px;
    }
}

@media (max-width: 420px) {
    .pd-cta .btn {
        min-height: 36px;
        padding: 6px 8px;
        font-size: 13px;
    }

    .home-kpi-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .fe-shell {
        padding-top: 16px;
    }

    .home-hero,
    .shop-hero,
    .bundle-hero,
    .blog-hero,
    .projects-hero,
    .orders-v2__hero,
    .order-x__hero,
    .contact-hero,
    .intro-hero,
    .cart-v2__hero {
        padding: 16px;
    }

    .home-hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .home-chip-group {
        display: grid;
        justify-items: start;
    }

    .home-hero__surface {
        padding: 16px !important;
    }

    .home-mini-card {
        padding: 12px;
    }

    .home-enterprise {
        padding: 14px;
    }

    .home-enterprise__badge {
        margin-left: 8px;
    }

    .home-kpi-row {
        gap: 12px;
    }

    .home-kpi {
        font-size: 23px;
        padding: 10px 11px;
    }

    .home-kpi__icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .home-grid--4 {
        grid-template-columns: 1fr;
    }

    .home-grid--3 {
        grid-template-columns: 1fr;
    }

    .home-feature-card {
        padding: 12px;
    }

    .home-trust-card {
        padding: 14px;
    }

    .home-cta {
        padding: 18px 16px;
    }

    .home-cta__actions {
        width: 100%;
    }

    .home-cta__actions .home-btn {
        width: 100%;
    }

    .product-grid,
    .blog-grid,
    .projects-grid,
    .bundle-grid,
    .pd-related-grid {
        grid-template-columns: 1fr;
    }

    .bd-v2__gallery-img {
        height: 300px;
    }

    .bd-v2__items-grid {
        grid-template-columns: 1fr;
    }

    .product-actions--two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .bundle-shell .bd-v5-buybox {
        position: static;
    }

    .bundle-v6__hero {
        padding: 10px 12px;
        gap: 8px;
    }

    .bundle-v6__title {
        font-size: clamp(20px, 7.4vw, 28px);
    }

    .bundle-v6__hero-metrics {
        justify-content: flex-start;
    }

    .bundle-v6__gallery-card {
        padding: 8px;
        border-radius: 12px;
    }

    .bundle-v6__media-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bundle-v6__media-pane {
        padding: 0;
        gap: 6px;
    }

    .bundle-v6__gallery-frame {
        aspect-ratio: 4 / 3;
    }

    .bundle-v6__gallery-thumbs {
        margin-top: 8px;
        gap: 6px;
    }

    .bundle-v6__thumb {
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }

    .bundle-v6__price-wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .bundle-v6__price {
        font-size: clamp(30px, 10vw, 40px);
    }

    .bundle-v6__variants {
        padding: 0;
    }

    .bundle-v6__variants-head {
        align-items: center;
        gap: 6px;
        margin-bottom: 6px;
    }

    .bundle-v6__variants-title {
        font-size: 15px;
    }

    .bundle-v6__sort-btn,
    .bundle-v6__compare-btn {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .bundle-v6__sort-btn i,
    .bundle-v6__compare-btn i {
        font-size: 11px;
    }

    .bundle-v6__variant-search-wrap {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .bundle-v6__variant-groups-nav {
        gap: 5px;
        margin-bottom: 6px;
    }

    .bundle-v6__variant-group-filter {
        font-size: 10px;
        padding: 4px 8px;
    }

    .bundle-v6__variant-group-filter span {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
    }

    .bundle-v6__variant-counter {
        justify-content: space-between;
        font-size: 10px;
        padding: 5px 7px;
    }

    .bundle-v6__variant-grid {
        max-height: 206px;
        gap: 6px;
    }

    .bundle-shell .bundle-v6__variant-grid {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .bundle-v6__variant-group-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pd-v5-buybox .bundle-v6__variant-group-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bundle-v6__variant-pill {
        padding: 7px 8px !important;
    }

    .bundle-v6__variant-price {
        font-size: 14px;
    }

    .bundle-v6__variant-name {
        font-size: 10px;
    }

    .bundle-v6__variant-check {
        font-size: 11px;
    }

    .bundle-v6__variant-delta {
        min-height: 15px;
        padding: 2px 4px;
        font-size: 8px;
    }

    .bd-v5-mobile-cta__variant {
        font-size: 10px;
    }

    .bundle-v6__variant-meta-grid {
        gap: 4px;
    }

    .bundle-v6__variant-meta-chip {
        padding: 3px 5px;
    }

    .bundle-v6__variant-meta-chip strong {
        font-size: 10px;
    }

    .bundle-v6__items-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .bundle-v6__items-toggle {
        align-self: flex-start;
    }

    .bundle-v6__items-grid-head {
        display: none;
    }

    .bundle-v6__item-row {
        grid-template-columns: 58px minmax(0, 1fr) 128px;
        padding: 8px;
        gap: 8px;
    }

    .bundle-shell .bundle-v6__item-row {
        padding: 10px 0;
    }

    .bundle-v6__item-thumb {
        width: 58px;
        height: 58px;
    }

    .bundle-v6__item-title {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        white-space: normal;
    }

    .bundle-v6__item-meta-line {
        gap: 6px;
    }

    .bundle-v6__item-qty-pill {
        font-size: 11px;
        padding: 2px 8px;
    }

    .bundle-v6__item-status {
        min-height: 20px;
        padding: 1px 8px;
        font-size: 10px;
    }

    .bundle-v6__item-col--qty {
        grid-template-columns: 1fr;
        justify-items: start;
        align-content: center;
        gap: 4px;
        padding: 0 0 0 6px;
    }

    .bundle-shell .bundle-v6__item-col--qty {
        border-left: 0;
        padding-left: 0;
    }

    .bundle-v6__item-panel-title,
    .bundle-v6__item-price-title {
        grid-column: auto;
        font-size: 9px;
    }

    .bundle-v6__item-qty-stepper {
        grid-column: auto;
        justify-self: start;
    }

    .bundle-v6__item-line-price {
        grid-column: auto;
        justify-self: start;
        font-size: 16px;
    }

    .bundle-v6__item-qty-stepper input {
        width: 42px;
    }

    .bundle-v6__item-extra {
        margin-top: 0;
        gap: 4px;
    }

    .bundle-v6__item-metric-chip {
        font-size: 10px;
        min-height: 22px;
        padding: 2px 7px;
    }

    .bundle-v6__items-card:not(.is-items-details-expanded) .bundle-v6__item-extra {
        display: none;
    }

    .bundle-shell .bd-v5-variant-grid {
        max-height: 240px;
    }

    .bundle-shell .bd-v5-variant-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .bundle-shell .bd-v5-variant-search-wrap {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .bundle-shell .bd-v5-variant-search-wrap .form-control {
        max-width: none;
    }

    .bd-v5-compare-head__filters {
        grid-template-columns: 1fr;
    }

    .bd-v6-compare-kpis {
        grid-template-columns: 1fr;
    }

    .bundle-shell .product-actions--two {
        display: none;
    }

    .bundle-shell {
        padding-bottom: 138px;
    }

    .bd-v5-mobile-cta {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 1040;
        background: #fff;
        border: 1px solid var(--c-line);
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
        padding: 8px;
        display: grid;
        gap: 8px;
    }

    .bd-v5-mobile-cta__meta {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 8px;
    }

    .bd-v5-mobile-cta__block {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .bd-v5-mobile-cta__block--right {
        text-align: right;
    }

    .bd-v5-mobile-cta__label {
        font-size: 11px;
        color: #64748b;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .bd-v5-mobile-cta__price {
        font-size: 20px;
        line-height: 1.1;
        font-weight: 800;
        color: var(--c-primary);
    }

    .bd-v5-mobile-cta__subtotal {
        font-size: 16px;
        line-height: 1.15;
        font-weight: 800;
        color: #0f172a;
    }

    .bd-v5-mobile-cta__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .pd-cta {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        z-index: 1040;
        background: #ffffff;
        border: 1px solid var(--c-line);
        border-radius: 12px;
        padding: 6px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    }

    .pd-shell {
        padding-bottom: 96px;
    }

    .cart-v2__hero {
        display: grid;
        gap: 10px;
    }

    .cart-v2__item {
        grid-template-columns: 1fr;
    }

    .cart-v2__thumb img {
        width: 100%;
        height: 180px;
    }

    .orders-v2__filter {
        grid-template-columns: 1fr;
    }

    #ai-chat-button {
        right: 14px;
        bottom: 14px;
    }

    #ai-chatbox {
        right: 10px;
        bottom: 76px;
        width: calc(100vw - 20px);
    }

    body.page-bundle-detail #ai-chat-button {
        bottom: calc(142px + env(safe-area-inset-bottom, 0px));
    }

    body.page-bundle-detail #ai-chatbox {
        bottom: calc(204px + env(safe-area-inset-bottom, 0px));
    }

    body.mini-cart-open .pd-v5-mobile-cta,
    body.mini-cart-open .pd-v4-mobile-cta,
    body.mini-cart-open .pd-cta,
    body.mini-cart-open .bd-v5-mobile-cta {
        display: none !important;
    }

    body.page-bundle-detail.mini-cart-open #ai-chat-button,
    body.page-bundle-detail.mini-cart-open #ai-chatbox {
        display: none !important;
    }
}
