/* ============================================================
   Nexora / Velora — hoja principal
   Diseño Velora Desktop, calcado del mockup Velora-Desktop.html.
   NO editar a mano: se regenera desde el mockup.
   Los ajustes para WordPress van en wp-bridge.css.
   ============================================================ */

  /* ============ RESET + TOKENS ============ */
  * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { background: #0a0a0a; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #fff; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; min-height: 100vh; }
  img { display: block; max-width: 100%; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
  a { color: inherit; text-decoration: none; }
  input, textarea { font-family: inherit; }
  :root { --bg:#111111; --card:#1A1A1A; --card-2:#1E1E1E; --text:#FFFFFF; --text-2:#999999; --text-3:#6B6B6B; --accent:#D4AF37; --accent-soft:rgba(212,175,55,.12); --border:#2A2A2A; --red:#FF5252; --ease:cubic-bezier(.22,.7,.25,1); --container:1440px; }
  svg.ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  svg.ic.sm { width: 15px; height: 15px; }
  svg.ic.xs { width: 11px; height: 11px; stroke-width: 2.4; }

  /* ============ LAYOUT BASE ============ */
  .app { width: 100%; min-height: 100vh; background: var(--bg); position: relative; overflow-x: hidden; }
  .container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
  @media (max-width: 768px) { .container { padding: 0 20px; } }

  /* ============ VISTAS ============ */
  .view { display: none; padding-bottom: 80px; }
  .view.active { display: block; animation: vIn .35s var(--ease); }
  @keyframes vIn { from { opacity: 0; transform: translateY(10px); } }

  /* ============ HEADER (sticky horizontal) ============ */
  .header { position: sticky; top: 0; z-index: 50; background: rgba(17,17,17,.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,.06); }
  .header-inner { max-width: var(--container); margin: 0 auto; padding: 0 40px; height: 72px; display: flex; align-items: center; gap: 40px; }
  @media (max-width: 1024px) { .header-inner { padding: 0 20px; gap: 16px; } }
  .brand { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; letter-spacing: 6px; color: #fff; flex-shrink: 0; cursor: pointer; }
  .brand:hover { color: var(--accent); }
  #ckTitle { display: none; font-family: 'Inter'; font-size: 16px; font-weight: 600; letter-spacing: .3px; }
  .nav-links { display: flex; gap: 28px; align-items: center; }
  .nav-link { font-size: 13.5px; font-weight: 500; color: var(--text-2); transition: color .2s; position: relative; padding: 4px 0; }
  .nav-link:hover, .nav-link.active { color: #fff; }
  .nav-link.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 1px; }
  .menu-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; transition: background .2s; }
  .menu-toggle:hover { background: var(--card); }
  .menu-toggle svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .search-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; transition: background .2s; }
  .search-toggle:hover { background: var(--card); }
  .search-toggle svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  @media (max-width: 1024px) {
    .menu-toggle { display: flex; }
    .search-toggle { display: flex; }
    .nav-links { display: none; }
    .header-search { display: none; }
    .header-search.mobile-open { display: block; position: absolute; top: 72px; left: 0; right: 0; max-width: none; padding: 12px 20px; background: var(--bg); border-bottom: 1px solid var(--border); z-index: 49; }
    .header-search.mobile-open input { height: 44px; }
    .header-search.mobile-open .search-dropdown { top: calc(100% + 4px); }
  }
  .header-search { flex: 1; max-width: 420px; position: relative; }
  .header-search input { width: 100%; height: 40px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0 16px 0 42px; color: #fff; font-size: 13px; outline: none; transition: border-color .2s; }
  .header-search input::placeholder { color: #666; }
  .header-search input:focus { border-color: var(--accent); }
  .header-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-3); stroke: currentColor; fill: none; stroke-width: 1.7; }
  .header-actions { display: flex; gap: 6px; align-items: center; margin-left: auto; }
  .icon-btn { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; position: relative; border-radius: 12px; transition: background .2s; }
  .icon-btn:hover { background: var(--card); }
  .icon-btn svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .badge { position: absolute; top: 4px; right: 4px; background: var(--accent); color: #000; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid var(--bg); }
  @keyframes bpop { 50% { transform: scale(1.45); } }
  .badge.pop { animation: bpop .4s; }
  #backBtn, #lockBtn { display: none; }
  body.v-product #backBtn, body.v-checkout #backBtn, body.v-success #backBtn { display: flex; }
  body.v-checkout .nav-links, body.v-success .nav-links, body.v-checkout .header-search, body.v-success .header-search, body.v-checkout .menu-toggle, body.v-success .search-toggle, body.v-checkout .acc-btn, body.v-success .acc-btn { display: none; }
  body.v-checkout #brand, body.v-success #brand { display: none; }
  body.v-checkout #ckTitle, body.v-success #ckTitle { display: block; }
  body.v-checkout #lockBtn { display: flex; color: var(--accent); }
  body.v-checkout #lockBtn svg { stroke: var(--accent); }
  body.v-product .nav-links, body.v-cart .nav-links { opacity: .5; pointer-events: none; }

  /* ============ CRUMBS ============ */
  .crumbs { padding: 24px 0 16px; font-size: 12px; color: var(--text-3); display: flex; gap: 10px; align-items: center; }
  .crumbs a { cursor: pointer; transition: color .2s; }
  .crumbs a:hover { color: var(--accent); }
  .crumbs i { font-style: normal; opacity: .5; }

  /* ============ HERO SLIDER ============ */
  .hero { position: relative; height: 560px; border-radius: 24px; overflow: hidden; background: var(--card); margin-bottom: 60px; touch-action: pan-y; }
  .hero-track { display: flex; height: 100%; transition: transform .55s var(--ease); }
  .hero-slide { flex: 0 0 100%; height: 100%; position: relative; background-size: cover; background-position: center; }
  .hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.92) 0%, rgba(17,17,17,.55) 45%, rgba(17,17,17,.05) 100%); }
  .hero-slide > * { position: relative; z-index: 2; }
  @keyframes hUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  .hero-slide.active .hero-tag { animation: hUp .5s both; }
  .hero-slide.active .hero-title span { animation: hUp .55s both; }
  .hero-slide.active .hero-title span:last-child { animation-delay: .09s; }
  .hero-slide.active .hero-desc { animation: hUp .55s .18s both; }
  .hero-slide.active .hero-btn { animation: hUp .55s .27s both; }
  .hero-tag { position: absolute; top: 40px; left: 56px; font-size: 11px; font-weight: 700; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; z-index: 2; }
  .hero-dots { position: absolute; top: 40px; right: 56px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
  .hero-dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); padding: 0; transition: all .3s; }
  .hero-dots button.active { background: var(--accent); height: 22px; border-radius: 4px; }
  .hero-content { position: absolute; left: 56px; right: 56px; bottom: 48px; z-index: 2; max-width: 540px; }
  .hero-title { font-family: 'Playfair Display', serif; font-size: 68px; font-weight: 700; line-height: 1; margin-bottom: 18px; letter-spacing: -2px; }
  .hero-title span { display: block; }
  .hero-desc { font-size: 16px; color: #d4d4d4; line-height: 1.6; margin-bottom: 28px; max-width: 420px; }
  .hero-btn { background: #fff; color: #111; padding: 14px 28px; border-radius: 30px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: transform .2s; }
  .hero-btn:hover { transform: translateX(4px); }
  .hero-btn svg { width: 14px; height: 14px; stroke: #111; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .hero-count { position: absolute; bottom: 56px; right: 56px; z-index: 3; font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,.5); font-weight: 600; }
  @media (max-width: 768px) {
    .hero { height: 540px !important; margin-bottom: 32px !important; }
    .hero-tag, .hero-dots, .hero-count { left: 20px !important; right: 20px !important; top: 24px !important; }
    .hero-dots { left: auto !important; }
    .hero-title { font-size: 36px !important; line-height: 1.05 !important; margin-bottom: 14px !important; }
    .hero-desc { font-size: 13px !important; max-width: 260px !important; margin-bottom: 22px !important; }
    /* El content se ancla al bottom. Con la altura del hero aumentada a 540px
       hay aire suficiente entre el tag (top:24px) y el titular, sin que se
       solapen. Antes la altura era 440px y el titular quedaba pegado al tag.
       !important para sobrevivir a plugins de cache que sirven CSS viejo. */
    .hero-content { left: 20px !important; right: 20px !important; bottom: 32px !important; top: auto !important; }
    .hero-count { bottom: 32px !important; right: 20px !important; left: auto !important; top: auto !important; }
  }

  /* ============ SECTION TITLE ============ */
  .section-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
  .section-title h2 { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; letter-spacing: -.5px; }
  .section-title .lnk { font-size: 13px; color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
  .section-title .lnk:hover { gap: 10px; }
  .section-title .lnk svg { width: 12px; height: 12px; stroke: var(--accent); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

  /* ============ CATEGORIES ============ */
  .categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 60px; }
  @media (max-width: 1024px) { .categories { grid-template-columns: repeat(2, 1fr); } }
  .cat-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1/1.3; background: var(--card); transition: transform .3s var(--ease); cursor: pointer; }
  .cat-card:hover { transform: translateY(-4px); }
  .cat-card .cat-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; }
  .cat-card:hover .cat-img { transform: scale(1.05); }
  .cat-card .cat-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.88) 100%); }
  .cat-card .cat-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; }
  .cat-card .cat-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; margin-bottom: 4px; }
  .cat-card .cat-see { font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: 1px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px; }
  .cat-card .cat-see::after { content: '→'; transition: transform .2s; }
  .cat-card:hover .cat-see::after { transform: translateX(4px); }

  /* ============ PROMO BANNER ============ */
  .promo-banner { margin-bottom: 60px; border-radius: 24px; overflow: hidden; position: relative; height: 220px; background: linear-gradient(90deg, rgba(17,17,17,.95) 0%, rgba(17,17,17,.55) 60%, rgba(17,17,17,.15) 100%), url('https://images.unsplash.com/photo-1483985988355-763728e1935b?w=1600&q=80') center/cover; display: flex; align-items: center; padding: 0 56px; }
  .promo-content { max-width: 360px; }
  .promo-tag { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; display: inline-block; }
  .promo-title { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; line-height: 1.1; margin-bottom: 6px; }
  .promo-sub { font-size: 14px; color: #c0c0c0; margin-bottom: 20px; }
  .promo-btn { background: var(--accent); color: #111; padding: 12px 24px; border-radius: 24px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: transform .2s; }
  .promo-btn:hover { transform: translateX(4px); }
  .promo-btn svg { width: 12px; height: 12px; stroke: #111; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

  /* ============ TARJETAS DE PRODUCTO ============ */
  .products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
  @media (max-width: 1200px) { .products { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 768px) { .products { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
  .product { background: var(--card); border-radius: 18px; overflow: hidden; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
  .product:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
  .product.enter { animation: cardIn .45s var(--ease) backwards; }
  @keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
  .product-img { width: 100%; aspect-ratio: 1/1.15; background-size: cover; background-position: center; position: relative; cursor: pointer; }
  .product-badge { position: absolute; top: 14px; left: 14px; font-size: 10.5px; font-weight: 700; padding: 5px 10px; border-radius: 6px; letter-spacing: .5px; background: #000; color: #fff; z-index: 2; }
  .product-fav { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 2; opacity: 0; }
  .product:hover .product-fav { opacity: 1; }
  .product-fav svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.7; }
  .product-fav.active { background: rgba(212,175,55,.3); opacity: 1; }
  .product-fav.active svg { stroke: var(--accent); fill: var(--accent); }
  .product-fav:hover { transform: scale(1.1); }
  .product-info { padding: 16px 18px 18px; position: relative; }
  .product-name { font-size: 14px; font-weight: 500; margin-bottom: 8px; line-height: 1.3; padding-right: 40px; cursor: pointer; transition: color .2s; }
  .product-name:hover { color: var(--accent); }
  .product-price { display: flex; align-items: baseline; gap: 8px; }
  .price-now { font-size: 17px; font-weight: 700; }
  .price-old { font-size: 13px; color: #777; text-decoration: line-through; }
  .product-add { position: absolute; bottom: 16px; right: 16px; width: 36px; height: 36px; background: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .15s, background .2s; }
  .product-add:hover { background: var(--accent); }
  .product-add:hover svg { stroke: #111; }
  .product-add:active { transform: scale(.85); }
  .product-add svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.4; stroke-linecap: round; transition: stroke .2s; }

  /* ============ BEST SELLERS ROW ============ */
  .scroll-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
  @media (max-width: 1200px) { .scroll-row { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 768px) { .scroll-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; } .scroll-row::-webkit-scrollbar { display: none; } .scroll-row .product { flex: 0 0 200px; scroll-snap-align: start; } }
  .grid-empty { grid-column: 1/-1; background: var(--card); border: 1px dashed var(--border); border-radius: 18px; padding: 48px 24px; text-align: center; font-size: 13px; color: var(--text-2); }

  /* ============ SHOP PAGE ============ */
  .shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-top: 20px; }
  @media (max-width: 1024px) { .shop-layout { grid-template-columns: 1fr; } }
  .shop-sidebar { position: sticky; top: 100px; align-self: start; }
  @media (max-width: 1024px) { .shop-sidebar { position: static; } }
  .shop-head { margin-bottom: 32px; }
  .eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
  .shop-head h1 { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; letter-spacing: -1px; margin-bottom: 8px; }
  .shop-head p { font-size: 14px; color: var(--text-2); }
  .sidebar-section { background: var(--card); border-radius: 16px; padding: 20px; margin-bottom: 16px; }
  .sidebar-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
  .sidebar-cats { display: flex; flex-direction: column; gap: 4px; }
  .sidebar-cat { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--text-2); transition: all .2s; text-align: left; }
  .sidebar-cat:hover { background: var(--card-2); color: #fff; }
  .sidebar-cat.active { background: var(--accent-soft); color: var(--accent); }
  .sidebar-cat .n { font-size: 11px; color: var(--text-3); }
  .sidebar-cat.active .n { color: var(--accent); }
  .sidebar-tags { display: flex; gap: 8px; flex-wrap: wrap; }
  .tg { height: 36px; padding: 0 16px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; transition: .2s; }
  .tg:hover { border-color: var(--accent); }
  .tg.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
  .toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
  .t-count { font-size: 13px; color: var(--text-2); }
  .t-btns { display: flex; gap: 10px; }
  .t-btn { height: 40px; padding: 0 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; position: relative; transition: .2s; }
  .t-btn svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .t-btn:hover { border-color: var(--accent); }
  .t-btn .cnt { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--accent); color: #111; border-radius: 9px; font-size: 10px; font-weight: 700; display: none; align-items: center; justify-content: center; }
  .t-btn .cnt.show { display: flex; }
  .load-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 0 40px; }
  .load-btn { height: 48px; padding: 0 32px; border-radius: 24px; border: 1px solid var(--border); background: var(--card); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: .2s; }
  .load-btn:hover { border-color: var(--accent); color: var(--accent); }
  .load-info { font-size: 11.5px; color: var(--text-3); }
  .empty { background: var(--card); border: 1px dashed var(--border); border-radius: 18px; padding: 56px 24px; text-align: center; }
  .empty svg { width: 40px; height: 40px; stroke: var(--text-3); fill: none; stroke-width: 1.5; margin: 0 auto 16px; }
  .empty b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
  .empty p { font-size: 13px; color: var(--text-2); margin-bottom: 20px; }
  .empty button, .dr-empty button { height: 42px; padding: 0 24px; background: var(--accent); color: #111; border-radius: 12px; font-size: 13px; font-weight: 700; }

  /* ============ PRODUCT PAGE (split layout) ============ */
  .product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 8px; }
  @media (max-width: 1024px) { .product-layout { grid-template-columns: 1fr; gap: 32px; } }
  .gallery { position: sticky; top: 100px; align-self: start; min-width: 0; }
  @media (max-width: 1024px) { .gallery { position: static; } }
  .gallery-main { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1/1.15; background: var(--card); touch-action: pan-y; }
  .gal-track { display: flex; height: 100%; transition: transform .35s ease; }
  .gal-slide { flex: 0 0 100%; background-size: cover; background-position: center; }
  .gal-dots { position: absolute; top: 28px; right: 24px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
  .gal-dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); padding: 0; transition: .25s; }
  .gal-dots button.active { background: var(--accent); height: 22px; border-radius: 4px; }
  .gallery-main .product-fav { width: 40px; height: 40px; top: 16px; right: 16px; opacity: 1; }
  .thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: 0 0 80px; aspect-ratio: 1/1.15; border-radius: 14px; background-size: cover; background-position: center; border: 2px solid var(--border); opacity: .55; transition: .2s; cursor: pointer; }
  .thumb:hover { opacity: .85; }
  .thumb.active { border-color: var(--accent); opacity: 1; }
  .pinfo { padding-top: 8px; min-width: 0; overflow: hidden; }
  .p-cat { font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-2); }
  .p-name { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 600; letter-spacing: -.5px; margin: 12px 0 16px; line-height: 1.1; word-wrap: break-word; overflow-wrap: anywhere; }
  .p-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
  .stars-row { display: inline-flex; gap: 3px; }
  .stars-row svg { width: 16px; height: 16px; fill: var(--accent); }
  .p-rating b { font-size: 14px; }
  .p-rating button { font-size: 12px; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
  .p-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
  .price-big { font-size: 36px; font-weight: 700; }
  .price-old-big { font-size: 18px; color: #777; text-decoration: line-through; }
  .p-save { font-size: 11px; font-weight: 700; color: #111; background: var(--accent); padding: 4px 10px; border-radius: 6px; align-self: center; }
  .p-offer { font-size: 12.5px; color: var(--accent); font-weight: 500; margin-bottom: 24px; }
  .stock { margin-bottom: 24px; }
  .stock-txt { font-size: 12.5px; color: var(--text-2); margin-bottom: 8px; }
  .stock-txt b { color: var(--accent); }
  .stock-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
  .stock-bar i { display: block; height: 100%; width: 35%; background: var(--accent); }
  .p-desc { font-size: 14px; color: #b3b3b3; line-height: 1.7; margin-bottom: 32px; }
  .opt-label { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
  .opt-label em { font-style: normal; font-weight: 400; color: var(--text-2); text-transform: none; letter-spacing: 0; }
  .guide-link { color: var(--accent); font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-transform: none; letter-spacing: 0; }
  .colors { display: flex; gap: 12px; margin-bottom: 28px; }
  .color-dot { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border); padding: 4px; transition: .2s; cursor: pointer; }
  .color-dot:hover { transform: scale(1.05); }
  .color-dot i { display: block; width: 100%; height: 100%; border-radius: 50%; }
  .color-dot.active { border-color: var(--accent); }
  .sizes { display: flex; gap: 10px; flex-wrap: wrap; }
  .size-pill { min-width: 56px; height: 48px; padding: 0 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); font-size: 14px; font-weight: 600; transition: .2s; }
  .size-pill:hover { border-color: var(--accent); }
  .size-pill.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
  .sizes.err { animation: shake .4s; }
  @keyframes shake { 20%,60% { transform: translateX(-5px); } 40%,80% { transform: translateX(5px); } }
  .size-err { display: none; font-size: 12px; color: var(--red); margin-top: 10px; }
  .size-err.show { display: block; }
  .buy-row { display: flex; gap: 12px; margin-top: 28px; }
  .qty { display: flex; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 14px; height: 56px; flex-shrink: 0; }
  .qty button { width: 44px; height: 100%; display: grid; place-items: center; transition: color .2s; }
  .qty button:hover { color: var(--accent); }
  .qty button:disabled { opacity: .3; }
  .qty .qv { min-width: 28px; text-align: center; font-size: 15px; font-weight: 700; }
  .add-btn { flex: 1; height: 56px; background: var(--accent); color: #111; border-radius: 14px; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s; }
  .add-btn:hover { transform: translateY(-2px); }
  .add-btn:active { transform: scale(.97); }
  .wish-sq { width: 56px; height: 56px; border: 1px solid var(--border); border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; transition: .2s; background: var(--card); }
  .wish-sq:hover { border-color: var(--accent); }
  .wish-sq.on { background: var(--accent-soft); border-color: var(--accent); }
  .wish-sq.on svg { stroke: var(--accent); fill: var(--accent); }
  .buy-now { width: 100%; height: 52px; margin-top: 12px; background: #fff; color: #111; border-radius: 28px; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s; }
  .buy-now:hover { transform: translateY(-2px); }
  .ptrust { margin-top: 32px; border-top: 1px solid var(--border); }
  .ptrust div { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
  .ptrust svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
  .ptrust b { color: #fff; font-weight: 600; }
  .p-accordion { margin-top: 32px; }
  .p-accordion .faq-item { background: var(--card); }

  /* ============ PRODUCT PAGE (móvil) — contenedores a ancho completo ============
     En la ficha de producto, los bloques de garantías (ptrust) y el acordeón
     de detalles salen del padding lateral del container para ocupar todo el
     ancho de la pantalla. Así se evita el margen gris a los lados que hace
     que parezcan flotar.
     !important para sobrevivir a plugins de cache que sirven CSS viejo. */
  @media (max-width: 768px) {
    .single-product .ptrust,
    .single-product .p-accordion,
    .single-product .p-accordion .faq-item,
    .single-product .ptrust > div {
      border-radius: 0 !important;
    }
    .single-product .ptrust {
      margin-left: -20px !important;
      margin-right: -20px !important;
      padding-left: 20px !important;
      padding-right: 20px !important;
    }
    .single-product .p-accordion {
      margin-left: -20px !important;
      margin-right: -20px !important;
    }
    .single-product .p-accordion .faq-item {
      border-radius: 0 !important;
    }
  }

  /* ============ PRODUCT PAGE (móvil estrecho) ============
     En pantallas pequeñas, el buy-row se apila y el botón principal
     toma todo el ancho disponible. Sin esto, en productos con título
     largo o variantes con varias tallas, el botón "Añadir" se corta
     a la derecha por falta de espacio. */
  @media (max-width: 480px) {
    .product-layout { gap: 24px; }
    .p-name { font-size: 30px; }
    .buy-row { flex-wrap: wrap; }
    .buy-row .qty { flex: 0 0 auto; }
    .buy-row .add-btn { flex: 1 1 100%; margin-top: 10px; }
    .buy-row .wish-sq { flex: 0 0 56px; margin-top: 10px; }
    .add-btn { font-size: 13px; padding: 0 14px; }
    .p-desc { font-size: 13.5px; margin-bottom: 24px; }
  }

  /* ============ RESEÑAS ============ */
  .rev-summary { background: var(--card); border-radius: 20px; padding: 28px 32px; display: flex; gap: 32px; align-items: center; margin-bottom: 28px; }
  @media (max-width: 768px) { .rev-summary { flex-direction: column; padding: 20px; gap: 20px; } }
  .rs-num { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 700; line-height: 1; }
  .rs-side { flex: 1; min-width: 0; }
  .rs-side > p { font-size: 12px; color: var(--text-2); margin: 6px 0 14px; }
  .rs-bars .bar { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: var(--text-2); margin-bottom: 6px; }
  .rs-bars .track { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
  .rs-bars .track i { display: block; height: 100%; background: var(--accent); }
  .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
  @media (max-width: 768px) { .testi-grid { grid-template-columns: 1fr; } }
  .testi-card { background: var(--card); border: 1px solid rgba(255,255,255,.04); border-radius: 18px; padding: 24px; }
  .testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
  .testi-stars svg { width: 15px; height: 15px; fill: var(--accent); }
  .testi-text { font-size: 14px; color: #e0e0e0; line-height: 1.6; margin-bottom: 18px; }
  .testi-user { display: flex; align-items: center; gap: 12px; }
  .testi-avatar { width: 40px; height: 40px; border-radius: 50%; background-size: cover; background-position: center; border: 1.5px solid var(--accent); }
  .testi-name { font-size: 13px; font-weight: 600; }
  .testi-meta { font-size: 11px; color: var(--text-2); }

  /* ============ TRUST / EDITORIAL / INSTA / NEWSLETTER ============ */
  .trust { background: var(--card); border-radius: 20px; padding: 28px 20px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 60px; }
  @media (max-width: 768px) { .trust { grid-template-columns: repeat(2,1fr); gap: 20px; } }
  .trust-item { text-align: center; }
  .trust-item .t-icon { width: 48px; height: 48px; margin: 0 auto 12px; background: var(--accent-soft); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
  .trust-item .t-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .trust-item .t-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
  .trust-item .t-sub { font-size: 11.5px; color: var(--text-2); line-height: 1.4; }
  .editorial { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; background: var(--card); margin-bottom: 60px; }
  @media (max-width: 768px) { .editorial { grid-template-columns: 1fr; } }
  .editorial-img { width: 100%; height: 100%; min-height: 360px; background: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?w=1200&q=80') center/cover; }
  .editorial-body { padding: 56px 56px; text-align: left; display: flex; flex-direction: column; justify-content: center; }
  @media (max-width: 768px) { .editorial-body { padding: 32px 24px; } }
  .editorial-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
  .editorial-title { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 600; line-height: 1.1; margin-bottom: 14px; }
  .editorial-text { font-size: 14px; color: #b3b3b3; line-height: 1.7; margin-bottom: 24px; }
  .editorial-btn { background: #fff; color: #111; padding: 14px 28px; border-radius: 30px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; transition: transform .2s; }
  .editorial-btn:hover { transform: translateX(4px); }
  .editorial-btn svg { width: 14px; height: 14px; stroke: #111; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .insta-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; margin-bottom: 16px; }
  @media (max-width: 768px) { .insta-grid { grid-template-columns: repeat(3,1fr); } }
  .insta-tile { aspect-ratio: 1/1; border-radius: 10px; background-size: cover; background-position: center; position: relative; cursor: pointer; }
  .insta-tile::after { content: ''; position: absolute; inset: 0; border-radius: 10px; background: rgba(0,0,0,0); transition: background .2s; }
  .insta-tile:hover::after { background: rgba(212,175,55,.2); }
  .insta-handle { text-align: center; margin-bottom: 60px; font-size: 14px; color: var(--accent); font-weight: 500; }
  .newsletter { background: linear-gradient(135deg, #1A1A1A 0%, #222 100%); border: 1px solid rgba(212,175,55,.18); border-radius: 24px; padding: 56px 48px; text-align: center; margin-bottom: 60px; }
  @media (max-width: 768px) { .newsletter { padding: 32px 24px; } }
  .newsletter h3 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 600; margin-bottom: 10px; }
  .newsletter p { font-size: 14px; color: #b3b3b3; line-height: 1.6; margin: 0 auto 24px; max-width: 420px; }
  .news-form { background: #111; border: 1px solid var(--border); border-radius: 14px; padding: 6px 6px 6px 20px; display: flex; align-items: center; gap: 10px; max-width: 460px; margin: 0 auto; }
  .news-form input { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: 14px; padding: 12px 0; min-width: 0; }
  .news-form input::placeholder { color: #666; }
  .news-form input.err { color: var(--red); }
  .news-form button { height: 44px; padding: 0 24px; background: #fff; color: #111; border-radius: 11px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; font-size: 13px; font-weight: 600; transition: transform .15s; }
  .news-form button:hover { transform: translateX(2px); }
  .news-form button svg { width: 14px; height: 14px; stroke: #111; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

  /* ============ FAQ + CONTACT (split) ============ */
  .faq-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 60px; }
  @media (max-width: 1024px) { .faq-contact { grid-template-columns: 1fr; } }
  .faq {  }
  .faq-item { background: var(--card); border: 1px solid rgba(255,255,255,.04); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
  .faq-q { width: 100%; text-align: left; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 600; }
  .faq-q .chev { width: 24px; height: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
  .faq-q .chev svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .faq-item.open .faq-q .chev { transform: rotate(180deg); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .faq-a-inner { padding: 0 20px 20px; font-size: 13px; color: var(--text-2); line-height: 1.6; }
  .faq-a-inner ul { list-style: none; }
  .faq-a-inner li { padding: 4px 0 4px 18px; position: relative; }
  .faq-a-inner li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
  .faq-item.open .faq-a { max-height: 320px; }
  .contact { background: var(--card); border-radius: 20px; padding: 32px 28px; }
  .contact h3 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 600; margin-bottom: 8px; }
  .contact-sub { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 24px; }
  .contact-info { margin-bottom: 24px; }
  .contact-info-item { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 13px; color: #d4d4d4; }
  .ci-ic { width: 36px; height: 36px; background: var(--accent-soft); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .ci-ic svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .contact-form { display: flex; flex-direction: column; gap: 12px; }
  .contact-form input, .contact-form textarea, .acc-form input, .ck-field input { background: #111; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; color: #fff; font-size: 13.5px; outline: none; width: 100%; transition: border-color .2s; }
  .contact-form input::placeholder, .contact-form textarea::placeholder, .acc-form input::placeholder, .ck-field input::placeholder { color: #666; }
  .contact-form input:focus, .contact-form textarea:focus, .acc-form input:focus, .ck-field input:focus { border-color: var(--accent); }
  .contact-form input.err, .contact-form textarea.err, .acc-form input.err, .ck-field input.err { border-color: var(--red); }
  .contact-form textarea { resize: none; min-height: 90px; }
  .contact-submit { background: var(--accent); color: #111; padding: 14px; border-radius: 12px; font-size: 14px; font-weight: 700; margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .15s; }
  .contact-submit:hover { transform: translateY(-2px); }
  .contact-submit svg { width: 15px; height: 15px; stroke: #111; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

  /* ============ CART (split layout) ============ */
  .cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding-top: 20px; }
  @media (max-width: 1024px) { .cart-layout { grid-template-columns: 1fr; } }
  .cart-main {  }
  .cart-side { position: sticky; top: 100px; align-self: start; }
  @media (max-width: 1024px) { .cart-side { position: static; } }
  .bag-head { margin-bottom: 24px; }
  .bag-head h1 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; letter-spacing: -1px; }
  .bag-head h1 span { font-family: 'Inter'; font-size: 14px; font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-left: 12px; }
  .ship-card { background: var(--card); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; }
  .ship-card p { font-size: 13px; color: var(--text-2); margin-bottom: 12px; line-height: 1.5; }
  .ship-card b, .dr-ship b { color: var(--accent); font-weight: 600; }
  .ship-track { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
  .ship-track i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .5s var(--ease); }
  .promo { margin-bottom: 16px; }
  .promo-form { display: flex; gap: 10px; }
  .promo-form input { flex: 1; height: 48px; min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0 16px; color: #fff; font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; outline: none; }
  .promo-form input::placeholder { color: #666; text-transform: none; letter-spacing: 0; }
  .promo-form input:focus { border-color: var(--accent); }
  .promo-form button { height: 48px; padding: 0 22px; background: var(--accent); color: #111; border-radius: 12px; font-size: 13px; font-weight: 700; flex-shrink: 0; transition: transform .15s; }
  .promo-form button:hover { transform: translateY(-2px); }
  .promo-hint { font-size: 11.5px; color: var(--text-3); margin-top: 10px; }
  .promo-on { display: flex; align-items: center; gap: 12px; background: var(--accent-soft); border: 1px solid rgba(212,175,55,.35); border-radius: 12px; padding: 14px 16px; font-size: 13px; color: var(--accent); font-weight: 600; }
  .promo-on .po-x { margin-left: auto; width: 26px; height: 26px; display: grid; place-items: center; color: var(--accent); }
  .promo.shake { animation: shake .4s; }
  .cart-list {  }
  .cart-item { display: flex; gap: 16px; background: var(--card); border-radius: 16px; padding: 16px; margin-bottom: 12px; transition: transform .2s; }
  .cart-item:hover { transform: translateX(4px); }
  .ci-img { width: 100px; height: 120px; border-radius: 12px; background-size: cover; background-position: center; flex: none; background-color: #222; }
  .ci-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .ci-name { font-size: 14px; font-weight: 600; line-height: 1.3; padding-right: 32px; position: relative; }
  .ci-name .ci-x { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; display: grid; place-items: center; color: var(--text-3); transition: color .2s; }
  .ci-name .ci-x:hover { color: var(--red); }
  .ci-meta { font-size: 12px; color: var(--text-2); margin: 5px 0 auto; }
  .ci-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
  .ci-qty { display: flex; align-items: center; gap: 4px; background: var(--card-2); border: 1px solid var(--border); border-radius: 11px; height: 36px; }
  .ci-qty button { width: 32px; height: 100%; display: grid; place-items: center; transition: color .2s; }
  .ci-qty button:hover { color: var(--accent); }
  .ci-qty button:disabled { opacity: .3; }
  .ci-qty span { min-width: 26px; text-align: center; font-size: 13.5px; font-weight: 700; }
  .ci-price { font-size: 16px; font-weight: 700; }
  .ci-save { font-size: 11.5px; color: var(--text-2); display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; align-self: flex-start; transition: color .2s; }
  .ci-save:hover { color: var(--accent); }
  .summary { background: var(--card); border-radius: 18px; padding: 24px 22px; }
  .sum-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-2); padding: 7px 0; }
  .sum-row b { color: #fff; font-weight: 600; }
  .sum-row .gold { color: var(--accent); font-weight: 600; }
  .sum-rm { margin-left: 8px; width: 22px; height: 22px; display: inline-grid; place-items: center; vertical-align: middle; color: var(--text-3); }
  .sum-rm:hover { color: var(--red); }
  .sum-total { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
  .sum-total b { font-size: 26px; font-weight: 700; }
  .sum-note { font-size: 11px; color: var(--text-3); margin-top: 12px; line-height: 1.6; }
  .cta-checkout { width: 100%; height: 52px; background: var(--accent); color: #111; border-radius: 14px; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; transition: transform .15s; }
  .cta-checkout:hover { transform: translateY(-2px); }

  /* ============ CHECKOUT ============ */
  .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding-top: 20px; }
  @media (max-width: 1024px) { .checkout-layout { grid-template-columns: 1fr; } }
  .checkout-main {  }
  .checkout-side { position: sticky; top: 100px; align-self: start; }
  @media (max-width: 1024px) { .checkout-side { position: static; } }
  .steps { display: flex; align-items: center; margin-bottom: 32px; }
  .step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; width: 100px; }
  .step .s-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); display: grid; place-items: center; font-size: 14px; font-weight: 700; color: var(--text-2); transition: .25s; }
  .step .s-dot svg { display: none; width: 16px; height: 16px; stroke: #111; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
  .step.now .s-dot { border-color: var(--accent); color: var(--accent); }
  .step.done .s-dot { background: var(--accent); border-color: var(--accent); color: #111; }
  .step.done .s-dot b { display: none; }
  .step.done .s-dot svg { display: block; }
  .step > span { font-size: 11.5px; color: var(--text-2); font-weight: 600; }
  .step.now > span { color: var(--accent); }
  .s-line { flex: 1; height: 2px; background: var(--border); border-radius: 1px; margin-bottom: 22px; }
  .s-line.done { background: var(--accent); }
  .ck-step { display: none; }
  .ck-step.active { display: block; animation: vIn .35s var(--ease); }
  .ck-h { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 600; margin: 4px 0 6px; }
  .ck-sub { font-size: 13.5px; color: var(--text-2); margin-bottom: 24px; }
  .ck-lbl { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-2); margin: 24px 0 12px; }
  .ck-field { margin-bottom: 10px; position: relative; }
  .frow { display: flex; gap: 10px; }
  .frow > * { flex: 1; }
  .field-ic input { padding-right: 80px; }
  .card-brand { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--accent); border: 1px solid rgba(212,175,55,.4); border-radius: 6px; padding: 4px 8px; min-width: 40px; text-align: center; display: none; }
  .card-brand.show { display: block; }
  .opt { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; transition: .2s; }
  .opt:hover { border-color: rgba(212,175,55,.4); }
  .opt .opt-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--card-2); color: var(--text-2); display: grid; place-items: center; flex-shrink: 0; }
  .opt .opt-ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .opt-body { flex: 1; min-width: 0; }
  .opt-body b { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
  .opt-body span { font-size: 12px; color: var(--text-2); }
  .opt-price { font-size: 14px; font-weight: 700; flex-shrink: 0; }
  .opt-price.gold { color: var(--accent); }
  .opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #555; flex-shrink: 0; position: relative; }
  .opt.sel { border-color: var(--accent); background: var(--accent-soft); }
  .opt.sel .opt-ic { background: rgba(212,175,55,.2); color: var(--accent); }
  .opt.sel .dot { border-color: var(--accent); }
  .opt.sel .dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
  .ck-btn { width: 100%; height: 54px; background: var(--accent); color: #111; border-radius: 14px; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; transition: transform .15s; }
  .ck-btn:hover { transform: translateY(-2px); }
  .ck-btn:active { transform: scale(.97); }
  .ck-btn.loading { pointer-events: none; opacity: .85; }
  .spinner { width: 16px; height: 16px; border: 2px solid rgba(17,17,17,.25); border-top-color: #111; border-radius: 50%; animation: spin .7s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .ck-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--text-3); }
  .ck-secure svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
  .ck-back-link { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 18px 0 24px; font-size: 13px; color: var(--text-2); transition: color .2s; }
  .ck-back-link:hover { color: var(--accent); }
  .rv-block { background: var(--card); border-radius: 16px; padding: 18px 20px; margin-bottom: 12px; }
  .rvb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
  .rvb-head b { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-2); font-weight: 700; }
  .rvb-edit { font-size: 12px; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .rv-line { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
  .rv-line b { color: #fff; font-weight: 600; }
  .rv-line .gold { color: var(--accent); }
  .rv-items-head { width: 100%; display: flex; justify-content: space-between; align-items: center; }
  .rv-items-head .chev { color: var(--accent); transition: transform .25s; }
  .rv-block.open .rv-items-head .chev { transform: rotate(180deg); }
  .rv-items { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .rv-block.open .rv-items { max-height: 420px; }
  .rv-mini { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.05); }
  .rv-mini .im { width: 50px; height: 60px; border-radius: 9px; background-size: cover; background-position: center; flex: none; background-color: #222; }
  .rv-mini .mi { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; }
  .rv-mini .mi span { display: block; font-size: 11px; color: var(--text-2); font-weight: 400; margin-top: 3px; }
  .rv-mini .mp { font-size: 13px; font-weight: 700; }
  .terms { display: flex; gap: 12px; align-items: flex-start; margin: 20px 2px 4px; cursor: pointer; }
  .tbox { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #555; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; transition: .2s; }
  .tbox svg { width: 12px; height: 12px; stroke: #111; fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
  .terms.on .tbox { background: var(--accent); border-color: var(--accent); }
  .terms.on .tbox svg { opacity: 1; }
  .terms p { font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
  .terms p u { color: var(--accent); text-underline-offset: 2px; }
  .terms.err .tbox { border-color: var(--red); }
  .terms.err { animation: shake .4s; }

  /* ============ ÉXITO ============ */
  .ok-wrap { text-align: center; padding: 60px 20px 32px; max-width: 560px; margin: 0 auto; }
  .ok-ic { width: 110px; height: 110px; margin: 0 auto 28px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; position: relative; animation: okPop .6s var(--ease); }
  .ok-ic svg { width: 44px; height: 44px; stroke: var(--accent); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .ok-ic::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ring 1.4s ease-out .4s 2; }
  @keyframes okPop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.07); } 100% { transform: scale(1); } }
  @keyframes ring { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }
  .ok-wrap h2 { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 12px; }
  .ok-wrap > p { font-size: 14px; color: var(--text-2); margin: 0 auto 32px; line-height: 1.7; }
  .ok-wrap > p b { color: #fff; }
  .ok-card { max-width: 480px; margin: 0 auto 32px; background: var(--card); border-radius: 18px; padding: 8px 28px; }
  .ok-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .ok-row:last-child { border-bottom: none; }
  .ok-row span { font-size: 13px; color: var(--text-2); flex-shrink: 0; }
  .ok-row b { font-size: 14px; font-weight: 600; text-align: right; }
  .ok-row b.gold { color: var(--accent); font-weight: 700; }
  .ok-btns { max-width: 480px; margin: 0 auto; padding: 0 0 40px; display: flex; flex-direction: column; gap: 12px; }
  .btn-ghost { width: 100%; height: 52px; border: 1px solid var(--border); border-radius: 14px; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; transition: .2s; }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

  /* ============ FOOTER ============ */
  .footer { background: #0a0a0a; border-top: 1px solid rgba(255,255,255,.06); padding: 60px 0 30px; }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
  @media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
  .footer-brand { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; letter-spacing: 6px; margin-bottom: 14px; }
  .footer-desc { font-size: 13px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; max-width: 320px; }
  .footer-social { display: flex; gap: 10px; }
  .footer-social a { width: 38px; height: 38px; background: var(--card); border-radius: 10px; display: flex; align-items: center; justify-content: center; transition: .2s; }
  .footer-social a:hover { background: var(--accent); }
  .footer-social a:hover svg { stroke: #111; }
  .footer-social svg { width: 16px; height: 16px; stroke: var(--text-2); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
  .footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a { font-size: 13px; color: var(--text-2); transition: color .2s; }
  .footer-col a:hover { color: #fff; }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
  .footer-bottom p { font-size: 12px; color: var(--text-3); }
  .footer-pay { display: flex; gap: 8px; }
  .footer-pay span { font-size: 10px; font-weight: 700; letter-spacing: .5px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 5px; color: var(--text-3); }

  /* ============ MODALS / OVERLAYS ============ */
  .backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
  .backdrop.show { opacity: 1; pointer-events: auto; }
  .drawer { position: fixed; top: 0; bottom: 0; right: 0; left: auto; background: var(--bg); z-index: 60; transform: translateX(102%); transition: transform .45s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,.5); width: 420px; max-width: 90vw; }
  .drawer.open { transform: none; }
  .drawer-left { right: auto; left: 0; transform: translateX(-102%); box-shadow: 20px 0 60px rgba(0,0,0,.5); }
  .drawer-left.open { transform: none; }
  @media (max-width: 768px) {
    .drawer { width: 100vw; max-width: 100vw; box-shadow: none; }
    .drawer-left { width: 100vw; max-width: 100vw; }
  }
  .menu-link { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; text-align: left; color: #fff; transition: all .2s; }
  .menu-link:hover { background: var(--card); color: var(--accent); }
  .menu-ic { width: 36px; height: 36px; background: var(--accent-soft); color: var(--accent); border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
  .dr-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 24px; border-bottom: 1px solid var(--border); }
  .dr-head h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; }
  .dr-head h3 span { font-family: 'Inter'; font-size: 13px; color: var(--text-2); font-weight: 400; margin-left: 8px; }
  .x-btn { width: 38px; height: 38px; display: grid; place-items: center; color: var(--text-2); border-radius: 10px; transition: .2s; }
  .x-btn:hover { background: var(--card); color: #fff; }
  .dr-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
  .dr-empty { text-align: center; padding: 64px 24px; color: var(--text-2); }
  .dr-empty svg { width: 40px; height: 40px; stroke: var(--text-3); margin: 0 auto 14px; fill: none; stroke-width: 1.5; }
  .dr-empty p { font-size: 13.5px; margin-bottom: 18px; }
  .wl-item { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .wl-img { width: 64px; height: 76px; border-radius: 12px; background-size: cover; background-position: center; flex: none; }
  .wl-info { flex: 1; min-width: 0; }
  .wl-info b { font-size: 13.5px; font-weight: 600; display: block; margin-bottom: 4px; }
  .wl-info span { font-size: 13.5px; color: var(--accent); font-weight: 600; }
  .wl-add { height: 38px; padding: 0 16px; background: var(--accent); color: #111; border-radius: 10px; font-size: 12px; font-weight: 700; flex-shrink: 0; transition: transform .15s; }
  .wl-add:hover { transform: translateY(-2px); }
  .wl-x { width: 32px; height: 32px; display: grid; place-items: center; color: var(--text-2); flex-shrink: 0; transition: color .2s; }
  .wl-x:hover { color: var(--red); }
  .modal-wrap { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,.7); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .modal-wrap.open { opacity: 1; pointer-events: auto; }
  .modal { width: 100%; max-width: 460px; background: var(--card); border-radius: 20px; padding: 32px; position: relative; transform: translateY(12px); transition: transform .3s var(--ease); }
  .modal-wrap.open .modal { transform: none; }
  .modal h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; }
  .modal .m-sub { font-size: 13px; color: var(--text-2); margin: 4px 0 18px; }
  .tg-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
  .tg-table th { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--border); }
  .tg-table td { font-size: 13.5px; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .modal .modal-close { position: absolute; top: 18px; right: 18px; }
  .lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 90; display: grid; place-items: center; padding: 40px; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .lightbox.open { opacity: 1; pointer-events: auto; }
  .lightbox figure { text-align: center; }
  .lightbox img { max-width: 100%; max-height: 78vh; border-radius: 16px; margin: 0 auto; }
  .lightbox figcaption { margin-top: 18px; font-size: 14px; color: #d4d4d4; }
  .lightbox figcaption b { color: var(--accent); }
  .toasts { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 10px; z-index: 80; pointer-events: none; }
  .toast { display: flex; align-items: center; gap: 12px; background: #1E1E1E; border: 1px solid rgba(212,175,55,.3); border-radius: 14px; padding: 12px 18px 12px 12px; box-shadow: 0 16px 40px rgba(0,0,0,.5); animation: tIn .35s var(--ease); }
  .toast.out { animation: tOut .3s var(--ease) forwards; }
  .toast .t-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
  .toast b { display: block; font-size: 13px; font-weight: 600; }
  .toast span { display: block; font-size: 12px; color: var(--text-2); }
  @keyframes tIn { from { opacity: 0; transform: translateY(12px); } }
  @keyframes tOut { to { opacity: 0; transform: translateY(8px); } }
  .fly { position: fixed; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); z-index: 85; pointer-events: none; transition: transform .65s var(--ease), opacity .65s; }

  /* ============ SEARCH DROPDOWN ============ */
  .search-dropdown { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; max-height: 480px; overflow-y: auto; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s var(--ease); z-index: 60; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
  .search-dropdown.show { opacity: 1; pointer-events: auto; transform: none; }
  .ss-title { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3); font-weight: 700; margin: 4px 0 8px; padding: 0 8px; }
  .sr-item { display: flex; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 10px; cursor: pointer; transition: background .2s; }
  .sr-item:hover { background: var(--card-2); }
  .sr-img { width: 50px; height: 60px; border-radius: 10px; background-size: cover; background-position: center; flex: none; }
  .sr-info { flex: 1; min-width: 0; }
  .sr-info b { font-size: 13px; font-weight: 600; display: block; }
  .sr-info span { font-size: 12px; color: var(--text-2); }
  .sr-info s { color: var(--text-3); margin-right: 6px; }
  .sr-add { width: 34px; height: 34px; border-radius: 50%; background: #000; border: 1px solid var(--border); display: grid; place-items: center; flex-shrink: 0; transition: .2s; }
  .sr-add:hover { background: var(--accent); border-color: var(--accent); }

  /* ============ ACCOUNT MODAL ============ */
  .acc-modal { max-width: 420px; }
  .acc-modal h4 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 600; margin-bottom: 6px; }
  .acc-sub { font-size: 13px; color: var(--text-2); margin-bottom: 22px; }
  .acc-form { display: flex; flex-direction: column; gap: 10px; }
  .acc-btn { background: var(--accent); color: #111; height: 50px; border-radius: 12px; font-size: 14px; font-weight: 700; margin-top: 6px; transition: transform .15s; }
  .acc-btn:hover { transform: translateY(-2px); }
  .acc-links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 12.5px; }
  .acc-links button { color: var(--accent); font-weight: 500; }

  /* ============ SORT MODAL ============ */
  .sort-modal { max-width: 420px; }
  .sort-opt { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 14px; font-weight: 500; transition: color .2s; }
  .sort-opt:last-child { border-bottom: none; }
  .sort-opt:hover { color: var(--accent); }
  .sort-opt svg { color: var(--accent); opacity: 0; }
  .sort-opt.on svg { opacity: 1; }
  .sort-opt.on { color: var(--accent); }
