/* CSC Store · tienda pública. Estilo boutique minimalista (blanco, negro, tipografía fina) con el amarillo de CSC como acento. */
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --y: #b8975a; --y-d: #8f7340; --y-l: #f4ecdc; --ink: #0b0b0b; --ink-2: #1b1b1b; --ink-3: #333; --bg: #fff; --soft: #f5f4f0; --card: #fff; --line: #e7e5df; --mut: #6a6862;
  --ok: #1f8a4c; --err: #c0392b; --r: 4px; --shadow: 0 14px 40px rgba(0, 0, 0, .12); --hd: 80px;
  --ff-h: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; --ff: 'Jost', system-ui, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--ff); background: var(--bg); color: var(--ink); line-height: 1.55; font-size: 16px; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
main { flex: 1; }
img { max-width: 100%; display: block; } a { color: inherit; text-decoration: none; } ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--ff); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); } h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); } h3 { font-size: 1.1rem; }
.muted { color: var(--mut); } .accent { color: var(--y); }
i.fa-solid, i.fa-regular, i.fa-brands { line-height: 1; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 30px; border-radius: 0; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; border: 1px solid var(--ink); background: var(--ink); color: #fff; transition: background .25s, color .25s, border-color .25s, transform .15s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn.y { background: var(--y); border-color: var(--y); color: var(--ink); } .btn.y:hover { background: var(--ink); border-color: var(--ink); color: var(--y); }
.btn.ghost { background: transparent; color: var(--ink); } .btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.sm { min-height: 38px; padding: 0 18px; font-size: .74rem; } .btn.full { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.link-u { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; transition: color .2s, border-color .2s; } .link-u:hover { color: var(--y-d); }

/* Barra de anuncio y cabecera */
.topbar { background: var(--ink); color: #fff; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.topbar .wrap { display: flex; gap: 28px; justify-content: center; padding: 9px 0; flex-wrap: wrap; } .topbar span { display: inline-flex; gap: 8px; align-items: center; } .topbar i { color: var(--y); }
.site-header { background: #fff; color: var(--ink); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.hd { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; min-height: var(--hd); }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; } .brand img { width: 44px; height: 44px; border-radius: 8px; }
.brand b { font-family: var(--ff-h); font-weight: 400; font-size: 2.1rem; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.brand small { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--mut); font-family: var(--ff); margin-top: 3px; }
.nav { display: flex; gap: 6px; justify-content: center; align-items: center; } .nav > a, .nav .dd > a { position: relative; padding: 10px 14px; font-weight: 500; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 7px; }
.nav > a::after, .nav .dd > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav > a:hover::after, .nav > a.on::after, .nav .dd:hover > a::after, .nav .dd > a.on::after { transform: scaleX(1); }
.nav .dd { position: relative; } .nav .dd > a i { font-size: .6rem; transition: transform .2s; } .nav .dd:hover > a i, .nav .dd:focus-within > a i { transform: rotate(180deg); }
.dd-menu { position: absolute; left: 50%; top: 100%; min-width: 230px; transform: translate(-50%, 8px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 70; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; font-size: .86rem; transition: background .15s, padding .2s; } .dd-menu a i { width: 1.2em; text-align: center; color: var(--y-d); } .dd-menu a:hover { background: var(--soft); padding-left: 18px; }
.hd-actions { display: flex; gap: 2px; align-items: center; justify-self: end; }
.ic-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.1rem; transition: transform .15s, color .2s; } .ic-btn:hover { color: var(--y-d); transform: translateY(-1px); } .ic-btn:active { transform: scale(.92); }
.badge-n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--y); color: var(--ink); font-size: .68rem; font-weight: 700; display: grid; place-items: center; animation: badge-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.nav-toggle, .nav-close { display: none; }
.search-bar { background: var(--soft); border-top: 1px solid var(--line); } .search-bar form { display: flex; gap: 8px; padding: 12px 0; }
.search-bar input { flex: 1; min-height: 46px; border: 1px solid var(--line); background: #fff; padding: 0 16px; } .search-bar input:focus { border-color: var(--ink); outline: none; }
.search-bar:not([hidden]) { animation: slide-down .25s ease both; }
.site-header { transition: box-shadow .25s; } .site-header.scrolled { box-shadow: 0 6px 22px rgba(0, 0, 0, .08); }
@media (max-width: 920px) {
  .hd { grid-template-columns: auto 1fr; } .hd-actions { justify-self: end; } .nav-toggle { display: grid; } .brand b { font-size: 1.7rem; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 84px 22px 22px; gap: 0; transform: translateX(105%); transition: transform .28s; z-index: 60; box-shadow: var(--shadow); overflow-y: auto; }
  .nav > a, .nav .dd > a { padding: 15px 4px; font-size: .92rem; border-bottom: 1px solid var(--line); } .nav > a::after, .nav .dd > a::after { display: none; }
  .nav .dd > a i { display: none; } .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 10px; min-width: 0; } .dd:hover .dd-menu { transform: none; }
  body.menu-open .nav { transform: none; } .scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 55; display: none; } body.menu-open .scrim { display: block; }
  .nav-close { display: grid !important; position: absolute; top: 18px; right: 14px; } .topbar .wrap { gap: 14px; font-size: .66rem; } .topbar .hide-m { display: none; }
}

/* Portada: deslizador a pantalla completa */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; height: clamp(440px, 82vh, 820px); }
.slide { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; background: var(--ink-2) center / cover no-repeat; }
.slide.on { opacity: 1; visibility: visible; } .slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .18), rgba(0, 0, 0, .38)); }
.slide.plain { background: radial-gradient(circle at 70% 25%, #3a3300 0, var(--ink) 60%); } .slide.plain::before { display: none; }
.slide-in { position: relative; z-index: 1; padding: 0 70px; max-width: 1100px; transform: translateY(14px); transition: transform 1s ease .15s; } .slide.on .slide-in { transform: none; }
.slide h1 { font-size: clamp(2.8rem, 9vw, 7.4rem); font-weight: 400; letter-spacing: .01em; line-height: 1; text-transform: none; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.slide p { margin: 18px auto 0; text-transform: uppercase; letter-spacing: .22em; font-size: .86rem; max-width: 60ch; }
.slide .btn { margin-top: 30px; background: transparent; border-color: #fff; color: #fff; } .slide .btn:hover { background: #fff; color: var(--ink); }
.h-arrow { position: absolute; top: 50%; z-index: 3; width: 50px; height: 50px; margin-top: -25px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; opacity: .85; transition: opacity .2s, transform .2s; } .h-arrow:hover { opacity: 1; transform: scale(1.15); } .h-prev { left: 8px; } .h-next { right: 8px; }
.h-dots { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; } .h-dots button { width: 34px; height: 3px; background: rgba(255, 255, 255, .4); transition: background .25s, width .25s; } .h-dots button.on { background: #fff; width: 52px; }
.hero.single .h-arrow, .hero.single .h-dots { display: none; }
@media (max-width: 700px) { .slide-in { padding: 0 24px; } .h-arrow { width: 40px; } }

/* Secciones */
.section { padding: 72px 0 8px; } .section.soft { background: var(--soft); padding-bottom: 72px; margin-top: 64px; } .section.dark { background: var(--ink); color: #fff; padding-bottom: 72px; margin-top: 64px; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; } .sec-head p { color: var(--mut); margin-top: 6px; font-size: .95rem; } .dark .sec-head p { color: #aaa; }
.sec-head h2 span { box-shadow: inset 0 -.45em 0 var(--y); }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; min-height: 150px; padding: 20px; background: var(--soft); text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; font-weight: 500; position: relative; overflow: hidden; transition: background .3s, color .3s; }
.cat i { font-size: 1.6rem; color: var(--y-d); transition: color .3s, transform .3s; } .cat small { font-size: .7rem; letter-spacing: .14em; color: var(--mut); transition: color .3s; }
.cat:hover { background: var(--ink); color: #fff; } .cat:hover i { color: var(--y); transform: translateY(-3px); } .cat:hover small { color: #aaa; }

/* Carrusel y productos */
.rail { position: relative; } .carousel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; } .carousel::-webkit-scrollbar { display: none; }
.carousel > .card { flex: 0 0 calc((100% - 54px) / 4); scroll-snap-align: start; }
.r-btn { position: absolute; top: 38%; z-index: 4; width: 44px; height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); transition: background .2s, color .2s, opacity .2s; } .r-btn:hover { background: var(--ink); color: #fff; } .r-btn[disabled] { opacity: 0; pointer-events: none; }
.r-prev { left: -14px; } .r-next { right: -14px; }
@media (max-width: 1060px) { .carousel > .card { flex-basis: calc((100% - 36px) / 3); } } @media (max-width: 760px) { .carousel { gap: 12px; } .carousel > .card { flex-basis: 46%; } .r-btn { display: none; } }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 18px; }
@media (max-width: 1060px) { .grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; } }
.card { color: var(--ink); display: flex; flex-direction: column; position: relative; background: transparent; }
.pic { aspect-ratio: 3 / 4; position: relative; display: grid; place-items: center; overflow: hidden; background: var(--soft); color: #c9c6bb; isolation: isolate; }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); } .card:hover .pic img { transform: scale(1.05); }
.pic .art { font-size: clamp(3.4rem, 8vw, 5.4rem); transition: transform .4s, color .3s; } .card:hover .art { transform: scale(1.08); color: var(--y-d); }
.tags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.tag { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-weight: 600; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; padding: 4px 9px; } .tag.sale { background: var(--ink); color: var(--y); } .tag.out { background: #fff; color: var(--err); }
.tag i { font-size: .8em; } .tag.new i { color: var(--y-d); animation: twinkle 2.4s ease-in-out infinite; } .tag.sale i { animation: zap 1.8s ease-in-out infinite; }
.info { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 2px; flex: 1; } .info small { color: var(--mut); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; font-weight: 500; }
.info h3 { font-weight: 400; font-size: .95rem; text-transform: none; letter-spacing: 0; line-height: 1.3; }
.price { display: flex; gap: 10px; align-items: baseline; padding-top: 4px; } .price b { white-space: nowrap; font-weight: 500; font-size: .98rem; } .price s { color: var(--mut); font-size: .88rem; } .price.big b { font-size: 1.5rem; }
.card > a.stretch::after { content: ''; position: absolute; inset: 0; z-index: 3; }

/* Banners y ventajas */
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .promo a { position: relative; min-height: 340px; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; overflow: hidden; isolation: isolate; transition: transform .3s; }
.promo .p1 { background: var(--y); color: var(--ink); } .promo .p2 { background: var(--ink); color: #fff; } .promo a:hover { transform: translateY(-4px); }
.promo i.bg { position: absolute; right: -18px; top: -14px; font-size: 13rem; opacity: .1; transform: rotate(12deg); z-index: -1; } .promo h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 8px; } .promo p { max-width: 36ch; margin-bottom: 18px; } .promo .btn { margin-top: 0; }
.promo .p1 .btn { background: var(--ink); color: #fff; } .promo .p2 .btn { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 700px) { .promo { grid-template-columns: 1fr; } .promo a { min-height: 240px; } }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border-block: 1px solid var(--line); padding: 30px 0; } .perk { display: flex; gap: 14px; align-items: flex-start; } .perk i { font-size: 1.4rem; color: var(--y-d); width: 30px; padding-top: 2px; transition: transform .25s; } .perk:hover i { transform: translateY(-3px); }
.perk b { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; font-weight: 600; } .perk span { color: var(--mut); font-size: .9rem; } .dark .perk span { color: #aaa; }
@media (max-width: 900px) { .perks { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* Catálogo */
.page-head { padding: 44px 0 10px; text-align: center; } .page-head .crumbs { justify-content: center; } .page-head p { color: var(--mut); margin-top: 6px; }
.crumbs { font-size: .74rem; color: var(--mut); margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; text-transform: uppercase; letter-spacing: .1em; } .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 44px; padding: 26px 0 80px; align-items: start; }
.filters { position: sticky; top: calc(var(--hd) + 16px); display: grid; gap: 26px; max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; align-content: start; padding-right: 8px; }
.filters h4 { font-weight: 600; text-transform: uppercase; font-size: .76rem; letter-spacing: .14em; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); } .filters h4 i { color: var(--y-d); }
.fl { display: flex; flex-direction: column; } .fl a { padding: 8px 0; display: flex; justify-content: space-between; font-size: .92rem; color: var(--mut); transition: color .2s, padding .2s; } .fl a:hover { color: var(--ink); padding-left: 6px; } .fl a.on { color: var(--ink); font-weight: 600; }
.fl a span { display: flex; align-items: center; gap: 10px; } .fl a span i { width: 1.1em; text-align: center; color: var(--y-d); }
.chipset { display: flex; flex-wrap: wrap; gap: 6px; } .chipset a { min-width: 44px; text-align: center; padding: 7px 11px; border: 1px solid var(--line); font-size: .82rem; transition: background .2s, color .2s, border-color .2s; } .chipset a:hover { border-color: var(--ink); } .chipset a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); } .bar .muted { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.bar select { min-height: 42px; border: 1px solid var(--line); background: #fff; padding: 0 14px; }
.filter-toggle { display: none; }
@media (max-width: 900px) { .shop { grid-template-columns: 1fr; gap: 12px; padding-top: 14px; } .filters { position: static; max-height: none; overflow: visible; display: none; padding: 16px; background: var(--soft); } .filters.open { display: grid; animation: pop-in .25s ease; } .filter-toggle { display: inline-flex; } }
.empty { text-align: center; padding: 70px 20px; background: var(--soft); } .empty i { font-size: 2.6rem; color: var(--y-d); margin-bottom: 12px; }

/* Producto */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 36px 0 70px; align-items: start; }
.pd .pic { aspect-ratio: 4 / 5; } .pd .pic .art { font-size: clamp(7rem, 20vw, 13rem); }
.pd h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 6px 0 12px; } .pd .brand-l { color: var(--mut); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 500; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; } .sizes label { position: relative; } .sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes span { display: grid; place-items: center; min-width: 52px; height: 46px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font-weight: 500; transition: background .15s, color .15s, border-color .15s; } .sizes label:hover span { border-color: var(--ink); }
.sizes input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); } .sizes input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; } .sizes input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; border: 1px solid var(--line); background: #fff; } .qty button { width: 44px; height: 46px; display: grid; place-items: center; font-size: .85rem; transition: background .15s; } .qty button:hover { background: var(--soft); } .qty input { width: 48px; text-align: center; border: 0; background: transparent; font-weight: 600; }
.buy { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; align-items: stretch; } .buy .btn { flex: 1; min-width: 180px; }
.facts { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; } .facts div { display: flex; gap: 14px; align-items: center; font-size: .92rem; } .facts i { color: var(--y-d); width: 22px; text-align: center; }
.stock-note { font-size: .88rem; margin-top: 6px; } .stock-note.low { color: #b5470d; font-weight: 600; } .stock-note.out { color: var(--err); font-weight: 600; }
label.l { display: block; font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; gap: 22px; padding-top: 14px; } }

/* Carrito y pedido */
.two { display: grid; grid-template-columns: 1fr 380px; gap: 44px; padding: 28px 0 80px; align-items: start; } @media (max-width: 960px) { .two { grid-template-columns: 1fr; } }
.lines { display: grid; gap: 0; border-top: 1px solid var(--line); } .line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); } .line .pic { width: 96px; }
.line h3 { font-weight: 500; text-transform: none; font-size: 1rem; letter-spacing: 0; } .line .ctl { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.line .tot { font-weight: 500; font-size: 1.05rem; text-align: right; } .rm { color: var(--mut); font-size: .82rem; display: inline-flex; gap: 6px; align-items: center; text-decoration: underline; } .rm:hover { color: var(--err); }
@media (max-width: 560px) { .line { grid-template-columns: 72px 1fr; } .line .pic { width: 72px; } .line .tot { grid-column: 2; text-align: left; } }
.sum { background: var(--soft); padding: 26px; position: sticky; top: calc(var(--hd) + 16px); } .sum h3 { margin-bottom: 16px; } .sum dl { display: grid; gap: 10px; } .sum dl div { display: flex; justify-content: space-between; gap: 12px; } .sum dl .total { border-top: 1px solid var(--ink); padding-top: 12px; font-weight: 600; font-size: 1.15rem; }
.sum .note { font-size: .84rem; color: var(--mut); margin-top: 12px; display: flex; gap: 8px; } .meter { height: 4px; background: var(--line); margin-top: 14px; overflow: hidden; } .meter i { display: block; height: 100%; background: var(--y); transition: width .5s; }
form.panel, .panel { background: #fff; border: 1px solid var(--line); padding: 26px; } .panel + .panel { margin-top: 18px; } .panel h2 { font-size: 1.15rem; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; } .panel h2 i { color: var(--y-d); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .fields .full { grid-column: 1 / -1; } @media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.in, select.in, textarea.in { width: 100%; min-height: 48px; border: 1px solid var(--line); padding: 10px 14px; background: #fff; transition: border-color .2s; } .in:focus { border-color: var(--ink); outline: none; } textarea.in { min-height: 110px; resize: vertical; }
.opts { display: grid; gap: 10px; } .opt { position: relative; } .opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; } .opt span { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, background .2s; } .opt span i { color: var(--y-d); width: 1.3em; text-align: center; }
.opt:hover span { border-color: var(--ink); } .opt input:checked + span { border-color: var(--ink); background: var(--y-l); box-shadow: inset 0 0 0 1px var(--ink); } .opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; } .opt input:disabled + span { opacity: .4; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; } .check input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 3px; flex-shrink: 0; }

/* Avisos */
.flashes { position: fixed; top: calc(var(--hd) + 12px); left: 50%; transform: translateX(-50%); z-index: 90; width: min(540px, calc(100% - 24px)); display: grid; gap: 8px; pointer-events: none; }
.flash { pointer-events: auto; padding: 14px 18px; font-weight: 500; border-left: 4px solid var(--ink); background: #fff; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; animation: slide-down .35s ease both; } .flash.ok { border-color: var(--ok); } .flash.ok i { color: var(--ok); } .flash.err { border-color: var(--err); } .flash.err i { color: var(--err); }

/* Confirmación, contacto, legal */
.done { text-align: center; padding: 70px 0 90px; } .done .ok-ic { width: 96px; height: 96px; border-radius: 50%; background: var(--y); display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 22px; }
.ref { display: inline-block; background: var(--ink); color: var(--y); font-family: var(--ff-h); padding: 8px 20px; font-size: 1.7rem; letter-spacing: .08em; margin: 14px 0; } .recap { text-align: left; max-width: 640px; margin: 28px auto 0; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 30px 0 80px; } @media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
.cl { display: grid; gap: 18px; } .cl div { display: flex; gap: 16px; } .cl i { width: 44px; height: 44px; background: var(--soft); display: grid; place-items: center; flex-shrink: 0; color: var(--y-d); } .cl b { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 600; display: block; }
.legal { max-width: 780px; padding: 30px 0 80px; } .legal h2 { font-size: 1.2rem; margin: 28px 0 8px; } .legal p, .legal li { margin-bottom: 10px; } .legal ul { list-style: disc; padding-left: 22px; }

/* Pie */
.site-footer { background: #fff; color: var(--ink); margin-top: 90px; border-top: 1px solid var(--line); } .foot { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1.3fr; gap: 40px; padding: 54px 0 36px; }
.site-footer h4 { font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; margin-bottom: 18px; } .site-footer li { margin-bottom: 8px; font-size: .92rem; color: #444; } .site-footer li i { color: var(--y-d); margin-right: 8px; width: 1.1em; text-align: center; }
.site-footer a:hover { color: var(--y-d); text-decoration: underline; } .foot p.sm { color: var(--mut); font-size: .9rem; margin-bottom: 12px; }
.news { display: flex; border: 1px solid var(--ink); } .news input { flex: 1; min-width: 0; min-height: 46px; border: 0; padding: 0 14px; background: transparent; } .news input:focus { outline: none; background: var(--y-l); } .news button { padding: 0 18px; background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600; transition: background .2s, color .2s; } .news button:hover { background: var(--y); color: var(--ink); }
.check.sm { font-size: .78rem; color: var(--mut); margin-top: 10px; } .check.sm a { text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 18px; } .social a { width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; } .social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }
.legal-bar { border-top: 1px solid var(--line); padding: 18px 0; font-size: .8rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--mut); } .legal-bar nav { display: flex; gap: 18px; flex-wrap: wrap; } .byfx { color: var(--mut); }
@media (max-width: 960px) { .foot { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }
.cart-fab { display: none; } @media (max-width: 700px) { .cart-fab { position: fixed; right: 14px; bottom: 14px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: 1.25rem; place-items: center; } .cart-fab.has { display: grid; } .cart-fab .badge-n { top: -2px; right: -2px; } }

/* Desplegables con el estilo de la web (sustituyen al nativo) */
.tsel { position: relative; display: inline-block; } .tsel-native { position: absolute; inset: 0; opacity: 0; pointer-events: none; width: 100%; height: 100%; }
.tsel-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); background: #fff; font-weight: 500; min-width: 210px; transition: border-color .2s, background .2s; } .tsel-btn:hover, .tsel-btn[aria-expanded='true'] { border-color: var(--ink); }
.tsel-btn .fa-chevron-down { font-size: .7rem; transition: transform .25s; } .tsel-btn[aria-expanded='true'] .fa-chevron-down { transform: rotate(180deg); } .tsel-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tsel-list { position: fixed; z-index: 1000; list-style: none; overflow-y: auto; padding: 6px; background: #fff; color: var(--ink); border: 1px solid var(--ink); box-shadow: var(--shadow); animation: pop-in .16s ease; scrollbar-width: thin; }
.tsel-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; cursor: pointer; transition: background .12s; } .tsel-list li.active { background: var(--soft); } .tsel-list li[aria-selected='true'] { background: var(--y-l); font-weight: 600; } .tsel-list li .fa-check { font-size: .8rem; }

/* Animaciones */
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes slide-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes badge-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.3) rotate(18deg); } }
@keyframes zap { 0%, 80%, 100% { transform: none; } 88% { transform: scale(1.35) rotate(-12deg); } 94% { transform: scale(1.1) rotate(8deg); } }
@keyframes page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } @keyframes spin { to { transform: rotate(360deg); } }
main { animation: page-in .45s ease both; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); } .rv.in { opacity: 1; transform: none; }
.grid > .rv:nth-child(4n+2) { transition-delay: .06s; } .grid > .rv:nth-child(4n+3) { transition-delay: .12s; } .grid > .rv:nth-child(4n+4) { transition-delay: .18s; }
.btn.busy { pointer-events: none; opacity: .75; } .btn.busy::after { content: ''; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .rv { opacity: 1; transform: none; } .slide { transition: none; } }

.slide img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
h2.h1 { font-size: clamp(2.8rem, 9vw, 7.4rem); }
.card.rv { opacity: 1; transform: none; }
.slide.photo::before { background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.5)); }
.slide.photo::before { background: linear-gradient(to bottom, rgba(0,0,0,.42), rgba(0,0,0,.55)); }
.slide p, .slide h1, .slide h2 { text-shadow: 0 2px 24px rgba(0,0,0,.5); }
@media (max-width: 700px) { .slide { place-items: end center; } .slide-in { padding-bottom: 90px; } .slide h1, h2.h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); } .slide img.bg { object-position: 78% center; } .slide.photo::before { background: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.55)); } }

/* ====== Joyería Carrillo: capa de estilo (blanco, negro y dorado suave) ====== */
:root { --ff: 'Jost', system-ui, 'Segoe UI', sans-serif; --ff-h: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; --gold: #b8975a; }
body { font-weight: 400; letter-spacing: .005em; }
h1, h2, h3 { font-family: var(--ff-h); font-weight: 500; text-transform: none; letter-spacing: .005em; line-height: 1.08; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); } h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); } h3 { font-size: 1.4rem; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.info h3 { font-family: var(--ff); font-size: .98rem; font-weight: 400; }
.sec-head h2 span { box-shadow: inset 0 -.4em 0 rgba(184, 151, 90, .35); }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; color: var(--gold); margin-bottom: 12px; font-weight: 500; }
.topbar { letter-spacing: .14em; font-size: .7rem; }
.brand b { font-family: var(--ff-h); font-weight: 600; font-size: 1.7rem; letter-spacing: .04em; text-transform: uppercase; }
.brand small { letter-spacing: .5em; font-size: .6rem; }
.brand img { border-radius: 2px; }
.nav > a, .nav .dd > a { letter-spacing: .14em; font-size: .74rem; }
.btn { letter-spacing: .16em; font-size: .76rem; font-weight: 500; }
.btn.y { background: var(--ink); border-color: var(--ink); color: #fff; } .btn.y:hover { background: #fff; color: var(--ink); }
.row-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
/* Portada */
.slide.plain { background: radial-gradient(ellipse at 50% 30%, #1d1d1d 0, #0b0b0b 70%); }
.slide.plain::after { content: ''; position: absolute; inset: 0; background: url('../img/ornament-white.png') center / min(70vh, 640px) no-repeat; opacity: .07; pointer-events: none; }
.slide h1, h2.h1 { font-family: var(--ff-h); font-weight: 400; font-size: clamp(3rem, 8vw, 6.4rem); letter-spacing: .02em; }
.slide p { letter-spacing: .34em; font-weight: 300; font-size: .82rem; }
.hero { height: clamp(420px, 74vh, 720px); }
/* Categorías */
.cat { background: #f6f4ef; min-height: 170px; letter-spacing: .12em; font-weight: 500; font-size: .86rem; border: 1px solid transparent; }
.cat i { font-size: 1.9rem; color: var(--gold); } .cat:hover i { color: var(--gold); }
/* Tarjetas sin foto: ilustración del material */
.pic { background: var(--c, #f3f0ea); }
.pic .art { width: 62%; height: auto; max-width: 260px; color: #b8975a; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card:hover .pic .art { transform: scale(1.07) rotate(-2deg); }
.pic .art.m-oroblanco, .pic .art.m-plata { color: #8e949b; } .pic .art.m-orosa { color: #b9806f; } .pic .art.m-acero { color: #5d6166; } .pic .art.m-otro { color: #a89f8f; }
.pic.dark-bg .art { color: #e9dcc0; }
.pd .pic .art { width: 56%; max-width: 380px; }
.specs { display: grid; gap: 0; margin: 16px 0 6px; border-top: 1px solid var(--line); } .specs li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; } .specs span { color: var(--mut); } .specs b { font-weight: 500; }
.ask { margin-top: 18px; font-size: .9rem; color: var(--mut); display: flex; gap: 10px; align-items: flex-start; } .ask i { margin-top: .3em; color: var(--gold); } .ask a { color: var(--ink); text-decoration: underline; }
/* Promos con ornamento */
.promo .p1 { background: #f6f4ef; color: var(--ink); } .promo .p1 .btn { background: var(--ink); color: #fff; }
.promo .p2 { background: #0b0b0b; color: #fff; overflow: hidden; } .promo .p2 .btn { background: transparent; color: #fff; border-color: #fff; } .promo .p2 .btn:hover { background: #fff; color: var(--ink); }
.promo .orn { position: absolute; right: -50px; top: -40px; width: 300px; height: 300px; opacity: .14; z-index: -1; }
.promo a { isolation: isolate; } .promo h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); } .promo p { max-width: 38ch; margin-bottom: 18px; opacity: .85; }
/* Sobre nosotros */
.about { padding: 80px 0 0; } .about-in { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: center; max-width: 1000px; } .about-in img { width: 220px; height: 220px; }
.about-in p { color: #4a4843; max-width: 60ch; margin-top: 12px; } @media (max-width: 700px) { .about-in { grid-template-columns: 1fr; gap: 24px; text-align: left; } .about-in img { width: 140px; height: 140px; } }
/* Taller / servicios */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 30px 0 18px; } @media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }
.svc-card { border: 1px solid var(--line); padding: 34px; background: #fff; transition: border-color .25s, transform .25s; } .svc-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.svc-ic { width: 54px; height: 54px; display: grid; place-items: center; background: #0b0b0b; color: #e9dcc0; font-size: 1.3rem; margin-bottom: 18px; } .svc-card h2 { font-size: 1.9rem; margin-bottom: 10px; } .svc-card p { color: #4a4843; }
.svc-card ul { margin-top: 16px; display: grid; gap: 8px; } .svc-card li { display: flex; gap: 10px; font-size: .94rem; } .svc-card li::before { content: ''; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); margin-top: .6em; flex: none; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: #0b0b0b; color: #fff; padding: 38px 44px; margin: 18px 0 20px; } .cta-band p { color: #bbb; margin-top: 6px; } .cta-band .btn { border-color: #fff; background: #fff; color: #0b0b0b; } .cta-band .btn.ghost { background: transparent; color: #fff; } .cta-band .btn.ghost:hover { background: #fff; color: #0b0b0b; }
.help { display: grid; gap: 12px; margin: 6px 0 4px; } .help li { display: flex; gap: 12px; align-items: flex-start; } .help i { color: var(--gold); margin-top: .35em; width: 1.2em; text-align: center; }
.cl a.link-u { margin-top: 8px; display: inline-flex; gap: 8px; font-size: .7rem; }
/* Pie */
.site-footer { background: #0b0b0b; color: #d9d6cf; border-top: 0; } .site-footer li, .site-footer h4 { color: #d9d6cf; } .site-footer h4 { color: #fff; }
.site-footer a:hover { color: #fff; } .site-footer .legal-bar { border-top-color: #2a2a2a; color: #8d8a83; } .site-footer .social a { border-color: #333; } .site-footer .social a:hover { background: #fff; color: #0b0b0b; }
.site-footer .news { border-color: #555; } .site-footer .news input { color: #fff; } .site-footer .news button { background: #fff; color: #0b0b0b; padding: 0 18px; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 500; } .foot p.sm, .check.sm { color: #9b988f; }
@media (max-width: 600px) { .cats { grid-template-columns: repeat(2, 1fr); } .cat { min-height: 130px; padding: 16px; } .promo a { min-height: 260px; } .brand b { font-size: 1.35rem; } }
