/* AndroMedia — design.css (design pass 2026-10-27, Grok design worker)
 * Loaded LAST: functions.php prints it at wp_head 1000 (after obsidian 99, qa-fixes 100, qa-final 101).
 * Owner of: header/nav look, home sections (trust bar, category tiles, rails), product cards on home, footer.
 * Palette: bg #0d0d0f · surface #16161a · gold #d4af37 (9.6:1 on bg) · text #edeae2 (15:1) · dim #a9a49a (7.4:1).
 * QA workers: please don't override these selectors in qa-fixes.css / qa-final.css — leave a note here instead.
 */
:root{--amd-bg:#0d0d0f;--amd-s1:#141418;--amd-s2:#1b1b21;--amd-line:rgba(212,175,55,.22);--amd-line2:rgba(255,255,255,.08);--amd-gold:#d4af37;--amd-gold2:#f0cf63;--amd-text:#edeae2;--amd-dim:#a9a49a}

/* ---------- Top bar ---------- */
.am-topbar{background:#08080a;border-bottom:1px solid var(--amd-line2)}
.am-topbar-in{min-height:34px}
.am-topbar-usps span,.am-topbar-right a{color:#cfcabf}

/* ---------- Header: one dark band, search is the hero ---------- */
.am-header{background:#0b0b0e;border-bottom:1px solid var(--amd-line2);box-shadow:none}
.am-header.am-scrolled{box-shadow:0 8px 24px rgba(0,0,0,.45)}
.am-header-in{padding:12px 20px;gap:28px}
.am-header .am-logo strong{color:#fff!important}
.am-header .am-logo strong span{color:var(--amd-gold)!important}
.am-header .am-logo-sub{color:var(--amd-dim)!important}
.am-search{height:48px;border:1px solid rgba(255,255,255,.14)!important;background:#fff;border-radius:999px;max-width:820px;box-shadow:none}
.am-search:focus-within{border-color:var(--amd-gold)!important;box-shadow:0 0 0 3px rgba(212,175,55,.28)}
.am-search select{background:#1b1b21!important;color:var(--amd-gold2)!important;border:0!important;border-right:1px solid rgba(255,255,255,.12)!important;border-radius:0!important}
.am-search input[type=search],.am-search input[type=text],.am-search input:not([type=hidden]){background:#fff!important;color:#17171d!important;border:0!important;border-radius:0!important;font-size:15px}
.am-search input::placeholder{color:#5c5c66}
.am-search button{background:var(--amd-gold)!important;border-radius:0!important}
.am-hactions .am-hact,.am-hactions .am-hact:not(.am-hact-cart),.am-hact-cart{background:transparent!important;color:var(--amd-text)!important;border:1px solid transparent;border-radius:12px}
.am-hactions .am-hact:hover,.am-hactions .am-hact:focus-visible{background:#1b1b21!important;border-color:var(--amd-line)}
.am-hactions .am-hact svg,.am-hactions .am-hact:not(.am-hact-cart) svg,.am-hact-cart svg{stroke:var(--amd-gold)!important}
.am-hact .am-hact-label{color:var(--amd-text)!important;font-size:12px;font-weight:600}
.am-burger{background:transparent!important;border:1px solid var(--amd-line)!important}
.am-burger span{background:var(--amd-gold)!important}

/* ---------- Nav bar + mega menu ---------- */
.am-nav{background:#111115;border-bottom:1px solid var(--amd-line)}
.am-nav-in{min-height:46px}
.am-nav-all{border-radius:10px;padding:9px 16px}
.am-nav-links a{color:#e6e2d8;font-weight:600}
.am-nav-deal{color:var(--amd-gold2)}
.am-mega{background:#111115!important;border:1px solid var(--amd-line)!important;border-top:0!important;box-shadow:0 30px 60px rgba(0,0,0,.55)!important}
.am-mega-in{gap:8px 28px}
.am-mega-col{padding:10px 8px;border-radius:12px}
.am-mega-col:hover{background:#17171c}
.am-mega-col h4{margin:0 0 8px}
.am-mega-col h4 a{display:flex!important;align-items:center;gap:10px;color:#fff!important;font-size:14px;font-weight:800}
.am-mega-col h4 a:hover{color:var(--amd-gold2)!important}
.am-mega-col .amd-ic{width:30px;height:30px;padding:6px;border-radius:9px;background:rgba(212,175,55,.12);color:var(--amd-gold);flex:none}
.am-mega-col > a{color:#c9c4b8!important;font-size:13px;padding:4px 0 4px 40px!important;display:block}
.am-mega-col > a:hover{color:var(--amd-gold2)!important}
.am-mega-feat{background:linear-gradient(160deg,#1c1a12,#121216)!important;border:1px solid var(--amd-line)!important;border-radius:14px}

/* ---------- Mobile header: row 1 = burger · logo · account · cart, row 2 = full-width search ---------- */
@media (max-width:860px){
  .am-topbar-in{min-height:30px;font-size:12px}
  .am-header-in{display:grid!important;grid-template-columns:auto 1fr auto;grid-template-areas:"burger logo actions" "search search search";gap:10px 10px;padding:10px 14px 12px}
  .am-burger{grid-area:burger;width:42px;height:42px}
  .am-header .am-logo{grid-area:logo;min-width:0}
  .am-header .am-logo svg{height:36px}
  .am-header .am-logo strong{font-size:19px!important}
  .am-header .am-logo-sub{display:none!important}
  .am-hactions{grid-area:actions;gap:4px}
  .am-hactions .am-hact{width:44px;height:44px;padding:0!important;justify-content:center}
  .am-hact .am-hact-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap}
  .am-hact .am-cart-n{top:2px;right:2px}
  .am-search{grid-area:search;height:44px;max-width:none}
  .am-search select{display:none!important}
  .am-search input:not([type=hidden]){padding:0 16px;font-size:16px}
  .am-nav{display:none}
}

/* ---------- Home: section heads ---------- */
.amd-sec{padding-top:36px;padding-bottom:0}
.amd-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 18px}
.amd-head h2{font-family:var(--display);font-size:clamp(22px,2.4vw,30px);font-weight:800;line-height:1.15;color:#fff!important;letter-spacing:-.4px;margin:0}
.amd-head h2 small{display:block;font-family:var(--font);font-size:11.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--amd-gold)!important;margin-bottom:6px}
.amd-more{flex:none;color:var(--amd-gold2)!important;font-weight:700;font-size:14px;white-space:nowrap;padding:8px 14px;border:1px solid var(--amd-line);border-radius:999px;transition:background .2s,border-color .2s}
.amd-more:hover{background:rgba(212,175,55,.1);border-color:var(--amd-gold)}
.am-sec-title{color:#fff!important}
.am-sec-title small{color:var(--amd-gold)!important}

/* ---------- Trust bar ---------- */
.amd-trust{background:#111115;border-block:1px solid var(--amd-line)}
.amd-trust-in{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.amd-trust-i{display:flex;align-items:center;gap:12px;padding:16px 18px;color:var(--amd-text)!important;text-decoration:none}
.amd-trust-i + .amd-trust-i{border-left:1px solid var(--amd-line2)}
.amd-trust-i svg{width:30px;height:30px;stroke:var(--amd-gold);flex:none}
.amd-trust-i b{display:block;font-size:14px;font-weight:800;color:#fff!important;line-height:1.25}
.amd-trust-i small{display:block;font-size:12.5px;color:var(--amd-dim)!important;margin-top:2px}
a.amd-trust-i:hover b{color:var(--amd-gold2)!important}
@media (max-width:900px){
  .amd-trust-in{grid-template-columns:1fr 1fr}
  .amd-trust-i{padding:12px 6px;gap:9px}
  .amd-trust-i + .amd-trust-i{border-left:0}
  .amd-trust-i:nth-child(n+3){border-top:1px solid var(--amd-line2)}
  .amd-trust-i svg{width:24px;height:24px}
  .amd-trust-i b{font-size:12.5px}
  .amd-trust-i small{font-size:11px}
}

/* ---------- Category tiles ---------- */
.amd-cats{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.amd-cat{display:flex;flex-direction:column;align-items:center;gap:10px;text-decoration:none;padding:14px 10px 16px;background:var(--amd-s1);border:1px solid var(--amd-line2);border-radius:16px;transition:border-color .2s,transform .2s}
.amd-cat:hover{border-color:var(--amd-gold);transform:translateY(-3px)}
.amd-cat-img{width:100%;aspect-ratio:1/1;max-width:150px;border-radius:50%;background:#fff;display:grid;place-items:center;overflow:hidden}
.amd-cat-img img{width:72%;height:72%;object-fit:contain}
.amd-cat b{color:#fff!important;font-size:14px;font-weight:700;text-align:center;line-height:1.25}
.amd-cat:hover b{color:var(--amd-gold2)!important}
@media (max-width:1100px){.amd-cats{grid-template-columns:repeat(4,1fr)}}
@media (max-width:760px){
  .amd-cats{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:0 -20px;padding:2px 20px 8px;scrollbar-width:none}
  .amd-cats::-webkit-scrollbar{display:none}
  .amd-cat{flex:0 0 96px;scroll-snap-align:start;padding:0;background:none;border:0;gap:8px}
  .amd-cat-img{max-width:84px;border:2px solid transparent}
  .amd-cat:hover{transform:none}
  .amd-cat:hover .amd-cat-img{border-color:var(--amd-gold)}
  .amd-cat b{font-size:12px;font-weight:600}
}

/* ---------- Product cards (home) — dark card, white image well, gold price ---------- */
.am-2026 .am-card{background:var(--amd-s1);border:1px solid var(--amd-line2);border-radius:16px;box-shadow:none;transition:border-color .2s,transform .2s}
.am-2026 .am-card:hover{border-color:rgba(212,175,55,.6);transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.4)}
.am-2026 .am-card-media{aspect-ratio:4/3;background:#fff;margin:8px 8px 0;border-radius:12px;padding:14px}
.am-2026 .am-card-media img{width:100%;height:100%;object-fit:contain}
.am-2026 .am-card-body{padding:12px 14px 14px}
.am-2026 .am-card-title,.am-2026 .am-card a.am-card-title{color:var(--amd-text)!important;font-size:13.5px;font-weight:600}
.am-2026 .am-card-title:hover{color:var(--amd-gold2)!important}
.am-2026 .am-card .price,.am-2026 .am-card .woocommerce-Price-amount,.am-2026 .am-card .woocommerce-Price-currencySymbol,.am-2026 .am-card ins .woocommerce-Price-amount{color:var(--amd-gold)!important}
.am-2026 .am-card del .woocommerce-Price-amount,.am-2026 .am-card del .woocommerce-Price-currencySymbol,.am-2026 .am-card del{color:var(--amd-dim)!important}
.am-2026 .am-card p,.am-2026 .am-card li,.am-2026 .am-card span:not(.am-badge):not(.woocommerce-Price-amount):not(.woocommerce-Price-currencySymbol){color:var(--amd-dim)}
.am-2026 .am-card-cta{background:transparent!important;border:1px solid var(--amd-line);color:var(--amd-gold2)!important;border-radius:10px}
.am-2026 .am-card-cta:hover{background:var(--amd-gold)!important;color:#0b0b10!important;border-color:var(--amd-gold)}
.am-2026 .am-badge{background:#e4002b;color:#fff;border-radius:999px;font-weight:800}
.am-2026 .am-badge-top{background:#0b0b10;color:var(--amd-gold2);border:1px solid var(--amd-gold)}

/* ---------- Rails: 6 per row desktop, snap-scroll on mobile ---------- */
.amd-rail .reveal,.amd-cats .reveal{opacity:1!important;transform:none!important}
.amd-rail-6{grid-template-columns:repeat(6,1fr)}
@media (max-width:1100px){.amd-rail-6{grid-template-columns:repeat(4,1fr)}.amd-rail-6 > :nth-child(n+5){display:none}}
@media (max-width:760px){
  .am-grid.amd-rail{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -20px;padding:0 20px 10px;scrollbar-width:none}
  .am-grid.amd-rail::-webkit-scrollbar{display:none}
  .am-grid.amd-rail > .am-card{flex:0 0 46%;scroll-snap-align:start;display:flex!important}
  .amd-head{align-items:center}
  .amd-more{padding:6px 12px;font-size:13px}
}

/* ---------- Deals header: brand gold instead of red ---------- */
.am-deals-head{background:linear-gradient(110deg,#1a1710 0%,#111115 60%)!important;border:1px solid var(--amd-line)!important;color:#fff!important;border-radius:16px}
.am-deals-head::after{background:radial-gradient(circle,rgba(212,175,55,.18),transparent 70%)!important}
.am-deals-head h3{color:#fff!important}
.am-deals-head h3 svg{stroke:var(--amd-gold)!important}

/* ---------- Brand strip: static text wordmarks ---------- */
.am-brands{background:#0f0f12!important;border-block:1px solid var(--amd-line2)!important;padding:22px 0}
.am-brands-track{animation:none!important;width:auto!important;flex-wrap:wrap;justify-content:center;gap:14px 40px!important;max-width:var(--container);margin:0 auto;padding:0 20px}
.am-brands-track > .am-brand:nth-child(n+13){display:none}
.am-brand{opacity:1!important}
.am-brand-mark{display:none}
.am-brand-name{color:#e9e5da!important;font-family:var(--display);font-size:16px!important;font-weight:700;letter-spacing:.02em}
.am-brand-name small{color:var(--amd-dim)!important;font-family:var(--font);font-size:10px;letter-spacing:.14em}
.am-brand:hover .am-brand-name{color:var(--amd-gold2)!important}
@media (max-width:760px){.am-brands-track{gap:12px 22px!important}.am-brand-name{font-size:14px!important}.am-brand-name small{display:none}}

/* ---------- Services row ---------- */
.am-svc{background:var(--amd-s1)!important;border:1px solid var(--amd-line2)!important;box-shadow:none!important}
.am-svc b{color:#fff!important}
.am-svc span{color:var(--amd-dim)!important}

/* ---------- Footer ---------- */
.am-footer{background:#08080a!important;border-top:1px solid var(--amd-line);margin-top:56px}
.am-footer-top{grid-template-columns:1.4fr 1fr 1fr 1fr 1.5fr!important;gap:32px}
.am-footer a{color:#bdb8ad!important}
.am-footer a:hover{color:var(--amd-gold2)!important}
.am-footer-about p,.am-footer-contact span{color:#bdb8ad!important}
.amd-fbadges span{display:inline-block;border:1px solid var(--amd-line);color:#e6e2d8;border-radius:999px;padding:5px 11px;font-size:11.5px;font-weight:700;letter-spacing:.02em}
.am-footer-bar{color:#8f8a80}
@media (max-width:1100px){.am-footer-top{grid-template-columns:1fr 1fr 1fr!important}}
@media (max-width:860px){.am-footer-top{grid-template-columns:1fr 1fr!important;gap:26px 20px;padding:40px 20px 28px}.am-footer-about,.am-footer-top > div:last-child{grid-column:1/-1}}
@media (max-width:420px){.am-footer a{padding:7px 0}}

/* ---------- pass 2 (after-screenshot review) ---------- */
.am-2026 .am-card-media{aspect-ratio:4/3!important;height:auto!important;display:flex!important;align-items:center;justify-content:center;overflow:hidden;position:relative}
.am-2026 .am-card-media img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;aspect-ratio:auto!important}
.amd-cat-img{border-radius:14px}
.amd-cat-img img{width:82%;height:82%}
.am-brands-track > .am-brand:nth-child(n+12){display:none}
@media (min-width:1101px){
  #am-ofertas .am-grid{grid-template-columns:repeat(4,1fr)!important}
  .amd-picks{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important}
}
/* hero dots: 24px tap target, thin bar visual; inactive dim */
.am-hero-dots{gap:2px!important}
.am-hero-dots button{position:relative;width:30px!important;height:24px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.am-hero-dots button::after{content:"";position:absolute;left:3px;right:3px;top:10px;height:4px;border-radius:999px;background:rgba(255,255,255,.3);transition:background .2s}
.am-hero-dots button.am-on{width:44px!important}
.am-hero-dots button.am-on::after{background:var(--amd-gold,#d4af37)}
.amd-cats-sec{padding-bottom:36px!important}
@media (max-width:760px){
  .am-grid.amd-rail,.amd-cats{margin:0 -16px!important;padding-left:16px!important;padding-right:16px!important;scroll-padding-inline:16px}
  .am-2026 .am-card-cta{font-size:11px!important;letter-spacing:.04em!important;padding:9px 6px!important;white-space:nowrap;text-align:center!important;display:block!important;justify-content:center}
}
/* mobile drawer: dark, on-brand */
.am-mobile-menu{background:#0f0f12!important;color:#eee!important;border-right:1px solid rgba(212,175,55,.25)}
.am-mobile-menu a,.am-mobile-menu summary,.am-mobile-menu button:not(.am-burger){color:#f1eee6!important;border-color:rgba(255,255,255,.08)!important;background:transparent}
.am-mobile-menu .am-mob-home strong{color:#fff!important}
.am-mobile-menu .am-mob-home strong span{color:var(--amd-gold,#d4af37)!important}
.am-mobile-menu .am-mob-deals{color:#ff6b5e!important}
.am-mobile-menu .am-mob-actions a{border:1px solid rgba(212,175,55,.6)!important;color:#e6c65a!important;background:transparent!important;border-radius:10px!important;font-size:15px!important}
.am-mobile-menu [class*="plus"],.am-mobile-menu .am-mob-toggle{color:var(--amd-gold,#d4af37)!important}
.am-mobile-menu h3,.am-mobile-menu .am-mob-title,.am-mobile-menu small{color:#9a958a!important}
/* archive (shop/category) cards: white image well like home; 2-up on phones */
.woocommerce ul.products li.product a img,.woocommerce-page ul.products li.product a img{background:#fff!important;border-radius:12px;padding:10px;aspect-ratio:1/1;object-fit:contain!important;width:100%!important;height:auto!important}
@media (max-width:600px){
  .woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  .woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;margin:0!important;float:none!important;padding:8px!important}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}
  .woocommerce ul.products li.product .button{font-size:12px!important;padding:9px 6px!important;width:100%;text-align:center}
}
.am-hero-dots button::after{display:block!important}
.am-mobile-menu *{border-color:rgba(255,255,255,.08)!important}
@media (max-width:600px){.woocommerce ul.products::before,.woocommerce ul.products::after,.woocommerce-page ul.products::before,.woocommerce-page ul.products::after{display:none!important;content:none!important}}

/* QA handoff 2026-10-27: mobile tap targets >= 44px */
@media (max-width:860px){
.am-hero-dots button{height:44px!important;width:44px!important}
.am-hero-dots button::after{top:20px!important}
.am-hero-dots button.am-on{width:52px!important}
.am-topbar .am-flag a{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px!important;min-height:44px!important}
.am-footer a{display:inline-flex!important;align-items:center;min-height:44px!important;padding-top:0!important;padding-bottom:0!important}
.am-footer-top nav a,.am-footer-top div > a{display:flex!important}
.am-mobile-menu a{min-height:44px;display:flex;align-items:center}
}
@media (max-width:640px){.am-topbar-usps .am-tb-q{font-size:11.5px;white-space:nowrap}}
@media (max-width:640px){.am-topbar .am-flag a{padding-left:0!important;padding-right:0!important}.am-topbar .am-flag{gap:0!important}.am-topbar-usps{min-width:0;overflow:visible!important}.am-topbar-usps > span:first-child{font-size:11.5px;letter-spacing:-.1px}.am-topbar-in{gap:6px!important}}
@media (min-width:641px){.am-topbar .am-tb-short{display:none!important}}
@media (max-width:640px){.am-topbar-usps > span:first-child{font-size:11px!important;gap:3px}.am-topbar-usps > span:first-child b{font-size:11px!important}.am-topbar-usps > span:first-child > svg{display:none!important}.am-topbar .am-flag a{min-width:40px!important}}
@media (max-width:370px){.am-topbar-usps > span:first-child,.am-topbar-usps > span:first-child b{font-size:10.5px!important;letter-spacing:-.2px}}
@media (max-width:640px){.am-topbar .am-topbar-usps .am-tb-short{display:inline!important;margin-left:3px}.am-topbar-usps{flex:1 1 auto}}
