
    :root {
      /* Pinoke Brand Palette inspired by the official logo */
      --bg: #FAF6F2;
      --surface: #FFFFFF;
      --surface-subtle: #F4EDE4;
      --text: #231F20;
      --text-muted: #766E68;
      --text-light: #A59D96;
      --primary: #231F20;
      --primary-hover: #383230;
      --terracotta: #C67D5A;
      --terracotta-dark: #AC623F;
      --terracotta-light: #F9EFE9;
      --sand-border: #E8DFD5;
      --sand-border-dark: #D4C9BD;
      --radius-xs: 2px;
      --radius-sm: 6px;
      --radius-md: 10px;
      --shadow-sm: 0 1px 3px rgba(35, 31, 32, 0.04);
      --shadow-md: 0 6px 20px rgba(35, 31, 32, 0.07);
      --shadow-lg: 0 20px 40px rgba(35, 31, 32, 0.12);
      --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
      --font-serif: 'Playfair Display', Georgia, serif;
    }

    [dir="rtl"] {
      --font-sans: 'Heebo', system-ui, -apple-system, sans-serif !important;
      --font-serif: 'Rubik', 'Heebo', system-ui, sans-serif !important;
    }
    [dir="rtl"] *, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] button {
      letter-spacing: normal !important;
    }
    [lang="he"] {
      --font-sans: 'Heebo', system-ui, -apple-system, sans-serif !important;
      --font-serif: 'Rubik', 'Heebo', system-ui, sans-serif !important;
    }
    [lang="ar"] {
      --font-sans: 'Amiri', serif !important;
      --font-serif: 'Amiri', serif !important;
    }
    [lang="ar"] * {
      letter-spacing: normal !important;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    html { overflow-x: clip; }
    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: var(--font-sans);
      font-size: 14px;
      line-height: 1.5;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      overflow-x: clip;
    }

    a, button {
      cursor: pointer;
      font-family: inherit;
      border: none;
      background: none;
      color: inherit;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    input, select, textarea {
      font-family: inherit;
      font-size: 14px;
      outline: none;
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-xs);
      padding: 11px 14px;
      background: #ffffff;
      color: var(--text);
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    input:focus, select:focus, textarea:focus {
      border-color: var(--terracotta);
      box-shadow: 0 0 0 1px var(--terracotta);
    }

    .container {
      max-width: 1360px;
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }

    /* Crisp Inline Vector Icon Utility */
    .icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      vertical-align: middle;
    }
    .icon svg {
      width: 100%;
      height: 100%;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.6;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* Top Utility Announcement Bar */
    .utility-bar {
      background: #1E1A1B;
      color: #D3C9C2;
      font-size: 12px;
      letter-spacing: 0.03em;
      padding: 8px 0;
      border-bottom: 1px solid #2B2627;
    }
    .utility-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }
    .utility-highlight {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #F8F3ED;
      font-weight: 500;
    }
    .utility-actions {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    /* Language Switcher */
    .lang-switcher {
      position: relative;
    }
    .lang-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 255, 255, 0.08);
      color: #F8F3ED;
      padding: 4px 10px;
      border-radius: var(--radius-xs);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
    }
    .lang-btn:hover {
      background: rgba(255, 255, 255, 0.16);
    }
    .lang-dropdown {
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      background: #FFFFFF;
      color: var(--text);
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-lg);
      padding: 6px;
      display: none;
      grid-template-columns: 1fr;
      min-width: 150px;
      z-index: 100;
    }
    [dir="rtl"] .lang-dropdown {
      right: auto;
      left: 0;
    }
    .lang-dropdown.open {
      display: grid;
    }
    .lang-option {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px;
      border-radius: var(--radius-xs);
      font-size: 12px;
      font-weight: 500;
      text-align: left;
    }
    [dir="rtl"] .lang-option {
      text-align: right;
    }
    .lang-option:hover {
      background: var(--surface-subtle);
    }
    .lang-option.active {
      background: var(--terracotta-light);
      color: var(--terracotta-dark);
      font-weight: 700;
    }

    /* Currency Switcher */
    .currency-switcher {
      position: relative;
    }
    .currency-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 255, 255, 0.08);
      color: #F8F3ED;
      padding: 4px 10px;
      border-radius: var(--radius-xs);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
    }
    .currency-btn:hover {
      background: rgba(255, 255, 255, 0.16);
    }
    .currency-dropdown {
      position: absolute;
      top: calc(100% + 6px);
      right: 0;
      background: #FFFFFF;
      color: var(--text);
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-lg);
      padding: 6px;
      display: none;
      grid-template-columns: 1fr;
      min-width: 160px;
      z-index: 100;
    }
    [dir="rtl"] .currency-dropdown {
      right: auto;
      left: 0;
    }
    .currency-dropdown.open {
      display: grid;
    }
    .currency-option {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px;
      border-radius: var(--radius-xs);
      font-size: 12px;
      font-weight: 500;
      text-align: left;
    }
    [dir="rtl"] .currency-option {
      text-align: right;
    }
    .currency-option:hover {
      background: var(--surface-subtle);
    }
    .currency-option.active {
      background: var(--terracotta-light);
      color: var(--terracotta-dark);
      font-weight: 700;
    }

    /* Condition filter select styling */
    .condition-select {
      background: var(--surface);
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-xs);
      padding: 8px 12px;
      font-size: 12px;
      color: var(--text);
    }

    /* Wishlist Badge and Items */
    .wishlist-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--terracotta);
      color: #ffffff;
      font-size: 10px;
      font-weight: 700;
      min-width: 17px;
      height: 17px;
      border-radius: 9999px;
      padding: 0 4px;
      margin-left: 4px;
    }
    [dir="rtl"] .wishlist-badge {
      margin-left: 0;
      margin-right: 4px;
    }

    .wishlist-card {
      display: flex;
      gap: 14px;
      padding: 14px;
      background: #FFFFFF;
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-sm);
      margin-bottom: 12px;
      align-items: center;
    }
    .wishlist-card-img {
      width: 76px;
      height: 76px;
      object-fit: cover;
      border-radius: var(--radius-xs);
      background: var(--surface-subtle);
      flex-shrink: 0;
    }
    .wishlist-card-info {
      flex: 1;
      min-width: 0;
    }
    .wishlist-card-brand {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--terracotta-dark);
    }
    .wishlist-card-title {
      font-size: 13px;
      font-weight: 600;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin: 2px 0 6px;
    }
    .wishlist-card-price {
      font-weight: 700;
      font-size: 14px;
    }
    .wishlist-actions {
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex-shrink: 0;
    }
    .btn-wishlist-action {
      padding: 6px 12px;
      font-size: 11px;
      font-weight: 600;
      border-radius: var(--radius-xs);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* Order Confirmation Invoice Modal */
    .order-success-content {
      max-width: 620px;
      width: 100%;
      background: #FFFFFF;
      border-radius: var(--radius-sm);
      padding: 32px;
      box-shadow: var(--shadow-lg);
      position: relative;
      max-height: 90vh;
      overflow-y: auto;
    }
    .order-badge-success {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #EBF8F2;
      color: #0E7048;
      padding: 6px 14px;
      border-radius: 9999px;
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .order-tracking-steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      margin: 20px 0;
      padding: 16px;
      background: var(--surface-subtle);
      border-radius: var(--radius-sm);
      text-align: center;
      font-size: 11px;
    }
    .tracking-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      color: var(--text-muted);
    }
    .tracking-step.completed {
      color: var(--text);
      font-weight: 700;
    }
    .tracking-dot {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #D9D2CA;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-size: 10px;
    }
    .tracking-step.completed .tracking-dot {
      background: var(--terracotta);
    }

    /* Quick Concierge Chip Prompts */
    .concierge-prompts-row {
      display: flex;
      gap: 6px;
      overflow-x: auto;
      padding: 4px 0 12px;
      scrollbar-width: none;
    }
    .concierge-prompt-chip {
      background: var(--surface-subtle);
      border: 1px solid var(--sand-border);
      border-radius: 9999px;
      padding: 5px 12px;
      font-size: 11px;
      font-weight: 500;
      white-space: nowrap;
      cursor: pointer;
      color: var(--text);
      transition: all 0.15s ease;
    }
    .concierge-prompt-chip:hover {
      background: var(--terracotta-light);
      border-color: var(--terracotta);
      color: var(--terracotta-dark);
    }
    .typing-indicator {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 8px 12px;
      background: #F4EDE4;
      border-radius: 12px 12px 12px 2px;
      font-size: 11px;
      color: var(--text-muted);
      width: fit-content;
      margin-bottom: 8px;
    }

    /* Main Navigation Header */
    .header {
      background: rgba(250, 246, 242, 0.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--sand-border);
      position: sticky;
      top: 0;
      z-index: 40;
    }
    .nav-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 82px;
      gap: 24px;
    }

    .brand-link {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      flex-shrink: 0;
    }
    .brand-logo-img {
      height: 44px;
      width: auto;
      object-fit: contain;
      display: block;
    }

    .search-wrapper {
      flex: 1;
      max-width: 460px;
      position: relative;
    }
    .search-input {
      width: 100%;
      background: var(--surface);
      border: 1px solid var(--sand-border);
      padding: 10px 16px 10px 42px;
      border-radius: 9999px;
      font-size: 13px;
    }
    [dir="rtl"] .search-input {
      padding: 10px 42px 10px 16px;
    }
    .search-input:focus {
      background: #ffffff;
      border-color: var(--terracotta);
      box-shadow: 0 0 0 1px var(--terracotta);
    }
    .search-icon-pos {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      width: 16px;
      height: 16px;
      pointer-events: none;
    }
    [dir="rtl"] .search-icon-pos {
      left: auto;
      right: 14px;
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-nav {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 9px 15px;
      border-radius: var(--radius-xs);
      font-size: 13px;
      font-weight: 500;
      color: var(--text);
    }
    .btn-nav:hover {
      background: var(--surface-subtle);
    }

    .btn-sell-highlight {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--terracotta);
      color: #ffffff;
      padding: 8px 14px;
      font-size: 13px;
      font-weight: 600;
      border-radius: var(--radius-xs);
      transition: all 0.2s ease;
      border: 1px solid var(--terracotta);
      cursor: pointer;
    }
    .btn-sell-highlight:hover {
      background: var(--terracotta-dark);
      border-color: var(--terracotta-dark);
      color: #ffffff;
    }

    .bag-btn {
      position: relative;
      background: var(--primary);
      color: #ffffff;
      padding: 10px 18px;
      border-radius: var(--radius-xs);
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    .bag-btn:hover {
      background: var(--primary-hover);
    }
    .bag-badge {
      background: var(--terracotta);
      color: #ffffff;
      font-size: 10px;
      font-weight: 700;
      min-width: 18px;
      height: 18px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 4px;
    }

    /* Editorial Hero Section (Strictly NO pictures of women/people - architectural luxury atelier still life) */
    .hero {
      position: relative;
      background: #1C1819;
      color: #ffffff;
      overflow: hidden;
      border-bottom: 1px solid #2B2627;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      min-height: 420px;
      align-items: center;
    }
    .hero-content {
      padding: 56px 0;
      z-index: 2;
    }
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: #E2A080;
      margin-bottom: 14px;
      font-weight: 600;
    }
    .hero-title {
      font-family: var(--font-serif);
      font-size: 44px;
      line-height: 1.15;
      font-weight: 600;
      letter-spacing: 0.02em;
      margin-bottom: 18px;
    }
    .hero-desc {
      color: #C3BBB5;
      font-size: 15px;
      max-width: 500px;
      line-height: 1.6;
      margin-bottom: 28px;
    }
    .hero-cta-group {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .btn-hero-primary {
      background: var(--terracotta);
      color: #ffffff;
      font-weight: 600;
      font-size: 13px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 14px 28px;
      border-radius: var(--radius-xs);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-hero-primary:hover {
      background: var(--terracotta-dark);
    }
    .btn-hero-secondary {
      border: 1px solid rgba(255, 255, 255, 0.28);
      color: #ffffff;
      font-weight: 500;
      font-size: 13px;
      padding: 13px 24px;
      border-radius: var(--radius-xs);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn-hero-secondary:hover {
      border-color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
    }

    .hero-visual {
      position: relative;
      height: 100%;
      min-height: 420px;
      background: linear-gradient(135deg, #C67D5A 0%, #8A4E34 42%, #231F20 100%);
    }
    .hero-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      opacity: 0.88;
    }
    .hero-overlay-gradient {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, #1C1819 0%, rgba(28, 24, 25, 0.45) 45%, rgba(28, 24, 25, 0.1) 100%);
    }
    [dir="rtl"] .hero-overlay-gradient {
      background: linear-gradient(-90deg, #1C1819 0%, rgba(28, 24, 25, 0.45) 45%, rgba(28, 24, 25, 0.1) 100%);
    }

    /* Value Pillars Bar */
    .pillars-bar {
      background: var(--surface);
      border-bottom: 1px solid var(--sand-border);
      padding: 22px 0;
    }
    .pillars-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .pillar-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }
    .pillar-icon-box {
      width: 42px;
      height: 42px;
      border-radius: var(--radius-xs);
      background: var(--terracotta-light);
      color: var(--terracotta-dark);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .pillar-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 2px;
    }
    .pillar-subtitle {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    /* Catalog Section */
    .catalog-section {
      padding: 48px 0 80px;
      flex: 1;
    }
    .section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 26px;
      flex-wrap: wrap;
      gap: 16px;
    }
    .section-title {
      font-family: var(--font-serif);
      font-size: 28px;
      font-weight: 600;
      letter-spacing: 0.04em;
    }
    .section-count {
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    .category-pills {
      display: flex;
      align-items: center;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 6px;
      scrollbar-width: none;
    }
    .category-pills::-webkit-scrollbar {
      display: none;
    }
    .category-pill {
      padding: 8px 18px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.02em;
      background: var(--surface);
      border: 1px solid var(--sand-border);
      color: var(--text-muted);
      white-space: nowrap;
    }
    .category-pill:hover {
      border-color: var(--terracotta);
      color: var(--text);
    }
    .category-pill.active {
      background: var(--primary);
      border-color: var(--primary);
      color: #ffffff;
    }

    .filter-sort-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--sand-border);
      flex-wrap: wrap;
      gap: 16px;
    }
    .sort-group {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: var(--text-muted);
    }
    .sort-select {
      background: var(--surface);
      border: 1px solid var(--sand-border);
      padding: 8px 14px;
      font-size: 13px;
      font-weight: 500;
      border-radius: var(--radius-xs);
      cursor: pointer;
    }

    /* Product Grid */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 28px 22px;
    }

    .product-card {
      background: var(--surface);
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-xs);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: var(--sand-border-dark);
    }

    .card-media-wrap {
      position: relative;
      width: 100%;
      padding-top: 125%;
      background: #F4EDE4;
      overflow: hidden;
      cursor: pointer;
    }
    .card-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .product-card:hover .card-img {
      transform: scale(1.05);
    }

    .card-wishlist-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(4px);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      transition: background 0.2s, transform 0.2s;
      z-index: 3;
    }
    [dir="rtl"] .card-wishlist-btn {
      right: auto;
      left: 12px;
    }
    .card-wishlist-btn:hover {
      background: #ffffff;
      transform: scale(1.1);
    }
    .card-wishlist-btn.active {
      color: var(--terracotta);
    }

    .card-condition-tag {
      position: absolute;
      bottom: 12px;
      left: 12px;
      background: rgba(35, 31, 32, 0.88);
      backdrop-filter: blur(4px);
      color: #ffffff;
      font-size: 10px;
      letter-spacing: 0.05em;
      padding: 4px 8px;
      border-radius: var(--radius-xs);
      font-weight: 500;
    }
    [dir="rtl"] .card-condition-tag {
      left: auto;
      right: 12px;
    }

    .card-content {
      padding: 16px 18px 20px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .card-brand {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--terracotta-dark);
      margin-bottom: 4px;
    }
    .card-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.4;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 38px;
    }
    .card-seller {
      font-size: 11px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 5px;
      margin-bottom: 14px;
    }
    .seller-rating-pill {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      font-weight: 600;
      color: var(--text);
    }

    .card-footer {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding-top: 12px;
      border-top: 1px solid var(--surface-subtle);
    }
    .card-prices {
      display: flex;
      align-items: baseline;
      gap: 8px;
    }
    .price-current {
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
    }
    .price-original {
      font-size: 12px;
      color: var(--text-light);
      text-decoration: line-through;
    }

    .card-btn-bag {
      padding: 8px 14px;
      background: var(--surface-subtle);
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-xs);
      font-size: 12px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--text);
    }
    .card-btn-bag:hover {
      background: var(--primary);
      border-color: var(--primary);
      color: #ffffff;
    }

    /* Modal Framework */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(35, 31, 32, 0.75);
      backdrop-filter: blur(6px);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }
    .modal-backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }
    .modal-container {
      background: #ffffff;
      border-radius: var(--radius-sm);
      max-width: 900px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      box-shadow: var(--shadow-lg);
      transform: translateY(20px);
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .modal-backdrop.open .modal-container {
      transform: translateY(0);
    }
    .modal-close-btn {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--surface-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      z-index: 10;
    }
    [dir="rtl"] .modal-close-btn {
      right: auto;
      left: 18px;
    }
    .modal-close-btn:hover {
      background: var(--primary);
      color: #ffffff;
    }

    /* Product Detail Modal Content */
    .modal-product-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
    }
    .modal-product-gallery {
      padding: 32px;
      background: var(--surface-subtle);
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .modal-main-image-wrap {
      width: 100%;
      padding-top: 120%;
      position: relative;
      background: #ffffff;
      border-radius: var(--radius-xs);
      overflow: hidden;
    }
    .modal-main-image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .modal-thumbs-row {
      display: flex;
      gap: 10px;
    }
    .modal-thumb {
      width: 60px;
      height: 60px;
      border: 2px solid transparent;
      border-radius: var(--radius-xs);
      overflow: hidden;
      cursor: pointer;
      opacity: 0.7;
    }
    .modal-thumb.active, .modal-thumb:hover {
      border-color: var(--terracotta);
      opacity: 1;
    }
    .modal-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .modal-product-info {
      padding: 36px 36px 36px 28px;
      display: flex;
      flex-direction: column;
    }
    [dir="rtl"] .modal-product-info {
      padding: 36px 28px 36px 36px;
    }
    .modal-brand {
      font-size: 12px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      font-weight: 700;
      color: var(--terracotta-dark);
      margin-bottom: 6px;
    }
    .modal-title {
      font-family: var(--font-serif);
      font-size: 24px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.3;
      margin-bottom: 12px;
    }
    .modal-price-row {
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--sand-border);
    }
    .modal-price {
      font-size: 26px;
      font-weight: 700;
      color: var(--text);
    }
    .modal-orig-price {
      font-size: 16px;
      color: var(--text-light);
      text-decoration: line-through;
    }
    .modal-discount-pill {
      background: var(--terracotta-light);
      color: var(--terracotta-dark);
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: var(--radius-xs);
    }

    .modal-desc {
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.6;
      margin-bottom: 24px;
    }

    .variant-selector-group {
      margin-bottom: 22px;
    }
    .variant-label {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--text);
      margin-bottom: 8px;
      display: flex;
      justify-content: space-between;
    }
    .variant-options-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .variant-btn {
      padding: 9px 16px;
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-xs);
      font-size: 13px;
      font-weight: 500;
      background: var(--surface);
    }
    .variant-btn:hover {
      border-color: var(--terracotta);
    }
    .variant-btn.selected {
      background: var(--primary);
      border-color: var(--primary);
      color: #ffffff;
    }

    .authenticity-guarantee-card {
      background: var(--surface-subtle);
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-xs);
      padding: 14px 16px;
      display: flex;
      gap: 12px;
      align-items: flex-start;
      margin-bottom: 24px;
    }
    .guarantee-icon {
      color: var(--terracotta);
      margin-top: 2px;
    }
    .guarantee-text h4 {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--text);
      margin-bottom: 2px;
    }
    .guarantee-text p {
      font-size: 11px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    .modal-actions-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: auto;
    }
    .btn-add-bag-modal {
      background: var(--primary);
      color: #ffffff;
      padding: 15px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border-radius: var(--radius-xs);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .btn-add-bag-modal:hover {
      background: var(--primary-hover);
    }
    .btn-contact-seller {
      border: 1px solid var(--sand-border);
      padding: 13px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.04em;
      border-radius: var(--radius-xs);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: var(--text);
    }
    .btn-contact-seller:hover {
      background: var(--surface-subtle);
    }

    /* Slide-out Drawer Framework */
    .drawer-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(35, 31, 32, 0.6);
      backdrop-filter: blur(4px);
      z-index: 120;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .drawer-backdrop.open {
      opacity: 1;
      pointer-events: auto;
    }
    .drawer-panel {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      max-width: 440px;
      background: #ffffff;
      box-shadow: -10px 0 30px rgba(35, 31, 32, 0.15);
      z-index: 130;
      transform: translateX(100%);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      flex-direction: column;
    }
    [dir="rtl"] .drawer-panel {
      right: auto;
      left: 0;
      transform: translateX(-100%);
      box-shadow: 10px 0 30px rgba(35, 31, 32, 0.15);
    }
    .drawer-panel.open {
      transform: translateX(0);
    }

    .drawer-header {
      padding: 22px 24px;
      border-bottom: 1px solid var(--sand-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .drawer-title {
      font-family: var(--font-serif);
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 0.05em;
    }
    .drawer-body {
      padding: 20px 24px;
      overflow-y: auto;
      flex: 1;
    }

    /* Bag Drawer Elements */
    .shipping-bar-box {
      background: var(--surface-subtle);
      border-radius: var(--radius-xs);
      padding: 12px 16px;
      margin-bottom: 20px;
    }
    .shipping-text {
      font-size: 12px;
      color: var(--text);
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
    }
    .shipping-progress-bg {
      height: 4px;
      background: var(--sand-border);
      border-radius: 999px;
      overflow: hidden;
    }
    .shipping-progress-fill {
      height: 100%;
      background: var(--terracotta);
      width: 60%;
      transition: width 0.3s ease;
    }

    .bag-items-list {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .bag-item {
      display: grid;
      grid-template-columns: 80px 1fr;
      gap: 14px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--sand-border);
      position: relative;
    }
    .bag-item-img {
      width: 80px;
      height: 100px;
      object-fit: cover;
      border-radius: var(--radius-xs);
      background: var(--surface-subtle);
    }
    .bag-item-brand {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--terracotta-dark);
    }
    .bag-item-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      margin: 2px 0 4px;
      line-height: 1.3;
    }
    .bag-item-variant {
      font-size: 11px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .bag-item-qty-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .qty-stepper {
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-xs);
    }
    .qty-btn {
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
    }
    .qty-btn:hover {
      background: var(--surface-subtle);
    }
    .qty-val {
      font-size: 12px;
      font-weight: 600;
      padding: 0 8px;
    }
    .bag-item-price {
      font-size: 14px;
      font-weight: 700;
    }

    .drawer-footer {
      padding: 20px 24px;
      border-top: 1px solid var(--sand-border);
      background: #FAF6F2;
    }
    .promo-input-row {
      display: flex;
      gap: 8px;
      margin-bottom: 16px;
    }
    .promo-input-row input {
      flex: 1;
      padding: 8px 12px;
      font-size: 12px;
    }
    .btn-apply-promo {
      padding: 8px 14px;
      background: var(--text);
      color: #fff;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      border-radius: var(--radius-xs);
    }

    .drawer-summary-row {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 6px;
    }
    .drawer-summary-row.total {
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
      padding-top: 8px;
      margin-top: 8px;
      border-top: 1px solid var(--sand-border);
    }

    .btn-checkout-drawer {
      width: 100%;
      background: var(--primary);
      color: #ffffff;
      padding: 15px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border-radius: var(--radius-xs);
      margin-top: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .btn-checkout-drawer:hover {
      background: var(--primary-hover);
    }

    /* Authentication Modal */
    .auth-modal-content {
      max-width: 440px;
      padding: 36px 32px;
    }
    .auth-header {
      text-align: center;
      margin-bottom: 24px;
    }
    .auth-logo-img {
      height: 48px;
      margin: 0 auto 10px;
      display: block;
    }
    .auth-sub {
      font-size: 13px;
      color: var(--text-muted);
    }

    .auth-tabs {
      display: flex;
      border-bottom: 1px solid var(--sand-border);
      margin-bottom: 24px;
    }
    .auth-tab {
      flex: 1;
      padding: 10px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.04em;
      color: var(--text-muted);
      text-align: center;
      position: relative;
    }
    .auth-tab.active {
      color: var(--text);
    }
    .auth-tab.active::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--terracotta);
    }

    .auth-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .form-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text);
    }

    .auth-demo-hint {
      background: var(--terracotta-light);
      border: 1px solid #EBD5C9;
      border-radius: var(--radius-xs);
      padding: 10px 12px;
      font-size: 11px;
      color: var(--terracotta-dark);
      line-height: 1.4;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .btn-fill-demo {
      font-weight: 700;
      text-decoration: underline;
      cursor: pointer;
    }

    .btn-auth-submit {
      background: var(--primary);
      color: #ffffff;
      padding: 13px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      border-radius: var(--radius-xs);
      margin-top: 8px;
    }
    .btn-auth-submit:hover {
      background: var(--primary-hover);
    }

    .auth-alert {
      padding: 10px 12px;
      border-radius: var(--radius-xs);
      font-size: 12px;
      display: none;
    }
    .auth-alert.error {
      display: block;
      background: #fef2f2;
      color: #b91c1c;
      border: 1px solid #fecaca;
    }
    .auth-alert.success {
      display: block;
      background: #f0fdf4;
      color: #15803d;
      border: 1px solid #bbf7d0;
    }

    /* User Profile Modal */
    .profile-modal-content {
      max-width: 680px;
      padding: 32px;
    }
    .profile-header-card {
      display: flex;
      align-items: center;
      gap: 20px;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--sand-border);
      margin-bottom: 24px;
    }
    .profile-avatar-circle {
      width: 68px;
      height: 68px;
      border-radius: 50%;
      background: var(--terracotta);
      color: #ffffff;
      font-size: 22px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 2px solid var(--sand-border);
      flex-shrink: 0;
    }
    .profile-name {
      font-size: 18px;
      font-weight: 700;
      color: var(--text);
    }
    .profile-meta {
      font-size: 12px;
      color: var(--text-muted);
      margin: 2px 0 6px;
    }
    .profile-role-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: var(--terracotta-light);
      color: var(--terracotta-dark);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 2px 8px;
      border-radius: var(--radius-xs);
    }

    .orders-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .order-card {
      border: 1px solid var(--sand-border);
      border-radius: var(--radius-xs);
      padding: 16px;
      background: #FFFFFF;
    }
    .order-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--surface-subtle);
    }
    .order-id {
      font-weight: 700;
      font-size: 13px;
    }
    .order-status {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 600;
      color: #15803d;
      background: #f0fdf4;
      padding: 2px 8px;
      border-radius: var(--radius-xs);
    }
    .order-items-preview {
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .order-thumb {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-xs);
      object-fit: cover;
    }

    /* Checkout Modal */
    .checkout-modal-content {
      max-width: 600px;
      padding: 32px;
    }
    .checkout-step-title {
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin: 18px 0 10px;
      color: var(--text);
    }
    .form-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    /* Seller Messaging Drawer */
    .chat-messages-container {
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-height: 280px;
    }
    .chat-bubble {
      max-width: 82%;
      padding: 12px 14px;
      border-radius: var(--radius-xs);
      font-size: 13px;
      line-height: 1.45;
    }
    .chat-bubble.inbound {
      align-self: flex-start;
      background: var(--surface-subtle);
      color: var(--text);
    }
    [dir="rtl"] .chat-bubble.inbound {
      align-self: flex-start;
    }
    .chat-bubble.outbound {
      align-self: flex-end;
      background: var(--primary);
      color: #ffffff;
    }
    .chat-time {
      font-size: 10px;
      opacity: 0.65;
      margin-top: 4px;
      text-align: right;
    }
    [dir="rtl"] .chat-time {
      text-align: left;
    }

    .chat-input-bar {
      padding: 14px 20px;
      border-top: 1px solid var(--sand-border);
      display: flex;
      gap: 8px;
      background: #ffffff;
    }
    .chat-input-bar input {
      flex: 1;
      padding: 10px 14px;
    }
    .btn-chat-send {
      background: var(--terracotta);
      color: #ffffff;
      padding: 10px 16px;
      border-radius: var(--radius-xs);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .btn-chat-send:hover {
      background: var(--terracotta-dark);
    }

    /* Toast Notification */
    .toast-pill {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background: #231F20;
      color: #ffffff;
      padding: 12px 22px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: var(--shadow-lg);
      z-index: 200;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      pointer-events: none;
    }
    .toast-pill.show {
      transform: translateX(-50%) translateY(0);
    }

    /* Footer */
    .footer {
      background: #1C1819;
      color: #AFA7A1;
      padding: 60px 0 30px;
      border-top: 1px solid #2B2627;
      margin-top: auto;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 48px;
    }
    .footer-logo-img {
      height: 40px;
      margin-bottom: 12px;
      filter: brightness(0) invert(1);
    }
    .footer-desc {
      font-size: 13px;
      line-height: 1.6;
      max-width: 320px;
    }
    .footer-heading {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #ffffff;
      margin-bottom: 16px;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
      font-size: 13px;
    }
    .footer-links a:hover {
      color: #ffffff;
    }
    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 24px;
      border-top: 1px solid #2B2627;
      font-size: 12px;
      color: #8C847E;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .products-grid {
        grid-template-columns: repeat(3, 1fr);
      }
      .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .modal-product-grid {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 768px) {
      .container {
        padding: 0 16px;
      }
      .nav-container {
        gap: 8px 10px;
        height: auto;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
      }
      .hero-grid {
        grid-template-columns: 1fr;
      }
      .hero-visual {
        min-height: 240px;
      }
      .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
      }
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      /* Keep search usable on mobile: full-width second row */
      .search-wrapper {
        display: block;
        order: 3;
        flex-basis: 100%;
        max-width: none;
      }
      .brand-logo-img {
        height: 34px;
      }
      .btn-nav .nav-text {
        display: none;
      }
      .btn-sell-highlight .nav-text {
        display: none;
      }
      .btn-nav, .btn-sell-highlight {
        padding: 6px 10px;
      }
      .bag-text {
        display: none;
      }
      .bag-btn {
        padding: 8px 10px;
        gap: 6px;
      }
      /* Utility bar: declutter so it never overflows on phones */
      .utility-highlight { display: none; }
      .utility-bar .container { justify-content: center; }
      .utility-actions { gap: 14px; }
      .utility-shipping-note { display: none; }
      .utility-actions > a { display: none; }
    }
    @media (max-width: 540px) {
      .products-grid {
        grid-template-columns: 1fr;
      }
      .pillars-grid {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ===================== Premium polish layer ===================== */
    html { scroll-behavior: smooth; }
    body { text-rendering: optimizeLegibility; }

    /* Header elevates subtly once the page is scrolled */
    .header { transition: box-shadow .3s ease, background .3s ease; }
    .header.is-scrolled {
      box-shadow: 0 6px 26px rgba(35, 31, 32, 0.08);
      background: rgba(250, 246, 242, 0.92);
    }

    /* Hero headline refinement */
    .hero-title { letter-spacing: -0.015em; }
    .hero-text > * { animation: pnkFade .7s cubic-bezier(.16,1,.3,1) both; }
    .hero-text > *:nth-child(2){ animation-delay:.05s }
    .hero-text > *:nth-child(3){ animation-delay:.10s }
    .hero-text > *:nth-child(4){ animation-delay:.15s }
    .hero-visual { animation: pnkFade .9s ease .1s both; }

    @keyframes pnkFade { from { opacity:0; transform: translateY(16px);} to { opacity:1; transform:none;} }
    @keyframes pnkRise { from { opacity:0; transform: translateY(18px);} to { opacity:1; transform:none;} }

    /* Staggered catalogue entrance */
    .product-card { animation: pnkRise .55s cubic-bezier(.16,1,.3,1) both; }
    .products-grid .product-card:nth-child(1){animation-delay:.00s}
    .products-grid .product-card:nth-child(2){animation-delay:.05s}
    .products-grid .product-card:nth-child(3){animation-delay:.10s}
    .products-grid .product-card:nth-child(4){animation-delay:.15s}
    .products-grid .product-card:nth-child(5){animation-delay:.20s}
    .products-grid .product-card:nth-child(6){animation-delay:.25s}
    .products-grid .product-card:nth-child(7){animation-delay:.30s}
    .products-grid .product-card:nth-child(8){animation-delay:.35s}

    /* Richer card hover */
    .product-card { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .35s ease; }
    .product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(35,31,32,.14); }
    .card-media-wrap::after {
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background: linear-gradient(180deg, rgba(35,31,32,0) 60%, rgba(35,31,32,.10) 100%);
      opacity: 0; transition: opacity .35s ease;
    }
    .product-card:hover .card-media-wrap::after { opacity: 1; }
    .card-btn-bag { transition: background .2s ease, color .2s ease, transform .2s ease; }
    .card-btn-bag:hover { background: var(--terracotta); color: #fff; }

    /* Button micro-interactions */
    .btn-hero-primary { transition: background .22s ease, transform .22s ease, box-shadow .22s ease; box-shadow: 0 2px 10px rgba(198,125,90,.22); }
    .btn-hero-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(172,98,63,.30); }
    .btn-hero-secondary { transition: border-color .22s ease, background .22s ease, transform .22s ease; }
    .btn-hero-secondary:hover { transform: translateY(-2px); }

    /* Category pills */
    .category-pill { transition: all .2s ease; }
    .category-pill:hover { border-color: var(--terracotta); color: var(--text); }
    .category-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

    /* Pillars + wishlist buttons */
    .pillar-item { transition: transform .25s ease; }
    .pillar-item:hover { transform: translateY(-3px); }
    .card-wishlist-btn { transition: transform .2s ease, background .2s ease, color .2s ease; }
    .card-wishlist-btn:hover { transform: scale(1.1); color: var(--terracotta); }
    .card-wishlist-btn.active { color: var(--terracotta); }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, .product-card, .hero-text > *, .hero-visual { animation: none !important; transition: none !important; }
    }

    /* Social sign-in */
    .social-divider { display:flex; align-items:center; gap:12px; margin:18px 0 14px; color:var(--text-light); font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
    .social-divider::before, .social-divider::after { content:""; flex:1; height:1px; background:var(--sand-border); }
    .social-row { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
    .social-btn { display:flex; align-items:center; justify-content:center; gap:7px; padding:11px 8px; border:1px solid var(--sand-border); border-radius:var(--radius-xs); background:#fff; font-size:12.5px; font-weight:600; color:var(--text); transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
    .social-btn:hover { border-color:var(--sand-border-dark); transform:translateY(-1px); box-shadow:var(--shadow-sm); }
    .social-btn .icon { width:16px; height:16px; }
    @media (max-width:520px){ .social-btn span.lbl{ display:none; } }

    /* Make an Offer button */
    .btn-make-offer { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:13px; margin-top:10px; background:transparent; border:1px solid var(--terracotta); color:var(--terracotta-dark); font-weight:600; font-size:13px; letter-spacing:.03em; border-radius:var(--radius-xs); transition:background .2s ease, color .2s ease, transform .2s ease; }
    .btn-make-offer:hover { background:var(--terracotta); color:#fff; transform:translateY(-1px); }

    /* Info modal body */
    #infoModalBody p { margin:0; }
    #infoModalBody strong { color:var(--text); }

    /* Lock background scroll while an overlay is open (prevents jank) */
    html.pnk-noscroll, body.pnk-noscroll { overflow: hidden !important; height: 100%; touch-action: none; }
    /* Reserve the scrollbar width so the page doesn't shift when locked */
    body.pnk-noscroll { padding-right: var(--pnk-sbw, 0px); }

    /* ---- Shop by Category ---- */
    .shop-cat-section { padding: 66px 0 56px; background: var(--bg); }
    .section-head-center { text-align: center; max-width: 620px; margin: 0 auto 34px; }
    .section-title-lg { font-family: var(--font-serif); font-size: 32px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
    .section-sub { color: var(--text-muted); margin-top: 8px; font-size: 14px; }
    .category-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .cat-tile {
      position: relative; height: 230px; border-radius: var(--radius-md); overflow: hidden;
      display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
      padding: 24px; color: #fff; text-align: left; border: none; cursor: pointer; isolation: isolate;
      box-shadow: var(--shadow-sm); transition: box-shadow .35s ease, transform .35s cubic-bezier(.16,1,.3,1);
    }
    [dir="rtl"] .cat-tile { text-align: right; align-items: flex-end; }
    .cat-tile::before {
      content: ""; position: absolute; inset: 0; z-index: -2; transition: transform .6s cubic-bezier(.16,1,.3,1);
    }
    .cat-tile::after {
      content: ""; position: absolute; inset: 0; z-index: -1;
      background: linear-gradient(180deg, rgba(20,16,15,0) 35%, rgba(20,16,15,.55) 100%);
    }
    .cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
    .cat-tile:hover::before { transform: scale(1.07); }
    .ct1::before { background: linear-gradient(140deg, #2B2320 0%, #6E4A38 100%); }
    .ct2::before { background: linear-gradient(140deg, #4A3F38 0%, #C8A07E 100%); }
    .ct3::before { background: linear-gradient(140deg, #201C1B 0%, #4A433F 100%); }
    .ct4::before { background: linear-gradient(140deg, #5A3A28 0%, #C67D5A 100%); }
    .ct5::before { background: linear-gradient(140deg, #26221F 0%, #8A6E5A 100%); }
    .ct6::before { background: linear-gradient(140deg, #3A322C 0%, #AC623F 100%); }
    .cat-tile-name { font-family: var(--font-serif); font-size: 23px; font-weight: 600; line-height: 1.15; }
    .cat-tile-go { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; margin-top: 8px; opacity: .92; transition: gap .3s ease; }
    .cat-tile:hover .cat-tile-go { gap: 12px; }

    /* ---- Newsletter band ---- */
    .newsletter-band { background: #231F20; color: #F6EFE8; padding: 54px 0; }
    .newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
    .newsletter-title { font-family: var(--font-serif); font-size: 28px; font-weight: 600; }
    .newsletter-sub { color: #B8ADA4; font-size: 14px; margin-top: 8px; max-width: 440px; }
    .newsletter-form { display: flex; gap: 10px; flex: 1; min-width: 280px; max-width: 480px; }
    .newsletter-form input { flex: 1; background: #2E2926; border: 1px solid #45403C; color: #fff; border-radius: var(--radius-xs); padding: 13px 16px; }
    .newsletter-form input:focus { border-color: var(--terracotta); box-shadow: 0 0 0 1px var(--terracotta); }
    .newsletter-form .btn-hero-primary { padding: 13px 26px; white-space: nowrap; }
    @media (max-width: 768px) {
      /* Filter pills become a horizontal swipe row instead of overflowing */
      .section-header { flex-direction: column; align-items: stretch; }
      .category-pills { width: 100%; min-width: 0; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
      .category-pills::-webkit-scrollbar { display: none; }
      .category-pill { flex: 0 0 auto; }
      .category-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
      .cat-tile { height: 170px; padding: 18px; }
      .cat-tile-name { font-size: 19px; }
      .newsletter-inner { flex-direction: column; align-items: flex-start; }
      .newsletter-form { width: 100%; max-width: none; }
    }
    @media (max-width: 420px) {
      .category-tiles { grid-template-columns: 1fr 1fr; }
    }
  

    /* ===== v4: matte, flat, opaque. No glow, glass or translucency. ===== */
    .category-tiles { gap: 20px; }
    .cat-tile { height: 290px; padding: 30px; border-radius: 4px; box-shadow: none; border: 0; }
    .cat-tile::after { display: none; }
    .cat-tile::before { transition: none; }
    .ct1 { --bg:#3A2B24; --ic:#634A3C; }
    .ct2 { --bg:#7A604C; --ic:#A68B74; }
    .ct3 { --bg:#232120; --ic:#46423F; }
    .ct4 { --bg:#8C5334; --ic:#B97B5C; }
    .ct5 { --bg:#2D3A3C; --ic:#546A6F; }
    .ct6 { --bg:#5A3D3F; --ic:#85646A; }
    .ct1::before, .ct2::before, .ct3::before, .ct4::before, .ct5::before, .ct6::before { background: var(--bg); }
    .cat-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -14px rgba(35,31,32,.45); }
    .cat-tile:hover::before { transform: none; }

    .cat-art { position: absolute; z-index: -1; top: 50%; inset-inline-end: -96px; width: 280px; height: 280px; margin-top: -158px; color: var(--ic); pointer-events: none; --sx: 1; }
    [dir="rtl"] .cat-art { --sx: -1; }
    .cat-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1s cubic-bezier(.16,1,.3,1), opacity .9s ease, filter .9s ease; }
    .cat-art .a-glow { display: none; }
    .cat-art .a-blur  { filter: blur(6px); stroke-width: 1.5;
      -webkit-mask-image: linear-gradient(to right, transparent 32%, #000 60%); mask-image: linear-gradient(to right, transparent 32%, #000 60%); }
    .cat-art .a-sharp { stroke-width: 1.1;
      -webkit-mask-image: linear-gradient(to right, #000 30%, transparent 58%); mask-image: linear-gradient(to right, #000 30%, transparent 58%); }
    [dir="rtl"] .cat-art .a-blur  { -webkit-mask-image: linear-gradient(to left, transparent 32%, #000 60%); mask-image: linear-gradient(to left, transparent 32%, #000 60%); }
    [dir="rtl"] .cat-art .a-sharp { -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 58%); mask-image: linear-gradient(to left, #000 30%, transparent 58%); }

    .pnk-js .cat-tile .cat-art svg { opacity: 0; transform: translateX(calc(var(--sx) * 120px)) scale(.94); }
    .pnk-js .cat-tile.pnk-in .cat-art svg { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * .09s + .1s); }
    .pnk-js .cat-tile .cat-tile-name, .pnk-js .cat-tile .cat-tile-go { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1); }
    .pnk-js .cat-tile.pnk-in .cat-tile-name, .pnk-js .cat-tile.pnk-in .cat-tile-go { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * .09s + .28s); }

    .cat-tile:hover .cat-art svg { transition-delay: 0s; }
    .cat-tile:hover .cat-art .a-sharp, .cat-tile:hover .cat-art .a-blur { transform: translateX(calc(var(--sx) * -18px)); }
    .cat-tile:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
    .cat-tile .cat-tile-name { font-size: 30px; letter-spacing: -.01em; text-shadow: none; color: #fff; }
    .cat-tile .cat-tile-go { margin-top: 14px; padding: 8px 16px; border-radius: 2px; background: #FAF6F2; color: #231F20; border: 0; text-shadow: none; opacity: 1; font-weight: 600; transition: background .2s ease, color .2s ease, gap .3s ease; }
    .cat-tile .cat-tile-go .icon svg { stroke: #231F20; }
    .cat-tile:hover .cat-tile-go { background: var(--terracotta); color: #fff; }
    .cat-tile:hover .cat-tile-go .icon svg { stroke: #fff; }
    [dir="rtl"] .cat-tile .cat-tile-go svg { transform: scaleX(-1); }
    @media (max-width: 720px) {
      .cat-tile { height: 200px; padding: 18px; }
      .cat-art { width: 140px; height: 140px; margin-top: -92px; inset-inline-end: -44px; }
      .cat-tile .cat-tile-name { font-size: 21px; }
      .cat-tile .cat-tile-go { padding: 6px 10px; font-size: 10px; }
    }

    .pnk-js .pnk-rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .9s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * .07s); }
    .pnk-js .pnk-rv.pnk-in { opacity: 1; transform: none; }
    .pnk-js .product-card.pnk-rv { animation: none; }
    .pnk-js .product-card.pnk-rv.pnk-in:hover { transform: translateY(-4px); transition-delay: 0s; }

    @keyframes pnkKen { from { transform: scale(1.06); } to { transform: scale(1); } }
    .hero-img { animation: pnkKen 2.2s cubic-bezier(.16,1,.3,1) both; }
    .section-title-lg::before, .section-title::before { content: ""; display: block; width: 36px; height: 2px; background: var(--terracotta); margin: 0 auto 14px; }
    .section-title::before { margin-inline-start: 0; }

    /* opaque header */
    .header, .header.is-scrolled { background: #FAF6F2; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .header.is-scrolled { box-shadow: 0 1px 0 var(--sand-border); }

    /* flat pillars */
    .pillar-item { padding: 6px 4px; }
    .pillar-icon-box { border-radius: 4px; width: 46px; height: 46px; background: #F3E7DD; box-shadow: none; color: var(--terracotta-dark); transition: background .25s ease, color .25s ease; }
    .pillar-item:hover { transform: none; }
    .pillar-item:hover .pillar-icon-box { background: var(--terracotta); color: #fff; transform: none; }

    /* product cards: flat, crisp */
    .product-card { border-radius: 4px; overflow: hidden; box-shadow: none; }
    .product-card:hover { box-shadow: 0 16px 30px -18px rgba(35,31,32,.4); }
    .card-img { transition: transform .9s cubic-bezier(.16,1,.3,1); }
    .product-card:hover .card-img { transform: scale(1.03); }
    .card-media-wrap::after { display: none; }
    .card-wishlist-btn { backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; background: #fff; }
    .card-condition-tag { backdrop-filter: none; -webkit-backdrop-filter: none; background: #231F20; }
    .card-brand { letter-spacing: .12em; }
    @media (prefers-reduced-motion: reduce) { .pnk-js .cat-tile .cat-art svg, .pnk-js .cat-tile .cat-tile-name, .pnk-js .cat-tile .cat-tile-go, .pnk-js .pnk-rv { transition: none !important; opacity: 1 !important; transform: none !important; } .hero-img { animation: none; } }
  

    /* v11: flat rounded icons (Fluent Emoji Flat), converted to one warm monochrome tone. No blur, no colour. */
    .cat-art { opacity: 1; inset-inline-end: -22px; width: 210px; height: 210px; margin-top: -118px; }
    .cat-art img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: grayscale(1) sepia(.35) brightness(1.12); opacity: .92;
      transition: transform 1s cubic-bezier(.16,1,.3,1), opacity .9s ease; }
    .pnk-js .cat-tile .cat-art img { opacity: 0; transform: translateX(calc(var(--sx) * 110px)); }
    .pnk-js .cat-tile.pnk-in .cat-art img { opacity: .92; transform: none; transition-delay: calc(var(--i, 0) * .09s + .1s); }
    .cat-tile:hover .cat-art img { transform: translateX(calc(var(--sx) * -12px)) scale(1.03); transition-delay: 0s; }
    [dir="rtl"] .cat-tile { align-items: flex-start; text-align: right; }
    @media (max-width: 720px) { .cat-art { width: 108px; height: 108px; margin-top: -92px; inset-inline-end: -8px; } }
  

    /* ===== Sign-in modal: flat, opaque, professional ===== */
    .auth-modal-content { max-width: 460px; padding: 42px 38px 34px; border-radius: 4px; }
    .auth-logo-img { height: 46px; margin-bottom: 12px; }
    .auth-sub { font-size: 13.5px; }
    .auth-tabs { margin-bottom: 26px; }
    .auth-tab { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 12px 10px; }
    .auth-tab:not(.active):hover { color: var(--text); }
    .auth-form { gap: 18px; }
    .auth-form input { padding: 13px 14px; border-radius: 2px; font-size: 14.5px; background: #fff; }
    .auth-form input:hover { border-color: var(--sand-border-dark); }
    .auth-form input:focus { border-color: var(--primary); box-shadow: none; }
    .btn-auth-submit { padding: 15px; border-radius: 2px; margin-top: 6px; transition: background .2s ease; }
    .btn-auth-submit:hover { background: var(--terracotta); }
    .btn-auth-submit:disabled { background: var(--text-muted); cursor: progress; }
    .auth-alert { border-radius: 2px; font-size: 12.5px; padding: 11px 13px; }
    .social-divider { margin: 20px 0 16px; }
    #googleBtnSlot { margin-bottom: 0 !important; }
    #googleBtnSlot > div { width: 100%; display: flex; justify-content: center; }
    /* demo quick-fill rows are internal: visible only with ?demo=1 */
    .auth-demo-hint { display: none !important; }
    html.pnk-demo .auth-demo-hint { display: flex !important; }
    /* Apple sign-in is not implemented: never show a dead button */
    .social-row .social-btn:nth-child(2) { display: none; }
    .social-row { grid-template-columns: 1fr; }
    .social-row.pnk-empty, .social-divider.pnk-empty { display: none; }
    /* password reveal */
    .pw-wrap { position: relative; display: flex; flex-direction: column; }
    .pw-wrap input { padding-inline-end: 46px; }
    .pw-toggle { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 44px; display: grid; place-items: center; color: var(--text-muted); background: none; border: 0; cursor: pointer; }
    .pw-toggle:hover { color: var(--text); }
    .pw-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
    .pw-toggle .eye-off { display: none; }
    .pw-toggle.on .eye { display: none; } .pw-toggle.on .eye-off { display: block; }
    @media (max-width: 520px) { .auth-modal-content { padding: 36px 22px 26px; } }
  

    .auth-legal { font-size: 11.5px; line-height: 1.5; color: var(--text-muted); text-align: center; margin-top: 18px; }
    .auth-legal a { color: var(--text); text-decoration: underline; }
    .pnk-upload { margin-top: 10px; }
    .pnk-upload-or { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
    .pnk-upload-or::before, .pnk-upload-or::after { content: ""; flex: 1; height: 1px; background: var(--sand-border); }
    .pnk-upload-drop { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 84px; padding: 14px; border: 1px dashed var(--sand-border-dark); border-radius: 2px; background: #fff; cursor: pointer; font-size: 13px; color: var(--text-muted); text-align: center; transition: border-color .2s ease, color .2s ease; }
    .pnk-upload-drop:hover { border-color: var(--terracotta); color: var(--text); }
    .pnk-upload-drop img { width: 64px; height: 64px; object-fit: cover; border-radius: 2px; }
    .pnk-upload-drop.busy { opacity: .6; cursor: progress; }
    .pnk-upload-clear { margin-top: 8px; font-size: 12px; color: var(--terracotta-dark); text-decoration: underline; background: none; border: 0; cursor: pointer; padding: 0; }
    .pnk-upload-err { color: #b91c1c; font-size: 12px; margin-top: 6px; }
  