:root{
    --ink:#17212b;--muted:#68737f;--paper:#fff;--soft:#f4f6f4;--line:#dfe5df;
    --accent:#c7e126;--accent-dark:#9db812;--warm:#ffcc5c;--danger:#b83a3a;
    --radius:18px;--shadow:0 18px 50px rgba(23,33,43,.09);--max:1180px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.6}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(calc(100% - 32px),var(--max));margin-inline:auto}
.narrow{max-width:820px}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.header-inner{min-height:78px;display:flex;align-items:center;gap:32px}
.brand img{width:220px;height:auto}
.main-nav{display:flex;gap:25px;margin-left:auto}
.main-nav a{font-size:.94rem;color:#34404c}
.main-nav a:hover{color:#000}
.cart-link{display:flex;align-items:center;gap:9px;font-weight:750}
.cart-link span{display:grid;place-items:center;min-width:27px;height:27px;border-radius:999px;background:var(--accent);font-size:.82rem}
.hero{overflow:hidden;background:linear-gradient(135deg,#f4f7ef 0%,#fff 62%)}
.hero-grid{min-height:610px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:60px}
.eyebrow{display:block;margin-bottom:12px;text-transform:uppercase;letter-spacing:.15em;font-size:.74rem;font-weight:800;color:#68743b}
.hero h1,.page-hero h1{font-size:clamp(2.6rem,6vw,5.2rem);line-height:.98;letter-spacing:-.055em;margin:0 0 25px;max-width:850px}
.hero p{font-size:1.18rem;color:var(--muted);max-width:630px}
.hero-actions{display:flex;gap:12px;margin:34px 0}
.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:#fff;font-weight:800;padding:13px 22px;min-height:48px;transition:.2s ease}
.button:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(23,33,43,.15)}
.button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.button-secondary{background:#fff;color:var(--ink);border-color:var(--line)}
.button-ghost{background:transparent;border-color:rgba(255,255,255,.4)}
.button-small{min-height:38px;padding:7px 15px;font-size:.9rem}
.button-block{width:100%}
.button-link{padding:0;border:0;background:transparent;text-decoration:underline}
.danger{color:var(--danger)}
.trust-row{display:flex;flex-wrap:wrap;gap:25px;color:#52606b;font-size:.9rem}
.trust-row span:before{content:"✓";font-weight:900;margin-right:7px;color:#789000}
.hero-visual{position:relative;display:grid;place-items:center;min-height:430px;border-radius:50% 43% 55% 42%;background:#1c2731}
.battery{position:relative;width:150px;height:68px;padding:10px;display:flex;gap:6px;border:6px solid currentColor;border-radius:14px;color:var(--ink);background:#fff;box-shadow:var(--shadow)}
.battery:after{content:"";position:absolute;right:-17px;top:18px;width:12px;height:25px;border-radius:0 5px 5px 0;background:currentColor}
.battery i{display:block;flex:1;border-radius:5px;background:var(--accent)}
.battery-large{width:245px;height:108px;padding:15px;border-width:8px;color:#fff;background:transparent;box-shadow:none}
.battery-large:after{right:-24px;top:31px;width:17px;height:38px}
.battery-small{width:72px;height:34px;padding:5px;border-width:4px;border-radius:7px;box-shadow:none}
.battery-small:after{right:-9px;top:8px;width:6px;height:12px}
.price-badge{position:absolute;right:4%;bottom:12%;width:128px;height:128px;border-radius:50%;display:grid;place-items:center;text-align:center;background:var(--warm);transform:rotate(-8deg);font-size:.9rem;line-height:1.2}
.price-badge strong{font-size:1.25rem}
.section{padding:92px 0}
.section-muted{background:var(--soft)}
.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}
.section-heading h2,.benefits h2{margin:0;font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.04em;line-height:1}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.category-card{display:flex;gap:18px;align-items:center;padding:25px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;transition:.2s ease}
.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#c8d0c8}
.category-card h3{margin:0 0 4px;font-size:1.15rem}
.category-card p{margin:0 0 7px;color:var(--muted);font-size:.92rem;line-height:1.45}
.category-card small{font-weight:700}
.category-icon{width:60px;height:60px;flex:none;border-radius:18px;background:#eef3d2;display:grid;place-items:center}
.category-icon span{width:27px;height:38px;border:3px solid var(--ink);border-radius:8px;position:relative}
.category-icon span:before{content:"";position:absolute;top:-7px;left:7px;width:9px;height:5px;border-radius:3px;background:var(--ink)}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.product-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#fff;transition:.2s ease}
.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.product-image{aspect-ratio:1/1;background:#f6f8f3;display:grid;place-items:center;overflow:hidden}
.product-image img{width:100%;height:100%;object-fit:contain;padding:20px}
.product-placeholder{width:100%;height:100%;display:grid;place-items:center;background:radial-gradient(circle at 50% 42%,#fff,#eff2eb)}
.product-placeholder .battery{transform:rotate(-8deg) scale(.75)}
.product-card-body{padding:19px;display:flex;flex-direction:column;flex:1}
.product-card-body small{color:var(--muted)}
.product-card-body h3{font-size:1.08rem;line-height:1.3;margin:5px 0 10px}
.product-card-body p{margin:0 0 20px;color:var(--muted);font-size:.9rem}
.product-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto}
.product-card-footer strong{font-size:1.18rem}
.icon-button{width:40px;height:40px;border:0;border-radius:50%;background:var(--accent);font-size:1.5rem;line-height:1;font-weight:500}
.benefits{padding:70px 0;background:#17212b;color:#fff}
.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px}
.benefits article strong{color:var(--accent);font-size:.8rem;letter-spacing:.15em}
.benefits h2{font-size:1.7rem;margin:13px 0}
.benefits p{color:#c4cbd0}
.page-hero{padding:90px 0 70px;background:var(--soft)}
.page-hero-small{padding:60px 0 45px}
.page-hero-small h1{font-size:clamp(2.4rem,5vw,4rem);margin-bottom:0}
.page-hero p{font-size:1.1rem;color:var(--muted)}
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.product-detail-image{min-height:550px;border-radius:28px;background:var(--soft);display:grid;place-items:center;overflow:hidden}
.product-detail-image>img{width:100%;height:550px;object-fit:contain;padding:40px}
.product-placeholder-large{min-height:550px}
.product-detail-copy{padding-top:20px}
.breadcrumb{display:inline-block;color:var(--muted);margin-bottom:15px;text-decoration:underline}
.product-detail h1{font-size:clamp(2.3rem,5vw,4.3rem);line-height:1;letter-spacing:-.05em;margin:0 0 20px}
.product-price{font-size:2rem;font-weight:850;margin-bottom:20px}
.lead{font-size:1.1rem;color:#4e5a65}
.rich-copy{color:var(--muted);margin:25px 0}
.add-form{display:flex;gap:12px;align-items:end;margin:30px 0}
.add-form label{font-size:.8rem;font-weight:700}
.add-form input{display:block;width:90px;margin-top:5px}
.product-notes{display:flex;gap:15px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:.88rem}
input,select,textarea{width:100%;border:1px solid #ccd3cc;border-radius:11px;background:#fff;padding:11px 12px;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(199,225,38,.3);border-color:#96a80c}
.cart-layout,.checkout-layout{display:grid;grid-template-columns:1fr 360px;gap:42px;align-items:start}
.cart-list{border-top:1px solid var(--line);margin-bottom:20px}
.cart-item{display:grid;grid-template-columns:90px 1fr 110px 100px;gap:22px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}
.cart-thumb{width:82px;height:82px;border-radius:14px;background:var(--soft);display:grid;place-items:center;overflow:hidden}
.cart-thumb img{width:100%;height:100%;object-fit:contain;padding:7px}
.cart-item h2{font-size:1.08rem;margin:3px 0}
.cart-item small,.cart-item span{color:var(--muted)}
.quantity-field{font-size:.78rem;font-weight:750}
.summary-card{border:1px solid var(--line);border-radius:var(--radius);padding:25px;background:#fff;box-shadow:var(--shadow)}
.summary-card h2{margin-top:0}
.summary-card>div{display:flex;justify-content:space-between;gap:15px;padding:10px 0}
.summary-card small{display:block;margin-top:14px;color:var(--muted)}
.summary-total{margin-top:10px;padding-top:20px!important;border-top:1px solid var(--line);font-size:1.18rem}
.sticky{position:sticky;top:105px}
.checkout-form{max-width:760px}
.checkout-form h2{margin:0 0 15px;padding-top:28px}
.checkout-form h2:first-of-type{padding-top:0}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.field{display:block;font-size:.86rem;font-weight:750}
.field input,.field select,.field textarea{margin-top:6px;font-weight:400}
.field-wide{grid-column:1/-1}
.field-error{display:block;margin-top:5px;color:var(--danger)}
.checkbox{display:flex;gap:10px;align-items:flex-start;margin:22px 0;font-size:.9rem}
.checkbox input{width:auto;margin-top:5px}
.checkbox a{text-decoration:underline}
.secure-note{text-align:center;color:var(--muted);font-size:.85rem}
.checkout-line{border-bottom:1px solid var(--line);font-size:.88rem}
.empty-state,.result-card{padding:65px;text-align:center;border:1px solid var(--line);border-radius:25px;background:var(--soft)}
.result-card{background:#fff;box-shadow:var(--shadow)}
.result-icon{width:70px;height:70px;margin:0 auto 20px;border-radius:50%;display:grid;place-items:center;background:var(--accent);font-size:2rem;font-weight:900}
.result-error .result-icon{background:#ffd8d8;color:var(--danger)}
.legal-copy{max-width:860px}
.legal-copy h2{margin-top:42px}
.legal-copy p,.legal-copy li{color:#4f5b65}
.legal-warning{padding:18px 20px;border-radius:13px;background:#fff5d8;border:1px solid #f0d88c}
.flash-stack{padding-top:16px}
.flash{padding:13px 16px;border-radius:10px;margin-bottom:10px;border:1px solid transparent}
.flash-success{background:#ecf7dc;border-color:#c7df9c}
.flash-error{background:#fff0f0;border-color:#efc1c1}
.flash-warning{background:#fff7dd;border-color:#ead592}
.site-footer{background:#10171e;color:#fff;padding:65px 0 25px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:60px}
.footer-grid h2{font-size:1rem;margin-top:0}
.footer-grid a,.footer-grid span{display:block;color:#c6ced4;margin:7px 0}
.footer-logo{width:220px;margin-bottom:18px}
.footer-grid p{color:#aeb8c0;max-width:400px}
.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #2c3740;margin-top:45px;padding-top:20px;color:#9eabb5;font-size:.85rem}

/* Admin */
.admin-body{background:#f1f3f1}
.admin-header{min-height:72px;padding:0 24px;display:flex;align-items:center;gap:25px;background:#17212b;color:#fff}
.admin-header .brand img{width:190px}
.admin-header nav{display:flex;gap:22px;margin-left:auto}
.admin-header nav a{color:#d6dde2;font-size:.9rem}
.admin-header form{margin-left:10px}
.admin-main{padding-top:42px;padding-bottom:70px}
.admin-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}
.admin-title h1{margin:0;font-size:2.5rem;letter-spacing:-.04em}
.admin-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px;box-shadow:0 10px 35px rgba(23,33,43,.05);margin-bottom:24px}
.admin-card h2{margin-top:0}
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}
.stats-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.stats-grid span{color:var(--muted)}
.stats-grid strong{display:block;font-size:2.7rem;line-height:1;margin:14px 0}
.stats-grid a{text-decoration:underline;font-size:.9rem}
.admin-card-heading{display:flex;justify-content:space-between;align-items:center}
.admin-card-heading a{text-decoration:underline}
.table-wrap{overflow-x:auto}
table{width:100%;border-collapse:collapse}
th,td{text-align:left;padding:13px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
th{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
td{font-size:.9rem}
.actions{display:flex;gap:12px;justify-content:flex-end}
.actions a{text-decoration:underline}
.status{display:inline-block;padding:4px 9px;border-radius:999px;background:#e8ece8;font-size:.76rem}
.status-paid{background:#e9f6d9;color:#456200}
.status-payment_failed,.status-cancelled{background:#ffe7e7;color:#8d2525}
.status-pending_payment{background:#fff2c9;color:#725600}
.admin-split{display:grid;grid-template-columns:380px 1fr;gap:24px;align-items:start}
.admin-details{border-top:1px solid var(--line);padding:14px 0}
.admin-details summary{display:flex;justify-content:space-between;cursor:pointer}
.admin-details summary span{color:var(--muted);font-size:.85rem}
.admin-details form{margin-top:18px}
.product-form{max-width:900px}
.checkbox-row{display:flex;gap:30px}
.admin-product-image{width:170px;height:170px;object-fit:contain;background:var(--soft);border-radius:12px;margin:18px 0}
.order-line{display:grid;grid-template-columns:1fr auto auto;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}
.order-line small{display:block;color:var(--muted)}
.order-totals{margin-top:20px;margin-left:auto;max-width:350px}
.order-totals div{display:flex;justify-content:space-between;padding:8px 0}
.order-totals div:last-child{font-size:1.2rem;border-top:1px solid var(--line)}
.login-shell{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:30px}
.login-card{width:min(100%,420px);padding:35px;border-radius:22px;background:#fff;box-shadow:var(--shadow)}
.login-card img{width:240px;margin:0 auto 25px}
.login-card h1{text-align:center;font-size:1.5rem;margin-bottom:28px}
.login-card .field{margin-bottom:14px}
.redirect-page{min-height:100vh;display:grid;place-items:center;background:var(--soft);padding:25px}
.redirect-card{width:min(100%,500px);padding:45px;text-align:center;background:#fff;border-radius:24px;box-shadow:var(--shadow)}
.redirect-card img{width:250px;margin:0 auto 25px}
.spinner{width:45px;height:45px;border:5px solid #e7ebe7;border-top-color:var(--accent-dark);border-radius:50%;margin:20px auto;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

@media (max-width:980px){
    .main-nav{display:none}.hero-grid{grid-template-columns:1fr;min-height:auto;padding:80px 0}.hero-visual{min-height:360px}
    .category-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,1fr)}
    .product-detail{grid-template-columns:1fr;gap:35px}.cart-layout,.checkout-layout{grid-template-columns:1fr}.sticky{position:static}
    .benefits-grid,.footer-grid{grid-template-columns:1fr}.admin-split{grid-template-columns:1fr}.admin-header nav{display:none}
}
@media (max-width:650px){
    .header-inner{min-height:68px}.brand img{width:180px}.site-header .cart-link{margin-left:auto}
    .hero-grid{padding:55px 0;gap:25px}.hero h1{font-size:3rem}.hero-visual{min-height:280px}.battery-large{width:185px;height:85px}
    .price-badge{width:100px;height:100px}.section{padding:60px 0}.product-grid{grid-template-columns:1fr}
    .cart-item{grid-template-columns:65px 1fr;gap:13px}.cart-item>.quantity-field,.cart-item>strong{grid-column:2}
    .form-grid{grid-template-columns:1fr}.field-wide{grid-column:auto}.empty-state,.result-card{padding:35px 20px}
    .footer-bottom{display:block}.stats-grid{grid-template-columns:1fr}.admin-title{align-items:flex-start;flex-direction:column}
    .admin-header{padding:0 15px}.admin-header .brand img{width:160px}
}

/* Galería y desglose fiscal */
.product-gallery{min-width:0}
.product-thumbnails{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.product-thumbnail{width:78px;height:78px;padding:5px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.product-thumbnail.active{border-color:var(--accent-dark);box-shadow:0 0 0 3px rgba(199,225,38,.25)}
.product-thumbnail img{width:100%;height:100%;object-fit:contain}
.tax-note{margin:-12px 0 18px;color:var(--muted);font-size:.88rem}
.field small{display:block;margin-top:6px;color:var(--muted);font-weight:400}
.legal-copy blockquote{margin:25px 0;padding:18px 22px;border-left:4px solid var(--accent-dark);background:var(--soft);border-radius:0 12px 12px 0}

/* Storefront v3: navegación, portada visual y títulos más compactos */
:root{
    --header-ink:#121c25;
    --soft-lime:#f2f7d8;
    --soft-blue:#edf3f5;
}
.utility-bar{background:var(--header-ink);color:#dce3e7;font-size:.78rem}
.utility-inner{min-height:32px;display:flex;align-items:center;justify-content:center;gap:42px}
.utility-inner span{position:relative}
.utility-inner span+span:before{content:"";position:absolute;left:-22px;top:50%;width:3px;height:3px;border-radius:50%;background:var(--accent);transform:translateY(-50%)}
.utility-inner strong{color:#fff}
.site-header{background:rgba(255,255,255,.97);box-shadow:0 8px 30px rgba(23,33,43,.045)}
.header-inner{min-height:76px;gap:20px}
.brand{flex:none;display:flex;align-items:center}
.brand img{width:195px}
.main-nav{margin-left:auto;display:flex;align-items:center;gap:3px;padding:5px;border:1px solid #e5e9e3;border-radius:999px;background:#f7f8f6}
.main-nav a{position:relative;padding:9px 15px;border-radius:999px;color:#46515b;font-size:.9rem;font-weight:650;transition:.2s ease}
.main-nav a:hover{background:#fff;color:var(--ink)}
.main-nav a.is-active{background:#fff;color:var(--ink);box-shadow:0 3px 12px rgba(23,33,43,.08)}
.main-nav a.is-active:after{content:"";position:absolute;left:50%;bottom:3px;width:16px;height:2px;border-radius:99px;background:var(--accent-dark);transform:translateX(-50%)}
.cart-link{margin-left:4px;min-height:44px;padding:7px 9px 7px 14px;border-radius:999px;background:var(--ink);color:#fff;font-size:.88rem;transition:.2s ease}
.cart-link:hover{transform:translateY(-1px);box-shadow:0 9px 24px rgba(23,33,43,.18)}
.cart-link svg{width:19px;height:19px}
.cart-link strong{display:grid;place-items:center;min-width:29px;height:29px;border-radius:999px;background:var(--accent);color:var(--ink);font-size:.8rem}
.cart-link span{display:inline;background:transparent;min-width:0;height:auto;border-radius:0;font-size:inherit}
.mobile-menu{display:none;position:relative}
.mobile-menu summary{list-style:none;width:43px;height:43px;border:1px solid var(--line);border-radius:50%;display:grid;place-content:center;gap:4px;background:#fff;cursor:pointer}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu summary span{display:block;width:18px;height:2px;border-radius:3px;background:var(--ink)}
.mobile-menu-panel{position:absolute;right:0;top:53px;width:235px;padding:10px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow)}
.mobile-menu-panel a{display:block;padding:11px 13px;border-radius:10px;color:#46515b;font-weight:650}
.mobile-menu-panel a:hover,.mobile-menu-panel a.is-active{background:var(--soft-lime);color:var(--ink)}

.home-hero{background:linear-gradient(125deg,#f4f7ed 0%,#fff 58%,#f7f9f4 100%);border-bottom:1px solid #edf0eb}
.home-hero .hero-grid{min-height:570px;grid-template-columns:.92fr 1.08fr;gap:70px;padding:56px 0}
.hero-copy{position:relative;z-index:2}
.hero h1{font-size:clamp(2.8rem,5vw,4.65rem);line-height:1.01;letter-spacing:-.052em;margin-bottom:22px;max-width:720px}
.hero p{font-size:1.08rem;line-height:1.65;max-width:600px}
.hero-actions{margin:28px 0 25px}
.hero-trust{display:flex;flex-wrap:wrap;gap:9px}
.hero-trust span{padding:7px 11px;border:1px solid #dfe6d7;border-radius:999px;background:rgba(255,255,255,.72);color:#53605d;font-size:.79rem;font-weight:700}
.hero-trust span:before{content:"✓";margin-right:6px;color:#789000;font-weight:900}
.hero-collage{position:relative;min-height:455px}
.hero-product{position:absolute;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(209,217,207,.9);border-radius:25px;background:#fff;box-shadow:0 18px 50px rgba(23,33,43,.11);transition:.25s ease}
.hero-product:hover{z-index:5;transform:translateY(-5px) rotate(0deg);box-shadow:0 25px 65px rgba(23,33,43,.16)}
.hero-product-image{display:grid;place-items:center;min-height:0;background:linear-gradient(145deg,#f8faf6,#eef2e9)}
.hero-product-image img{width:100%;height:100%;object-fit:contain;padding:18px}
.hero-product-copy{display:flex;flex-direction:column;padding:14px 16px;background:#fff}
.hero-product-copy small{color:var(--muted);font-size:.7rem}
.hero-product-copy strong{overflow:hidden;margin:3px 0 6px;font-size:.88rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hero-product-copy b{font-size:1.03rem}
.hero-product-1{left:4%;top:5%;width:56%;height:365px;transform:rotate(-2deg)}
.hero-product-1 .hero-product-image{height:255px}
.hero-product-2{right:1%;top:15%;width:38%;height:250px;transform:rotate(3deg)}
.hero-product-2 .hero-product-image{height:160px}
.hero-product-3{right:8%;bottom:0;width:42%;height:235px;transform:rotate(-2deg)}
.hero-product-3 .hero-product-image{height:145px}
.hero-collage .price-badge{right:auto;left:46%;bottom:5%;z-index:7;width:104px;height:104px;border:6px solid #fff;box-shadow:0 12px 35px rgba(23,33,43,.14);font-size:.78rem}
.hero-collage .price-badge strong{font-size:1.05rem}
.hero-collage>.hero-visual{min-height:430px}

.service-strip{position:relative;z-index:8;margin-top:-1px;background:#fff;border-bottom:1px solid var(--line)}
.service-strip-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.service-strip article{display:flex;align-items:center;justify-content:center;gap:13px;min-height:92px;padding:18px 30px;border-right:1px solid var(--line)}
.service-strip article:first-child{border-left:1px solid var(--line)}
.service-strip strong,.service-strip small{display:block}
.service-strip strong{font-size:.91rem}
.service-strip small{margin-top:2px;color:var(--muted);font-size:.77rem}
.service-icon{display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:13px;background:var(--soft-lime);font-size:.7rem;font-weight:900;color:#5e7100}

.section{padding:78px 0}
.section-heading{align-items:flex-start;margin-bottom:31px}
.section-heading h2,.benefits h2{font-size:clamp(1.85rem,3.1vw,2.65rem);line-height:1.08;letter-spacing:-.035em}
.section-intro{max-width:620px;margin:12px 0 0;color:var(--muted);font-size:.98rem}
.home-categories{padding-top:82px}
.category-grid-visual{gap:22px}
.category-card-visual{position:relative;display:block;padding:0;overflow:hidden;border-radius:23px;background:#fff}
.category-card-visual:hover{transform:translateY(-5px)}
.category-media{height:210px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#f5f7f2,#edf1e9)}
.category-media img{width:100%;height:100%;object-fit:contain;padding:22px;transition:.3s ease}
.category-card-visual:hover .category-media img{transform:scale(1.045)}
.category-media .category-icon{width:82px;height:82px}
.category-copy{padding:22px 24px 25px}
.category-copy>small{display:inline-block;margin-bottom:8px;color:#68743b;font-size:.71rem;text-transform:uppercase;letter-spacing:.08em}
.category-card-visual h3{font-size:1.28rem;margin-bottom:7px}
.category-card-visual p{min-height:42px;margin-bottom:18px}
.category-link{display:flex;align-items:center;justify-content:space-between;padding-top:15px;border-top:1px solid var(--line);font-size:.82rem;font-weight:800}
.category-link b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent);font-size:1rem}

.product-grid{gap:22px}
.product-card{border-radius:20px}
.product-card:hover{transform:translateY(-5px)}
.product-image{background:linear-gradient(145deg,#fafbf9,#f0f3ed)}
.product-image img{padding:22px;transition:.25s ease}
.product-card:hover .product-image img{transform:scale(1.035)}
.product-card-body{padding:18px 19px 19px}
.product-card-body h3{font-size:1rem}
.product-card-body p{font-size:.85rem;line-height:1.5}
.product-card-footer strong{font-size:1.12rem}
.icon-button{transition:.2s ease}
.icon-button:hover{transform:scale(1.08);background:#b6d10e}

.home-promo{padding:76px 0;background:#eff4e8}
.home-promo-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:70px}
.home-promo h2{max-width:650px;margin:0 0 18px;font-size:clamp(2rem,3.7vw,3.25rem);line-height:1.02;letter-spacing:-.045em}
.home-promo p{max-width:650px;margin-bottom:26px;color:#53605d;font-size:1rem}
.promo-battery{position:relative;min-height:280px;display:grid;place-items:center;border-radius:38px;background:var(--ink);overflow:hidden}
.promo-battery:before,.promo-battery:after{content:"";position:absolute;border-radius:50%;background:rgba(199,225,38,.12)}
.promo-battery:before{width:280px;height:280px;right:-80px;top:-110px}
.promo-battery:after{width:190px;height:190px;left:-60px;bottom:-95px}
.promo-battery .battery{z-index:2}
.promo-battery>span{position:absolute;right:25px;bottom:22px;z-index:3;padding:8px 12px;border-radius:999px;background:var(--accent);color:var(--ink);font-size:.8rem;font-weight:850}

.benefits{padding:62px 0}
.benefits h2{font-size:1.45rem}
.benefits p{margin-bottom:0;font-size:.92rem}

.page-hero{padding:62px 0 50px;background:linear-gradient(135deg,#f2f5f1,#f8faf7)}
.page-hero h1{font-size:clamp(2.35rem,4.3vw,3.85rem);line-height:1.02;letter-spacing:-.045em;margin:0 0 15px}
.page-hero p{max-width:720px;margin-bottom:0;font-size:1.02rem}
.category-hero-content{max-width:1080px}
.breadcrumb-line{display:flex;align-items:center;gap:8px;margin-bottom:31px;color:var(--muted);font-size:.8rem}
.breadcrumb-line a:hover{text-decoration:underline}
.category-title-row{display:flex;align-items:end;justify-content:space-between;gap:35px}
.product-count-badge{flex:none;margin-bottom:8px;padding:8px 13px;border:1px solid #dbe2d7;border-radius:999px;background:#fff;color:#59655f;font-size:.8rem;font-weight:800}
.category-products-section{padding-top:68px}
.product-detail h1{font-size:clamp(2.15rem,4.1vw,3.65rem)}
.page-hero-small h1{font-size:clamp(2.15rem,4vw,3.4rem)}

@media (max-width:1100px){
    .main-nav a{padding-inline:11px}
    .brand img{width:180px}
    .home-hero .hero-grid{gap:35px}
}
@media (max-width:980px){
    .utility-inner{gap:20px}
    .main-nav{display:none}
    .mobile-menu{display:block}
    .header-inner{min-height:72px}
    .home-hero .hero-grid{grid-template-columns:1fr;padding:65px 0 78px}
    .hero-copy{max-width:720px}
    .hero-collage{width:min(100%,680px);min-height:470px;margin-inline:auto}
    .category-grid-visual{grid-template-columns:repeat(2,1fr)}
    .category-card-visual:last-child{grid-column:1/-1}
    .home-promo-grid{grid-template-columns:1fr;gap:35px}
    .promo-battery{min-height:250px}
}
@media (max-width:760px){
    .utility-inner{justify-content:flex-start;min-height:29px;overflow:hidden;white-space:nowrap}
    .utility-inner span:not(:first-child){display:none}
    .service-strip-grid{grid-template-columns:1fr}
    .service-strip article{justify-content:flex-start;min-height:72px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
    .service-strip article:last-child{border-bottom:0}
    .category-title-row{display:block}
    .product-count-badge{display:inline-block;margin-top:20px}
}
@media (max-width:650px){
    .container{width:min(calc(100% - 26px),var(--max))}
    .header-inner{gap:8px}
    .brand img{width:150px}
    .cart-link{margin-left:auto;padding:6px 7px 6px 10px}
    .cart-link .cart-label{display:none}
    .cart-link strong{min-width:27px;height:27px}
    .mobile-menu summary{width:40px;height:40px}
    .home-hero .hero-grid{padding:50px 0 58px;gap:35px}
    .hero h1{font-size:2.75rem}
    .hero p{font-size:1rem}
    .hero-actions{display:grid;grid-template-columns:1fr}
    .hero-actions .button{width:100%}
    .hero-collage{min-height:365px}
    .hero-product-1{left:0;width:62%;height:292px}
    .hero-product-1 .hero-product-image{height:195px}
    .hero-product-2{right:0;width:42%;height:205px}
    .hero-product-2 .hero-product-image{height:125px}
    .hero-product-3{display:none}
    .hero-collage .price-badge{left:auto;right:6%;bottom:0;width:92px;height:92px}
    .section{padding:58px 0}
    .category-grid-visual{grid-template-columns:1fr}
    .category-card-visual:last-child{grid-column:auto}
    .category-media{height:190px}
    .home-promo{padding:58px 0}
    .promo-battery{min-height:215px;border-radius:28px}
    .promo-battery .battery-large{width:170px;height:80px}
    .page-hero{padding:46px 0 40px}
    .breadcrumb-line{margin-bottom:22px}
    .page-hero h1{font-size:2.45rem}
}

/* Storefront v4: menú dinámico, subcategorías y cupones */
.main-nav{overflow:visible}
.main-nav>.nav-link,.main-nav>.nav-item>.nav-link{display:flex;align-items:center;gap:6px;white-space:nowrap}
.main-nav>.nav-item{position:relative}
.main-nav>.nav-item.is-active>.nav-link{background:#fff;color:var(--ink);box-shadow:0 3px 12px rgba(23,33,43,.08)}
.nav-caret{font-size:.82rem;line-height:1;transition:transform .2s ease}
.nav-item:hover>.nav-link .nav-caret,.nav-item:focus-within>.nav-link .nav-caret{transform:rotate(180deg)}
.nav-dropdown{position:absolute;top:calc(100% + 11px);left:0;z-index:60;width:max-content;min-width:235px;padding:8px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 22px 55px rgba(23,33,43,.16);opacity:0;visibility:hidden;transform:translateY(-7px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.nav-dropdown:before{content:"";position:absolute;left:0;right:0;top:-13px;height:13px}
.nav-item:hover>.nav-dropdown,.nav-item:focus-within>.nav-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.nav-dropdown .nav-link{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:215px;padding:10px 12px;border-radius:11px;color:#46515b;font-size:.87rem;font-weight:680;white-space:nowrap}
.nav-dropdown .nav-link:hover,.nav-dropdown .nav-link.is-active{background:var(--soft-lime);color:var(--ink);box-shadow:none}
.nav-dropdown .nav-link.is-active:after{display:none}
.nav-dropdown .nav-item{position:relative}
.nav-dropdown .nav-dropdown{top:-8px;left:calc(100% + 8px)}
.nav-dropdown .nav-dropdown:before{left:-10px;right:auto;top:0;width:10px;height:100%}

.mobile-menu-panel{width:min(310px,calc(100vw - 28px));max-height:calc(100vh - 105px);overflow:auto;z-index:70}
.mobile-nav-link{display:block;padding:11px 13px;border-radius:10px;color:#46515b;font-weight:650}
.mobile-nav-link:hover,.mobile-nav-link.is-active{background:var(--soft-lime);color:var(--ink)}
.mobile-submenu{border-radius:12px}
.mobile-submenu>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;width:auto;height:auto;padding:11px 13px;border:0;border-radius:10px;background:transparent;list-style:none;font-weight:700;color:#46515b;cursor:pointer}
.mobile-submenu>summary::-webkit-details-marker{display:none}
.mobile-submenu>summary:hover,.mobile-submenu>summary.is-active{background:var(--soft-lime);color:var(--ink)}
.mobile-submenu>summary b{font-size:1.15rem;transition:transform .2s ease}
.mobile-submenu[open]>summary b{transform:rotate(45deg)}
.mobile-submenu-panel{margin:2px 0 7px 11px;padding-left:9px;border-left:1px solid var(--line)}
.mobile-parent-link{font-size:.8rem;color:var(--muted)}
.mobile-level-1,.mobile-level-2,.mobile-level-3{font-size:.88rem}

.subcategory-section{padding:38px 0 0;background:#fff}
.subcategory-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}
.subcategory-heading h2{margin:0;font-size:1.25rem;letter-spacing:-.025em}
.subcategory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.subcategory-card{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:14px;min-height:82px;padding:11px 15px;border:1px solid var(--line);border-radius:16px;background:#fff;transition:.2s ease}
.subcategory-card:hover{transform:translateY(-2px);border-color:#cbd5c9;box-shadow:0 12px 30px rgba(23,33,43,.08)}
.subcategory-image{width:58px;height:58px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:var(--soft)}
.subcategory-image img{width:100%;height:100%;object-fit:contain;padding:6px}
.subcategory-image .battery{transform:scale(.63)}
.subcategory-card strong,.subcategory-card small{display:block}
.subcategory-card strong{line-height:1.25}
.subcategory-card small{margin-top:2px;color:var(--muted);font-size:.78rem}
.subcategory-card>b{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--accent)}

.coupon-box{display:block!important;margin:2px 0 14px;padding:15px!important;border:1px dashed #cbd5c0;border-radius:14px;background:#f8faf4}
.coupon-form>label{display:block;margin-bottom:8px;font-size:.82rem;font-weight:800}
.coupon-form>div{display:grid;grid-template-columns:1fr auto;gap:8px}
.coupon-form input{min-width:0;text-transform:uppercase}
.coupon-applied{display:flex;align-items:center;justify-content:space-between;gap:15px}
.coupon-applied small,.coupon-applied strong{display:block}
.coupon-applied small{margin:0;color:var(--muted)}
.coupon-applied strong{font-size:1rem;letter-spacing:.05em}
.summary-card .summary-discount,.order-totals .summary-discount{color:#557000}
.summary-card .summary-discount strong,.order-totals .summary-discount strong{color:#557000}

.admin-intro{max-width:760px;margin:8px 0 0;color:var(--muted)}
.checkbox-row-wrap{flex-wrap:wrap;gap:8px 25px}
.checkbox-row-wrap .checkbox{margin:10px 0}
.category-admin-row summary>span,.coupon-admin-row summary>span{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.mini-status{display:inline-block;padding:3px 7px;border-radius:999px;background:#eef1ed;color:#52605a;font-size:.7rem;font-style:normal;font-weight:750}
.mini-status.is-off{background:#ffe7e7;color:#8d2525}
.coupon-code-input{text-transform:uppercase;letter-spacing:.06em;font-weight:760!important}
.coupon-code-badge{display:inline-flex;padding:5px 9px;border-radius:8px;background:var(--soft-lime);letter-spacing:.06em}
.coupon-date-grid{grid-template-columns:1fr 1fr;margin-top:14px}

@media (max-width:1100px){
    .main-nav>.nav-link,.main-nav>.nav-item>.nav-link{padding-inline:10px}
}
@media (max-width:980px){
    .subcategory-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:650px){
    .subcategory-grid{grid-template-columns:1fr}
    .subcategory-section{padding-top:28px}
    .coupon-form>div{grid-template-columns:1fr}
    .coupon-form .button{width:100%}
    .coupon-date-grid{grid-template-columns:1fr}
}
.mobile-submenu>summary span{display:inline;width:auto;height:auto;border-radius:0;background:transparent}

/* Storefront v5: cuentas de cliente, pedidos y facturas */
.account-link{display:flex;align-items:center;gap:7px;min-height:42px;padding:7px 11px;border-radius:999px;color:#46515b;font-size:.84rem;font-weight:750;white-space:nowrap;transition:.2s ease}
.account-link:hover,.account-link.is-active{background:var(--soft-lime);color:var(--ink)}
.account-link svg{width:19px;height:19px;flex:none}
.account-hero{padding:68px 0 54px;background:linear-gradient(130deg,#f2f6eb,#fff 58%,#f5f7f3);border-bottom:1px solid var(--line)}
.account-hero h1{margin:0 0 13px;font-size:clamp(2.35rem,4.6vw,4rem);line-height:1;letter-spacing:-.05em}
.account-hero p{max-width:670px;margin:0;color:var(--muted);font-size:1.03rem}
.account-hero-inner{display:flex;align-items:end;justify-content:space-between;gap:30px}
.account-section{padding-top:66px}
.account-auth-grid{display:grid;grid-template-columns:minmax(0,680px) 1fr;gap:30px;align-items:start;max-width:1050px}
.account-card,.account-side-card{border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 14px 42px rgba(23,33,43,.07)}
.account-card{padding:27px}
.account-form{display:grid;gap:17px}
.account-form h2,.account-side-card h2,.account-profile-card h2,.payment-action-card h2,.invoice-card h2,.delivery-card h2{margin:0 0 5px;letter-spacing:-.03em}
.account-side-card{position:sticky;top:112px;padding:34px;background:linear-gradient(145deg,#17212b,#24323e);color:#fff}
.account-side-card p{color:#c9d0d5}
.account-side-card .button-secondary{border-color:rgba(255,255,255,.25);background:#fff}
.account-side-icon{display:grid;place-items:center;width:49px;height:49px;margin-bottom:25px;border-radius:16px;background:var(--accent);color:var(--ink);font-size:1.4rem;font-weight:900}
.account-form-note,.account-muted{color:var(--muted);font-size:.86rem}
.account-checkbox-error{margin-top:-14px}
.field-hint{float:right;color:var(--muted);font-weight:500}
.account-dashboard-heading{align-items:center}
.account-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:32px;align-items:start}
.account-main-column{min-width:0}
.account-section-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:22px}
.account-section-heading h2{margin:0;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1;letter-spacing:-.04em}
.account-profile-card{position:sticky;top:112px}
.account-profile-card form{display:grid;gap:14px;margin-top:22px}
.account-profile-card .form-grid{gap:12px}
.empty-account-orders{padding:50px;text-align:center;background:var(--soft)}
.account-orders{display:grid;gap:15px}
.account-order-card{padding:21px 23px;border:1px solid var(--line);border-radius:18px;background:#fff;transition:.2s ease}
.account-order-card:hover{border-color:#cad4c7;box-shadow:0 12px 35px rgba(23,33,43,.07)}
.account-order-top,.account-order-meta,.account-order-actions{display:flex;align-items:center;justify-content:space-between;gap:18px}
.account-order-top{padding-bottom:16px;border-bottom:1px solid var(--line)}
.account-order-top small,.account-order-meta small{display:block;color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.account-order-top strong{font-size:1.12rem}
.account-order-meta{justify-content:flex-start;padding:15px 0}
.account-order-meta span{min-width:125px}
.account-order-actions{justify-content:flex-start}
.text-link{color:#4e6500;font-size:.86rem;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.status-large{padding:8px 13px;font-size:.85rem;font-weight:800}
.account-order-heading{display:flex;align-items:end;justify-content:space-between;gap:30px}
.account-order-heading .breadcrumb{display:block;margin-bottom:20px}
.account-order-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:30px;align-items:start}
.account-order-layout>aside{display:grid;gap:18px;position:sticky;top:112px}
.account-card-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}
.account-card-heading h2{margin:0}
.account-card-heading span{color:var(--muted);font-size:.85rem}
.account-order-line{grid-template-columns:1fr auto auto}
.payment-action-card{border-color:#d8e6a1;background:linear-gradient(145deg,#fbfdf4,#fff)}
.payment-action-card p,.invoice-card p,.delivery-card p{color:var(--muted)}
.invoice-card{background:#f7f9f4}
.payment-history{padding:0;overflow:hidden;margin-top:18px}
.payment-history summary{padding:19px 23px;font-weight:850;cursor:pointer;list-style:none}
.payment-history summary::-webkit-details-marker{display:none}
.payment-history[open] summary{border-bottom:1px solid var(--line)}
.payment-attempt-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:15px;padding:12px 23px;border-bottom:1px solid var(--line);font-size:.84rem}
.payment-attempt-row:last-child{border-bottom:0}
.checkout-account-note{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px;padding:13px 15px;border:1px solid #dce6bf;border-radius:13px;background:#f8faef;font-size:.86rem}
.checkout-account-note span{color:var(--muted)}
.checkout-account-note a{text-decoration:underline;font-weight:800;color:var(--ink)}
input[readonly]{background:#f1f3f0;color:#59635d;cursor:not-allowed}

@media (max-width:1100px){
    .account-link span{display:none}
    .account-link{width:42px;justify-content:center;padding:7px}
    .account-dashboard-grid{grid-template-columns:minmax(0,1fr) 340px}
}
@media (max-width:900px){
    .account-auth-grid,.account-dashboard-grid,.account-order-layout{grid-template-columns:1fr}
    .account-side-card,.account-profile-card,.account-order-layout>aside{position:static}
    .account-profile-card{order:-1}
}
@media (max-width:650px){
    .account-link{display:none}
    .account-hero{padding:48px 0 40px}
    .account-hero-inner,.account-dashboard-heading,.account-order-heading{display:block}
    .account-dashboard-heading form{margin-top:22px}
    .account-section{padding-top:45px}
    .account-card,.account-side-card{padding:21px}
    .account-section-heading{align-items:flex-start}
    .account-order-top{align-items:flex-start}
    .account-order-meta{display:grid;grid-template-columns:1fr 1fr}
    .account-order-actions{align-items:flex-start;flex-direction:column}
    .account-order-line{grid-template-columns:1fr;gap:4px}
    .payment-attempt-row{grid-template-columns:1fr;gap:3px}
    .checkout-account-note{align-items:flex-start;flex-direction:column;gap:2px}
}

/* Administración v6: galería local, flujo de pedidos y clientes */
.status-processing{background:#e8efff;color:#2e4f89}
.status-shipped{background:#e5f3ff;color:#125b86}
.status-delivered{background:#e2f6e8;color:#24633a}
.status-refunded{background:#eee8fa;color:#5d3986}
.order-admin-grid{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:24px;align-items:start}
.order-admin-grid>aside{position:sticky;top:24px}
.order-status-form{display:grid;gap:14px}
.order-status-form h2{margin-bottom:4px}
.compact-form-grid{gap:12px}
.status-timeline{position:relative;display:grid;gap:0;margin-top:18px}
.status-timeline-item{position:relative;display:grid;grid-template-columns:20px 1fr;gap:14px;padding:0 0 24px}
.status-timeline-item:not(:last-child)::before{content:"";position:absolute;left:7px;top:15px;bottom:0;width:2px;background:var(--line)}
.status-timeline-dot{position:relative;z-index:1;width:16px;height:16px;margin-top:3px;border:4px solid #fff;border-radius:50%;background:var(--accent-dark);box-shadow:0 0 0 1px var(--line)}
.status-timeline-item small{display:block;margin-top:4px;color:var(--muted)}
.status-timeline-item p{margin:8px 0 0;color:#4e585f;white-space:normal}
.admin-gallery-manager{margin:28px 0;padding-top:25px;border-top:1px solid var(--line)}
.admin-gallery-manager .admin-card-heading{align-items:flex-start;gap:20px}
.admin-gallery-manager .admin-card-heading h2{margin-bottom:6px}
.admin-gallery-manager .admin-card-heading p{max-width:650px;margin:0;color:var(--muted)}
.gallery-counter{flex:none;padding:6px 10px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:.82rem;font-weight:800}
.admin-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}
.admin-gallery-item{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:15px;background:#fafbf9}
.admin-gallery-item>img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:10px;background:#fff}
.gallery-primary-choice,.gallery-delete{display:flex;align-items:center;gap:8px;font-size:.84rem;font-weight:750}
.gallery-primary-choice input,.gallery-delete input{width:auto;margin:0}
.gallery-sort input{padding:8px 10px}
.gallery-empty{margin:20px 0;padding:28px;border:1px dashed #cdd4cd;border-radius:14px;text-align:center;color:var(--muted);background:#fafbf9}
.gallery-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}
.gallery-upload-grid .field{padding:17px;border:1px dashed #cbd2ca;border-radius:14px;background:#fafbf9}
.customer-admin-form{max-width:900px}
.customer-admin-options{margin:24px 0;flex-wrap:wrap}
.admin-form-note{margin:0 0 20px;font-size:.86rem}
.customer-tracking{display:grid;gap:5px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line);font-size:.87rem}
.customer-tracking span{color:var(--muted)}

@media (max-width:1050px){
    .order-admin-grid{grid-template-columns:1fr}
    .order-admin-grid>aside{position:static}
    .admin-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:700px){
    .admin-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .gallery-upload-grid{grid-template-columns:1fr}
}
@media (max-width:450px){
    .admin-gallery-grid{grid-template-columns:1fr}
}

/* v7: logo frontal y listados administrables */
.site-header .brand img{width:225px}
.admin-filter{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.admin-search-field{flex:1 1 360px;max-width:620px}
.admin-filter .button{min-height:43px}
.admin-result-count{margin-left:auto;padding-bottom:11px;color:var(--muted);font-size:.84rem;font-weight:700}
.sortable-heading{display:inline-flex;align-items:center;color:inherit;text-decoration:none;white-space:nowrap}
.sortable-heading:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.admin-empty-row{text-align:center!important;padding:32px!important;color:var(--muted)}

@media (max-width:1100px){.site-header .brand img{width:205px}}
@media (max-width:650px){
    .site-header .brand img{width:168px}
    .admin-result-count{width:100%;margin-left:0;padding:2px 0 0}
}
