
    @font-face {
      font-family: 'Vazir';
      src: url('https://www.t1.followerp.ir/fonts/Vazir-Regular.woff2') format('woff2');
      font-weight: 400;
      font-style: normal;
    }
    @font-face {
      font-family: 'Vazir';
      src: url('https://www.t1.followerp.ir/fonts/Vazir-Medium.woff2') format('woff2');
      font-weight: 500;
      font-style: normal;
    }
    @font-face {
      font-family: 'Vazir';
      src: url('https://www.t1.followerp.ir/fonts/Vazir-Bold.woff2') format('woff2');
      font-weight: 700;
      font-style: normal;
    }
    @font-face {
      font-family: 'Vazir';
      src: url('https://www.t1.followerp.ir/fonts/Vazir-Black.woff2') format('woff2');
      font-weight: 900;
      font-style: normal;
    }

    :root {
      --bg-body: #f8fafc;
      --text-main: #0f172a;
      --text-muted: #64748b;
      --accent: #18181b;
      --accent-gold: #c5a880;
      --border-color: #e2e8f0;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 18px;
      --transition: all 0.25s ease;
    }

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

    html, body {
      /* clip (not hidden): hides sideways overflow without turning <body> into a scroll container,
         which would break position: sticky (e.g. the legal pages' table of contents). Old browsers keep hidden. */
      overflow-x: hidden;
      overflow-x: clip;
      max-width: 100%;
      box-sizing: border-box;
    }

    body {
      font-family: 'Vazir', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg-body);
      color: var(--text-main);
      direction: rtl;
      line-height: 1.7;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    button, input, select, textarea {
      font-family: 'Vazir', -apple-system, BlinkMacSystemFont, sans-serif !important;
    }

    button {
      cursor: pointer;
    }

    /* Universal Button Classes */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      font-family: 'Vazir', -apple-system, BlinkMacSystemFont, sans-serif !important;
      font-weight: 800;
      font-size: 0.85rem;
      line-height: 1.4;
      padding: 0.6rem 1.25rem;
      border-radius: var(--radius-sm);
      border: 1px solid transparent;
      text-decoration: none;
      cursor: pointer;
      transition: var(--transition);
      user-select: none;
      white-space: nowrap;
    }
    .btn:hover {
      transform: translateY(-1px);
    }
    .btn-primary {
      background: linear-gradient(135deg, #7c3aed, #4f46e5);
      color: #ffffff !important;
      box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
    }
    .btn-primary:hover {
      background: linear-gradient(135deg, #6d28d9, #4338ca);
      box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
    }
    .btn-secondary {
      background: #f1f5f9;
      color: #0f172a !important;
      border: 1px solid var(--border-color);
    }
    .btn-secondary:hover {
      background: #e2e8f0;
      border-color: #cbd5e1;
    }
    .btn-sm {
      padding: 0.4rem 0.85rem;
      font-size: 0.75rem;
      border-radius: 6px;
    }
    .btn-lg {
      padding: 0.85rem 1.75rem;
      font-size: 1rem;
      border-radius: var(--radius-md);
    }

    .vbtn-wrap { padding: 6px 0; }
    .vbtn {
      --vb-bg: #7c3aed; --vb-fg: #ffffff;
      position: relative; overflow: hidden; isolation: isolate;
      display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
      max-width: 100%; box-sizing: border-box; text-align: center;
      font-family: 'Vazir', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 800; line-height: 1.5;
      text-decoration: none; cursor: pointer; border: 2px solid transparent;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, background-position 0.4s ease, color 0.25s ease, border-color 0.25s ease, filter 0.25s ease;
    }
    .vbtn svg { width: 1.2em; height: 1.2em; flex-shrink: 0; transition: transform 0.25s ease; }
    .vbtn:hover svg.vbtn-icon-arrow { transform: translateX(-4px); }
    .vbtn:focus-visible { outline: 3px solid color-mix(in srgb, var(--vb-bg) 45%, transparent); outline-offset: 3px; }

    .vbtn--sm { min-height: 38px; padding: 5px 18px; font-size: 13px; }
    .vbtn--md { min-height: 46px; padding: 8px 28px; font-size: 14px; }
    .vbtn--lg { min-height: 56px; padding: 10px 38px; font-size: 16px; }
    .vbtn--sharp { border-radius: 6px; }
    .vbtn--rounded { border-radius: 14px; }
    .vbtn--pill { border-radius: 999px; }
    .vbtn--full { display: flex; width: 100%; }

    /* 1. solid */
    .vbtn--solid { background: var(--vb-bg); color: var(--vb-fg); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16); box-shadow: 0 8px 20px color-mix(in srgb, var(--vb-bg) 32%, transparent); }
    .vbtn--solid:hover { transform: translateY(-2px); filter: brightness(1.08); }

    /* 2. outline: fills with the main colour on hover */
    .vbtn--outline { background: transparent; border-color: var(--vb-bg); color: var(--vb-bg); }
    .vbtn--outline:hover { background: var(--vb-bg); color: var(--vb-fg); }

    /* 3. gradient: the gradient slides on hover */
    .vbtn--gradient {
      background: var(--vb-bg);
      background: linear-gradient(135deg, var(--vb-bg) 0%, var(--vb-bg2, color-mix(in srgb, var(--vb-bg) 58%, #000)) 100%);
      background-size: 170% 100%; background-position: 0% 0;
      color: var(--vb-fg); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    }
    .vbtn--gradient:hover { background-position: 100% 0; transform: translateY(-2px); }

    /* 4. soft: pale tint of the main colour */
    .vbtn--soft { background: #f1f5f9; background: color-mix(in srgb, var(--vb-bg) 13%, #fff); color: var(--vb-bg); }
    .vbtn--soft:hover { background: color-mix(in srgb, var(--vb-bg) 22%, #fff); transform: translateY(-1px); }

    /* 5. luxury: dark body, accent border and text; inverts on hover */
    .vbtn--luxury { background: var(--vb-bg); color: var(--vb-bg2, #c5a880); border-width: 1.5px; border-color: var(--vb-bg2, #c5a880); letter-spacing: 0.02em; }
    .vbtn--luxury:hover { background: var(--vb-bg2, #c5a880); color: var(--vb-bg); }

    /* 6. raised: hard bottom edge that presses down when clicked */
    .vbtn--raised { background: var(--vb-bg); color: var(--vb-fg); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35); box-shadow: 0 5px 0 color-mix(in srgb, var(--vb-bg) 62%, #000); }
    .vbtn--raised:hover { transform: translateY(-1px); filter: brightness(1.06); }
    .vbtn--raised:active { transform: translateY(4px); box-shadow: 0 1px 0 color-mix(in srgb, var(--vb-bg) 62%, #000); }

    /* 7. shine: a light sweep crosses the button on hover */
    .vbtn--shine { background: var(--vb-bg); color: var(--vb-fg); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18); }
    .vbtn--shine::before {
      content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%;
      background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg);
      transition: left 0.6s ease;
    }
    .vbtn--shine:hover { transform: translateY(-2px); }
    .vbtn--shine:hover::before { left: 120%; }

    /* 8. glass: for dark or photo backgrounds */
    .vbtn--glass { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.42); color: var(--vb-fg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
    .vbtn--glass:hover { background: rgba(255, 255, 255, 0.26); transform: translateY(-2px); }

    /* 9. ghost: text link with a growing underline */
    .vbtn--ghost { background: none; color: var(--vb-bg); padding-inline: 4px; border-radius: 0; overflow: visible; }
    .vbtn--ghost::after { content: ''; position: absolute; bottom: 4px; left: 4px; right: 4px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0.25); transform-origin: right center; opacity: 0.55; transition: transform 0.3s ease, opacity 0.3s ease; }
    .vbtn--ghost:hover::after { transform: scaleX(1); opacity: 1; }

    @media (prefers-reduced-motion: reduce) { .vbtn, .vbtn svg, .vbtn::before, .vbtn::after { transition: none; } }
    .builder-custom-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-family: 'Vazir', -apple-system, BlinkMacSystemFont, sans-serif !important;
      text-decoration: none;
      cursor: pointer;
      transition: var(--transition);
    }
    .builder-custom-button:hover {
      transform: translateY(-2px);
      filter: brightness(1.08);
      box-shadow: 0 8px 25px rgba(0,0,0,0.18) !important;
    }

    .page-container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 1.5rem;
      flex: 1;
    }

    /* Section Grid System */
    /* Page title for search engines and screen readers on pages whose design has no visible main heading */
    .vitrin-sr-only {
      position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
      overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
    }

    /* Per-device widget variants (see builderWidgetVariants): each copy only shows on its devices */
    .bw-var { display: none; }
    @media (min-width: 1025px) { .bw-var.bw-d { display: block; } }
    @media (min-width: 769px) and (max-width: 1024px) { .bw-var.bw-t { display: block; } }
    @media (max-width: 768px) { .bw-var.bw-m { display: block; } }
    body.preview-device-mode-tablet .bw-var, body.preview-device-mode-mobile .bw-var { display: none !important; }
    body.preview-device-mode-tablet .bw-var.bw-t, body.preview-device-mode-mobile .bw-var.bw-m { display: block !important; }

    /* A column count chosen for a device beats the automatic responsive fallbacks.
       Selectors are deliberately heavier than the fallback rules (incl. the live-preview ones). */
    .builder-widget-render.bw-var.bw-own-columns .vitrin-product-grid { grid-template-columns: repeat(var(--grid-cols, 3), minmax(0, 1fr)) !important; }
    /* Several product columns forced on a phone: tighter gaps and card padding leave room for the photo */
    @media (max-width: 768px) {
      .builder-widget-render.bw-var.bw-own-columns .vitrin-product-grid:not([style*="--grid-cols: 1;"]) { gap: 0.6rem !important; }
      .builder-widget-render.bw-var.bw-own-columns .vitrin-product-grid:not([style*="--grid-cols: 1;"]) .builder-prod-card { padding: 0.5rem !important; border-radius: 13px !important; }
    }
    body.preview-device-mode-mobile .builder-widget-render.bw-var.bw-own-columns .vitrin-product-grid:not([style*="--grid-cols: 1;"]) { gap: 0.6rem !important; }
    body.preview-device-mode-mobile .builder-widget-render.bw-var.bw-own-columns .vitrin-product-grid:not([style*="--grid-cols: 1;"]) .builder-prod-card { padding: 0.5rem !important; border-radius: 13px !important; }
    .builder-widget-render.bw-var.bw-own-columns .vitrin-banner-grid { grid-template-columns: repeat(var(--b-cols, 2), minmax(0, 1fr)) !important; }
    .builder-widget-render.bw-var.bw-own-columns .vitrin-guarantee-grid { grid-template-columns: repeat(var(--g-cols, 4), minmax(0, 1fr)) !important; }
    .builder-widget-render.bw-var.bw-own-columns .visual-categories-grid {
      display: grid !important;
      grid-template-columns: repeat(var(--vc-cols, 5), minmax(0, 1fr)) !important;
      overflow: visible !important;
    }
    .builder-widget-render.bw-var.bw-own-columns .visual-cat-card { min-width: 0 !important; margin: 0 !important; }
    .builder-widget-render.bw-var.bw-own-columns .prod-slider-card {
      flex: 0 0 calc((100% - (var(--card-cols, 4) - 1) * var(--slider-gap, 1.25rem)) / var(--card-cols, 4)) !important;
      min-width: 0 !important;
      max-width: none !important;
    }
    @media (max-width: 768px) {
      .builder-widget-render.bw-var.bw-own-columns .prod-slider-track { --slider-gap: 0.65rem; }
    }
    body.preview-device-mode-mobile .builder-widget-render.bw-var.bw-own-columns .prod-slider-track { --slider-gap: 0.65rem; }

    /* Columns may shrink below their content's intrinsic width; without this a horizontal scroller
       (product slider, rack) stretches its column wider than the page */
    .builder-col-render, .builder-widget-render { min-width: 0; }

    .builder-section-render {
      margin-bottom: 2rem;
      width: 100%;
      box-sizing: border-box;
    }

    .builder-cols-grid {
      display: grid;
      gap: 1.5rem;
      width: 100%;
    }

    @media (max-width: 768px) {
      .builder-cols-grid {
        grid-template-columns: 1fr !important;
      }
    }

    /* ==========================================================
       Smart Header & Announcement Bar Styles
       ========================================================== */
    /* The bar is a size container, so its layout follows its own width. That makes it adapt the same
       way on a real phone and inside the builder's narrow live-preview frame (where media queries don't fire). */
    .vitrin-announcement-bar {
      container: annbar / inline-size;
      background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
      color: #ffffff;
      font-size: 0.78rem;
      line-height: 1.75;
      position: relative;
      z-index: 95;
    }
    .announcement-inner {
      --ann-pad: clamp(0.75rem, 2.5cqi, 1.5rem);
      --ann-close: 34px;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      max-width: 1320px;
      margin: 0 auto;
      box-sizing: border-box;
      /* extra start padding mirrors the close button, keeping the message optically centred */
      padding: 0.4rem var(--ann-pad) 0.4rem calc(var(--ann-pad));
      padding-inline-start: calc(var(--ann-pad) + var(--ann-close) + 0.5rem);
    }
    .announcement-content {
      flex: 1;
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.15rem 0.65rem;
      text-align: center;
    }
    .announcement-text { text-wrap: balance; }
    .announcement-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      flex-shrink: 0;
      white-space: nowrap;
      background: #ef4444;
      color: #fff;
      font-size: 0.66rem;
      font-weight: 800;
      line-height: 1.6;
      padding: 2px 9px;
      border-radius: 999px;
      vertical-align: middle;
    }
    .announcement-link {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      white-space: nowrap;
      color: #fde047;
      font-weight: 800;
      text-decoration: none;
      transition: opacity 0.2s;
    }
    .announcement-link svg { transform: rotate(180deg); }
    .announcement-link:hover { opacity: 0.85; }
    .btn-close-announcement {
      flex: 0 0 var(--ann-close);
      width: var(--ann-close);
      height: var(--ann-close);
      display: grid;
      place-items: center;
      background: none;
      border: none;
      border-radius: 50%;
      color: #cbd5e1;
      cursor: pointer;
      padding: 0;
      transition: background 0.2s, color 0.2s;
    }
    .btn-close-announcement:hover,
    .btn-close-announcement:focus-visible { background: rgba(255, 255, 255, 0.14); color: #fff; outline: none; }

    /* Tablet and narrow laptop widths: slightly tighter, message may wrap to two balanced lines */
    @container annbar (max-width: 900px) {
      .announcement-inner { font-size: 0.74rem; }
      .announcement-content { gap: 0.1rem 0.5rem; }
    }
    /* Phones: badge, message and link flow as one paragraph (no stacked rows), close button stays in its own column */
    @container annbar (max-width: 640px) {
      .announcement-inner {
        align-items: flex-start;
        gap: 0.35rem;
        padding: 0.45rem 0.75rem;
        padding-inline-end: 0.35rem;
        font-size: 0.72rem;
        line-height: 1.85;
      }
      .announcement-content { display: block; text-align: start; }
      .announcement-text { text-wrap: pretty; }
      .announcement-badge { font-size: 0.62rem; padding: 1px 7px; margin-inline-end: 0.3rem; }
      .announcement-link { margin-inline-start: 0.3rem; }
      .btn-close-announcement { margin-top: -3px; }
    }
    /* Very small phones: the badge shrinks to its icon to save a line */
    @container annbar (max-width: 360px) {
      .announcement-badge { padding: 3px; }
      .announcement-badge-label { display: none; }
    }

    .vitrin-smart-header {
      background: rgba(255, 255, 255, 0.98);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 90;
      transition: all 0.25s ease;
    }
    .vitrin-smart-header.is-scrolled {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(14px);
      box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    }
    .header-inner-container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0.75rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }
    .header-brand-logo {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      flex-shrink: 0;
      user-select: none;
      transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    }
    .header-brand-logo:hover {
      opacity: 0.92;
      transform: translateY(-1px);
    }
    .brand-logo-media {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .brand-logo-img {
      max-height: 42px;
      max-width: 170px;
      width: auto;
      height: auto;
      object-fit: contain;
      display: block;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.04));
      transition: transform 0.2s ease;
    }
    .header-brand-logo:hover .brand-logo-img {
      transform: scale(1.02);
    }
    .brand-logo-icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      font-size: 1.15rem;
      letter-spacing: 0;
      flex-shrink: 0;
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
      overflow: hidden;
      transition: all 0.25s ease;
    }
    .header-brand-logo:hover .brand-logo-icon {
      box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
      transform: scale(1.03);
    }
    .brand-logo-text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: right;
      line-height: 1;
    }
    .brand-name-main {
      font-weight: 900;
      font-size: 1.05rem;
      color: #0f172a;
      display: block;
      line-height: 1.35;
      letter-spacing: -0.3px;
      transition: color 0.2s ease;
    }
    .brand-name-sub {
      font-size: 0.58rem;
      color: #64748b;
      letter-spacing: 1.2px;
      font-weight: 700;
      display: block;
      line-height: 1.2;
      margin-top: 2px;
      direction: ltr;
      text-align: right;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      text-transform: uppercase;
      unicode-bidi: isolate;
    }
    .header-desktop-nav {
      display: flex;
      align-items: center;
    }
    .nav-menu-list {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      list-style: none;
    }
    .nav-item-link {
      color: #334155;
      text-decoration: none;
      font-weight: 700;
      font-size: 0.85rem;
      padding: 0.4rem 0.35rem;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      white-space: nowrap;
      transition: all 0.2s ease;
      line-height: 1.4;
    }
    .nav-item-link:hover { color: #c5a880; }

    /* Luxury Flash Sale Nav Pill */
    .nav-highlight-red {
      color: #dc2626 !important;
      background: #fef2f2;
      border: 1px solid #fee2e2;
      padding: 0.32rem 0.75rem !important;
      border-radius: 999px;
      gap: 0.5rem !important;
      box-shadow: 0 1px 3px rgba(220, 38, 38, 0.06);
    }
    .nav-highlight-red:hover {
      color: #b91c1c !important;
      background: #fee2e2;
      border-color: #fca5a5;
      transform: translateY(-1px);
      box-shadow: 0 3px 10px rgba(220, 38, 38, 0.12);
    }
    .nav-highlight-red > span:first-child,
    .nav-sale-title {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      font-weight: 800;
      white-space: nowrap;
    }
    .nav-sale-icon {
      display: inline-block;
      line-height: 1;
      font-size: 0.95rem;
      animation: pulseLightning 2s infinite ease-in-out;
    }
    @keyframes pulseLightning {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.18); }
    }
    .nav-badge-hot {
      font-size: 0.65rem;
      font-weight: 900;
      line-height: 1;
      background: linear-gradient(135deg, #ef4444, #dc2626);
      color: #ffffff !important;
      padding: 3px 8px;
      border-radius: 999px;
      letter-spacing: 0.2px;
      box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      transition: transform 0.2s ease;
    }
    .nav-highlight-red:hover .nav-badge-hot {
      transform: scale(1.06);
    }

    /* Mega Menu */
    .nav-has-megamenu { position: static; }
    .nav-categories-trigger {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      font-weight: 800;
      padding: 0.4rem 0.75rem !important;
      border-radius: 10px;
      cursor: pointer;
      border: 1px solid #e2e8f0;
      transition: all 0.2s ease;
      color: #1e293b;
      background: #f8fafc;
      text-decoration: none;
    }
    .nav-categories-trigger:hover,
    .nav-has-megamenu.is-open .nav-categories-trigger {
      background: #f1f5f9;
      border-color: #cbd5e1;
      color: #7c3aed;
      box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
    }
    .nav-cat-hamburger-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: inherit;
      transition: transform 0.25s ease;
    }
    .nav-has-megamenu.is-open .nav-cat-hamburger-icon {
      transform: rotate(90deg);
      color: #7c3aed;
    }
    .nav-arrow-down {
      display: inline-block;
      transition: transform 0.25s ease;
      font-size: 0.75rem;
      color: #94a3b8;
      margin-right: 2px;
    }
    .nav-has-megamenu.is-open .nav-arrow-down,
    .nav-has-megamenu:hover .nav-arrow-down {
      transform: rotate(180deg);
      color: #7c3aed;
    }

    .vitrin-megamenu-panel {
      position: absolute;
      top: calc(100% + 6px);
      left: 50%;
      transform: translateX(-50%);
      width: min(1240px, calc(100vw - 2.5rem));
      background: #ffffff;
      border: 1px solid rgba(226, 232, 240, 0.95);
      border-radius: 22px;
      box-shadow: 0 25px 65px -12px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.03);
      display: none;
      animation: fadeInMenu 0.18s ease;
      z-index: 1000;
      overflow: hidden;
    }
    /* Invisible hover bridge to eliminate any gap between trigger and panel */
    .vitrin-megamenu-panel::before {
      content: '';
      position: absolute;
      top: -30px;
      left: 0;
      right: 0;
      height: 30px;
      background: transparent;
      pointer-events: auto;
    }
    .nav-has-megamenu.is-open .vitrin-megamenu-panel,
    .nav-has-megamenu.is-hovered .vitrin-megamenu-panel,
    .nav-has-megamenu:hover .vitrin-megamenu-panel {
      display: block;
    }
    .nav-has-megamenu.is-hovered .nav-arrow-down {
      transform: rotate(180deg);
      color: #7c3aed;
    }
    .nav-has-megamenu.is-hovered .nav-cat-hamburger-icon {
      transform: rotate(90deg);
      color: #7c3aed;
    }
    .nav-has-megamenu.is-hovered .nav-categories-trigger {
      background: #f1f5f9;
      border-color: #cbd5e1;
      color: #7c3aed;
      box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
    }
    @keyframes fadeInMenu {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    .megamenu-inner-grid {
      max-width: 1240px;
      margin: 0 auto;
      padding: 2rem 1.5rem;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1.3fr;
      gap: 2rem;
    }
    .megamenu-col-title {
      font-weight: 900;
      font-size: 0.92rem;
      color: #0f172a;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      border-bottom: 2px solid #f1f5f9;
      padding-bottom: 0.5rem;
    }
    .megamenu-links-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }
    .megamenu-links-list a {
      color: #475569;
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all 0.2s;
    }
    .megamenu-links-list a:hover {
      color: #7c3aed;
      padding-right: 4px;
    }
    .cat-count-badge {
      font-size: 0.65rem;
      background: #f1f5f9;
      color: #64748b;
      padding: 1px 6px;
      border-radius: 999px;
    }
    .megamenu-see-all {
      font-weight: 800 !important;
      color: #c5a880 !important;
      margin-top: 0.4rem;
    }
    .megamenu-banner-card {
      background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
      color: #ffffff;
      border-radius: 14px;
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }
    .megamenu-banner-badge {
      font-size: 0.65rem;
      background: rgba(255,255,255,0.2);
      padding: 2px 8px;
      border-radius: 999px;
      align-self: flex-start;
      margin-bottom: 0.5rem;
      font-weight: 800;
    }
    .megamenu-banner-title {
      font-size: 1.05rem;
      font-weight: 900;
      margin-bottom: 0.35rem;
    }
    .megamenu-banner-desc {
      font-size: 0.75rem;
      color: #cbd5e1;
      margin-bottom: 1rem;
      line-height: 1.6;
    }
    /* An AI banner as the card: its picture behind, the text on a dark fade */
    .megamenu-banner-card.has-image {
      position: relative;
      overflow: hidden;
      min-height: 230px;
      background-color: #18181b;
      background-size: cover;
      background-position: center;
      text-decoration: none;
      transition: transform .3s ease, box-shadow .3s ease;
    }
    .megamenu-banner-card.has-image:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -18px rgba(0,0,0,.55); }
    .megamenu-banner-card.has-image > * { position: relative; z-index: 1; }
    .megamenu-banner-card.has-image > .megamenu-banner-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(10,10,12,.88) 0%, rgba(10,10,12,.45) 55%, rgba(10,10,12,.05) 100%); }
    .megamenu-banner-card.has-image .megamenu-banner-badge { background: rgba(197,168,128,.9); color: #111; }
    .megamenu-banner-card.has-image .megamenu-banner-desc { color: #e2e8f0; }
    .megamenu-banner-btn {
      background: #c5a880;
      color: #0f172a;
      padding: 0.5rem 1rem;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 800;
      font-size: 0.75rem;
      text-align: center;
    }

    /* Header Tools */
    .header-tools-box {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }
    .header-tool-btn {
      position: relative;
      background: #f8fafc;
      border: 1px solid var(--border-color);
      padding: 0.45rem 0.75rem;
      border-radius: 999px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      color: #334155;
      font-size: 0.8rem;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.2s;
    }
    .header-tool-btn:hover {
      background: #ede9fe;
      border-color: #c4b5fd;
      color: #7c3aed;
    }
    .header-cart-btn,
    .my-orders-btn-wrap {
      position: relative;
    }
    .header-cart-btn {
      background: #0f172a;
      color: #ffffff !important;
      border-color: #0f172a;
    }
    .header-cart-btn:hover {
      background: #1e293b;
      color: #ffffff !important;
    }
    .cart-count-bubble {
      background: #ef4444;
      color: #ffffff;
      font-size: 0.65rem;
      font-weight: 900;
      min-width: 18px;
      height: 18px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
      pointer-events: none;
    }

    /* Search Modal */
    .search-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.65);
      backdrop-filter: blur(6px);
      z-index: 10000;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding-top: 6vh;
    }
    .search-modal-dialog {
      background: #ffffff;
      width: 100%;
      max-width: 640px;
      border-radius: 18px;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
      overflow: hidden;
      animation: slideDownSearch 0.2s ease;
    }
    @keyframes slideDownSearch {
      from { opacity: 0; transform: translateY(-15px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .search-modal-header {
      padding: 1rem 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.85rem;
      border-bottom: 1px solid var(--border-color);
    }
    .search-input-wrapper {
      flex: 1;
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }
    .search-input-wrapper input {
      width: 100%;
      border: none;
      outline: none;
      font-family: inherit;
      font-size: 0.95rem;
      color: #0f172a;
    }
    .btn-close-search {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 1.15rem;
      color: #94a3b8;
    }
    .search-suggestions-bar {
      background: #f8fafc;
      padding: 0.65rem 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      overflow-x: auto;
    }
    .suggestion-tag-title {
      font-size: 0.7rem;
      font-weight: 700;
      color: #64748b;
      white-space: nowrap;
    }
    .suggestion-chip {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 999px;
      padding: 0.2rem 0.65rem;
      font-size: 0.72rem;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.15s;
    }
    .suggestion-chip:hover {
      background: #ede9fe;
      border-color: #c4b5fd;
    }
    .search-results-container {
      max-height: 400px;
      overflow-y: auto;
      padding: 1rem 1.25rem;
    }
    .search-result-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 0.65rem;
      border-radius: 10px;
      text-decoration: none;
      color: inherit;
      transition: background 0.15s;
    }
    .search-result-item:hover { background: #f8fafc; }
    .search-result-img {
      width: 50px;
      height: 50px;
      object-fit: contain;
      border-radius: 8px;
      background: #f1f5f9;
    }
    .search-result-name { font-weight: 800; font-size: 0.85rem; color: #0f172a; }
    .search-result-price { font-weight: 800; font-size: 0.8rem; color: #c5a880; }

    /* Mobile Drawer */
    .btn-mobile-hamburger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.4rem;
      flex-direction: column;
      gap: 4px;
    }
    .hamburger-bar {
      width: 22px;
      height: 2px;
      background: #0f172a;
      border-radius: 2px;
    }
    .mobile-drawer-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      z-index: 9990;
    }
    .mobile-drawer-panel {
      position: fixed;
      top: 0;
      right: 0;
      width: min(320px, 85vw);
      max-width: 100vw;
      height: 100vh;
      height: 100dvh;
      background: #ffffff;
      z-index: 9999;
      box-shadow: -10px 0 30px rgba(0,0,0,0.18);
      transform: translateX(110%);
      visibility: hidden;
      pointer-events: none;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      overflow-y: auto;
    }
    .mobile-drawer-panel.is-open {
      transform: translateX(0);
      visibility: visible;
      pointer-events: auto;
    }
    .mobile-drawer-header {
      padding: 1.25rem;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .mobile-drawer-brand {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 900;
      font-size: 0.95rem;
    }
    .btn-close-drawer {
      background: none;
      border: none;
      font-size: 1.25rem;
      cursor: pointer;
      color: #64748b;
    }
    .mobile-drawer-search {
      padding: 0.85rem 1.25rem;
      border-bottom: 1px solid var(--border-color);
    }
    .mobile-drawer-search input {
      width: 100%;
      padding: 0.55rem 0.85rem;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      font-family: inherit;
      font-size: 0.8rem;
    }
    .mobile-drawer-nav {
      flex: 1;
      overflow-y: auto;
      padding: 1rem 1.25rem;
    }
    .mobile-menu-section-title {
      font-size: 0.7rem;
      font-weight: 800;
      color: #94a3b8;
      margin: 1rem 0 0.5rem 0;
      text-transform: uppercase;
    }
    .mobile-nav-item {
      display: block;
      padding: 0.65rem 0;
      color: #0f172a;
      font-weight: 700;
      font-size: 0.88rem;
      text-decoration: none;
      border-bottom: 1px solid #f8fafc;
    }
    .mobile-item-highlight { color: #ef4444 !important; }
    .mobile-cat-accordion { margin-bottom: 0.5rem; }
    .mobile-cat-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.65rem 0;
      font-weight: 800;
      font-size: 0.85rem;
      cursor: pointer;
    }
    .mobile-cat-body {
      display: none;
      padding-right: 1rem;
      border-right: 2px solid #ede9fe;
      margin-right: 0.25rem;
    }
    .mobile-cat-body a {
      display: block;
      padding: 0.4rem 0;
      color: #475569;
      font-size: 0.8rem;
      text-decoration: none;
    }
    .mobile-drawer-footer {
      padding: 1.25rem;
      border-top: 1px solid var(--border-color);
      background: #f8fafc;
    }

    /* Mobile Bottom Floating Touch Navigation Bar */
    .mobile-bottom-touch-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(12px);
      border-top: 1px solid var(--border-color);
      z-index: 9980;
      padding: 6px 0.5rem;
      justify-content: space-around;
      align-items: center;
      box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
    }
    .bottom-touch-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      text-decoration: none;
      color: #64748b;
      font-size: 0.65rem;
      font-weight: 800;
      background: none;
      border: none;
      padding: 4px;
      cursor: pointer;
    }
    .bottom-touch-item.active,
    .bottom-touch-item:hover { color: #7c3aed; }
    .touch-icon { font-size: 1.2rem; line-height: 1; }

    @media (max-width: 900px) {
      .header-desktop-nav,
      .search-btn-label,
      .account-btn-label { display: none; }
      .btn-mobile-hamburger { display: flex; }
      .mobile-bottom-touch-bar { display: flex; }
      body { padding-bottom: 60px; }
    }

    /* ==========================================================
       Hero Slider & Visual Categories & Showcase Styles
       ========================================================== */
    .vitrin-hero-slider {
      position: relative;
      border-radius: 24px;
      overflow: hidden;
      min-height: 500px;
      display: flex;
      align-items: center;
      box-shadow: 0 15px 40px rgba(0,0,0,0.12);
      margin-bottom: 2rem;
    }
    .hero-slide-item {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 3.5rem 2rem;
      text-align: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease-in-out;
      background-size: cover;
      background-position: center;
    }
    .hero-slide-item.active-slide {
      opacity: 1;
      pointer-events: auto;
    }
    .hero-slide-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,27,75,0.7) 100%);
      z-index: 1;
    }
    .hero-slide-content {
      position: relative;
      z-index: 2;
      max-width: 820px;
      color: #ffffff;
    }
    .hero-slide-badge {
      display: inline-block;
      background: rgba(255,255,255,0.18);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,0.3);
      padding: 0.35rem 1.15rem;
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 800;
      margin-bottom: 1.25rem;
      color: #fde047;
    }
    .hero-slide-title {
      font-size: 2.5rem;
      font-weight: 900;
      line-height: 1.25;
      margin-bottom: 1rem;
    }
    .hero-slide-desc {
      font-size: 1rem;
      color: #e2e8f0;
      line-height: 1.8;
      margin-bottom: 2rem;
    }
    .hero-slide-actions {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .hero-btn-primary {
      background: #c5a880;
      color: #0f172a;
      padding: 13px 32px;
      border-radius: 999px;
      font-weight: 900;
      font-size: 0.95rem;
      text-decoration: none;
      box-shadow: 0 10px 25px rgba(197, 168, 128, 0.4);
      transition: transform 0.2s;
    }
    .hero-btn-primary:hover { transform: translateY(-2px); }
    .hero-btn-secondary {
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(8px);
      color: #ffffff;
      padding: 13px 28px;
      border-radius: 999px;
      font-weight: 800;
      font-size: 0.95rem;
      text-decoration: none;
      border: 1px solid rgba(255,255,255,0.3);
    }
    .hero-nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      background: rgba(255,255,255,0.2);
      backdrop-filter: blur(6px);
      border: none;
      color: #fff;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }
    .hero-nav-arrow:hover { background: rgba(255,255,255,0.4); }
    .hero-arrow-next { left: 20px; }
    .hero-arrow-prev { right: 20px; }
    .hero-slider-dots {
      position: absolute;
      bottom: 20px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 8px;
      z-index: 10;
    }
    .hero-slider-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,0.4);
      cursor: pointer;
      transition: all 0.2s;
    }
    .hero-slider-dot.active-dot {
      width: 26px;
      border-radius: 999px;
      background: #c5a880;
    }
    @media (max-width: 768px) {
      .vitrin-hero-slider { min-height: 420px; border-radius: 16px; }
      .hero-slide-title { font-size: 1.7rem; }
      .hero-slide-desc { font-size: 0.85rem; }
    }

    /* Visual Categories Grid */
    .visual-categories-wrapper { margin: 1.5rem 0; width: 100%; }
    .visual-categories-grid {
      display: grid;
      grid-template-columns: repeat(var(--vc-cols, 5), 1fr);
      gap: 1.25rem;
    }
    .visual-cat-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 1.25rem 1rem;
      text-align: center;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    }
    .visual-cat-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.08);
      border-color: #c5a880;
    }
    .visual-cat-icon-frame {
      width: 72px;
      height: 72px;
      border-radius: 18px;
      background: #f8fafc;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      margin-bottom: 0.85rem;
      transition: transform 0.3s;
    }
    .visual-cat-card:hover .visual-cat-icon-frame {
      transform: scale(1.1);
      background: #fffbeb;
    }
    .visual-cat-name {
      font-weight: 800;
      font-size: 0.9rem;
      color: #0f172a;
      margin-bottom: 0.25rem;
    }
    .visual-cat-meta {
      font-size: 0.7rem;
      color: #64748b;
      font-weight: 600;
    }
    @media (max-width: 900px) {
      .visual-categories-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 600px) {
      .visual-categories-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
        gap: 0.85rem;
      }
      .visual-cat-card {
        min-width: 120px;
        scroll-snap-align: start;
      }
    }

    /* Product card corner badge (discount % / label) */
    .vt-badge { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 0.3rem; line-height: 1; font-weight: 800; pointer-events: none; white-space: nowrap; }
.vt-badge-label { padding: 0.32rem 0.6rem; border-radius: 999px; background: rgba(24, 24, 27, 0.88); color: #ead9bd; font-size: 0.66rem; border: 1px solid rgba(197, 168, 128, 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.vt-badge-new { background: #fff; color: #18181b; border-color: #e4e4e7; }
.vt-badge-discount { background: linear-gradient(135deg, #f43f5e, #be123c); color: #fff; border-color: transparent; }

/* Discount tag: a bookmark hanging from the top edge of the card (notched bottom) */
.vt-flag { position: absolute; top: 0; right: 14px; z-index: 3; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 0.18rem; min-width: 3.05rem; padding: 0.6rem 0.45rem 1.05rem; color: #fff; text-align: center; line-height: 1; background: linear-gradient(180deg, #f43f5e 0%, #e11d48 55%, #be123c 100%); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); filter: drop-shadow(0 6px 10px rgba(190, 18, 60, 0.35)); border-radius: 0 0 2px 2px; }
.vt-flag b { display: flex; align-items: flex-start; font-size: 1.22rem; font-weight: 900; letter-spacing: -0.02em; text-shadow: 0 1px 1px rgba(76, 5, 25, 0.3); }
.vt-flag b small { font-size: 0.6rem; font-weight: 800; margin-inline-start: 1px; margin-top: 0.1rem; }
.vt-flag > span { font-size: 0.6rem; font-weight: 800; opacity: 0.92; letter-spacing: 0.01em; }
/* Hairline at the top so the tag reads as attached to the card edge */
.vt-flag::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(76, 5, 25, 0.28); }
.vt-flag.is-hot { background: linear-gradient(180deg, #e11d48 0%, #be123c 50%, #881337 100%); }
.vt-flag.is-hot > span::after { content: ' 🔥'; font-size: 0.6rem; }
/* Small cards (mobile carousels, 2-column grids) */
@container pcard (max-width: 190px) {
  .vt-flag { right: 10px; min-width: 2.3rem; padding: 0.45rem 0.3rem 0.8rem; }
  .vt-flag b { font-size: 0.92rem; }
  .vt-flag > span { font-size: 0.5rem; }
}
@media (max-width: 768px) {
  .prod-slider-card .vt-flag { right: 10px; min-width: 2.3rem; padding: 0.45rem 0.3rem 0.8rem; }
  .prod-slider-card .vt-flag b { font-size: 0.92rem; }
  .prod-slider-card .vt-flag > span { font-size: 0.5rem; }
}    .prod-slider-card .vt-badge { top: 12px; right: 12px; }

    /* Product Cards in Builder */
    .builder-prod-card {
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 0.75rem 0.75rem 0.9rem;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
      /* Card size from the builder: a max width, centred in its grid column (none = fill the column) */
      width: 100%;
      max-width: var(--card-max, none);
      justify-self: center;
    }
    .builder-prod-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 16px 34px -12px rgba(0,0,0,0.14);
      border-color: var(--accent-gold);
    }
    /* Vertical card: a tall 4:5 photo frame across the full card width. The photo fills the frame edge to
       edge: scaled up as needed, never stretched (cover keeps its proportions and trims the overflow). */
    .builder-prod-card img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: var(--card-ratio, 4 / 5);
      object-fit: cover;
      object-position: center;
      padding: 0;
      box-sizing: border-box;
      background: radial-gradient(120% 90% at 50% 35%, #ffffff 0%, #f6f3ed 70%, #efeae1 100%);
      border-radius: 14px;
      margin-bottom: 0.85rem;
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .builder-prod-card:hover img { transform: scale(1.025); }
    .builder-prod-name {
      font-weight: 800;
      font-size: 0.88rem;
      margin-bottom: 0.45rem;
      color: var(--text-main);
      padding-inline: 0.15rem;
      /* Two lines max, same height on every card so prices and buttons line up across the row */
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 3.1em;
    }
    .builder-prod-footer { padding-inline: 0.15rem; }
    @media (prefers-reduced-motion: reduce) { .builder-prod-card:hover img { transform: none; } }
    .builder-prod-price {
      font-weight: 900;
      color: var(--accent-gold);
      font-size: 0.9rem;
    }

    /* ---- Product card sizing follows the card's own width ----
       Each card is a size container, so the name, price and buy button scale with the space one
       column really has: the same rules cover 1 to 5 columns on desktop, tablet and phone. */
    .builder-prod-card { container: pcard / inline-size; min-width: 0; }
    .builder-prod-name { line-height: 1.55; overflow-wrap: anywhere; }
    .builder-prod-price { white-space: nowrap; }

    /* Roomy cards (one column on a phone, two on desktop) */
    @container pcard (min-width: 300px) {
      .builder-prod-name { font-size: 0.95rem; }
      .builder-prod-price { font-size: 1.02rem; }
      .builder-prod-card .builder-prod-buy { min-height: 46px; padding: 0 26px; font-size: 0.95rem; gap: 8px; }
    }
    /* Narrow cards (4-5 columns on desktop, 3 on a tablet) */
    @container pcard (max-width: 199px) {
      .builder-prod-name { font-size: 0.8rem; margin-bottom: 0.3rem; }
      .builder-prod-price { font-size: 0.82rem; }
      .builder-prod-card .builder-prod-buy { min-height: 34px; padding: 0 13px; font-size: 0.78rem; gap: 5px; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18); }
      .builder-prod-card .builder-prod-buy svg { width: 15px; height: 15px; }
    }
    /* Tight cards (two columns on a phone): price on its own line, full-width compact button */
    @container pcard (max-width: 169px) {
      .builder-prod-name {
        font-size: 0.76rem; line-height: 1.5;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
        min-height: 3em;
      }
      .builder-prod-price { font-size: 0.8rem; flex: 1 1 100%; }
      .builder-prod-footer { gap: 0.35rem !important; padding-top: 0.4rem !important; }
      .builder-prod-card .builder-prod-buy { flex: 1 1 100%; min-height: 32px; padding: 0 8px; font-size: 0.76rem; }
      .builder-prod-card .builder-prod-buy svg { width: 14px; height: 14px; }
    }
    /* Tiny cards (three columns on a phone) */
    @container pcard (max-width: 104px) {
      .builder-prod-name { font-size: 0.68rem; }
      .builder-prod-price { font-size: 0.7rem; white-space: normal; }
      .builder-prod-card .builder-prod-buy { min-height: 28px; font-size: 0.7rem; gap: 4px; }
      .builder-prod-card .builder-prod-buy svg { width: 12px; height: 12px; }
    }

    /* Buy call-to-action on product cards */
    .builder-prod-buy {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      min-height: 38px;
      padding: 0 18px;
      border-radius: 999px;
      background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
      color: #fff;
      font-size: 0.84rem;
      font-weight: 800;
      white-space: nowrap;
      box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
      transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    }
    .builder-prod-buy svg { flex-shrink: 0; transition: transform 0.25s ease; }
    .builder-prod-card:hover .builder-prod-buy,
    .builder-prod-card:focus-visible .builder-prod-buy {
      background: linear-gradient(135deg, #d4b88f 0%, var(--accent-gold) 100%);
      color: #0f172a;
      box-shadow: 0 10px 22px rgba(197, 168, 128, 0.45);
    }
    .builder-prod-card:hover .builder-prod-buy svg { transform: translateY(-2px) rotate(-8deg); }
    .builder-prod-card:active .builder-prod-buy { transform: scale(0.96); }

    /* Base Desktop Grid Layouts for Builder Widgets */
    .page-preview-content-frame {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      transition: max-width 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .showcase-header-bar {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 1.25rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid var(--border-color);
      flex-wrap: wrap;
      gap: 1rem;
    }
    .showcase-title-box h3 {
      font-size: 1.35rem;
      font-weight: 900;
      color: #0f172a;
      margin: 0;
    }
    .showcase-subtitle {
      font-size: 0.82rem;
      color: #64748b;
      margin-top: 4px;
    }
    .showcase-view-all {
      font-size: 0.82rem;
      font-weight: 800;
      color: var(--accent-gold, #c5a880);
      text-decoration: none;
      transition: color 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }
    .showcase-view-all:hover {
      color: #7c3aed;
    }

    /* Product Grid Desktop */
    .vitrin-product-grid {
      display: grid;
      grid-template-columns: repeat(var(--grid-cols, 3), 1fr);
      gap: 1.5rem;
      width: 100%;
      margin: 1.25rem 0;
    }
    @media (max-width: 1024px) {
      .vitrin-product-grid {
        grid-template-columns: repeat(min(var(--grid-cols, 3), 3), 1fr);
        gap: 1.25rem;
      }
    }

    /* Promo Banner Grid Desktop */
    .vitrin-banner-grid {
      display: grid;
      grid-template-columns: repeat(var(--b-cols, 2), 1fr);
      gap: 1.5rem;
      width: 100%;
      margin: 1.25rem 0;
    }

    /* Guarantee Grid Desktop */
    .vitrin-guarantee-grid {
      display: grid;
      grid-template-columns: repeat(var(--g-cols, 4), 1fr);
      gap: 1.25rem;
      width: 100%;
      margin: 1.25rem 0;
    }
    @media (max-width: 992px) {
      .vitrin-guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
      }
    }

    @media (min-width: 901px) {
      body:not(.preview-device-mode-mobile) .header-desktop-nav {
        display: flex !important;
      }
      body:not(.preview-device-mode-mobile) .btn-mobile-hamburger {
        display: none !important;
      }
      body:not(.preview-device-mode-mobile) .mobile-bottom-touch-bar {
        display: none !important;
      }
      body:not(.preview-device-mode-mobile) {
        padding-bottom: 0 !important;
      }
      body:not(.preview-device-mode-mobile) .search-btn-label,
      body:not(.preview-device-mode-mobile) .account-btn-label {
        display: inline !important;
      }
    }

    /* Product Slider / Carousel Styles (shared with the builder canvas) */
        /* Product Slider / Carousel Styles */
    .vitrin-product-slider {
      margin: 2rem 0;
      width: 100%;
    }
    .prod-slider-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 1.25rem;
      padding-bottom: 0.75rem;
      border-bottom: 1px solid var(--border-color);
      flex-wrap: wrap;
      gap: 1rem;
    }
    .prod-slider-header-right {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }
    .prod-slider-badge {
      display: inline-block;
      align-self: flex-start;
      font-size: 0.7rem;
      font-weight: 800;
      color: #b45309;
      background: #fef3c7;
      border: 1px solid #fde68a;
      padding: 0.2rem 0.65rem;
      border-radius: 999px;
      margin-bottom: 0.25rem;
    }
    .prod-slider-title {
      font-size: 1.35rem;
      font-weight: 900;
      color: #0f172a;
      margin: 0;
    }
    .prod-slider-subtitle {
      font-size: 0.8rem;
      color: #64748b;
      margin: 0;
    }
    .prod-slider-header-left {
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }
    .prod-slider-view-all {
      font-size: 0.78rem;
      font-weight: 800;
      color: #6366f1;
      text-decoration: none;
      transition: color 0.2s;
    }
    .prod-slider-view-all:hover {
      color: #4f46e5;
    }
    .prod-slider-nav-btns {
      display: flex;
      gap: 0.4rem;
    }
    .prod-slider-nav-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid var(--border-color);
      background: #ffffff;
      color: #0f172a;
      font-size: 1.2rem;
      font-weight: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    }
    .prod-slider-nav-btn:hover {
      background: #0f172a;
      color: #ffffff;
      border-color: #0f172a;
    }
    .prod-slider-track-wrap {
      position: relative;
      overflow: hidden;
      border-radius: 18px;
    }
    .prod-slider-track {
      display: flex;
      gap: 1.25rem;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      padding: 0.5rem 0.25rem 1rem 0.25rem;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }
    .prod-slider-track::-webkit-scrollbar {
      display: none;
    }
    .prod-slider-card {
      flex: 0 0 calc((100% - (var(--card-cols, 4) - 1) * 1.25rem) / var(--card-cols, 4));
      min-width: 180px; /* low enough for the chosen column count (up to 5) to fit a desktop row */
      max-width: 320px;
      scroll-snap-align: start;
      background: #ffffff;
      border: 1px solid var(--border-color);
      border-radius: 16px;
      --pcard-pad: 1rem;
      padding: var(--pcard-pad);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      position: relative;
      text-decoration: none;
      color: inherit;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 3px 12px rgba(0,0,0,0.02);
    }
    /* Category sliders: one carousel panel per category, stacked */
    .vitrin-cat-sliders { display: flex; flex-direction: column; gap: 1.4rem; }
    .vitrin-cat-sliders .vitrin-product-slider.is-cat { margin: 0 !important; }
    .vitrin-product-slider.is-cat { padding: 1.35rem 1.4rem 1.25rem; background: #fff; border: 1px solid #ece6db; border-radius: 26px; box-shadow: 0 18px 40px -34px rgba(24, 24, 27, 0.45); }
    .is-cat .prod-slider-header { align-items: center; margin-bottom: 1.05rem; padding-bottom: 0; border-bottom: 0; }
    .is-cat .prod-slider-header-right { gap: 0.2rem; }
    .is-cat .prod-slider-title { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; padding-inline-start: 0.85rem; font-size: 1.12rem; color: #18181b; }
    .is-cat .prod-slider-title::before { content: ''; position: absolute; inset-inline-start: 0; top: 50%; width: 4px; height: 1.15em; border-radius: 4px; background: linear-gradient(180deg, #d4b88f, #8d623e); transform: translateY(-50%); }
    .is-cat .prod-slider-subtitle { padding-inline-start: 0.85rem; font-size: 0.76rem; color: #8a8a93; }
    .prod-slider-count { display: inline-flex; align-items: center; padding: 0.12rem 0.55rem; border-radius: 999px; background: #f8f6f0; border: 1px solid #ece6db; font-size: 0.68rem; font-weight: 800; color: #8d623e; }
    .is-cat .prod-slider-header-left { gap: 0.55rem; }
    .is-cat .prod-slider-view-all { padding: 0.45rem 0.95rem; border-radius: 999px; background: #f8f6f0; border: 1px solid #ece6db; color: #8d623e; font-size: 0.76rem; transition: background 0.2s, border-color 0.2s, color 0.2s; }
    .is-cat .prod-slider-view-all:hover { background: #18181b; border-color: #18181b; color: #fff; }
    .is-cat .prod-slider-nav-btn { width: 34px; height: 34px; font-size: 1.05rem; border-color: #ece6db; box-shadow: none; }
    .is-cat .prod-slider-nav-btn:hover { background: #18181b; border-color: #18181b; }
    /* Soft fade where the row continues */
    .is-cat .prod-slider-track { gap: 0.9rem; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px); mask-image: linear-gradient(to right, transparent 0, #000 36px); padding-inline-end: 24px; }
    .is-cat .prod-slider-card { --pcard-pad: 0.85rem; border-color: #efebe3; border-radius: 20px; box-shadow: none; }
    .is-cat .prod-slider-card:hover { transform: translateY(-4px); border-color: #d9c6a5; box-shadow: 0 18px 32px -22px rgba(24, 24, 27, 0.4); }
    .is-cat .prod-slider-card-img-wrap { margin-bottom: 0.75rem; }
    .is-cat .prod-slider-card-name { min-height: 2.8em; font-size: 0.84rem; line-height: 1.4; color: #27272a; }
    .is-cat .prod-slider-card-bottom { align-items: flex-end; padding-top: 0.55rem; border-top: 1px dashed #efebe3; }
    .prod-slider-card-price .prod-slider-was { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.15rem; font-size: inherit; color: inherit; }
    .prod-slider-card-price .prod-slider-was del { font-size: 0.7rem; font-weight: 500; color: #a1a1aa; }
    .prod-slider-card-price .prod-slider-off { padding: 0.05rem 0.4rem; border-radius: 999px; background: #e11d48; color: #fff; font-size: 0.66rem; font-weight: 900; line-height: 1.5; }
    .prod-slider-card-price .prod-slider-now { display: block; font-size: inherit; font-weight: 900; color: #0f172a; }
    .is-cat .prod-slider-card-price .prod-slider-now { font-size: 0.98rem; color: #18181b; }
    .is-cat .prod-slider-btn-buy { width: 2.25rem; height: 2.25rem; padding: 0 !important; justify-content: center; border-radius: 50%; background: #18181b; color: #c5a880; flex-shrink: 0; }
    .is-cat .prod-slider-btn-buy svg { width: 16px; height: 16px; }
    .is-cat .prod-slider-btn-text { display: none; }
    .is-cat .prod-slider-card:hover .prod-slider-btn-buy { background: #c5a880; color: #18181b; }
    @media (max-width: 768px) {
      .vitrin-cat-sliders { gap: 1rem; }
      .vitrin-product-slider.is-cat { padding: 1rem 0.85rem 0.95rem; border-radius: 20px; }
      .is-cat .prod-slider-header { flex-wrap: nowrap; }
      .is-cat .prod-slider-header-right { flex: 1; min-width: 0; }
      .is-cat .prod-slider-title { font-size: 1rem; flex-wrap: nowrap; gap: 0.4rem; }
      .is-cat .prod-slider-title-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .is-cat .prod-slider-count { flex-shrink: 0; }
      .is-cat .prod-slider-nav-btns { display: none; }
      .is-cat .prod-slider-view-all { padding: 0.35rem 0.75rem; font-size: 0.7rem; white-space: nowrap; }
      .is-cat .prod-slider-card-price .prod-slider-now { font-size: 0.86rem; }
      .is-cat .prod-slider-btn-buy { width: 2rem; height: 2rem; }
    }
    .prod-slider-title-icon { margin-inline-end: 0.45rem; font-size: 0.95em; }
    .vitrin-cat-sliders .prod-slider-card-tag { display: none; } /* the row title already names the category */
    /* "مشاهده همه" card at the end of a track */
    .prod-slider-card.prod-slider-more { align-items: center; justify-content: center; gap: 0.9rem; text-align: center; background: linear-gradient(160deg, #fff 0%, #f8f6f0 100%); border-style: dashed; }
    .prod-slider-more-fan { position: relative; display: block; width: 120px; height: 92px; }
    .prod-slider-more-fan img { position: absolute; top: 6px; width: 64px; height: 80px; object-fit: cover; border-radius: 12px; border: 3px solid #fff; background: #fafaf9; box-shadow: 0 8px 18px -10px rgba(24, 24, 27, 0.45); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
    .prod-slider-more-fan img:nth-child(1) { right: 0; transform: rotate(9deg); z-index: 1; }
    .prod-slider-more-fan img:nth-child(2) { right: 28px; transform: translateY(-6px); z-index: 3; }
    .prod-slider-more-fan img:nth-child(3) { right: 56px; transform: rotate(-9deg); z-index: 2; }
    .prod-slider-more:hover .prod-slider-more-fan img:nth-child(1) { transform: rotate(14deg) translateX(-4px); }
    .prod-slider-more:hover .prod-slider-more-fan img:nth-child(3) { transform: rotate(-14deg) translateX(4px); }
    .prod-slider-more-text { font-size: 0.92rem; font-weight: 900; color: #18181b; }
    .prod-slider-more-arrow { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: #18181b; color: #c5a880; font-size: 1rem; transition: transform 0.25s; }
    .prod-slider-more:hover .prod-slider-more-arrow { transform: translateX(-4px); }
    @media (prefers-reduced-motion: reduce) { .prod-slider-more-fan img, .prod-slider-more-arrow { transition: none; } }
    .prod-slider-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 35px rgba(0,0,0,0.08);
      border-color: #c5a880;
    }
    /* Vertical card: the photo fills the card's full width (portrait, cropped to fit, no margins) */
    .prod-slider-card-img-wrap {
      width: calc(100% + 2 * var(--pcard-pad));
      aspect-ratio: 4 / 5;
      margin: calc(-1 * var(--pcard-pad)) calc(-1 * var(--pcard-pad)) 0.8rem;
      overflow: hidden;
      background: #f4f2ec;
      flex-shrink: 0;
    }
    .prod-slider-card-img-wrap img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .prod-slider-card:hover .prod-slider-card-img-wrap img {
      transform: scale(1.06);
    }
    .prod-slider-card-tag {
      font-size: 0.68rem;
      color: #854d0e;
      background: #fef9c3;
      padding: 1px 7px;
      border-radius: 999px;
      font-weight: 700;
      display: inline-block;
      align-self: flex-start;
      margin-bottom: 0.35rem;
    }
    .prod-slider-card-name {
      font-size: 0.88rem;
      font-weight: 800;
      color: #0f172a;
      line-height: 1.4;
      margin-bottom: 0.5rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .prod-slider-card-bottom {
      margin-top: auto;
      padding-top: 0.65rem;
      border-top: 1px solid #f8fafc;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .prod-slider-card-price {
      font-size: 0.88rem;
      font-weight: 900;
      color: #0f172a;
    }
    .prod-slider-card-price span {
      font-size: 0.7rem;
      color: #64748b;
      font-weight: 600;
    }
    .prod-slider-btn-buy {
      background: #0f172a;
      color: #ffffff;
      padding: 0.3rem 0.75rem;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 800;
      transition: background 0.2s;
    }
    .prod-slider-card:hover .prod-slider-btn-buy {
      background: #c5a880;
      color: #0f172a;
    }
    @media (max-width: 768px) {
      .prod-slider-card {
        flex: 0 0 220px;
        min-width: 220px;
      }
    }
    /* Accordion FAQ */
    .faq-accordion-item {
      border: 1px solid var(--border-color);
      border-radius: var(--radius-sm);
      margin-bottom: 0.65rem;
      background: #ffffff;
      overflow: hidden;
    }
    .faq-accordion-header {
      padding: 0.85rem 1.25rem;
      font-weight: 800;
      font-size: 0.85rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #f8fafc;
    }
    .faq-accordion-body {
      padding: 1rem 1.25rem;
      font-size: 0.82rem;
      color: #334155;
      line-height: 1.8;
      border-top: 1px solid var(--border-color);
    }

    /* Countdown Timer Widget */
    .vitrin-countdown-timer {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.85rem;
      direction: ltr;
      margin: 1.25rem 0;
      flex-wrap: wrap;
    }
    .countdown-unit-box {
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px;
      min-width: 68px;
      padding: 0.65rem 0.5rem;
      text-align: center;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    .countdown-val {
      font-size: 1.75rem;
      font-weight: 900;
      line-height: 1;
      font-family: monospace;
      color: #ffffff;
    }
    .countdown-lbl {
      font-size: 0.68rem;
      font-weight: 700;
      color: #cbd5e1;
      margin-top: 4px;
      font-family: 'Vazir', sans-serif;
    }

    /* Promo Banner Grid */
    .promo-banner-card {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      min-height: 220px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 1.75rem;
      color: #ffffff;
      text-decoration: none;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      background-size: cover;
      background-position: center;
    }
    .promo-banner-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 35px rgba(0, 0, 0, 0.2);
    }
    .promo-banner-badge {
      display: inline-block;
      align-self: flex-start;
      font-size: 0.68rem;
      font-weight: 800;
      background: rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(6px);
      padding: 0.2rem 0.65rem;
      border-radius: 999px;
      margin-bottom: 0.65rem;
    }
    .promo-banner-title {
      font-size: 1.25rem;
      font-weight: 900;
      line-height: 1.3;
      margin-bottom: 0.35rem;
      color: #ffffff;
    }
    .promo-banner-subtitle {
      font-size: 0.8rem;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.6;
      margin-bottom: 0.85rem;
    }
    .promo-banner-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.78rem;
      font-weight: 800;
      color: #fde047;
    }

    /* Coupon Voucher Card */
    .coupon-voucher-card {
      border: 2px dashed #c5a880;
      background: #fffcf8;
      border-radius: 16px;
      padding: 1.25rem 1.75rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.25rem;
      max-width: 760px;
      margin: 0 auto;
      box-shadow: 0 4px 20px rgba(197, 168, 128, 0.12);
      flex-wrap: wrap;
    }
    .coupon-code-pill {
      font-family: monospace;
      font-size: 1.2rem;
      font-weight: 900;
      letter-spacing: 2px;
      color: #92400e;
      background: #fef3c7;
      border: 1px solid #fde68a;
      padding: 0.5rem 1.25rem;
      border-radius: 10px;
      direction: ltr;
      display: inline-block;
    }

    /* Trust strip & footer styles live in partials/site_footer.php (shared with the product page) */

    /* Live Preview Banner Styles */
    .live-preview-indicator-bar {
      position: sticky;
      top: 0;
      z-index: 100000;
      background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
      color: #ffffff;
      padding: 0.65rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      border-bottom: 2px solid #818cf8;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
      font-size: 0.8rem;
    }
    .live-preview-indicator-info {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 700;
    }
    .live-preview-badge {
      background: #ef4444;
      color: #fff;
      padding: 0.2rem 0.65rem;
      border-radius: 999px;
      font-size: 0.7rem;
      font-weight: 900;
      letter-spacing: 0.5px;
    }
    .live-preview-indicator-actions {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .btn-return-builder {
      background: #ffffff;
      color: #1e1b4b;
      padding: 0.35rem 0.9rem;
      border-radius: 999px;
      font-weight: 900;
      font-size: 0.72rem;
      text-decoration: none;
      transition: all 0.2s;
    }
    .btn-return-builder:hover {
      background: #e0e7ff;
      transform: translateY(-1px);
    }
    .btn-close-preview {
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #ffffff;
      padding: 0.35rem 0.75rem;
      border-radius: 999px;
      font-weight: 800;
      font-size: 0.72rem;
      cursor: pointer;
      transition: all 0.2s;
    }
    .btn-close-preview:hover {
      background: rgba(255, 255, 255, 0.3);
    }

    /* Live Preview Responsive Device Switcher */
    .live-preview-device-switcher {
      display: flex;
      align-items: center;
      background: rgba(0, 0, 0, 0.28);
      padding: 3px;
      border-radius: 999px;
      gap: 3px;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .btn-preview-device {
      background: none;
      border: none;
      color: #cbd5e1;
      padding: 3px 12px;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 800;
      cursor: pointer;
      font-family: 'Vazir', sans-serif !important;
      transition: all 0.2s;
    }
    .btn-preview-device:hover {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.12);
    }
    .btn-preview-device.active {
      background: #ffffff;
      color: #1e1b4b;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    }

    /* Mobile Phone Mockup Simulation in Desktop Live Preview */
    body.preview-device-mode-mobile {
      background: #0f172a !important;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    body.preview-device-mode-mobile .live-preview-indicator-bar {
      width: 100% !important;
      max-width: 100% !important;
    }
    body.preview-device-mode-mobile .page-preview-content-frame {
      max-width: 390px !important;
      width: 100% !important;
      margin: 25px auto 45px auto !important;
      background: #ffffff !important;
      border: 10px solid #1e293b !important;
      border-radius: 40px !important;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
      overflow-x: hidden !important;
      position: relative !important;
    }
    body.preview-device-mode-mobile .page-preview-content-frame::before {
      content: '';
      display: block;
      width: 120px;
      height: 14px;
      background: #1e293b;
      border-radius: 0 0 10px 10px;
      margin: 0 auto 0.5rem auto;
      position: sticky;
      top: 0;
      z-index: 50;
    }

    /* Tablet Mockup Simulation */
    body.preview-device-mode-tablet {
      background: #0f172a !important;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    body.preview-device-mode-tablet .live-preview-indicator-bar {
      width: 100% !important;
      max-width: 100% !important;
    }
    body.preview-device-mode-tablet .page-preview-content-frame {
      max-width: 768px !important;
      width: 100% !important;
      margin: 25px auto 45px auto !important;
      background: #ffffff !important;
      border: 6px solid #1e293b !important;
      border-radius: 24px !important;
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
      overflow-x: hidden !important;
      position: relative !important;
    }

    /* Trigger Mobile Responsive Rules inside Desktop Preview Simulation */
    body.preview-device-mode-mobile .page-container {
      padding: 0.75rem 0.65rem 2.5rem 0.65rem !important;
      width: 100% !important;
    }
    body.preview-device-mode-mobile .builder-section-render {
      padding-top: 24px !important;
      padding-bottom: 24px !important;
      border-radius: 14px !important;
      margin-bottom: 1rem !important;
    }
    body.preview-device-mode-mobile .builder-cols-grid {
      grid-template-columns: 1fr !important;
      gap: 0.85rem !important;
    }
    body.preview-device-mode-mobile .vitrin-product-grid {
      grid-template-columns: 1fr !important;
      gap: 0.85rem !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
    }
    body.preview-device-mode-mobile .builder-prod-card {
      width: 100% !important;
      max-width: min(100%, var(--card-max, 100%)) !important;
      min-width: 0 !important;
      box-sizing: border-box !important;
      display: flex !important;
      flex-direction: column !important;
      padding: 0.75rem !important;
      border-radius: 16px !important;
      overflow: hidden !important;
    }
    body.preview-device-mode-mobile .builder-prod-card img {
      /* Portrait photo area: tall, full-width, the photo filling it edge to edge without distortion */
      height: auto !important;
      aspect-ratio: var(--card-ratio, 4 / 5) !important;
      max-height: 460px !important;
      max-width: 100% !important;
      width: 100% !important;
      object-fit: cover !important;
      object-position: center !important;
      box-sizing: border-box !important;
      padding: 0 !important;
      background: radial-gradient(120% 90% at 50% 35%, #ffffff 0%, #f6f3ed 70%, #efeae1 100%) !important;
      border-radius: 12px !important;
      margin-bottom: 0.8rem !important;
    }
    body.preview-device-mode-mobile .builder-prod-footer {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      width: 100% !important;
      gap: 0.4rem !important;
      box-sizing: border-box !important;
    }
    body.preview-device-mode-mobile .prod-slider-card {
      flex: 0 0 160px !important;
      max-width: 160px !important;
      --pcard-pad: 0.6rem;
      padding: var(--pcard-pad) !important;
    }
    body.preview-device-mode-mobile .category-card-item {
      flex: 0 0 85px !important;
      max-width: 85px !important;
    }
    body.preview-device-mode-mobile .promo-banners-grid {
      grid-template-columns: 1fr !important;
      gap: 10px !important;
    }
    body.preview-device-mode-mobile .guarantee-strip-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 8px !important;
    }
    body.preview-device-mode-mobile .coupon-card-horizontal {
      flex-direction: column !important;
      text-align: center !important;
    }
    body.preview-device-mode-mobile .vitrin-hero-slider {
      min-height: 340px !important;
    }
    body.preview-device-mode-mobile .hero-slide-item {
      padding: 2.25rem 1rem !important;
    }
    body.preview-device-mode-mobile .hero-slide-title {
      font-size: 1.45rem !important;
    }
    body.preview-device-mode-mobile .hero-slide-desc {
      font-size: 0.82rem !important;
    }
    body.preview-device-mode-mobile .hero-slide-actions {
      flex-direction: column !important;
      max-width: 280px !important;
      margin: 0 auto !important;
    }
    body.preview-device-mode-mobile .vitrin-main-footer {
      padding: 2.25rem 1rem calc(5rem + env(safe-area-inset-bottom, 0px)) 1rem !important;
    }
    body.preview-device-mode-mobile .footer-columns-grid {
      grid-template-columns: 1fr !important;
      gap: 1.5rem !important;
    }
    body.preview-device-mode-mobile .header-desktop-nav,
    body.preview-device-mode-mobile .desktop-nav-ribbon,
    body.preview-device-mode-mobile .search-btn-label,
    body.preview-device-mode-mobile .account-btn-label {
      display: none !important;
    }
    body.preview-device-mode-mobile .btn-mobile-hamburger,
    body.preview-device-mode-mobile .mobile-nav-toggle-btn {
      display: flex !important;
    }
    body.preview-device-mode-mobile .mobile-bottom-touch-bar,
    body.preview-device-mode-mobile .smart-bottom-dock {
      display: flex !important;
    }

    /* ==========================================================
       Ultra-Smooth Mobile First & Responsive Touch Experience
       ========================================================== */
    @media (max-width: 768px) {
      /* General Page Layout & Fluid Touch */
      * {
        -webkit-tap-highlight-color: transparent;
      }
      body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
        overflow-x: hidden;
        overflow-x: clip;
      }
      input, select, textarea {
        font-size: 16px !important; /* Prevents unwanted iOS Safari viewport auto-zoom */
      }
      .page-container {
        padding: 0.75rem 0.65rem 2.5rem 0.65rem !important;
        width: 100% !important;
      }

      /* Sections & Builder Columns */
      .builder-section-render {
        padding-top: clamp(20px, 4vw, 32px) !important;
        padding-bottom: clamp(20px, 4vw, 32px) !important;
        border-radius: 14px !important;
        margin-bottom: 1rem !important;
      }
      .builder-cols-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
      }

      /* Typography Scale for Phones */
      h1:not(.bw-own-font-size h1):not(.hero-slide-title) { font-size: 1.5rem !important; line-height: 1.35 !important; }
      h2:not(.bw-own-font-size h2):not(.hero-slide-title) { font-size: 1.3rem !important; line-height: 1.35 !important; }
      h3:not(.bw-own-font-size h3):not(.hero-slide-title) { font-size: 1.15rem !important; line-height: 1.35 !important; }

      /* Hero Slider & Actions */
      .vitrin-hero-slider {
        min-height: 360px !important;
        border-radius: 16px !important;
        margin-bottom: 1.25rem !important;
      }
      .hero-slide-item {
        padding: 2.25rem 1rem !important;
      }
      .hero-slide-badge {
        font-size: 0.72rem !important;
        padding: 0.25rem 0.85rem !important;
        margin-bottom: 0.85rem !important;
      }
      .hero-slide-title {
        font-size: 1.45rem !important;
        line-height: 1.35 !important;
        margin-bottom: 0.65rem !important;
      }
      .hero-slide-desc {
        font-size: 0.82rem !important;
        line-height: 1.65 !important;
        margin-bottom: 1.25rem !important;
      }
      .hero-slide-actions {
        flex-direction: column !important;
        gap: 0.5rem !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
      }
      .hero-btn-primary, .hero-btn-secondary {
        width: 100% !important;
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
        text-align: center !important;
        justify-content: center !important;
      }
      .hero-nav-arrow {
        display: none !important; /* Swiping touch gestures handle hero carousel on mobile */
      }
      .hero-slider-dots {
        bottom: 12px !important;
      }

      /* Visual Categories - Native Touch Horizontal Bar */
      .visual-categories-wrapper {
        margin: 1rem 0 !important;
      }
      .visual-categories-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 0.65rem !important;
        padding: 0.25rem 0.2rem 0.65rem 0.2rem !important;
        overscroll-behavior-x: contain !important;
      }
      .visual-categories-grid::-webkit-scrollbar {
        display: none !important;
      }
      .visual-cat-card {
        flex: 0 0 92px !important;
        min-width: 92px !important;
        max-width: 100px !important;
        padding: 0.75rem 0.4rem !important;
        border-radius: 12px !important;
        scroll-snap-align: start !important;
      }
      .visual-cat-icon-frame {
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
        font-size: 1.45rem !important;
        margin-bottom: 0.4rem !important;
      }
      .visual-cat-name {
        font-size: 0.76rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 85px !important;
      }
      .visual-cat-meta {
        font-size: 0.62rem !important;
      }

      /* Product Slider - Ultra-Smooth Native App Style Carousel */
      .vitrin-product-slider {
        margin: 1.25rem 0 !important;
      }
      .prod-slider-header {
        margin-bottom: 0.65rem !important;
        padding-bottom: 0.45rem !important;
        gap: 0.4rem !important;
      }
      .prod-slider-title {
        font-size: 1.05rem !important;
      }
      .prod-slider-subtitle {
        font-size: 0.7rem !important;
      }
      .prod-slider-badge {
        font-size: 0.62rem !important;
        padding: 0.15rem 0.5rem !important;
        margin-bottom: 0.15rem !important;
      }
      .prod-slider-header-left {
        gap: 0.5rem !important;
      }
      .prod-slider-view-all {
        font-size: 0.72rem !important;
      }
      .prod-slider-nav-btns {
        display: none !important; /* Hide arrow clutter on mobile, finger swipe is fluid */
      }
      .prod-slider-track {
        gap: 0.65rem !important;
        padding: 0.25rem 0.2rem 0.75rem 0.2rem !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-x: contain !important;
        scroll-padding: 0.5rem !important;
      }
      .prod-slider-card {
        flex: 0 0 155px !important;
        min-width: 155px !important;
        max-width: 165px !important;
        --pcard-pad: 0.65rem;
        padding: var(--pcard-pad) !important;
        border-radius: 12px !important;
      }
      .prod-slider-card-img-wrap {
        margin-bottom: 0.55rem !important;
      }
      .prod-slider-card-name {
        font-size: 0.76rem !important;
        margin-bottom: 0.35rem !important;
        line-height: 1.35 !important;
        height: 2.1rem !important;
        -webkit-line-clamp: 2 !important;
      }
      .prod-slider-card-tag {
        font-size: 0.58rem !important;
        padding: 1px 5px !important;
        margin-bottom: 0.25rem !important;
      }
      .prod-slider-card-bottom {
        padding-top: 0.45rem !important;
      }
      .prod-slider-card-price {
        font-size: 0.78rem !important;
      }
      .prod-slider-card-price span {
        font-size: 0.62rem !important;
      }
      .prod-slider-btn-buy {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.5rem !important;
      }

      /* Vertical (1-Column) Product Grid for Mobile Phones */
      .vitrin-product-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 1rem 0 !important;
      }
      .builder-prod-card {
        padding: 0.75rem !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: min(100%, var(--card-max, 100%)) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
      }
      .builder-prod-card img {
        /* Portrait photo area: tall, full-width, the photo filling it edge to edge without distortion */
        height: auto !important;
        aspect-ratio: var(--card-ratio, 4 / 5) !important;
        max-height: 460px !important;
        max-width: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        background: radial-gradient(120% 90% at 50% 35%, #ffffff 0%, #f6f3ed 70%, #efeae1 100%) !important;
        border-radius: 12px !important;
        margin-bottom: 0.8rem !important;
      }
      .builder-prod-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0.4rem !important;
        box-sizing: border-box !important;
        flex-wrap: wrap !important;
      }

      /* Guarantee Cards: Compact 2x2 Grid */
      .vitrin-guarantee-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
      }
      .vitrin-guarantee-grid > div {
        padding: 0.85rem 0.5rem !important;
        border-radius: 10px !important;
      }
      .vitrin-guarantee-grid > div > div:first-child {
        font-size: 1.35rem !important;
        margin-bottom: 0.25rem !important;
      }
      .vitrin-guarantee-grid > div > div:nth-child(2) {
        font-size: 0.78rem !important;
        margin-bottom: 0.15rem !important;
      }
      .vitrin-guarantee-grid > div > div:last-child {
        font-size: 0.65rem !important;
        line-height: 1.35 !important;
      }

      /* Single-Column Promo Banners on Phones */
      .vitrin-banner-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
      }
      .promo-banner-card {
        min-height: 160px !important;
        padding: 1.15rem 1rem !important;
        border-radius: 14px !important;
      }
      .promo-banner-title {
        font-size: 1.1rem !important;
      }
      .promo-banner-subtitle {
        font-size: 0.75rem !important;
        margin-bottom: 0.5rem !important;
      }
      .promo-banner-cta {
        font-size: 0.72rem !important;
      }

      /* Compact Live Countdown Ticker */
      .vitrin-countdown-timer {
        gap: 0.45rem !important;
        margin: 0.85rem 0 !important;
      }
      .countdown-unit-box {
        min-width: 52px !important;
        padding: 0.45rem 0.35rem !important;
        border-radius: 10px !important;
      }
      .countdown-val {
        font-size: 1.25rem !important;
      }
      .countdown-lbl {
        font-size: 0.62rem !important;
      }

      /* Stacked Responsive Coupon Card */
      .coupon-voucher-card {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        padding: 1rem 0.85rem !important;
        gap: 0.85rem !important;
        border-radius: 12px !important;
      }
      .coupon-voucher-card > div:first-child {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
      }
      .coupon-voucher-card > div:last-child {
        display: flex !important;
        width: 100% !important;
        gap: 0.4rem !important;
      }
      .coupon-code-pill {
        flex: 1 !important;
        font-size: 0.95rem !important;
        padding: 0.45rem 0.65rem !important;
        letter-spacing: 1.5px !important;
        text-align: center !important;
      }
      .coupon-voucher-card .btn {
        padding: 0.45rem 1rem !important;
        font-size: 0.76rem !important;
      }

      /* Accordion & Testimonial on Mobile */
      .faq-accordion-header {
        padding: 0.75rem 1rem !important;
        font-size: 0.8rem !important;
      }
      .faq-accordion-body {
        padding: 0.85rem 1rem !important;
        font-size: 0.78rem !important;
        line-height: 1.7 !important;
      }

      /* Mobile Drawer & Search Modal Full Screen Touch */
      .search-modal-box {
        width: 95% !important;
        max-height: 85vh !important;
        border-radius: 16px !important;
      }
      .live-preview-indicator-bar {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.72rem !important;
        flex-direction: column !important;
        gap: 0.4rem !important;
        text-align: center !important;
      }
      .live-preview-indicator-info {
        flex-direction: column !important;
        gap: 0.25rem !important;
      }

      /* Header & Announcement Bar Mobile Touch Optimization */
      .header-inner-container {
        padding: 0.55rem 0.85rem !important;
        gap: 0.75rem !important;
      }
      .header-brand-logo {
        gap: 0.55rem !important;
      }
      .brand-logo-img {
        max-height: 34px !important;
        max-width: 130px !important;
      }
      .brand-name-main {
        font-size: 0.92rem !important;
      }
      .brand-name-sub {
        font-size: 0.52rem !important;
        letter-spacing: 0.8px !important;
      }
      .brand-logo-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
      }

      /* Trust Strip & Footer Mobile Optimization */
      .vitrin-trust-strip {
        padding: 1.5rem 1rem !important;
        margin-top: 2rem !important;
      }
      .trust-strip-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.85rem !important;
      }
      .trust-item-card {
        gap: 0.6rem !important;
      }
      .trust-item-title {
        font-size: 0.78rem !important;
      }
      .trust-item-desc {
        font-size: 0.65rem !important;
      }
      .vitrin-main-footer {
        padding: 2.25rem 1rem calc(5rem + env(safe-area-inset-bottom, 0px)) 1rem !important;
      }
      .footer-columns-grid {
        gap: 1.5rem !important;
        margin-bottom: 1.75rem !important;
      }
    }

    /* Custom CSS Injection */
      