
  :root{
    --bg: #08070c;
    --bg-panel: #121017;
    --bg-panel-2: #17141d;
    --purple: #a855f7;
    --purple-bright: #c47bff;
    --purple-deep: #6d1fd1;
    --white: #f7f5fa;
    --white-dim: #cfc9da;
    --line: rgba(168,85,247,0.25);
    --glow: 0 0 24px rgba(168,85,247,0.55), 0 0 60px rgba(168,85,247,0.18);
    --danger: #ff6b8b;
    --gutter: clamp(20px, 6vw, 64px);
    --content-max: 1360px;
  }

  /* ---------- MOBILE TAP FIX ---------- */
  *{ -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
  button:focus, .add-btn:focus, .tier-tab:focus, .filter-btn:focus, .icon-btn:focus,
  .wishlist-remove:focus, .admin-tab:focus, .icon-opt:focus, .modal-close:focus{ outline: none; box-shadow: none; }
  .btn:focus, .btn:focus-visible{ outline: none; box-shadow: none; }



  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}

  body{
    background:
      radial-gradient(ellipse 700px 400px at 15% -5%, rgba(168,85,247,0.13), transparent 55%),
      var(--bg);
    background-attachment: scroll;
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a{color:inherit;text-decoration:none;}
  .display{ font-family:'Baloo 2', sans-serif; font-weight:700; }
  button{ font-family:inherit; }

  /* ---------- HEADER ---------- */
  header{
    position: sticky; top:0; z-index: 50;
    background: #0a0910;
    border-bottom: 1px solid var(--line);
  }
  .header-inner{
    display:flex; align-items:center; justify-content:space-between;
    width:100%; max-width: var(--content-max); margin-inline:auto;
    padding: 16px var(--gutter);
    gap: 16px;
  }
  .brand{ display:flex; align-items:center; gap:10px; }
  .brand img{ height: 42px; width:auto; }

  nav{ display:flex; gap: 34px; font-weight:700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
  nav a{ position:relative; color: var(--white-dim); transition: color .25s ease; }
  nav a:hover, nav a.active{ color: var(--white); }
  nav a::after{
    content:''; position:absolute; left:0; right:0; bottom:-8px; height:2px;
    background: linear-gradient(90deg, var(--purple), transparent);
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  }
  nav a:hover::after, nav a.active::after{ transform: scaleX(1); }

  .header-right{ display:flex; align-items:center; gap:10px; }

  .cart-pill{
    display:flex; align-items:center; gap:8px;
    border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px;
    font-weight:700; font-size: 13px; background: rgba(168,85,247,0.08);
    white-space:nowrap;
  }
  .cart-count{
    background: var(--purple); color:#08070c; font-weight:800; border-radius:999px;
    min-width:20px; height:20px; display:flex;align-items:center;justify-content:center;
    font-size:12px; padding: 0 5px;
  }

  .admin-btn{
    display:flex; align-items:center; gap:6px;
    border: 1px solid var(--line); background: transparent; color: var(--white-dim);
    padding: 9px 14px; border-radius: 999px; font-weight:700; font-size:13px; cursor:pointer;
    transition: all .2s ease; white-space:nowrap;
  }
  .admin-btn:hover{ border-color: var(--purple); color: var(--white); }
  .admin-btn.is-active{
    background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep));
    color:#fff; border-color: transparent;
  }

  /* ---------- HERO ---------- */
  .hero{ padding: 9vh var(--gutter) 8vh; max-width: var(--content-max); margin-inline:auto; display:flex; flex-direction:column; align-items:center; text-align:center; position:relative; }
  .hero-logo{ max-width: 460px; width: 70vw; filter: drop-shadow(0 0 18px rgba(168,85,247,0.35)); margin-bottom: 18px; }
  .hero p.tag{ max-width: 560px; color: var(--white-dim); font-size: 17px; line-height:1.6; margin-bottom: 34px; }
  .hero .tag strong{ color: var(--purple-bright); }
  .hero-actions{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }

  .btn{
    display:inline-flex; align-items:center; gap:8px; padding: 14px 30px; border-radius: 999px;
    font-weight:800; font-size: 14px; letter-spacing:0.03em; text-transform:uppercase;
    cursor:pointer; border: none; transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
  }
  .btn:hover{ transform: translateY(-2px); }
  .btn-primary{ background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep)); color: #fff; box-shadow: var(--glow); }
  .btn-primary:hover{ filter: brightness(1.12); }
  .btn-ghost{ background: transparent; color: var(--white); border: 1.5px solid var(--line); }
  .btn-ghost:hover{ border-color: var(--purple); }
  .btn-danger{ background: rgba(255,107,139,0.12); color: var(--danger); border: 1px solid rgba(255,107,139,0.4); }
  .btn-danger:hover{ background: rgba(255,107,139,0.2); }
  .btn-small{ padding: 8px 16px; font-size: 12px; }

  /* ---------- FILTER BAR ---------- */
  .filter-wrap{ display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; padding: 0 var(--gutter) 40px; max-width: var(--content-max); margin-inline:auto; position:relative; }
  .filters{ display:flex; gap:10px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px; }
  .filter-btn{
    padding: 10px 22px; border-radius: 999px; font-weight:700; font-size: 13px; text-transform:uppercase;
    letter-spacing:0.03em; color: var(--white-dim); cursor:pointer; border:none; background:transparent; transition: all .25s ease;
  }
  .filter-btn.active{ background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep)); color:#fff; box-shadow: 0 0 18px rgba(168,85,247,0.45); }

  /* ---------- SECTION TITLES ---------- */
  .section-head{ padding: 10px var(--gutter) 26px; max-width: var(--content-max); margin-inline:auto; display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:10px; }
  .section-head h2{ font-size: clamp(26px, 3vw, 34px); color: var(--purple-bright); text-shadow: 0 0 22px rgba(168,85,247,0.4); }
  .section-head span{ color: var(--white-dim); font-size: 14px; }

  /* ---------- GRID ---------- */
  .grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; padding: 0 var(--gutter) 70px; max-width: var(--content-max); margin-inline:auto; }
  .grid.empty::after{
    content: 'Aún no hay productos en esta categoría.';
    grid-column: 1 / -1; text-align:center; color: var(--white-dim); padding: 30px; font-size: 14px;
    border: 1px dashed var(--line); border-radius: 16px;
  }

  .card{
    background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel));
    border: 1px solid var(--line); border-radius: 20px; overflow:hidden; position:relative;
    transition: transform .25s ease, border-color .25s ease;
    will-change: transform;
    contain: layout paint;
  }
  .card::after{
    content:''; position:absolute; inset:-1px; border-radius:20px; pointer-events:none;
    box-shadow: 0 14px 40px rgba(0,0,0,0.5), 0 0 30px rgba(168,85,247,0.18);
    opacity:0; transition: opacity .25s ease;
  }
  .card:hover{ transform: translateY(-6px); border-color: rgba(168,85,247,0.6); }
  .card:hover::after{ opacity:1; }

  .card-media{
    aspect-ratio: 1 / 1; display:flex; align-items:center; justify-content:center;
    background: radial-gradient(circle at 50% 40%, rgba(168,85,247,0.16), transparent 65%), #0e0c14;
    position:relative; overflow:hidden;
  }
  .card-media svg{ width: 62%; height: 62%; }
  .card-media img{ width:100%; height:100%; object-fit: cover; }

  .card-badge{
    position:absolute; top:12px; left:12px; background: rgba(30,16,46,0.9);
    border: 1px solid rgba(168,85,247,0.4); color: var(--purple-bright); font-size: 11px; font-weight:800;
    text-transform:uppercase; letter-spacing:0.04em; padding: 5px 10px; border-radius: 999px;
    z-index:2;
  }

  .card-admin-tools{
    position:absolute; top:12px; right:12px; display:flex; gap:6px; z-index:2;
  }
  .icon-btn{
    width:30px; height:30px; border-radius:50%; border:1px solid var(--line);
    background: rgba(20,17,28,0.95); color:var(--white); display:flex; align-items:center; justify-content:center;
    cursor:pointer; font-size:14px; transition: background .2s ease;
  }
  .icon-btn:hover{ background: var(--purple); }
  .icon-btn.del:hover{ background: var(--danger); }

  .card-body{ padding: 18px 18px 20px; }
  .card-cat{ font-size: 11px; font-weight:800; text-transform:uppercase; letter-spacing: 0.08em; color: var(--purple); margin-bottom: 6px; }
  .card-body h3{ font-family:'Baloo 2', sans-serif; font-size: 19px; font-weight:700; margin-bottom: 4px; }
  .card-body p.desc{ font-size: 13px; color: var(--white-dim); margin-bottom: 14px; line-height:1.5; }

  .card-footer{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .price{ font-family:'Baloo 2', sans-serif; font-size: 20px; font-weight:700; color: var(--white); }
  .price sup{ font-size:12px; color: var(--white-dim); font-weight:500;}

  .price-block{ display:flex; flex-direction:column; gap:8px; }
  .tier-tabs{ display:flex; gap:8px; flex-wrap:wrap; }
  .tier-tab{
    border: 1.5px solid var(--line); background: transparent; color: var(--white-dim);
    font-size: 13px; font-weight:700; text-transform:uppercase; letter-spacing:0.03em;
    padding: 8px 18px; border-radius: 999px; cursor:pointer; transition: all .2s ease;
  }
  .tier-tab.active{ background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep)); color:#fff; border-color:transparent; }

  .add-btn{
    width: 38px; height: 38px; border-radius: 50%; border: none; background: transparent;
    color: var(--purple-bright); font-size: 20px; display:flex; align-items:center; justify-content:center;
    cursor:pointer; transition: transform .2s ease, background .2s ease, color .2s ease;
  }
  .add-btn:hover{ background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep)); color:#fff; border-color: transparent; transform: scale(1.08); }

  /* ---------- BANNER STRIP ---------- */
  .strip{
    margin-block: 10px 70px;
    margin-inline: max(var(--gutter), calc((100% - var(--content-max)) / 2));
    border-radius: 22px; border: 1px solid var(--line);
    background: linear-gradient(120deg, rgba(168,85,247,0.14), rgba(109,31,209,0.08));
    padding: 40px clamp(20px, 4vw, 48px); display:flex; align-items:center; justify-content:space-between; gap: 24px; flex-wrap:wrap; text-align:left;
  }
  .strip h3{ font-family:'Baloo 2', sans-serif; font-size: clamp(22px,2.6vw,30px); margin-bottom:8px; }
  .strip p{ color: var(--white-dim); font-size: 14px; max-width: 440px;}

  /* ---------- FOOTER ---------- */
  footer{ border-top: 1px solid var(--line); padding-block: 44px 30px; }
  .footer-inner{
    display:flex; flex-direction:column; align-items:center; gap: 18px; text-align:center;
    width:100%; max-width: var(--content-max); margin-inline:auto; padding-inline: var(--gutter);
  }
  footer img{ height: 34px; opacity:0.85; }
  footer .socials{ display:flex; gap: 18px; font-size: 13px; font-weight:700; color: var(--white-dim); text-transform:uppercase; letter-spacing:0.04em; }
  footer .socials a:hover{ color: var(--purple-bright); }
  footer .fine{ font-size: 12px; color: rgba(207,201,218,0.5); }

  /* ---------- MODAL / OVERLAY BASE ---------- */
  .overlay{
    position:fixed; inset:0; background: rgba(4,3,7,0.9);
    display:none; align-items:center; justify-content:center; z-index: 200; padding: 20px;
  }
  .overlay.show{ display:flex; }

  .modal{
    background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel));
    border: 1px solid var(--line); border-radius: 22px; padding: 34px; width: 100%; max-width: 380px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(168,85,247,0.15);
    position:relative;
  }
  .modal h2{ font-family:'Baloo 2',sans-serif; font-size: 24px; margin-bottom: 8px; color: var(--purple-bright); }
  .modal p.sub{ color: var(--white-dim); font-size: 13px; margin-bottom: 22px; line-height:1.5; }

  .field{ margin-bottom: 16px; }
  .field label{ display:block; font-size: 12px; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; color: var(--white-dim); margin-bottom: 6px; }
  .field input, .field select, .field textarea{
    width:100%; background: #0c0a11; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px;
    color: var(--white); font-size: 14px; font-family:inherit; outline:none; transition: border-color .2s ease;
  }
  .field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--purple); }
  .field textarea{ resize: vertical; min-height: 70px; }
  .field-row{ display:flex; gap: 12px; }
  .field-row .field{ flex:1; }

  .modal-close{
    position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%;
    border: 1px solid var(--line); background: transparent; color: var(--white-dim); cursor:pointer; font-size:16px;
  }
  .modal-close:hover{ color: var(--white); border-color: var(--purple); }

  .error-msg{ color: var(--danger); font-size: 13px; margin-top: -6px; margin-bottom: 14px; display:none; }
  .error-msg.show{ display:block; }

  /* ---------- ADMIN DASHBOARD ---------- */
  .admin-overlay{
    position:fixed; inset:0; background: var(--bg); z-index: 300; display:none; flex-direction:column; overflow-y:auto;
  }
  .admin-overlay.show{ display:flex; }

  .admin-topbar{
    position:sticky; top:0; z-index:5;
    border-bottom: 1px solid var(--line); background: #0a0910;
  }
  .admin-topbar-inner{
    display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
    gap: 10px 16px; width:100%; max-width: var(--content-max); margin-inline:auto;
    padding: 16px var(--gutter);
  }
  .admin-topbar h1{ font-family:'Baloo 2',sans-serif; font-size:22px; color: var(--purple-bright); white-space:nowrap; }
  .admin-topbar .actions{ display:flex; gap:10px; flex-wrap:wrap; }

  .admin-tabs{ display:flex; gap:8px; padding: 20px var(--gutter) 0; max-width: var(--content-max); margin-inline:auto; }
  .admin-tab{
    padding: 10px 20px; border-radius: 999px; border:1px solid var(--line); background:transparent;
    color: var(--white-dim); font-weight:700; font-size:13px; cursor:pointer; text-transform:uppercase; letter-spacing:0.03em;
    white-space:nowrap;
  }
  .admin-tab.active{ background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep)); color:#fff; border-color:transparent; }

  .admin-body{ padding: 24px var(--gutter) 60px; max-width: var(--content-max); margin-inline:auto; width:100%; flex:1; }
  .admin-pane{ display:none; }
  .admin-pane.active{ display:block; }

  .admin-toolbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom: 20px; flex-wrap:wrap; gap:12px; }
  .admin-toolbar .count{ color: var(--white-dim); font-size: 13px; }

  .admin-table-wrap{ border: 1px solid var(--line); border-radius: 16px; overflow:hidden; }
  table.admin-table{ width:100%; border-collapse: collapse; }
  table.admin-table th{
    text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:0.05em; color: var(--white-dim);
    padding: 12px 16px; background: var(--bg-panel); border-bottom: 1px solid var(--line);
  }
  table.admin-table td{ padding: 12px 16px; border-bottom: 1px solid rgba(168,85,247,0.12); font-size: 14px; vertical-align:middle; }
  table.admin-table tr:last-child td{ border-bottom:none; }
  table.admin-table tr:hover{ background: rgba(168,85,247,0.05); }

  .thumb{ width:44px; height:44px; border-radius:10px; background:#0e0c14; display:flex; align-items:center; justify-content:center; overflow:hidden; }
  .thumb img{ width:100%; height:100%; object-fit:cover; }
  .thumb svg{ width:70%; height:70%; }

  .badge-pill{ display:inline-block; padding:3px 10px; border-radius:999px; font-size:11px; font-weight:700; text-transform:uppercase; }
  .badge-ropa{ background: rgba(168,85,247,0.15); color: var(--purple-bright); }
  .badge-zapatillas{ background: rgba(196,123,255,0.15); color: #e2c6ff; }

  .row-actions{ display:flex; gap:6px; }

  .settings-form{ max-width: 520px; }
  .settings-form .field{ margin-bottom: 20px; }

  .form-panel{
    display:none; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 24px;
    background: var(--bg-panel);
  }
  .form-panel.show{ display:block; }
  .form-panel h3{ font-family:'Baloo 2',sans-serif; font-size:18px; margin-bottom: 18px; color: var(--purple-bright); }

  .form-panel-sub{
    border: 1px dashed var(--line); border-radius: 12px; padding: 16px; margin-bottom: 16px;
  }
  .form-panel-sub-title{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; color: var(--purple-bright); margin-bottom: 12px; }

  .icon-picker{ display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
  .icon-opt{
    width:44px; height:44px; border-radius:10px; border:1.5px solid var(--line); background:#0e0c14;
    display:flex; align-items:center; justify-content:center; cursor:pointer; padding:6px;
  }
  .icon-opt svg{ width:100%; height:100%; }
  .icon-opt.selected{ border-color: var(--purple-bright); box-shadow: 0 0 12px rgba(168,85,247,0.5); }

  .toast{
    position:fixed; bottom:26px; left:50%; transform: translateX(-50%) translateY(20px); opacity:0;
    background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep)); color:#fff; font-weight:700;
    font-size:13px; padding: 12px 24px; border-radius:999px; box-shadow: var(--glow); z-index: 400;
    transition: all .3s ease; pointer-events:none;
  }
  .toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

  @media (max-width: 760px){
    nav{ display:none; }
    .strip{ flex-direction:column; align-items:flex-start; }
    .field-row{ flex-direction:column; }
    .admin-topbar h1{ font-size:17px; }
  }

  @media (max-width: 700px){
    .admin-table-wrap{ border:none; background:transparent; }
    table.admin-table thead{ display:none; }
    table.admin-table, table.admin-table tbody, table.admin-table tr, table.admin-table td{ display:block; width:100%; }
    table.admin-table tr{
      background: var(--bg-panel); border:1px solid var(--line); border-radius:14px;
      padding: 14px 16px; margin-bottom:12px;
    }
    table.admin-table tr:hover{ background: var(--bg-panel); }
    table.admin-table td{ border:none; padding:6px 0; text-align:right; font-size:13px; }
    table.admin-table td::before{
      content: attr(data-label); float:left; font-weight:700; font-size:11px; text-transform:uppercase;
      letter-spacing:.04em; color: var(--white-dim);
    }
    table.admin-table td:nth-child(1){ text-align:left; padding-bottom:10px; }
    table.admin-table td:nth-child(1)::before{ content:none; }
    table.admin-table td:nth-child(2){ font-weight:700; font-size:14px; }
    table.admin-table td:nth-child(6){
      text-align:right; padding-top:12px; margin-top:6px; border-top:1px solid rgba(168,85,247,0.12);
    }
    table.admin-table td:nth-child(6)::before{ content:none; }
    table.admin-table td:nth-child(6) .row-actions{ justify-content:flex-end; }
  }


  /* ---------- WISHLIST ---------- */
  .add-btn.in-wishlist{
    background: linear-gradient(135deg, var(--purple-bright), var(--purple-deep));
    color: #fff; border-color: transparent;
  }
  .add-btn.in-wishlist:hover{ transform: rotate(0deg) scale(1.15); }

  .wishlist-item{
    display:flex; align-items:center; gap:14px; padding:12px 0;
    border-bottom: 1px solid rgba(168,85,247,0.12);
  }
  .wishlist-item:last-child{ border-bottom:none; }
  .wishlist-thumb{
    width:52px; height:52px; border-radius:12px; background:#0e0c14;
    display:flex; align-items:center; justify-content:center; overflow:hidden; flex-shrink:0;
  }
  .wishlist-thumb img{ width:100%; height:100%; object-fit:cover; }
  .wishlist-thumb svg{ width:65%; height:65%; }
  .wishlist-info{ flex:1; min-width:0; }
  .wishlist-info h4{ font-family:'Baloo 2',sans-serif; font-size:15px; margin-bottom:2px; }
  .wishlist-info .wcat{ font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.06em; color:var(--purple); margin-bottom:4px; }
  .wishlist-info .wprice{ font-family:'Baloo 2',sans-serif; font-size:15px; font-weight:700; }
  .wishlist-info .wprice sup{ font-size:10px; color:var(--white-dim); font-weight:500; }
  .wishlist-remove{
    width:32px; height:32px; border-radius:50%; border:1px solid var(--line);
    background:transparent; color:var(--white-dim); cursor:pointer; font-size:14px;
    display:flex; align-items:center; justify-content:center; transition: all .2s ease; flex-shrink:0;
  }
  .wishlist-remove:hover{ background:var(--danger); color:#fff; border-color:transparent; }
  .wishlist-empty{ text-align:center; color:var(--white-dim); font-size:14px; padding:30px 0; }


  .add-btn svg{ width:18px; height:18px; display:block; }
  .pill-icon{ display:flex; align-items:center; }
  .pill-icon svg{ width:15px; height:15px; }
  .modal-heart{ display:flex; align-items:center; color: var(--purple-bright); }
  .modal-heart svg{ width:20px; height:20px; }


  /* ---------- SETTINGS GROUPS ---------- */
  .settings-group{ margin-bottom: 24px; }
  .settings-group h3{
    font-family:'Baloo 2',sans-serif; font-size:15px; color:var(--purple-bright);
    margin-bottom:12px; padding-bottom:8px; border-bottom:1px solid var(--line);
  }


  /* ---------- SEARCH ---------- */
  .search-wrap{ display:flex; align-items:center; flex-shrink:0; }
  .search-toggle{
    width:40px; height:40px; border-radius:50%; flex-shrink:0;
    border:1px solid var(--line); background:var(--bg-panel);
    color:var(--white-dim); cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition: all .2s ease;
  }
  .search-toggle:hover, .search-toggle.active{ color:#fff; border-color:var(--purple-bright); background:rgba(168,85,247,0.12); }

  /* Search dropdown panel */
  .search-dropdown{
    display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%);
    width:340px; max-width:calc(100vw - 32px); margin-top:8px; z-index:500;
    background:var(--bg-panel); border:1px solid var(--line); border-radius:16px;
    box-shadow:0 12px 40px rgba(0,0,0,0.5); overflow:hidden;
  }
  .search-dropdown.show{ display:block; }
  .search-dropdown .sd-input-row{
    display:flex; align-items:center; gap:10px; padding:14px 16px; border-bottom:1px solid var(--line);
  }
  .search-dropdown .sd-input-row svg{ color:var(--white-dim); flex-shrink:0; }
  .search-dropdown .sd-input-row input{
    flex:1; background:transparent; border:none; outline:none;
    color:var(--white); font-family:inherit; font-size:15px;
  }
  .search-dropdown .sd-input-row input::placeholder{ color:var(--white-dim); }
  .search-dropdown .sd-close{
    background:transparent; border:none; color:var(--white-dim); cursor:pointer;
    font-size:20px; padding:4px 8px; flex-shrink:0;
  }
  .search-dropdown .sd-close:hover{ color:#fff; }
  .search-dropdown .sd-results{ max-height:320px; overflow-y:auto; }
  .search-dropdown .sd-item{
    display:flex; align-items:center; gap:12px; padding:10px 16px; cursor:pointer;
    border-bottom:1px solid rgba(255,255,255,0.04); transition:background .15s ease;
  }
  .search-dropdown .sd-item:hover, .search-dropdown .sd-item.highlighted{
    background:rgba(168,85,247,0.1);
  }
  .search-dropdown .sd-item:last-child{ border-bottom:none; }
  .search-dropdown .sd-thumb{
    width:44px; height:44px; border-radius:10px; flex-shrink:0;
    background:#0e0c14; display:flex; align-items:center; justify-content:center; overflow:hidden;
  }
  .search-dropdown .sd-thumb img{ width:100%; height:100%; object-fit:cover; }
  .search-dropdown .sd-thumb svg{ width:60%; height:60%; }
  .search-dropdown .sd-info{ flex:1; min-width:0; }
  .search-dropdown .sd-info h4{
    font-family:'Manrope',sans-serif; font-size:14px; font-weight:600; margin-bottom:2px;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
  .search-dropdown .sd-info .sd-cat{
    font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.06em; color:var(--purple);
  }
  .search-dropdown .sd-empty{
    padding:24px 16px; text-align:center; color:var(--white-dim); font-size:14px;
  }
  .search-backdrop{
    display:none; position:fixed; inset:0; z-index:450; background:rgba(0,0,0,0.4);
  }
  .search-backdrop.show{ display:block; }
  @media (max-width:480px){
    .search-dropdown{ width:calc(100vw - 24px); }
  }

  /* ---------- SOLD OUT ---------- */
  .card.sold-out{ opacity:0.5; }
  .sold-out-badge{
    position:absolute; top:8px; right:8px; z-index:2;
    background:#ff4444; color:#fff; font-size:10px; font-weight:700;
    text-transform:uppercase; letter-spacing:0.05em;
    padding:4px 10px; border-radius:999px;
  }
  .row-sold-out{ opacity:0.6; }
  .sold-tag{
    background:#ff4444; color:#fff; font-size:10px; font-weight:700;
    padding:2px 8px; border-radius:999px; margin-left:8px;
    text-transform:uppercase; vertical-align:middle;
  }
  .sold-out-banner{
    text-align:center; padding:14px; background:rgba(255,68,68,0.1);
    border:1px solid rgba(255,68,68,0.25); border-radius:12px;
    color:#ff6b6b; font-weight:600; font-size:14px;
  }

  /* ---------- PRODUCT MODAL ---------- */
  .modal-media{
    width:100%; height:200px; display:flex; align-items:center;
    justify-content:center; background:rgba(168,85,247,0.06);
    border-radius:12px; margin-bottom:16px; overflow:hidden;
  }
  .modal-media img{ width:100%; height:200px; object-fit:cover; border-radius:12px; }
  .modal-media svg{ width:130px; height:130px; }
  .modal-cat{ font-size:12px; text-transform:uppercase; letter-spacing:0.05em; color:var(--white-dim); margin-bottom:6px; }
  .modal-desc{ font-size:14px; line-height:1.6; color:var(--white-dim); margin:8px 0 16px; }

  /* ---------- COUNTDOWN ---------- */
  .countdown{ display:flex; gap:10px; margin-top:14px; }
  .countdown-item{
    display:flex; flex-direction:column; align-items:center;
    background:rgba(168,85,247,0.1); border:1px solid var(--line);
    border-radius:10px; padding:8px 14px; min-width:54px;
  }
  .countdown-item span{
    font-family:'Baloo 2',sans-serif; font-size:24px; font-weight:700;
    color:var(--purple-bright); line-height:1;
  }
  .countdown-item small{
    font-size:10px; text-transform:uppercase; letter-spacing:0.05em;
    color:var(--white-dim); margin-top:4px;
  }
  .countdown-expired{
    font-family:'Baloo 2',sans-serif; font-size:18px; font-weight:700;
    color:var(--purple-bright); padding:8px 0;
  }

  /* ---------- REORDER ---------- */
  .icon-btn.up, .icon-btn.down{ font-size:16px; }
  .icon-btn:disabled{ opacity:0.3; cursor:default; }
