/* ============================================
   account.css
   Extracted from account.html
   Paste into Flatsome > Theme Options > Custom CSS
   (or into the per-page Custom CSS panel)
   ============================================ */

:root { --promo-h: 48px; }
  @media (max-width: 480px) { :root { --promo-h: 44px; } }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
  body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fcfaf4; color: #1a1a1a; line-height: 1.5;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

  .promo-bar {
    background: #1a1a1a;
    color: #ff6b35;
    padding: 12px 0;
    font-size: 14px; font-weight: 600;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 9999;
  }
  .promo-track { display: flex; gap: 48px; animation: scroll 24s linear infinite; white-space: nowrap; width: max-content; }
  .promo-track span { display: inline-flex; align-items: center; gap: 12px; }
  /* Wholesale link inside the scrolling marquee — match span layout */
  .promo-track a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
  }
  .promo-track a > .promo-highlight {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  /* Canonical wholesale link in promo bar — styled as orange pill */
  .promo-track .promo-wholesale {
    background: #ff6b35;
    color: #1a1a1a;
  }


  .promo-track .promo-highlight { background: #ff6b35; color: #1a1a1a; padding: 4px 14px; border-radius: 980px; font-weight: 800; letter-spacing: 0.02em; }
  .promo-track .promo-highlight iconify-icon { color: #1a1a1a; }
  .promo-track iconify-icon { color: #1f5d3f; }
  @keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  header { position: sticky; top: var(--promo-h, 48px); z-index: 9998; background: #fcfaf4; border-bottom: 3px solid #1a1a1a; }
  .nav-inner { max-width: 1400px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; }
  .logo { display: inline-flex; align-items: center; background: #1f5d3f; color: #fcfaf4; padding: 8px 22px; clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%); line-height: 1; transition: background 0.2s; }
  .logo:hover { background: #ff6b35; }
  .logo-stack { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1; }
  .logo-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; opacity: 0.85; margin: 1px 0; }
  .logo-name { font-size: 19px; font-weight: 900; font-style: italic; letter-spacing: -0.01em; margin: 1px 0; }
  .nav-links {
    display: flex; gap: 14px; list-style: none;
  }
  .nav-links a {
    font-size: 14px; font-weight: 700;
    color: #1a1a1a;
    padding: 6px 10px;
    border-radius: 980px;
    transition: background 0.2s;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 4px;
    min-width: 100px;
    text-align: center;
    box-sizing: border-box;
  }
  /* Narrower laptops: drop min-width so 6 items fit comfortably with sidebar icons */
  @media (max-width: 1200px) {
    .nav-links { gap: 8px; }
    .nav-links a { min-width: 0; padding: 6px 10px; }
  }
  .nav-links a:hover { background: #ff6b35; }
  .nav-icons { display: flex; gap: 14px; align-items: center; }
  .nav-icons iconify-icon { font-size: 22px; color: #1a1a1a; cursor: pointer; }
  .cart-btn { background: #1a1a1a; color: #fcfaf4; padding: 10px 16px; border-radius: 980px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
  .cart-btn:hover { background: #ff6b35; }
  .cart-btn iconify-icon { color: #fcfaf4; font-size: 18px; }
  .cart-count { background: #ff6b35; color: #1a1a1a; font-size: 11px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 11px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; }

  /* ============================================
     ACCOUNT PAGE
     ============================================ */

  /* Toggle button at top (demo) */
  .demo-toggle {
    max-width: 1200px; margin: 0 auto;
    padding: 16px 32px 0;
    text-align: right;
    font-size: 12px;
    color: #6b6b6b;
  }
  .demo-toggle button {
    padding: 6px 14px;
    background: #1a1a1a;
    color: #ff6b35;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
  }
  .demo-toggle button:hover { background: #ff6b35; color: #1a1a1a; }

  /* ============== LOGGED-IN VIEW ============== */
  .account-layout {
    max-width: 1200px; margin: 0 auto;
    padding: 32px 32px 80px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
  }

  /* Sidebar */
  .account-sidebar {
    background: #fff;
    border: 3px solid #1a1a1a;
    border-radius: 24px;
    padding: 24px;
    position: sticky;
    top: 100px;
  }
  .sidebar-user {
    display: flex; align-items: center; gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px dashed #e0d8c8;
  }
  .sidebar-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f5d3f, #ff6b35);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 900;
    border: 3px solid #1a1a1a;
    flex-shrink: 0;
  }
  .sidebar-user h3 {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
  }
  .sidebar-user .email {
    font-size: 12px;
    color: #6b6b6b;
    font-weight: 500;
  }
  /* Points pill */
  .sidebar-points {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #1a1a1a;
    color: #fcfaf4;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .sidebar-points .label {
    font-size: 11px;
    color: rgba(255, 248, 240, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 2px;
  }
  .sidebar-points .amount {
    font-size: 22px;
    font-weight: 900;
    color: #ff6b35;
    letter-spacing: -0.02em;
  }
  .sidebar-points iconify-icon {
    color: #ff6b35;
    font-size: 28px;
  }
  /* Sidebar nav */
  .sidebar-nav {
    list-style: none;
    display: flex; flex-direction: column; gap: 4px;
  }
  .sidebar-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
  }
  .sidebar-nav a iconify-icon { font-size: 18px; color: #6b6b6b; }
  .sidebar-nav a:hover { background: rgba(255, 107, 53, 0.08); }
  .sidebar-nav a:hover iconify-icon { color: #ff6b35; }
  .sidebar-nav a.active {
    background: #1a1a1a;
    color: #ff6b35;
  }
  .sidebar-nav a.active iconify-icon { color: #ff6b35; }
  .sidebar-nav .divider {
    margin: 10px 0;
    height: 1px;
    background: #e0d8c8;
  }
  .sidebar-nav a.signout { color: #c93838; }
  .sidebar-nav a.signout iconify-icon { color: #c93838; }
  .sidebar-nav a.signout:hover { background: rgba(201, 56, 56, 0.08); }

  /* ============== MAIN CONTENT ============== */
  .account-main {
    display: flex; flex-direction: column; gap: 24px;
  }

  /* Welcome banner */
  .welcome-banner {
    background: #1a1a1a;
    color: #fcfaf4;
    border-radius: 24px;
    padding: 32px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px;
    box-shadow: 8px 8px 0 #ff6b35;
    flex-wrap: wrap;
  }
  .welcome-text { flex: 1; min-width: 240px; }
  .welcome-text .eyebrow {
    font-size: 12px;
    color: #ff6b35;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
  }
  .welcome-text h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
  }
  .welcome-text h1 .accent {
    background: linear-gradient(135deg, #1f5d3f 0%, #ff6b35 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .welcome-text p {
    font-size: 14px;
    color: rgba(255, 248, 240, 0.7);
    line-height: 1.55;
  }
  .welcome-cta {
    padding: 14px 24px;
    background: #ff6b35;
    color: #1a1a1a;
    border-radius: 980px;
    font-size: 13px; font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px;
    flex-shrink: 0;
  }
  .welcome-cta:hover { background: #fcfaf4; }

  /* Quick stats */
  .quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .quick-stat {
    background: #fff;
    border: 3px solid #1a1a1a;
    border-radius: 20px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .quick-stat:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 #1a1a1a;
  }
  .quick-stat .icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
  }
  .quick-stat .label {
    font-size: 12px;
    color: #6b6b6b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
  }
  .quick-stat .value {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
  }

  /* Section card */
  .section-card {
    background: #fff;
    border: 3px solid #1a1a1a;
    border-radius: 24px;
    padding: 32px;
  }
  .section-card-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap; gap: 12px;
  }
  .section-card-head h2 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
  }
  .section-card-head a {
    font-size: 13px;
    font-weight: 700;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex; align-items: center; gap: 4px;
  }
  .section-card-head a:hover { text-decoration: underline; }

  /* Order rows */
  .order-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 16px;
    padding: 16px;
    background: #fcfaf4;
    border: 1.5px solid #e0d8c8;
    border-radius: 14px;
    margin-bottom: 10px;
    align-items: center;
    transition: border-color 0.2s, background 0.2s;
  }
  .order-row:hover { border-color: #ff6b35; background: rgba(255, 107, 53, 0.03); }
  .order-thumbs {
    display: flex;
    align-items: center;
  }
  .order-thumb {
    width: 48px; height: 48px;
    border-radius: 10px;
    border: 2px solid #1a1a1a;
    background-size: cover; background-position: center;
    margin-left: -10px;
  }
  .order-thumb:first-child { margin-left: 0; }
  .order-info { min-width: 0; }
  .order-num {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 4px;
  }
  .order-meta {
    font-size: 12px;
    color: #6b6b6b;
    display: flex; gap: 8px; align-items: center;
    flex-wrap: wrap;
  }
  .order-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #999; }
  .order-status {
    padding: 5px 12px;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .order-status.delivered { background: rgba(31, 93, 63, 0.15); color: #1f5d3f; }
  .order-status.shipped { background: rgba(255, 107, 53, 0.15); color: #ff6b35; }
  .order-status.processing { background: rgba(74, 74, 74, 0.15); color: #4a4a4a; }
  .order-total {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-align: right;
    white-space: nowrap;
  }

  /* Address card */
  .address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .address-card {
    padding: 20px;
    background: #fcfaf4;
    border: 1.5px solid #e0d8c8;
    border-radius: 14px;
    position: relative;
  }
  .address-card.primary {
    border: 2px solid #ff6b35;
    background: rgba(255, 107, 53, 0.04);
  }
  .address-card .badge {
    display: inline-block;
    padding: 3px 10px;
    background: #ff6b35;
    color: #1a1a1a;
    border-radius: 980px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
  }
  .address-card h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
  }
  .address-card p {
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    margin-bottom: 12px;
  }
  .address-card .actions {
    display: flex; gap: 12px;
    font-size: 12px;
    font-weight: 700;
  }
  .address-card .actions a { color: #6b6b6b; text-decoration: underline; }
  .address-card .actions a:hover { color: #ff6b35; }
  .add-address {
    padding: 20px;
    background: transparent;
    border: 2px dashed #1a1a1a;
    border-radius: 14px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 14px;
    min-height: 120px;
  }
  .add-address:hover { background: rgba(255, 107, 53, 0.06); border-color: #ff6b35; color: #ff6b35; }
  .add-address iconify-icon { font-size: 32px; margin-bottom: 6px; }

  /* ============== AUTH (LOGGED OUT) ============== */
  .auth-layout {
    max-width: 500px;
    margin: 64px auto;
    padding: 0 32px;
  }
  .auth-card {
    background: #fff;
    border: 3px solid #1a1a1a;
    border-radius: 28px;
    padding: 40px 36px;
    box-shadow: 10px 10px 0 #ff6b35;
  }
  .auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 10px;
    background: #fcfaf4;
    border-radius: 14px;
    padding: 4px;
  }
  .auth-tab {
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    color: #6b6b6b;
  }
  .auth-tab.active {
    background: #1a1a1a;
    color: #ff6b35;
  }
  .auth-card h2 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
  }
  .auth-card h2 .accent {
    background: linear-gradient(135deg, #1f5d3f 0%, #ff6b35 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .auth-card .sub {
    font-size: 14px;
    color: #6b6b6b;
    margin-bottom: 14px;
    line-height: 1.5;
  }
  .auth-field {
    margin-bottom: 16px;
  }
  .auth-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
  }
  .auth-field input {
    width: 100%;
    height: 50px;
    padding: 0 18px;
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .auth-field input:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
  }
  .auth-actions-row {
    display: flex; justify-content: space-between; align-items: center;
    margin: 4px 0 22px;
    font-size: 12px;
  }
  .auth-actions-row label {
    display: flex; align-items: center; gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #444;
  }
  .auth-actions-row label input { accent-color: #ff6b35; }
  .auth-actions-row a {
    color: #ff6b35;
    font-weight: 700;
    text-decoration: underline;
  }
  .auth-submit {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    color: #ff6b35;
    border-radius: 14px;
    font-size: 15px; font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 5px 5px 0 #ff6b35;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
  }
  .auth-submit:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 #ff6b35;
  }
  .auth-divider {
    display: flex; align-items: center;
    margin: 20px 0;
    color: #999;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .auth-divider::before, .auth-divider::after {
    content: ""; flex: 1;
    height: 1px; background: #e0d8c8;
  }
  .auth-divider::before { margin-right: 14px; }
  .auth-divider::after { margin-left: 14px; }
  .auth-oauth {
    display: flex; flex-direction: column; gap: 10px;
  }
  .oauth-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px;
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .oauth-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 3px 3px 0 #1a1a1a;
  }
  .oauth-btn.google iconify-icon { color: #4285f4; }
  .auth-perk {
    margin-top: 14px;
    padding: 16px;
    background: rgba(255, 107, 53, 0.06);
    border: 1px dashed #ff6b35;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: #1a1a1a;
  }
  .auth-perk strong { color: #ff6b35; font-weight: 900; }

  footer {
    background: #1a1a1a;
    color: rgba(255, 248, 240, 0.7);
    padding: 14px 32px 8px;
    font-size: 14px;
  }
  .footer-grid {
    max-width: 1400px; margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 248, 240, 0.1);
  }
  .footer-brand .logo { margin-bottom: 20px; }
  .footer-brand p { margin: 20px 0 24px; line-height: 1.6; max-width: 320px; }
  .footer-socials { display: flex; gap: 10px; }
  .footer-socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 248, 240, 0.1); display: flex; align-items: center; justify-content: center; color: #ff6b35; font-size: 18px; }
  .footer-socials a:hover { background: #ff6b35; color: #1a1a1a; }
  .footer-col h5 { font-size: 13px; font-weight: 800; color: #ff6b35; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a:hover { color: #fcfaf4; }
  .footer-bottom { max-width: 1400px; margin: 18px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; }
  .footer-bottom-links { display: flex; gap: 24px; }

  
  @media (max-width: 820px) { .nav-links { display: none; } }
@media (max-width: 1024px) {
    
    .account-layout { grid-template-columns: 1fr; gap: 20px; padding: 24px 22px 60px; }
    .account-sidebar { position: static; }
    .quick-stats { grid-template-columns: 1fr; gap: 12px; }
    .address-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  }
  @media (max-width: 640px) {
    .nav-icons iconify-icon:not(.cart-btn iconify-icon) { display: none; }
    .order-row { grid-template-columns: auto 1fr; gap: 12px; }
    .order-status, .order-total { grid-column: 1 / -1; text-align: left; }
    .welcome-banner { padding: 24px; }
    .auth-layout { margin: 32px auto; padding: 0 22px; }
    .auth-card { padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  }

  /* ============== UNIFIED DROPDOWN NAV ============== */
  .nav-item { position: relative; }
  .nav-trigger { display: inline-flex; align-items: center; gap: 4px; }
  .nav-trigger .nav-caret {
    font-size: 11px;
    transition: transform 0.2s;
  }
  .nav-item.has-dropdown:hover .nav-trigger .nav-caret { transform: rotate(180deg); }
  .nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 320px;
    background: #fff;
    border: 3px solid #1a1a1a;
    border-radius: 20px;
    box-shadow: 6px 6px 0 #1a1a1a;
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
  }
  .nav-dropdown::before {
    content: "";
    position: absolute;
    top: -17px; left: 0; right: 0;
    height: 17px;
  }
  .nav-dropdown::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%; transform: translateX(-50%) rotate(45deg);
    width: 14px; height: 14px;
    background: #fff;
    border-top: 3px solid #1a1a1a;
    border-left: 3px solid #1a1a1a;
  }
  .nav-dropdown-narrow { width: 300px; }
  .nav-item.has-dropdown:hover .nav-dropdown,
  .nav-item.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .dd-item {
    display: flex !important; align-items: center; gap: 12px;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    transition: background 0.15s !important;
    text-decoration: none;
  }
  .dd-item:hover { background: rgba(255, 107, 53, 0.08) !important; }
  .dd-item > iconify-icon {
    font-size: 22px;
    color: #1a1a1a;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
  }
  .dd-item.dd-item-all > iconify-icon,
  .dd-item.dd-item-highlight > iconify-icon { color: #ff6b35; }
  .dd-item > div { flex: 1; min-width: 0; }
  .dd-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 2px;
    display: flex; align-items: center; gap: 8px;
  }
  .dd-sub {
    font-size: 12px;
    font-weight: 500;
    color: #6b6b6b;
    line-height: 1.3;
  }
  /* Hide subtitles inside dropdown items (cleaner, title-only look) */
  .nav-dropdown .dd-sub { display: none; }
  .nav-dropdown .dd-title { margin-bottom: 0; }
  .dd-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #ff6b35;
    color: #1a1a1a;
    border-radius: 980px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.05em;
  }
  .dd-divider {
    height: 1px;
    background: #f0e8d8;
    margin: 6px 8px;
  }
  .dd-item-highlight { background: rgba(255, 107, 53, 0.06) !important; }
  .dd-item-highlight:hover { background: rgba(255, 107, 53, 0.12) !important; }

  /* =========== MOBILE HAMBURGER + DRAWER =========== */
  .mobile-nav-toggle {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 2px solid #1a1a1a;
    border-radius: 12px;
    align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
  }
  .mobile-nav-toggle:hover { background: #1a1a1a; }
  .mobile-nav-toggle:hover .hamburger-line { background: #fcfaf4; }
  .hamburger-lines {
    width: 20px; height: 14px;
    position: relative;
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .hamburger-line {
    width: 100%; height: 2.5px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
  }
  .mobile-nav-toggle.is-open .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .mobile-nav-toggle.is-open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.is-open .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .mobile-drawer-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(26, 26, 26, 0.55);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.25s;
  }
  .mobile-drawer-backdrop.is-open {
    display: block;
    opacity: 1;
  }
  .mobile-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 88%; max-width: 380px;
    background: #fcfaf4;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex; flex-direction: column;
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0,0,0,0.18);
  }
  .mobile-drawer.is-open { transform: translateX(0); }
  .mobile-drawer-head {
    padding: 18px 22px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 2px solid #1a1a1a;
    background: #1a1a1a; color: #fcfaf4;
  }
  .mobile-drawer-head .drawer-logo {
    display: inline-flex; align-items: center;
    background: #1f5d3f; color: #fcfaf4;
    padding: 6px 18px;
    clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
    line-height: 1;
  }
  .mobile-drawer-head .drawer-logo-name {
    font-size: 16px; font-weight: 900; font-style: italic;
  }
  .mobile-drawer-close {
    width: 40px; height: 40px;
    background: transparent;
    border: 2px solid rgba(255, 248, 240, 0.4);
    border-radius: 10px;
    color: #fcfaf4;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
  }
  .mobile-drawer-close iconify-icon { font-size: 18px; }
  .mobile-drawer-section {
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    padding: 8px 0;
  }
  .md-section-label {
    padding: 14px 22px 6px;
    font-size: 11px; font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b6b6b;
  }
  .md-link {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 22px;
    min-height: 48px;
    color: #1a1a1a;
    font-size: 16px; font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
  }
  .md-link:active, .md-link:hover { background: #ede4d3; }
  .md-link iconify-icon {
    font-size: 22px; color: #1f5d3f;
    flex-shrink: 0;
  }
  .md-link.featured {
    background: #1f5d3f; color: #fcfaf4;
    margin: 6px 14px;
    border-radius: 14px;
    min-height: 56px;
  }
  .md-link.featured iconify-icon { color: #ff6b35; }
  .md-link.tg {
    background: linear-gradient(135deg, #229ED9 0%, #1a1a1a 100%);
    color: #fcfaf4;
    margin: 6px 14px;
    border-radius: 14px;
    min-height: 56px;
  }
  .md-link.tg iconify-icon { color: #fcfaf4; }
  .md-sub { font-size: 12px; color: rgba(255, 248, 240, 0.7); font-weight: 500; margin-top: 2px; display: block; }
  .md-link .md-link-text { line-height: 1.2; }
  .md-link .md-link-text small { font-size: 11px; color: #6b6b6b; font-weight: 500; display: block; margin-top: 2px; }
  .md-link.featured .md-link-text small,
  .md-link.tg .md-link-text small { color: rgba(255, 248, 240, 0.75); }
  .mobile-drawer-foot {
    margin-top: auto;
    padding: 22px;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  .md-foot-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px;
    min-height: 50px;
    background: #1a1a1a; color: #fcfaf4;
    border-radius: 12px;
    font-size: 14px; font-weight: 700;
    text-decoration: none;
  }
  .md-foot-btn.primary { background: #ff6b35; color: #1a1a1a; }
  .md-foot-btn iconify-icon { font-size: 18px; }
  body.drawer-open { overflow: hidden; }
  @media (max-width: 820px) { .mobile-nav-toggle { display: inline-flex; } }

  
  /* =========== MOBILE TAP TARGETS (Apple/Google min 44x44) =========== */
  @media (max-width: 768px) {
    button:not(.hamburger-line):not(.mbb-qty button),
    .btn-primary, .btn-secondary,
    .quick-add, .bundle-cta, .vault-cta,
    .apply-submit, .add-btn,
    .nav-icons a, .md-foot-btn,
    .help-cta-btn {
      min-height: 44px;
    }
    /* Larger touch target on small icons */
    .nav-icons iconify-icon { padding: 8px; }
    /* Avoid iOS zoom on form-field focus by ensuring 16px font-size */
    input, select, textarea { font-size: 16px !important; }
  }

  
  /* === Responsive nav — keep horizontal links visible at half-screen widths === */
  /* Universal: prevent nav items from wrapping or shrinking weirdly */
  .nav-links a { white-space: nowrap; }
  .logo, .nav-icons { flex-shrink: 0; }
  .nav-links { flex-wrap: nowrap; min-width: 0; }

  /* Tier 1: medium screens (981-1200px) — slight compression */
  @media (max-width: 1200px) {
    .nav-links { gap: 16px; }
    .nav-links a { padding: 6px 11px; font-size: 13.5px; }
    .nav-inner { padding: 14px 24px; }
    .logo-name { font-size: 18px; }
    .nav-icons { gap: 12px; }
    .cart-btn { padding: 9px 14px; font-size: 13px; }
  }

  /* Tier 2: narrow desktops & half-screens (821-980px) — aggressive compression */
  @media (max-width: 980px) {
    .nav-inner { padding: 12px 18px; gap: 8px; }
    .nav-links { gap: 4px; }
    .nav-links a { padding: 5px 8px; font-size: 12.5px; }
    .nav-trigger .nav-caret { font-size: 10px; margin-left: 2px; }
    .logo { padding: 6px 14px; }
    .logo-name { font-size: 16px; }
    .logo-tag { font-size: 7.5px; letter-spacing: 0.14em; }
    .nav-icons { gap: 6px; }
    /* Cart button: icon + count only (hide "Bag" label) */
    .cart-btn { padding: 8px 12px; font-size: 0; gap: 6px; }
    .cart-btn iconify-icon { font-size: 18px; }
    .cart-count { font-size: 11px; min-width: 18px; height: 18px; padding: 0 4px; }
    /* Hide the search icon — rarely used, makes room */
    .nav-icons > iconify-icon:first-child { display: none; }
    /* Dropdown: align to right edge so it doesn't overflow on narrow screens */
    .nav-item.has-dropdown:last-of-type .nav-dropdown,
    .nav-item.has-dropdown:nth-last-of-type(2) .nav-dropdown {
      left: auto; right: 0; transform: translateY(-10px);
    }
    .nav-item.has-dropdown:last-of-type:hover .nav-dropdown,
    .nav-item.has-dropdown:nth-last-of-type(2):hover .nav-dropdown {
      transform: translateY(0);
    }
    .nav-item.has-dropdown:last-of-type .nav-dropdown::after,
    .nav-item.has-dropdown:nth-last-of-type(2) .nav-dropdown::after {
      left: auto; right: 26px; transform: rotate(45deg);
    }
  }

  
  /* Trustpilot review prompt on account page */
  .acc-tp-banner {
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(135deg, #00b67a 0%, #007353 100%);
    color: #fcfaf4;
    border: 2px solid #1a1a1a;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 14px;
  }
  .acc-tp-icon {
    width: 48px; height: 48px;
    background: #fcfaf4; color: #00b67a;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .acc-tp-icon iconify-icon { font-size: 26px; }
  .acc-tp-text { flex: 1; }
  .acc-tp-text strong {
    display: block;
    font-size: 15px; font-weight: 800;
    margin-bottom: 2px;
  }
  .acc-tp-text small {
    font-size: 13px;
    color: rgba(255, 248, 240, 0.85);
  }
  .acc-tp-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: #ff6b35; color: #1a1a1a;
    padding: 10px 16px;
    border-radius: 980px;
    font-size: 13px; font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.15s;
  }
  .acc-tp-btn:hover { transform: translateX(2px); }
  .acc-tp-btn iconify-icon { font-size: 14px; }
  @media (max-width: 600px) {
    .acc-tp-banner { flex-wrap: wrap; }
    .acc-tp-btn { width: 100%; justify-content: center; }
  }

/* ============== SHOP DROPDOWN: 3-COLUMN MEGA-MENU (Category + Feel + More) ============== */
.nav-dropdown.nav-dropdown-mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  min-width: 480px;
  padding: 18px;
  align-items: start;
  /* Override base .nav-dropdown centering — anchor to left of trigger so wide panel stays on-screen */
  left: 0;
  transform: translateX(0) translateY(-10px);
}
.nav-item.has-dropdown:hover .nav-dropdown.nav-dropdown-mega,
.nav-item.has-dropdown:focus-within .nav-dropdown.nav-dropdown-mega {
  transform: translateX(0) translateY(0);
}
.nav-dropdown.nav-dropdown-mega::after {
  /* Arrow tip aligned with Shop trigger center instead of dropdown center */
  left: 32px;
  transform: rotate(45deg);
}
.nav-dropdown.nav-dropdown-mega .dd-col {
  display: flex;
  flex-direction: column;
}
.nav-dropdown.nav-dropdown-mega .dd-col-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #6b6b6b;
  padding: 0 12px 8px;
  text-transform: uppercase;
  border-bottom: 1px dashed #d8d2c4;
  margin-bottom: 6px;
}
.nav-dropdown.nav-dropdown-mega .dd-item { padding: 8px 12px; }
.nav-dropdown.nav-dropdown-mega .dd-item .dd-title { font-size: 13px; }
.nav-dropdown.nav-dropdown-mega .dd-item .dd-sub { font-size: 11px; }

  /* ====================================================================
     Accessibility: respect prefers-reduced-motion (WCAG 2.3.3)
     ==================================================================== */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
    .promo-track {
      animation: none !important;
      transform: translateX(0) !important;
    }
    .reveal {
      opacity: 1 !important;
      transform: none !important;
    }
  }


  /* === Logo image override (replaces .logo-stack text mark) === */
  .logo {
    background: transparent !important;
    padding: 0 !important;
    clip-path: none !important;
    color: inherit !important;
    transition: transform 0.2s;
  }
  .logo:hover { background: transparent !important; transform: translateY(-1px); }
  .logo-img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 200px;
  }
  /* Footer logo: invert to light variant on dark background */
  .footer-brand .logo-img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
  }
  @media (max-width: 768px) {
    .logo-img { height: 44px; max-width: 170px; }
  }
  @media (max-width: 480px) {
    .logo-img { height: 38px; max-width: 140px; }
  }


  /* ====================================================================
     MOBILE E-COMMERCE NORMALIZATION (standard phone patterns)
     ==================================================================== */

  /* ≤640px (phone) — 2-col product grids, tighter cards, compact hero */
  @media (max-width: 640px) {
    /* Product grids — 2 columns (standard e-comm on phone, NOT single col) */
    .products-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px !important;
    }
    /* Product cards — compact, tighter */
    .product-card {
      border-radius: 14px !important;
      border-width: 2px !important;
    }
    .product-image {
      height: 130px !important;
    }
    .product-body {
      padding: 10px !important;
    }
    .product-category {
      font-size: 10px !important;
      margin-bottom: 2px !important;
    }
    .product-name {
      font-size: 13px !important;
      margin-bottom: 2px !important;
      line-height: 1.15 !important;
    }
    .product-meta {
      font-size: 10px !important;
      margin-bottom: 4px !important;
    }
    .product-meta > span {
      font-size: 10px !important;
    }
    .product-rating {
      font-size: 10px !important;
    }
    .product-price {
      font-size: 14px !important;
    }
    .quick-add,
    .related-card-add {
      font-size: 11px !important;
      padding: 5px 8px !important;
    }
    .product-footer {
      gap: 4px !important;
    }
    .product-badge {
      font-size: 9px !important;
      padding: 3px 7px !important;
      top: 6px !important;
      left: 6px !important;
    }
    .product-fav {
      top: 6px !important;
      right: 6px !important;
    }
    /* Section padding — tighter */
    section {
      padding: 32px 14px !important;
    }
    /* Page-hero — tighter */
    .page-hero,
    .contact-hero,
    .about-hero,
    .bundles-hero,
    .faq-hero,
    .reviews-hero,
    .rewards-hero,
    .category-hero,
    .post-hero,
    .blog-hero {
      padding: 28px 16px 16px !important;
    }
    /* Headlines slightly tighter on mobile but readable */
    .page-hero h1,
    .contact-hero h1,
    .about-hero h1,
    .bundles-hero h1,
    .faq-hero h1,
    .reviews-hero h1,
    .rewards-hero h1,
    .category-hero h1,
    .post-hero h1,
    .blog-hero h1 {
      font-size: clamp(28px, 9vw, 42px) !important;
    }
    /* Buttons — bigger tap targets, full-ish width */
    .btn-primary,
    .btn-secondary,
    .vault-cta,
    .hero-cta-primary,
    .welcome-cta {
      padding: 12px 18px !important;
      font-size: 14px !important;
    }
    /* Container padding */
    .container {
      padding-left: 14px !important;
      padding-right: 14px !important;
    }
  }

  /* ≤480px (small phone) — even tighter */
  @media (max-width: 480px) {
    .product-image { height: 110px !important; }
    .product-name { font-size: 12px !important; }
    .product-price { font-size: 13px !important; }
    section { padding: 28px 12px !important; }
  }

  /* ≤380px (iPhone SE) — minimum sane */
  @media (max-width: 380px) {
    .products-grid {
      gap: 8px !important;
    }
    .product-image { height: 95px !important; }
    .product-body { padding: 8px !important; }
    .product-name { font-size: 11px !important; }
    .product-price { font-size: 12px !important; }
  }


  /* Account-specific mobile layout */
  @media (max-width: 768px) {
    .account-layout {
      grid-template-columns: 1fr !important;
      gap: 16px !important;
      padding: 18px 14px !important;
    }
    .account-sidebar {
      position: static !important;
    }
    .sidebar-nav {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 4px !important;
    }
    .quick-stats {
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 8px !important;
    }
    .quick-stat {
      padding: 12px 8px !important;
    }
    .quick-stat .value {
      font-size: 18px !important;
    }
    .welcome-banner {
      flex-direction: column !important;
      gap: 12px !important;
      align-items: flex-start !important;
    }
    .acc-tp-banner {
      flex-direction: column !important;
      gap: 12px !important;
      align-items: flex-start !important;
      padding: 16px !important;
    }
    .order-row {
      grid-template-columns: 1fr !important;
      gap: 12px !important;
    }
  }

/* ==========================================================================
   Shopify-style mobile normalization (appended for site-wide consistency)
   - 2-col product grids on phone (not 1-col)
   - 44px+ tap targets
   - Horizontal-scroll rails for related products / category chips / trust badges
   - Single-col forms on small screens
   - No emoji-only headings; readable type at small sizes
   ========================================================================== */
@media (max-width: 768px) {
  .products-grid,
  .product-grid,
  .related-grid,
  .related-products,
  .you-may-also-like { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .collections-grid,
  .categories-grid,
  .feel-grid,
  .effects-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .bundle-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 36px !important; }
  /* Horizontal scroll rails — trust badges, category chips, related products on PDP */
  .badge-rail,
  .chip-rail,
  .pill-rail,
  .filter-chips,
  .trust-marquee,
  .category-chips {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 10px !important;
    padding: 4px 22px 8px !important;
    margin: 0 -22px !important;
    scroll-snap-type: x mandatory !important;
  }
  .badge-rail::-webkit-scrollbar,
  .chip-rail::-webkit-scrollbar,
  .pill-rail::-webkit-scrollbar,
  .filter-chips::-webkit-scrollbar,
  .trust-marquee::-webkit-scrollbar,
  .category-chips::-webkit-scrollbar { display: none !important; }
}
@media (max-width: 640px) {
  section { padding: 40px 22px !important; }
  .nav-inner { padding: 14px 20px !important; }
  /* Tap targets — Shopify minimum is 44px */
  .btn-primary,
  .btn-secondary,
  .btn,
  button[type="submit"],
  .add-to-cart,
  .cta { min-height: 44px !important; padding: 12px 18px !important; }
  /* Product cards on phone — Shopify style */
  .product-card { border-radius: 14px !important; border-width: 2px !important; }
  .product-image,
  .product-thumb { height: 130px !important; }
  .product-body { padding: 10px !important; }
  .product-name,
  .product-title { font-size: 13px !important; line-height: 1.3 !important; }
  .product-price { font-size: 14px !important; }
  /* Single-col forms on phone */
  .form-grid,
  .form-row,
  .checkout-grid,
  .cart-grid,
  .account-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  /* Headings — keep readable on phone */
  h1, .h1 { font-size: clamp(28px, 8vw, 40px) !important; line-height: 1.05 !important; }
  h2, .h2 { font-size: clamp(22px, 6.5vw, 32px) !important; line-height: 1.1 !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  /* Hero CTAs stack full-width on phone */
  .hero-ctas,
  .cta-group { flex-direction: column !important; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary,
  .cta-group .btn { width: 100% !important; justify-content: center !important; }
}

/* ====================================================================
   PROMO BAR — ONE horizontal line on every viewport (no marquee, no wrap)
   Overrides the old auto-scroll animation. Long copy on desktop, short on phone.
   ==================================================================== */
.promo-bar {
  padding: 10px 12px !important;
  overflow: hidden !important;
}
.promo-track {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: 1400px;
  margin: 0 auto !important;
  animation: none !important;
}
.promo-track > span,
.promo-track > a { flex-shrink: 0 !important; }
.promo-track .short { display: none; }
.promo-track .long { display: inline; }
@media (max-width: 820px) {
  .promo-bar { padding: 8px 10px !important; font-size: 11px !important; }
  .promo-track { gap: 14px !important; }
  .promo-track .promo-highlight { padding: 2px 8px !important; font-size: 11px !important; }
  .promo-track .short { display: inline; }
  .promo-track .long { display: none; }
}
@media (max-width: 480px) {
  .promo-bar { padding: 7px 6px !important; font-size: 10px !important; }
  /* Tightened: gap 10→7 + highlight pad 7→5 to fit all 3 items in 390px viewport */
  .promo-track { gap: 7px !important; overflow: hidden !important; max-width: 100% !important; }
  .promo-track .promo-highlight { padding: 2px 6px !important; font-size: 10px !important; }
  .promo-track iconify-icon { font-size: 11px !important; }
}
@media (max-width: 380px) {
  .promo-bar { padding: 6px 6px !important; font-size: 9px !important; }
  .promo-track { gap: 7px !important; }
  .promo-track .promo-highlight { padding: 2px 6px !important; font-size: 9px !important; }
}

/* MOBILE-OVERFLOW-GUARD */
@media (max-width: 820px) {
  html, body { overflow-x: hidden !important; }
}


/* Dark variant of .dd-tag — dark bg, orange text. Used on the Bulk dropdown
   item so it visually distinguishes from the Bundles tag (orange bg, dark text).
   Matches the BULK badge palette used on the bulk product cards. */
.dd-tag.dd-tag-dark {
  background: #1a1a1a;
  color: #ff6b35;
}
