:root{--bg:#f5f3ed;--gold:#d8a52f;--cream:#fffdf8}
body{background:radial-gradient(circle at 85% 8%,#e8efda 0,transparent 24%),var(--bg)}
header{position:sticky;top:0;z-index:30;padding-top:18px;padding-bottom:18px;box-shadow:0 8px 30px #153d2b0d}
header>nav{margin-left:auto}
.topbar{background:linear-gradient(90deg,#153d2b,#245a40)}
.language-switch{display:flex;gap:5px;margin-left:auto}.language-switch a{padding:3px 7px;border:1px solid #ffffff55;border-radius:5px;font-size:12px}.language-switch a[aria-current=true]{background:white;color:#153d2b;font-weight:800}.delivery-message{margin-left:18px;padding-left:18px;border-left:1px solid #ffffff55;white-space:nowrap}
main{max-width:1440px}
.hero{min-height:480px;border-radius:26px;background:linear-gradient(135deg,#102f22 0%,#1d5138 63%,#2b6a49 100%);box-shadow:0 28px 60px #173d2b24}
.hero>div:first-child{display:flex;flex-direction:column;justify-content:center;padding:clamp(34px,5vw,70px)}
.hero h1{font-size:clamp(44px,5.2vw,78px);max-width:720px}
.hero p:not(.eyebrow){font-size:18px;max-width:520px}
.hero-visual{position:relative;min-height:100%}
.hero-visual img{height:100%;max-height:none;filter:saturate(.9) contrast(1.02)}
.hero-categories{position:absolute;left:24px;bottom:24px;display:flex;gap:8px;flex-wrap:wrap}
.hero-categories a{padding:9px 13px;background:#fffdf0e8;color:var(--green);border-radius:999px;font-size:12px;font-weight:700;backdrop-filter:blur(8px)}
.hero-categories a:hover,.hero-categories a:focus-visible{background:#fff}
.hero-stamp{background:#f4c95d;box-shadow:0 12px 28px #0002}
.market-promise{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:22px 0 10px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.market-promise div{display:flex;flex-direction:column;gap:5px;padding:20px 24px;background:var(--cream)}
.market-promise strong{font-family:'Manrope',sans-serif}.market-promise span{font-size:13px;color:var(--muted)}
.product{border:0;box-shadow:0 9px 30px #173d2b0d;transition:box-shadow .2s}
.product:hover{box-shadow:0 16px 38px #173d2b1c}
.product-image{height:220px}.chips a{box-shadow:0 3px 12px #173d2b0a}.panel{box-shadow:0 10px 28px #173d2b0b}
.row-actions input{padding:10px;border:1px solid var(--line);border-radius:7px}.row-actions input[type=number]{width:90px}
.search-area{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.search-status{min-height:16px;color:var(--muted);font-size:12px}
.cookie-banner{position:fixed;left:20px;right:20px;bottom:20px;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1050px;margin:auto;padding:20px 22px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 55px #102f2240}.cookie-banner[hidden]{display:none}.cookie-banner h2{font-size:19px;margin:0 0 7px}.cookie-banner p{font-size:13px;margin:0;max-width:650px;color:var(--muted)}.cookie-banner p a{text-decoration:underline}.cookie-actions{display:flex;gap:8px;flex-shrink:0}.legal-copy{max-width:850px}.legal-copy h1{font-size:36px}.legal-copy h2{margin-top:30px;font-size:22px}.legal-copy p,.legal-copy li{line-height:1.7;color:var(--muted)}
.featured-section{margin:25px 0;padding:26px;background:#fff;border:1px solid var(--line);border-radius:18px}.featured-offer{background:#fff4d5}.featured-collection{background:#efe7dc}.featured-new{background:#e9f1e5}.featured-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.featured-heading span{font-size:11px;font-weight:800;letter-spacing:2px}.featured-heading h2{margin:5px 0}.featured-heading p{margin:0;color:var(--muted)}.featured-products{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.featured-products article{display:flex;align-items:center;gap:12px;padding:10px;background:#ffffffb8;border-radius:10px}.featured-products img{width:72px;height:72px;object-fit:cover;border-radius:8px}.featured-products h3{margin:5px 0;font-size:15px}.featured-products small{color:var(--muted)}
.category-group{border-top:1px solid var(--line)}.category-dropdown>.category-group:first-of-type{border-top:0}.category-group .category-parent{font-weight:800}.category-children{padding:0 0 8px 14px}.category-children a{font-size:13px;padding:8px 13px;border-left:2px solid #d9dfd8}.category-children a::before{content:'↳';margin-right:7px;color:var(--muted)}

@media(max-width:650px){header{position:relative}.hero{min-height:auto;border-radius:18px}.hero-visual{min-height:220px}.hero-visual img{height:220px}.hero-categories{left:14px;bottom:14px}.market-promise{grid-template-columns:1fr}.market-promise div{padding:16px 18px}.product-image{height:160px}.row-actions{align-items:stretch;flex-direction:column}.row-actions input[type=number]{width:100%}.search-area{width:100%;align-items:stretch}}



/* Electrónica has a crisp technology look */
.theme-electronics{--green:#075b88;--lime:#63d9ff;--bg:#eef6fb;--ink:#102534;background:radial-gradient(circle at 85% 8%,#bfeaff 0,transparent 28%),#eef6fb;color:#102534}
.theme-electronics .topbar{background:linear-gradient(90deg,#071f33,#0b608c)}
.theme-electronics header{border-bottom-color:#c5dce8}
.theme-electronics .brand{letter-spacing:-1px}
.theme-electronics .electronics-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#061827 0%,#073e61 56%,#087daf 100%);box-shadow:0 28px 65px #073e6138}
.theme-electronics .electronics-hero h1{font-weight:800;letter-spacing:-2px}
.theme-electronics .electronics-hero .eyebrow{color:#6fe2ff}
.theme-electronics .electronics-hero .hero-note{color:#c9eafb}
.theme-electronics .electronics-hero .electronics-visual{overflow:hidden;background:radial-gradient(circle at 55% 42%,#24bce855 0,transparent 44%)}
.electronics-orb{position:absolute;left:50%;top:44%;display:grid;place-items:center;width:clamp(190px,22vw,320px);aspect-ratio:1;transform:translate(-50%,-50%);border:1px solid #7be5ff80;border-radius:50%;background:radial-gradient(circle at 35% 30%,#64e5ff,#0b6d9d 48%,#061827 75%);box-shadow:0 0 0 28px #4bd9ff12,0 0 0 58px #4bd9ff0b,0 30px 80px #00101e}
.electronics-orb::before,.electronics-orb::after{content:'';position:absolute;border:1px solid #90ebff66;border-radius:50%}.electronics-orb::before{inset:-38px}.electronics-orb::after{inset:35px}
.electronics-orb span{color:white;font-size:86px;font-weight:200;transform:rotate(-18deg)}
.electronics-card{position:absolute;padding:10px 14px;border:1px solid #b7efff66;border-radius:10px;background:#061b2cbb;color:#bff3ff;font-size:11px;font-weight:800;letter-spacing:.18em;backdrop-filter:blur(10px);box-shadow:0 12px 30px #00101e55}
.electronics-card-one{right:9%;top:22%}.electronics-card-two{left:8%;bottom:31%}
.theme-electronics .hero-stamp{background:#62ddff;color:#06243a}
.theme-electronics .chips a.active,.theme-electronics .add,.theme-electronics .button{background:#075b88;color:white}
.theme-electronics .product{border:1px solid #d3e4ec;border-radius:12px}
.theme-electronics .product:hover{box-shadow:0 18px 42px #075b8828}
@media(max-width:650px){.theme-electronics .electronics-hero{grid-template-columns:1fr}.theme-electronics .electronics-visual{min-height:260px}.electronics-orb{width:190px}.electronics-card-one{right:7%;top:18%}.electronics-card-two{left:7%;bottom:27%}}

/* Moda has its own editorial look */
.theme-fashion{--green:#5f2736;--lime:#ead8bd;--bg:#f6f0e8;background:#f6f0e8;color:#2f2523}
.theme-fashion .topbar{background:#2f2523}
.theme-fashion header{border-bottom-color:#dfd2c4}
.theme-fashion .brand{font-family:Georgia,serif;letter-spacing:-1px}
.theme-fashion .fashion-hero{background:#e9ddce;color:#2f2523;border:1px solid #d7c7b5;box-shadow:0 22px 50px #4b302018}
.theme-fashion .fashion-hero h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-2px}
.theme-fashion .fashion-hero p:not(.eyebrow),.theme-fashion .fashion-hero .hero-note{color:#675750}
.theme-fashion .fashion-hero .eyebrow{color:#7c3e4e}
.theme-fashion .fashion-hero .hero-visual{overflow:hidden}
.theme-fashion .fashion-hero .hero-stamp{background:#713348;color:white}
.theme-fashion .product{border-radius:3px}.theme-fashion .product-image{height:290px}.theme-fashion .product h3{font-family:Georgia,serif;font-size:21px}
.theme-fashion .chips a.active,.theme-fashion .add,.theme-fashion .button{background:#5f2736;color:white}
.theme-fashion .market-promise{border-radius:3px}
@media(max-width:650px){.theme-fashion .fashion-hero{grid-template-columns:1fr}.theme-fashion .fashion-hero .hero-visual{min-height:260px}.theme-fashion .fashion-hero .hero-visual img{height:260px}.theme-fashion .product-image{height:210px}}
@media(max-width:650px){.cookie-banner{left:10px;right:10px;bottom:10px;align-items:stretch;flex-direction:column}.cookie-actions{flex-direction:column}.cookie-actions .button{width:100%}}
@media(max-width:650px){.featured-section{padding:18px}.featured-heading{align-items:start;flex-direction:column}.featured-products{grid-template-columns:1fr 1fr}.featured-products article{align-items:start;flex-direction:column}.featured-products img{width:100%;height:110px}}
.product-detail{display:grid;grid-template-columns:minmax(280px,1fr) 1fr;gap:42px;align-items:start}.product-detail-image img{width:100%;max-height:620px;object-fit:cover;border-radius:14px}.product-detail h1{font-size:clamp(34px,5vw,58px);margin:8px 0}.product-detail-price{font-size:30px;font-weight:800}.product-detail-price small{font-size:15px;color:var(--muted)}.product-detail li{margin:9px 0}.product-detail form{display:flex;gap:10px;margin-top:24px}.product-detail form input{width:90px}
@media(max-width:650px){.product-detail{grid-template-columns:1fr;gap:22px}.product-detail-image img{max-height:390px}.product-detail form{position:sticky;bottom:10px;padding:10px;background:#fff;border-radius:12px;box-shadow:0 10px 30px #0002}}

.category-chip-bar{align-items:flex-start;overflow:visible}.category-chip{position:relative}.category-chip>a{display:block}.category-chip-submenu{position:absolute;left:0;top:100%;z-index:40;display:block;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(4px);transition:opacity .14s ease,transform .14s ease,visibility 0s linear .35s;min-width:210px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 38px #173d2b2b}.category-chip-submenu a{display:block;margin:0;padding:10px 12px;border-radius:8px;white-space:nowrap;box-shadow:none}.category-chip:hover .category-chip-submenu,.category-chip:focus-within .category-chip-submenu{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition-delay:0s}.market-promise{grid-template-columns:1fr}.analytics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.analytics-grid .panel{margin:0}.analytics-grid table{min-width:360px}@media(max-width:900px){.analytics-grid{grid-template-columns:1fr}}@media(max-width:650px){.category-chip-submenu{position:fixed;left:14px;right:14px;top:auto;min-width:0}.category-chip:focus-within .category-chip-submenu{display:block}}

.selection-products{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.selection-products form{display:flex;align-items:center;gap:7px;padding:7px 10px;background:#f2f4ee;border-radius:999px}.selection-products .text-button{font-size:18px;line-height:1}

.offer-chip{display:inline-flex!important;align-items:center;gap:6px}.offer-chip-icon{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#d52b2b;color:#fff;font-size:11px;font-weight:900}.product-price{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}.product-price del{color:#777;font-size:13px}.sale-price{color:#c51f2b!important}.discount-badge{padding:3px 6px;border-radius:999px;background:#fee2e2;color:#a3131d;font-weight:800}

.supplier-chip-bar{margin-top:.7rem;align-items:center;justify-content:flex-end}.supplier-chip-label{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#66756d}.supplier-chip-bar a{background:#fff;border-color:#d9e2dd}.supplier-chip-bar a.active{background:#173d2b;color:#fff;border-color:#173d2b}

.search-area{position:relative}.search-suggestions{position:absolute;z-index:80;top:52px;left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:10px;padding:6px;box-shadow:0 14px 32px #173d2b26}.search-suggestions[hidden],.search-suggestions button[hidden]{display:none!important}.search-suggestions button{display:block;width:100%;border:0;background:#fff;padding:11px 12px;text-align:left;border-radius:7px;color:var(--ink)}.search-suggestions button:hover,.search-suggestions button:focus{background:#eef3e8}@media(max-width:650px){.category-chip-submenu{display:none!important}.search-suggestions{top:52px}}

.products-loader{max-width:430px;margin:16px auto 32px;padding:14px 20px;text-align:center;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 22px #173d2b0b;cursor:pointer}.products-loader[hidden]{display:none}

.catalog-toolbar{margin:30px -12px 18px;padding:14px 12px}.home-product-controls{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.home-product-controls form{display:flex;align-items:center;gap:7px}.home-product-controls input[type=number]{width:78px;padding:7px;border:1px solid var(--line);border-radius:7px}@media(max-width:950px){.catalog-toolbar{position:sticky;top:88px;z-index:24;background:color-mix(in srgb,var(--bg) 94%,transparent);border-radius:14px;backdrop-filter:blur(12px);box-shadow:0 8px 24px #173d2b0c}.theme-fashion .catalog-toolbar{background:#f6f0e8f2}}@media(max-width:650px){.catalog-toolbar{top:0;margin:18px -8px 14px;padding:10px 8px}.catalog-toolbar>div:first-child{display:none}}

/* Gestión de ofertas y colecciones */
.section-admin-card{border-left:5px solid #2f7a54}.section-admin-card-hidden{border-left-color:#8b938e;background:#f4f4f1}.section-statuses{display:flex;gap:7px;align-items:center}.section-status-visible{background:#dff3e6;color:#155c35}.section-status-hidden{background:#ececea;color:#626a65}.section-admin-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.section-visibility-button{padding:9px 14px}.section-add-product{display:grid;grid-template-columns:minmax(260px,1fr) 150px auto;gap:12px;align-items:end;margin:22px 0;padding:16px;background:#f5f7f2;border:1px solid var(--line);border-radius:12px}.section-add-product .field{margin:0}.section-product-list{display:grid;gap:10px}.section-product-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,auto) auto;gap:16px;align-items:center;padding:13px 15px;background:#fff;border:1px solid var(--line);border-radius:12px}.section-product-name{display:flex;flex-direction:column;gap:4px}.section-product-name small{color:var(--muted)}.section-discount-form{display:flex;align-items:center;gap:9px}.section-discount-form>div{display:flex;align-items:center;gap:6px}.section-discount-form input{width:72px;padding:9px;border:1px solid var(--line);border-radius:7px}.section-discount-form .button{padding:9px 12px}@media(max-width:760px){.section-admin-head{align-items:flex-start;flex-direction:column}.section-add-product{grid-template-columns:1fr}.section-product-row{grid-template-columns:1fr}.section-discount-form{align-items:flex-start;flex-direction:column}.section-admin-actions{align-items:flex-start;flex-direction:column}}
