:root{--bg:#f5f3ee;--panel:#fff;--line:#e3ded2;--gold:#c99719;--gold2:#e5bd55;--black:#101010;--text:#1a1a1a;--muted:#777}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}.wrap{max-width:1240px;margin:auto;padding:0 24px}
header{position:sticky;top:0;z-index:40;background:#101010;color:#fff;border-bottom:1px solid rgba(201,151,25,.5)}nav{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{font-weight:900;letter-spacing:1.5px;display:flex;align-items:center;gap:12px}.brand img{width:60px;height:60px;object-fit:contain;border-radius:50%}.links{display:flex;align-items:center;gap:24px;font-weight:800;font-size:14px}.links a:hover{color:var(--gold2)}
.hero{background:radial-gradient(circle at 75% 30%,rgba(201,151,25,.22),transparent 35%),linear-gradient(115deg,#0c0c0c,#181818);color:#fff;padding:94px 0 88px;border-bottom:1px solid #2b2b2b}.hero-inner{display:grid;grid-template-columns:1.1fr .7fr;gap:60px;align-items:center}.hero h1{font-size:clamp(48px,6vw,82px);line-height:.97;margin:12px 0 24px;max-width:850px}.hero p{font-size:19px;line-height:1.65;color:#d6d1c7;max-width:700px}.eyebrow{color:var(--gold2);font-weight:900;letter-spacing:2px;font-size:12px}.hero-logo{display:flex;justify-content:center}.hero-logo img{width:min(340px,90%);filter:drop-shadow(0 25px 40px rgba(0,0,0,.35));border-radius:50%}
.btn{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--gold2),var(--gold));color:#111;padding:14px 22px;border-radius:9px;font-weight:900;border:0;cursor:pointer;box-shadow:0 8px 18px rgba(201,151,25,.15)}.btn.dark{background:#111;color:#fff}.btn:hover{transform:translateY(-1px)}
.market{background:#fff;border-bottom:1px solid var(--line)}.ticker-grid{display:grid;grid-template-columns:repeat(4,1fr)}.quote{padding:24px;border-right:1px solid var(--line)}.quote:last-child{border-right:0}.quote small{color:var(--muted);font-weight:800}.quote strong{display:block;font-size:26px;margin-top:8px}.quote .live{color:#379b62;font-size:11px;font-weight:900;margin-top:5px}
section{padding:72px 0}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:26px}.section-title{font-size:38px;margin:0}.section-kicker{color:var(--gold);font-weight:900;text-transform:uppercase;letter-spacing:1.3px;font-size:12px}.section-note{color:var(--muted);max-width:540px}.category{margin-bottom:70px}.category:last-child{margin-bottom:0}.category-title{display:flex;align-items:center;gap:12px;font-size:28px;margin:0 0 22px}.category-title:after{content:'';height:1px;background:var(--line);flex:1}
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 12px 30px rgba(31,25,15,.05);transition:.2s}.card:hover{transform:translateY(-4px);box-shadow:0 18px 35px rgba(31,25,15,.09)}.product-visual{height:320px;background:#f7f7f7;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.product-visual img{width:100%;height:100%;object-fit:contain;padding:18px}.product-badge{position:absolute;top:14px;left:14px;background:#111;color:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900;text-transform:uppercase}.missing-photo{text-align:center;color:#9b968b}.missing-photo b{display:block;color:#555;margin-top:10px}.card-body{padding:20px}.meta{color:var(--muted);font-size:13px;font-weight:700}.card h3{font-size:21px;margin:10px 0}.price{font-size:25px;color:var(--gold);font-weight:900}.stock{font-size:12px;color:#777;margin-top:7px}.product-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px}
.detail{display:grid;grid-template-columns:1.1fr .9fr;gap:50px}.mainimg{width:100%;height:610px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:16px}.thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.thumb{width:88px;height:88px;object-fit:cover;border-radius:9px;border:2px solid var(--line);cursor:pointer;background:#fff}.thumb.active{border-color:var(--gold)}
.empty{padding:35px;background:#fff;border:1px dashed #cfc8bb;border-radius:14px;color:#777}footer{background:#101010;color:#aaa;padding:40px 0;margin-top:40px}.form{max-width:760px;background:#fff;border:1px solid var(--line);padding:26px;border-radius:14px}label{display:block;margin:14px 0 7px;font-weight:800}input,textarea,select{width:100%;padding:13px;background:#fff;color:#222;border:1px solid #cfcfcf;border-radius:8px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid #eee}.notice{padding:13px;background:#edf8ef;border:1px solid #b6d8bd;border-radius:9px;margin:12px 0}
@media(max-width:900px){.hero-inner,.detail{grid-template-columns:1fr}.hero-logo{display:none}.products{grid-template-columns:repeat(2,1fr)}.ticker-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.links{gap:12px;font-size:12px}.links a:nth-child(-n+3){display:none}.products,.ticker-grid{grid-template-columns:1fr}.hero{padding:65px 0}.product-visual{height:280px}.section-title{font-size:31px}}


/* KAFRO OS · Compro Oro V6.1 — header/hero hardening */
header{height:auto!important;min-height:76px!important;overflow:visible!important}
header .wrap{max-width:1240px!important;margin:0 auto!important;padding:0 24px!important}
header nav{min-height:76px!important;height:76px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important}
header .brand{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;max-width:480px!important;font-size:15px!important;white-space:nowrap!important}
header .brand img{display:block!important;width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;min-width:48px!important;min-height:48px!important;object-fit:contain!important;border-radius:50%!important;padding:0!important;margin:0!important}
header .links{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:22px!important;flex-wrap:nowrap!important}
header .links a{display:inline-flex!important;align-items:center!important;min-height:40px!important}

.hero{overflow:hidden!important;padding:84px 0!important;min-height:540px!important;display:flex!important;align-items:center!important}
.hero .hero-inner{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(330px,.75fr)!important;gap:58px!important;align-items:center!important}
.hero h1{margin:12px 0 22px!important}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.hero-secondary{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;box-shadow:none!important}
.hero-brand-card{min-height:330px;border:1px solid rgba(229,189,85,.32);border-radius:24px;padding:34px;background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.015));box-shadow:0 30px 70px rgba(0,0,0,.25);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;position:relative;overflow:hidden}
.hero-brand-card:after{content:'';position:absolute;width:260px;height:260px;border-radius:50%;right:-120px;bottom:-130px;background:radial-gradient(circle,rgba(229,189,85,.24),transparent 67%)}
.hero-brand-mark{width:170px;height:170px;display:flex!important;align-items:center!important;justify-content:center!important;margin-bottom:22px;position:relative;z-index:1}
.hero-brand-mark img{display:block!important;width:150px!important;height:150px!important;max-width:150px!important;max-height:150px!important;object-fit:contain!important;border-radius:50%!important;padding:0!important;margin:0!important}
.hero-brand-mark span{font-family:Georgia,serif;font-size:54px;color:var(--gold2);font-weight:700}
.hero-brand-copy{position:relative;z-index:1}
.hero-brand-copy small{display:block;color:var(--gold2);font-size:11px;letter-spacing:2px;font-weight:900;margin-bottom:8px}
.hero-brand-copy strong{display:block;font-size:25px;line-height:1.15}
.hero-brand-copy p{font-size:14px!important;line-height:1.55!important;color:#bdb8ad!important;margin:10px 0 0!important}

@media(max-width:900px){
  header nav{height:auto!important;min-height:72px!important;padding:10px 0!important}
  header .brand{font-size:13px!important}
  header .links{gap:12px!important}
  .hero .hero-inner{grid-template-columns:1fr!important}
  .hero-brand-card{display:none!important}
  .hero{min-height:auto!important}
}
@media(max-width:650px){
  header .brand span{max-width:160px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  header .links a:not(:last-child){display:none!important}
}

/* V6.4 - categorías más visibles */
header .links a.category-nav{
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(229,184,73,.45)!important;
  border-radius:999px!important;
  padding:10px 16px!important;
  font-weight:900!important;
}
header .links a.category-nav:hover{
  background:var(--gold)!important;color:#0b0b0b!important;border-color:var(--gold)!important;
}
.category-title{
  color:#fff!important;
  font-size:32px!important;
  font-weight:950!important;
  letter-spacing:-.5px!important;
  margin-bottom:26px!important;
}
.category-title:after{
  height:2px!important;
  background:linear-gradient(90deg,var(--gold),rgba(229,184,73,.18))!important;
}
#productos .section-title{color:#fff!important}
#productos .section-note{color:#d7d2c8!important}
@media(max-width:1100px){
 header .links{gap:8px!important}
 header .links a.category-nav{padding:8px 10px!important}
}

/* V6.5 — títulos y secciones visibles, prioridad máxima */
#productos .section-title,
#productos h2.section-title,
#productos > .wrap > h2,
.products-section .section-title {
  color:#ffffff !important;
  opacity:1 !important;
  -webkit-text-fill-color:#ffffff !important;
  text-shadow:none !important;
}

#productos .section-note,
#productos .section-head p,
#productos .section-head .section-note {
  color:#d8d3ca !important;
  opacity:1 !important;
  -webkit-text-fill-color:#d8d3ca !important;
}

.category-title,
h3.category-title,
#joyas .category-title,
#lingotes .category-title,
#tecnologia .category-title,
#monedas .category-title,
#otro .category-title {
  color:#ffffff !important;
  opacity:1 !important;
  -webkit-text-fill-color:#ffffff !important;
  font-weight:950 !important;
}

.category-title::after {
  background:linear-gradient(90deg,#e5b849 0%,rgba(229,184,73,.7) 35%,rgba(255,255,255,.22) 100%) !important;
  opacity:1 !important;
}

#productos .eyebrow,
#productos .section-kicker {
  color:#e5b849 !important;
  opacity:1 !important;
  -webkit-text-fill-color:#e5b849 !important;
}

/* Evita que una regla global del editor pinte los títulos casi negros */
body #productos h1,
body #productos h2,
body #productos h3 {
  opacity:1 !important;
}


/* V6.8 — mercado moderno */
.market-modern{
  position:relative;
  padding:34px 0 40px;
  background:
    radial-gradient(circle at 12% 10%,rgba(229,184,73,.14),transparent 30%),
    linear-gradient(180deg,#131313 0%,#0d0d0d 100%);
  border-top:1px solid rgba(229,184,73,.22);
  border-bottom:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.market-modern:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.025) 35%,transparent 70%);
}
.market-modern .wrap{position:relative;z-index:1}
.market-modern-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
}
.market-kicker{
  display:block;
  color:#e5b849;
  font-size:11px;
  font-weight:950;
  letter-spacing:2.2px;
  margin-bottom:5px;
}
.market-modern-head h2{
  margin:0;
  color:#fff;
  font-size:28px;
  line-height:1.05;
  letter-spacing:-.5px;
}
.market-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#a9a59d;
  font-size:13px;
  font-weight:750;
  padding:9px 13px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  background:rgba(255,255,255,.035);
}
.market-status span{
  width:8px;height:8px;border-radius:50%;
  background:#35b86b;
  box-shadow:0 0 0 5px rgba(53,184,107,.12);
}
.market-modern-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.metal-card{
  position:relative;
  min-height:180px;
  padding:24px 26px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 18px 45px rgba(0,0,0,.22);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.metal-card:hover{
  transform:translateY(-3px);
  box-shadow:0 24px 60px rgba(0,0,0,.32);
}
.gold-card{
  background:
    radial-gradient(circle at 100% 0%,rgba(229,184,73,.28),transparent 42%),
    linear-gradient(145deg,#1a1812,#121212 65%);
  border-color:rgba(229,184,73,.34);
}
.silver-card{
  background:
    radial-gradient(circle at 100% 0%,rgba(222,226,232,.2),transparent 42%),
    linear-gradient(145deg,#18191b,#111213 65%);
  border-color:rgba(215,220,226,.22);
}
.metal-card:after{
  content:"";
  position:absolute;
  right:-45px;
  bottom:-70px;
  width:190px;height:190px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.06);
}
.metal-card-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:20px;
}
.metal-icon{
  width:48px;height:48px;
  display:grid;place-items:center;
  border-radius:14px;
  font-family:Georgia,serif;
  font-size:20px;
  font-weight:900;
  color:#111;
}
.gold-card .metal-icon{
  background:linear-gradient(145deg,#f7d46f,#c99518);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55);
}
.silver-card .metal-icon{
  background:linear-gradient(145deg,#f2f4f7,#aeb5bf);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.metal-name{
  display:block;
  color:#fff;
  font-size:14px;
  font-weight:950;
  letter-spacing:1.5px;
}
.metal-card-top small{
  display:block;
  color:#aaa69d;
  margin-top:3px;
  font-size:12px;
}
.metal-price{
  color:#fff;
  font-size:42px;
  line-height:1;
  font-weight:950;
  letter-spacing:-1.4px;
  margin-bottom:14px;
}
.gold-card .metal-price{color:#f0c85f}
.silver-card .metal-price{color:#edf0f4}
.metal-foot{
  display:flex;
  align-items:center;
  gap:8px;
  color:#9d9991;
  font-size:12px;
  font-weight:700;
}
.live-dot{
  width:7px;height:7px;border-radius:50%;
  background:#35b86b;
  box-shadow:0 0 0 4px rgba(53,184,107,.1);
}
@media(max-width:720px){
  .market-modern{padding:26px 0 30px}
  .market-modern-head{align-items:flex-start;flex-direction:column}
  .market-modern-grid{grid-template-columns:1fr}
  .metal-price{font-size:36px}
}

.shipping-banner{background:#111;color:#f1d477;text-align:center;padding:13px 18px;font-weight:900;letter-spacing:.6px;border-top:1px solid rgba(229,184,73,.25);border-bottom:1px solid rgba(229,184,73,.25)}

/* V6.15 · Contacto */
.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px;max-width:950px}
.contact-item{display:flex;gap:14px;align-items:flex-start;padding:18px;border:1px solid #e7e7e7;border-radius:16px;background:#fafafa}
.contact-item>span{font-size:23px}
.contact-item b{display:block;margin-bottom:5px}
.contact-item p{margin:0;color:#444}
.contact-item a{color:#111;text-decoration:none;font-weight:700}
.contact-item a:hover{text-decoration:underline}
@media(max-width:700px){.contact-grid{grid-template-columns:1fr}}
