:root{--ink:#202c2b;--cream:#f8f6f0;--paper:#fffdf8;--orange:#e8744c;--yellow:#f5d46b;--line:#deddd5;--muted:#76817d}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--cream);font-family:'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}h1,h2,h3,p{margin-top:0}.shell{max-width:1160px;margin:auto;padding-left:28px;padding-right:28px}.site-header{background:var(--paper);border-bottom:1px solid var(--line)}.nav-wrap{height:78px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:10px;align-items:center;font-weight:600;font-size:17px}.brand b{font-weight:700}.brand-mark{background:var(--orange);color:#fff;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;font-family:Georgia;font-size:20px;font-weight:bold}.site-header nav{display:flex;gap:30px;align-items:center;font-size:14px}.site-header nav a:hover,.section-head>a:hover{color:var(--orange)}.nav-search{border:1px solid var(--line);border-radius:30px;padding:10px 15px}.nav-search span{font-size:18px;margin-left:15px}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:475px;align-items:center}.hero-copy{padding:55px 7% 55px 0}.kicker,.eyebrow{color:var(--orange);text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700}.hero h1{font:700 clamp(43px,6vw,74px)/1.02 'Playfair Display',serif;margin:16px 0 20px;max-width:580px}.hero h1 em{color:var(--orange);font-weight:600}.hero p{color:var(--muted);font-size:17px;line-height:1.7;max-width:480px;margin-bottom:29px}.button{display:inline-flex;border:0;align-items:center;gap:24px;border-radius:4px;padding:14px 19px;font-weight:700;font-size:13px;cursor:pointer}.button-dark{background:var(--ink);color:#fff}.button-light{background:#fff;color:var(--ink)}.full{width:100%;justify-content:center}.hero-art{height:375px;position:relative;background:#f2d879;border-radius:45% 45% 8px 8px;overflow:hidden;margin-left:30px}.shape{position:absolute;border-radius:50%}.shape-one{width:280px;height:280px;background:#e98a5b;top:58px;left:30%;opacity:.9}.shape-two{width:150px;height:150px;background:#f8b457;top:150px;left:15%;border:22px solid #f5e7aa}.hero-note{position:absolute;background:var(--paper);padding:26px 30px;bottom:32px;right:33px;transform:rotate(-5deg);font:22px/1.15 'Playfair Display',serif;box-shadow:0 10px 25px #a0843755}.hero-note b{color:var(--orange)}.section{padding-top:70px;padding-bottom:80px}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:27px}.section-head h2{font:700 34px 'Playfair Display',serif;margin:8px 0 0}.section-head>a{font-weight:600;font-size:13px}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.category-card{background:var(--paper);padding:23px 13px;border:1px solid #e8e5db;text-align:center;transition:.2s}.category-card:hover{transform:translateY(-4px);border-color:var(--orange)}.category-icon{color:var(--orange);font-size:27px}.category-card h3{font-size:14px;margin:12px 0 6px}.category-card p,.product-card p{font-size:11px;color:var(--muted);margin-bottom:0}.featured{background:#eeece4;padding:70px 0 85px}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.product-card{background:var(--paper);display:block;transition:.2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #33433c12}.product-image{height:220px;background:#f2eee5;position:relative;display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.product-placeholder{font-size:62px;color:#e8a460}.tag{position:absolute;top:12px;left:12px;background:var(--orange);color:#fff;font-size:10px;padding:5px 8px;border-radius:2px}.product-info{padding:17px}.product-category{color:var(--orange);text-transform:uppercase;font-weight:bold;font-size:9px;letter-spacing:1px}.product-info h3{font-size:15px;margin:7px 0}.product-info strong,.price{display:block;margin-top:15px;font-size:18px}.product-info small,.price small{font-size:10px;color:var(--muted)}.promo{margin-top:80px;margin-bottom:80px;background:var(--orange);color:white;padding-top:54px;padding-bottom:54px;display:flex;justify-content:space-between;align-items:center}.promo .kicker{color:#ffe6ae}.promo h2{font:700 38px 'Playfair Display',serif;margin:12px 0}.promo p{opacity:.9}.promo-stamp{font:700 26px/1.1 'Playfair Display',serif;text-align:center;transform:rotate(8deg);border:2px solid #fff;border-radius:50%;padding:28px}.footer{background:var(--ink);color:#e8eee6;padding:42px 0}.footer-grid{display:flex;justify-content:space-between}.footer p{color:#9eaaa2;font-size:13px;line-height:1.7}.page-heading{padding-top:65px;padding-bottom:48px}.page-heading h1,.article h1{font:700 54px 'Playfair Display',serif;margin:12px 0}.page-heading p{color:var(--muted);max-width:550px;line-height:1.6}.catalog-layout{display:grid;grid-template-columns:190px 1fr;gap:42px;padding-bottom:80px}.filters{display:flex;flex-direction:column;gap:14px;font-size:13px}.filters strong{font-size:11px;text-transform:uppercase;letter-spacing:1px;margin-bottom:5px}.filters a{color:var(--muted)}.filters a.active,.filters a:hover{color:var(--orange);font-weight:bold}.results-bar{font-size:12px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:20px}.catalog-layout .product-grid{grid-template-columns:repeat(3,1fr)}.pagination{margin-top:30px}.pagination nav{display:flex;gap:6px}.pagination a,.pagination span{padding:8px 11px;border:1px solid var(--line);font-size:12px}.pagination .active span{background:var(--ink);color:white}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding-top:70px;padding-bottom:100px;align-items:center}.detail-image{height:500px;background:#f0ece1;display:grid;place-items:center}.detail-image img{width:100%;height:100%;object-fit:cover}.detail-copy h1{font:700 48px/1.1 'Playfair Display',serif;margin:15px 0 5px}.back-link{font-size:12px;color:var(--muted);display:block;margin-bottom:48px}.sku{font-size:11px;color:var(--muted)}.detail-description{line-height:1.8;color:var(--muted);margin-top:30px}.stock{color:#4d9666;font-size:12px;margin:10px 0 24px}.search-input{width:100%;border:0;border-bottom:2px solid var(--ink);background:transparent;padding:15px 0;font-size:20px;outline:none}.article{max-width:800px;padding-top:75px;padding-bottom:100px}.article h1{font-size:64px}.lead{font:24px/1.5 'Playfair Display',serif;color:var(--muted);margin-bottom:60px}.article-block{border-top:1px solid var(--line);padding:30px 0}.article-block h2{font:28px 'Playfair Display',serif}.article-block p{line-height:1.8;color:var(--muted)}.empty{color:var(--muted);padding:30px 0}.login-body{min-height:100vh;display:grid;place-items:center;background:#eeece4}.login-card{background:var(--paper);width:min(420px,calc(100% - 40px));padding:42px;box-shadow:0 20px 60px #303c3415}.login-card h1{font:32px 'Playfair Display',serif;margin:44px 0 8px}.muted{color:var(--muted);font-size:13px}.login-card form{margin-top:28px}.login-card label,.edit-form label,.settings-form label{display:block;font-size:12px;font-weight:600;margin:18px 0}.login-card input:not([type=checkbox]),.edit-form input,.edit-form textarea,.edit-form select,.settings-form input{display:block;width:100%;margin-top:7px;border:1px solid var(--line);background:white;padding:11px;border-radius:2px}.check{display:flex!important;align-items:center;gap:8px}.check input{width:auto!important;margin:0!important}.error{color:#b3463e;font-size:12px}.admin-body{display:flex;min-height:100vh;background:#f4f3ee}.sidebar{width:230px;background:var(--ink);color:#dce3dd;padding:29px 20px;display:flex;flex-direction:column;gap:7px}.sidebar .brand{color:#fff;margin-bottom:35px}.sidebar .eyebrow{color:#80948a;margin:8px 12px}.sidebar>a:not(.brand),.link-button{padding:11px 12px;color:#aebcb3;background:none;border:0;text-align:left;font-size:13px;cursor:pointer}.sidebar>a:hover,.link-button:hover{color:#fff;background:#ffffff12}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff1f;padding-top:15px}.admin-main{flex:1}.admin-top{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 5%;font-size:13px}.admin-top strong{font-size:12px}.admin-content{padding:45px 5%;max-width:1250px}.admin-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:35px}.admin-title h1{font:42px 'Playfair Display',serif;margin:9px 0 0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:35px}.stat-card,.admin-panel{background:#fff;border:1px solid #e5e4dc;padding:24px}.stat-card span,.stat-card small{display:block;color:var(--muted);font-size:11px}.stat-card strong{display:block;font:38px 'Playfair Display',serif;margin:12px 0}.stat-card small{font-size:10px}.admin-panel{margin-top:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:10px}.panel-head h2{font:22px 'Playfair Display',serif;margin:0}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.quick-grid a{background:var(--cream);padding:20px}.quick-grid b,.quick-grid span{display:block}.quick-grid span{font-size:11px;color:var(--muted);margin-top:8px}.flash{background:#e1f1e5;color:#32724a;padding:13px;margin-bottom:20px;font-size:13px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:15px 10px;text-align:left;border-bottom:1px solid var(--line)}th{font-size:10px;text-transform:uppercase;color:var(--muted)}td small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.status{font-size:10px;padding:5px 8px}.status.on{background:#e2f3e5;color:#347c4b}.status.off{background:#f5e6e4;color:#a24c46}.actions{display:flex;gap:10px}.actions a,.actions button{border:0;background:none;color:var(--orange);font-size:11px;cursor:pointer}.edit-form{max-width:850px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.edit-form textarea{resize:vertical;min-height:90px}.edit-form .button{margin-top:16px}.settings-form{max-width:700px}.admin-table{background:#fff;border:1px solid #e5e4dc;border-radius:8px;overflow:hidden;margin-top:20px}.admin-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:16px;align-items:center;padding:15px 22px;border-bottom:1px solid var(--line);font-size:13px}.admin-row:last-child{border-bottom:0}.admin-row strong{font-weight:600;font-size:14px}.admin-row span{color:var(--muted)}.admin-row select,.admin-row button{border:1px solid var(--line);background:#fff;color:var(--ink);padding:9px 11px;border-radius:4px;font-size:12px}.admin-row button{color:var(--orange);cursor:pointer}.admin-row button:hover{background:var(--cream)}.admin-search{display:block;width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);margin-bottom:14px}.admin-search:focus{outline:2px solid rgba(232,116,76,.28);border-color:var(--orange)}.button-danger{background:#c0392b;color:#fff}.button-danger:hover{background:#a93226}.panel-head h1{font:26px 'Playfair Display',serif;margin:0}.panel-head input,.panel-head select{border:1px solid var(--line);background:#fff;color:var(--ink);padding:10px 12px;border-radius:4px;font-size:13px}.admin-panel label{display:grid;gap:8px;color:var(--muted);font-size:13px;margin-bottom:16px}.admin-panel label input:not([type=checkbox]):not([type=radio]):not([type=file]),.admin-panel label select,.admin-panel label textarea{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);margin-top:7px}.admin-panel label input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,.admin-panel label select:focus,.admin-panel label textarea:focus{outline:2px solid rgba(232,116,76,.28);border-color:var(--orange)}.admin-panel>button{display:inline-flex;align-items:center;gap:12px;border:0;border-radius:4px;padding:14px 19px;font-weight:700;font-size:13px;cursor:pointer;background:var(--ink);color:#fff;min-height:44px;margin-top:16px}
@media(max-width:760px){.shell{padding-left:20px;padding-right:20px}.site-header nav a:not(.nav-search){display:none}.hero{display:block;padding-top:35px}.hero-copy{padding-right:0}.hero-art{margin:0;height:270px}.section-head{align-items:start;gap:15px}.section-head h2{font-size:27px}.category-grid{grid-template-columns:repeat(3,1fr)}.product-grid,.catalog-layout .product-grid{grid-template-columns:repeat(2,1fr);gap:12px}.product-image{height:165px}.promo{margin-top:40px;margin-bottom:40px;display:block}.promo-stamp{margin-top:25px;width:150px}.catalog-layout{display:block}.filters{flex-direction:row;overflow:auto;margin-bottom:28px;padding-bottom:5px}.filters strong{display:none}.filters a{white-space:nowrap;border:1px solid var(--line);padding:8px 10px}.page-heading h1{font-size:43px}.product-detail{display:block;padding-top:35px}.detail-image{height:320px}.detail-copy{padding-top:35px}.detail-copy h1{font-size:40px}.back-link{margin-bottom:30px}.article h1{font-size:46px}.sidebar{width:185px}.admin-content{padding:30px 20px}.admin-title{display:block}.admin-title .button{margin-top:18px}.stat-grid{grid-template-columns:1fr 1fr}.quick-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.admin-top{padding:0 20px}.admin-top strong{display:none}.modal-overlay{padding:20px 12px}.modal-content{border-radius:8px}.modal-header{padding:16px 18px}.modal-body{padding:18px;max-height:80vh}.order-detail-grid{grid-template-columns:1fr}}
.brand-logo { width: 31px; height: 31px; border-radius: 50%; object-fit: cover; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.kpi-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.kpi-value { font-size: 24px; font-weight: 700; }
.kpi-label { font-size: 13px; color: var(--muted); }
.kpi-accent .kpi-value { color: var(--orange); }
.kpi-dark .kpi-value { color: var(--ink); }
.kpi-yellow .kpi-value { color: #b8860b; }
.kpi-mint .kpi-value { color: #2e7d32; }
.kpi-red .kpi-value { color: #c62828; }
.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.order-detail-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; }
.order-detail-info p { margin: 4px 0; }
.order-event { padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-event-status { font-weight: 600; margin-right: 8px; }
.order-event-user { color: var(--muted); margin-right: 8px; }
.order-event-date { font-size: 12px; color: var(--muted); }
.order-event-notes { font-size: 13px; color: var(--muted); margin-top: 4px; }
.order-total { text-align: right; font-size: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.check-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.flash { background: #e8f5e9; border: 1px solid #c8e6c9; padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; }
/* Admin table styles */
.table-wrap{overflow-x:auto;margin-top:14px}
.table-wrap table{width:100%;border-collapse:collapse;background:var(--paper);border:1px solid var(--line);border-radius:8px;overflow:hidden}
.table-wrap thead{background:var(--cream);border-bottom:2px solid var(--line)}
.table-wrap th{text-align:left;padding:12px 16px;font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}
.table-wrap td{padding:14px 16px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:middle}
.table-wrap tr:last-child td{border-bottom:0}
.table-wrap td small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.table-wrap .actions{white-space:nowrap;text-align:right}
.table-wrap .actions button{display:inline-block;border:1px solid var(--line);background:#fff;color:var(--orange);padding:7px 14px;border-radius:4px;font-size:12px;font-weight:600;cursor:pointer;transition:all .15s ease;margin-left:6px}
.table-wrap .actions button:first-child{margin-left:0}
.table-wrap .actions button:hover{background:var(--orange);color:#fff;border-color:var(--orange)}
.table-wrap .actions button:last-child{color:var(--muted)}
.table-wrap .actions button:last-child:hover{background:#c0392b;color:#fff;border-color:#c0392b}
.table-wrap .empty{text-align:center;color:var(--muted);padding:40px 16px;font-size:14px}
.status{display:inline-block;padding:3px 10px;border-radius:3px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}
.status.on{background:#e7f5ee;color:#2e7d5b}
.status.off{background:#fdecea;color:#c0392b}
/* Modal overlay */
.modal-overlay{position:fixed;inset:0;background:rgba(32,44,43,.55);z-index:900;display:flex;align-items:flex-start;justify-content:center;padding:40px 20px;overflow-y:auto;backdrop-filter:blur(2px)}
.modal-content{background:var(--paper);border:1px solid var(--line);border-radius:12px;width:100%;max-width:780px;box-shadow:0 20px 60px rgba(32,44,43,.25);animation:modalSlideIn .2s ease}
.modal-content.modal-lg{max-width:1000px}
.modal-inline{max-width:820px;margin:0 auto}
.modal-overlay-inline{padding:0}
@keyframes modalSlideIn{from{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:translateY(0)}}
.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;border-bottom:1px solid var(--line)}
.modal-header h2{font:600 20px/1.2 'Playfair Display',serif;margin:0}
.modal-close{background:none;border:0;font-size:28px;color:var(--muted);cursor:pointer;padding:0 4px;line-height:1;transition:color .15s}
.modal-close:hover{color:var(--ink)}
.modal-body{padding:24px 28px 28px;max-height:70vh;overflow-y:auto}
.modal-actions{display:flex;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
/* Required / Optional field indicators */
.field-required::after{content:" *";color:#c0392b;font-weight:700}
.field-optional{color:var(--muted);font-size:11px;font-weight:400;font-style:italic}
.modal-body label,.modal-inline label{display:block;margin-bottom:14px;color:var(--muted);font-size:12px;font-weight:600}
.modal-body input:not([type=checkbox]):not([type=file]):not([type=hidden]),.modal-body textarea,.modal-body select,.modal-inline input:not([type=checkbox]):not([type=file]):not([type=hidden]),.modal-inline textarea,.modal-inline select{display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);font-size:14px}
.modal-body input:focus,.modal-body textarea:focus,.modal-body select:focus,.modal-inline input:focus,.modal-inline textarea:focus,.modal-inline select:focus{outline:2px solid rgba(232,116,76,.28);border-color:var(--orange)}
.error{color:#c0392b;font-size:13px;margin-top:8px}
.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.panel-head h2{margin:0}
.admin-search{margin-bottom:0}
/* Hero logo */
.hero-art{background:transparent!important;display:flex;align-items:center;justify-content:center;border-radius:0}
.hero-logo{max-width:100%;max-height:375px;object-fit:contain;filter:drop-shadow(0 8px 30px rgba(32,44,43,.12))}
/* Cart and shared controls */
.cart-page{padding-top:58px;padding-bottom:80px}.cart-page h1{margin-bottom:28px}.cart-summary{max-width:820px;background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 30px rgba(32,44,43,.05);overflow:hidden}.cart-line{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;border-bottom:1px solid var(--line)}.cart-item-info{min-width:0}.cart-item-info strong{display:block;font-size:16px}.cart-item-info p{color:var(--muted);margin:7px 0;font-size:13px}.cart-item-info small{color:var(--muted);font-size:12px}.cart-item-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.cart-quantity{width:76px;padding:11px 10px;border:1px solid var(--line);border-radius:4px;color:var(--ink);background:var(--cream);text-align:center}.cart-remove{padding:11px 14px}.cart-total{padding:24px 28px 8px}.cart-total h2{font:600 25px/1.2 'Playfair Display',serif;margin:0}.cart-request{padding:12px 28px 26px}.cart-request label{display:grid;gap:8px;color:var(--muted);font-size:13px}.cart-request input,.cart-page input[type=email],.cart-page input[type=text],.cart-page textarea,.cart-page select{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink)}.cart-request input{max-width:460px}.cart-request input:focus,.cart-quantity:focus{outline:2px solid rgba(232,116,76,.28);border-color:var(--orange)}.cart-actions{display:flex;align-items:center;gap:12px;margin-top:18px}.cart-actions .button{justify-content:center}.cart-empty{max-width:820px;padding:40px 28px;background:var(--paper);border:1px dashed var(--line);border-radius:8px;color:var(--muted)}.button{min-height:44px;transition:background-color .2s ease,color .2s ease,transform .2s ease}.button:hover{transform:translateY(-1px)}.button-dark:hover{background:var(--orange)}.button-light{border:1px solid var(--line)}.button-light:hover{background:var(--cream)}.product-card form{padding:0 18px 18px}.product-card form button{width:100%;min-height:42px;padding:11px 14px;border:1px solid var(--ink);border-radius:4px;background:var(--ink);color:#fff;font-weight:700;cursor:pointer;transition:background-color .2s ease,color .2s ease}.product-card form button:hover{background:var(--orange);border-color:var(--orange)}
@media(max-width:760px){.cart-page{padding-top:38px;padding-bottom:55px}.cart-summary{border-radius:6px}.cart-line{align-items:stretch;display:block;padding:20px}.cart-item-actions{justify-content:space-between;margin-top:16px}.cart-quantity{width:82px}.cart-total{padding:22px 20px 8px}.cart-request{padding:12px 20px 22px}.cart-actions .button{width:100%}.cart-empty{padding:30px 20px}.product-card form{padding-left:12px;padding-right:12px}}.cart-head{display:flex;align-items:baseline;gap:16px;padding-bottom:18px}.cart-head h1{font:700 30px/1.1 'Playfair Display',serif;margin:0}.cart-count{color:var(--muted);font-size:14px}.cart-flash{margin:0 0 18px}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start}.cart-items{display:grid;gap:0;background:var(--paper);border:1px solid var(--line);border-radius:10px;box-shadow:0 12px 30px rgba(32,44,43,.05);overflow:hidden}.cart-item{display:grid;grid-template-columns:104px minmax(0,1fr) auto;gap:18px;padding:20px;border-bottom:1px solid var(--line)}.cart-item:last-child{border-bottom:0}.cart-item-thumb{width:104px;height:104px;border-radius:8px;background:var(--cream);display:grid;place-items:center;overflow:hidden}.cart-item-thumb img{width:100%;height:100%;object-fit:cover}.cart-thumb-placeholder{font-size:30px;color:var(--muted)}.cart-item-body{min-width:0;display:flex;flex-direction:column;gap:4px}.cart-item-title{font-weight:600;font-size:15px;line-height:1.35}.cart-item-title:hover{color:var(--orange)}.cart-item-meta{color:var(--muted);font-size:12px;margin:0}.cart-item-status{font-size:12px;font-weight:600}.is-ok{color:#2e7d5b}.is-warn{color:#b45309}.is-muted{color:var(--muted)}.cart-remove-link{background:none;border:0;padding:0;color:var(--muted);font-size:13px;cursor:pointer;width:fit-content;margin-top:6px}.cart-remove-link:hover{color:#c0392b;text-decoration:underline}.cart-item-controls{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:14px}.stepper{display:inline-flex;align-items:stretch;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff}.stepper-btn{width:34px;border:0;background:var(--cream);font-size:18px;line-height:1;cursor:pointer;color:var(--ink)}.stepper-btn:hover{background:var(--yellow)}.stepper-input{width:52px;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);text-align:center;font-size:14px;color:var(--ink)}.stepper-input:focus{outline:2px solid rgba(232,116,76,.3)}.cart-item-total{font-weight:700;font-size:17px}.cart-summary-panel{position:sticky;top:24px;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:22px;box-shadow:0 12px 30px rgba(32,44,43,.05)}.cart-summary-panel h2{font:600 20px/1.2 'Playfair Display',serif;margin:0 0 18px}.cart-summary-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:9px 0;color:var(--muted);font-size:14px}.cart-summary-row strong{color:var(--ink)}.cart-summary-total{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;margin-top:6px;border-top:1px solid var(--line);font-weight:700;font-size:18px}.cart-email-label{display:grid;gap:8px;color:var(--muted);font-size:13px;margin:14px 0 4px}.cart-email-label input{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}.cart-email-label input:focus{outline:2px solid rgba(232,116,76,.28);border-color:var(--orange)}.cart-error{color:#c0392b;font-size:13px;margin:6px 0 0}.btn-checkout{width:100%;justify-content:center;margin-top:18px}.cart-note{font-size:12px;line-height:1.5;margin:12px 0 0}.cart-empty{max-width:640px;margin:auto;text-align:center;background:var(--paper);border:1px dashed var(--line);border-radius:12px;padding:56px 28px}.cart-empty-mark{font-size:42px}.cart-empty h2{margin:14px 0 6px}.cart-empty p{color:var(--muted);margin-bottom:22px}@media(max-width:900px){.cart-layout{grid-template-columns:1fr}.cart-summary-panel{position:static}}@media(max-width:560px){.cart-item{grid-template-columns:76px minmax(0,1fr);gap:14px}.cart-item-thumb{width:76px;height:76px}.cart-item-controls{grid-column:2;align-items:flex-start;flex-direction:row;justify-content:space-between;width:100%}}/* Customer auth forms */
.auth-form .input:focus{outline:2px solid rgba(232,116,76,.28);border-color:var(--orange)}.auth-status{color:#2e7d5b;font-size:12px;margin:18px 0 0}.auth-links{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid var(--line);font-size:13px}.auth-links a{color:var(--orange);font-weight:600}.auth-links a:hover{color:var(--ink);text-decoration:underline}@media(max-width:760px){.login-card{padding:32px 24px}.login-card h1{font-size:28px;margin-top:34px}.auth-links{justify-content:center;flex-direction:column;text-align:center}}.account-shell{padding:56px 0 80px}.account-head{margin-bottom:26px}.account-head h1{font:700 32px/1.1 'Playfair Display',serif;margin:0 0 6px}.account-status{background:#e7f5ee;color:#2e7d5b;border:1px solid #cfeadd;border-radius:8px;padding:12px 16px;margin:0 0 20px}.account-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start}.account-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:26px;box-shadow:0 12px 30px rgba(32,44,43,.05)}.account-form{display:grid;gap:16px}.account-card h2{font:600 20px/1.2 'Playfair Display',serif;margin:0 0 16px}.account-field{display:grid;gap:8px;color:var(--muted);font-size:13px}.account-input{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink)}.account-input:focus{outline:2px solid rgba(232,116,76,.28);border-color:var(--orange)}.account-input:disabled{background:var(--cream);color:var(--muted)}.account-nav{display:grid;gap:10px}.account-nav a{color:var(--orange);font-weight:600;font-size:14px}.account-nav a:hover{color:var(--ink);text-decoration:underline}.order-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:20px 24px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 10px 24px rgba(32,44,43,.04)}.order-card-main{display:flex;align-items:center;gap:14px}.order-number{font-weight:700}.order-status{font-size:12px;font-weight:700;padding:5px 10px;border-radius:20px;text-transform:capitalize}.status-requested{background:#fdf1d7;color:#a05d00}.status-confirmed{background:#e7f5ee;color:#2e7d5b}.status-completed{background:#dbeafe;color:#1d4ed8}.status-cancelled{background:#fde8e8;color:#c0392b}.order-card-meta{display:flex;gap:16px;color:var(--muted);font-size:13px}.account-empty{max-width:560px;margin:30px auto;text-align:center;background:var(--paper);border:1px dashed var(--line);border-radius:12px;padding:48px 28px}.account-empty-mark{font-size:40px}.account-empty h2{margin:14px 0 6px}.account-empty p{color:var(--muted);margin-bottom:20px}.account-pagination{margin-top:22px}@media(max-width:900px){.account-grid{grid-template-columns:1fr}}@media(max-width:560px){.order-card{display:block}.order-card-meta{justify-content:space-between;margin-top:12px;flex-wrap:wrap}}

/* Image upload preview */
.img-preview{display:block;max-width:160px;max-height:110px;margin-top:8px;border:1px solid #d9d2c4;border-radius:6px;object-fit:contain}
.img-status{display:block;font-size:11px;color:#8a8577;margin-top:4px}
.img-status.ok{color:#2e7d5b}
.img-status.err{color:#c0392b}


/* Galeria de imagenes de producto */
.img-preview-multi{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.img-preview-multi .img-preview{max-width:90px;max-height:70px;margin:0}
.img-gallery{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 4px}
.img-gallery-item{position:relative;margin:0;padding:6px;border:1px solid #d9d2c4;border-radius:8px;background:#fff;display:flex;flex-direction:column;gap:6px;align-items:center}
.img-gallery-item.is-primary{border-color:#2e7d5b;box-shadow:0 0 0 1px #2e7d5b inset}
.img-gallery-item img{width:96px;height:76px;object-fit:cover;border-radius:4px}
.img-gallery-item figcaption{font-size:10px;font-weight:700;color:#2e7d5b;text-transform:uppercase;letter-spacing:.5px}
.img-gallery-actions{display:flex;gap:6px}
.img-gallery-actions button{font-size:10px;padding:3px 7px;border:1px solid #d9d2c4;border-radius:4px;background:#f7f3ea;cursor:pointer}
.img-gallery-actions button.danger{border-color:#e3b4ac;color:#c0392b}


/* Galeria publica de producto */
.detail-thumbs{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.detail-thumbs button{padding:0;border:1px solid #d9d2c4;border-radius:6px;background:#fff;cursor:pointer;overflow:hidden;line-height:0}
.detail-thumbs button.active,.detail-thumbs button:hover{border-color:#e8744c}
.detail-thumbs img{width:64px;height:64px;object-fit:cover;display:block}


/* Carrusel de producto */
.carousel{position:relative;overflow:hidden;border-radius:8px}
.carousel-track{display:flex;transition:transform .35s ease}
.carousel-slide{min-width:100%;max-height:460px;object-fit:contain;display:block;background:#fff}
.carousel-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:50%;background:rgba(32,44,43,.55);color:#fff;font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center}
.carousel-nav:hover{background:rgba(32,44,43,.85)}
.carousel-nav.prev{left:8px}
.carousel-nav.next{right:8px}


/* ==========================================================================
   STORE REDESIGN — capa moderna para la tienda pública y el portal cliente.
   Conserva la paleta de marca (--ink/--cream/--paper/--orange/--yellow/
   --line/--muted) y las tipografías 'DM Sans' (texto) + 'Playfair Display'
   (titulares). No usa Tailwind/Vite. Sobrescribe las clases existentes.
   ========================================================================== */
:root {
    --s-space-1: 4px; --s-space-2: 8px; --s-space-3: 12px; --s-space-4: 16px;
    --s-space-5: 24px; --s-space-6: 32px; --s-space-7: 48px; --s-space-8: 64px; --s-space-9: 88px;
    --s-radius-sm: 8px; --s-radius: 12px; --s-radius-lg: 16px; --s-radius-pill: 999px;
    --s-shadow-sm: 0 1px 2px rgba(32, 44, 43, .05), 0 4px 12px rgba(32, 44, 43, .05);
    --s-shadow: 0 4px 10px rgba(32, 44, 43, .06), 0 16px 40px rgba(32, 44, 43, .08);
    --s-shadow-lg: 0 10px 24px rgba(32, 44, 43, .10), 0 30px 60px rgba(32, 44, 43, .12);
    --s-ok: #2e7d5b; --s-ok-soft: #e7f5ee;
    --s-warn: #b8860b; --s-warn-soft: #fdf3da;
    --s-danger: #c0392b; --s-danger-soft: #fdecea;
    --s-info: #2563eb; --s-info-soft: #e8f0fe;
    --s-ease: cubic-bezier(.4, 0, .2, 1);
}

body.site-body {
    background: var(--cream);
    color: var(--ink);
    font-size: 15.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.site-body h1, .site-body h2, .site-body h3 { letter-spacing: -.3px; }

/* ── Layout / shell ───────────────────────────────────────────────────── */
.site-body .shell { max-width: 1200px; padding-left: 32px; padding-right: 32px; }
.site-body .section { padding-top: var(--s-space-9); padding-bottom: var(--s-space-9); }
.site-body .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: var(--s-space-7); }
.site-body .section-head h2 { font: 700 clamp(26px, 3vw, 34px)/1.15 'Playfair Display', serif; margin: 8px 0 0; }
.site-body .section-head > a { color: var(--orange); font-weight: 600; font-size: 14px; }
.site-body .section-head > a:hover { text-decoration: underline; }
.site-body .kicker { color: var(--orange); text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 700; }
.site-body .muted { color: var(--muted); }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-body .site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-body .nav-wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-body .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.site-body .brand-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.site-body .brand b { font-weight: 700; }
.site-body .site-header nav { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.site-body .nav-link {
    position: relative; padding: 9px 12px; border-radius: var(--s-radius-pill);
    color: var(--muted); font-weight: 500; transition: color .18s var(--s-ease), background .18s var(--s-ease);
}
.site-body .nav-link:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.site-body .nav-link.is-active { color: var(--orange); font-weight: 600; }
.site-body .nav-link.is-active::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
    background: var(--orange); border-radius: 2px;
}
.site-body .nav-search { display: inline-flex; align-items: center; gap: 8px; }
.site-body .nav-icon-btn {
    position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px;
    border: 1px solid var(--line); background: var(--paper); border-radius: var(--s-radius-pill);
    color: var(--ink); cursor: pointer; transition: background .18s, border-color .18s, transform .15s;
}
.site-body .nav-icon-btn:hover { background: var(--cream); border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); }
.site-body .nav-icon-btn svg { width: 20px; height: 20px; stroke-width: 1.7; }
.site-body .cart-badge {
    position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
    display: grid; place-items: center; border-radius: var(--s-radius-pill);
    background: var(--orange); color: #fff; font-size: 11px; font-weight: 700;
    transition: transform .3s var(--s-ease);
}
.site-body .cart-badge.is-empty { background: var(--muted); }
.site-body .cart-icon.is-pulsing { animation: s-cart-pulse .6s var(--s-ease); }
@keyframes s-cart-pulse { 0% { transform: scale(1); } 30% { transform: scale(1.18); } 60% { transform: scale(.96); } 100% { transform: scale(1); } }
.site-body .nav-toggle { display: none; }

/* Menú de cuenta */
.site-body .account-menu { position: relative; }
.site-body .account-menu .dropdown {
    position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--s-radius);
    box-shadow: var(--s-shadow); padding: 6px; display: none; z-index: 60;
}
.site-body .account-menu.open .dropdown { display: block; animation: s-pop .16s var(--s-ease); }
.site-body .account-menu .dropdown a, .site-body .account-menu .dropdown button {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px;
    border: 0; background: none; border-radius: var(--s-radius-sm); color: var(--ink);
    font: inherit; text-align: left; cursor: pointer;
}
.site-body .account-menu .dropdown a:hover, .site-body .account-menu .dropdown button:hover { background: var(--cream); }
.site-body .account-menu .dropdown .danger { color: var(--s-danger); }
@keyframes s-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── Botones ──────────────────────────────────────────────────────────── */
.site-body .button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 0 22px; border-radius: var(--s-radius-sm); border: 1px solid transparent;
    font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none;
    transition: background .18s var(--s-ease), color .18s var(--s-ease), border-color .18s var(--s-ease), transform .12s var(--s-ease), box-shadow .18s var(--s-ease);
}
.site-body .button:active { transform: scale(.975); }
.site-body .button-dark { background: var(--ink); color: #fff; box-shadow: var(--s-shadow-sm); }
.site-body .button-dark:hover { background: color-mix(in srgb, var(--ink) 88%, var(--orange)); }
.site-body .button-light { background: var(--paper); color: var(--ink); border-color: var(--line); }
.site-body .button-light:hover { background: var(--cream); border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); }
.site-body .button-ghost { background: transparent; color: var(--orange); padding: 0 6px; min-height: 40px; }
.site-body .button-ghost:hover { color: var(--ink); }
.site-body .button-danger { background: var(--s-danger); color: #fff; }
.site-body .button-sm { min-height: 34px; padding: 0 12px; font-size: 13px; border-radius: var(--s-radius-sm); }
.site-body .button.full { width: 100%; }
.site-body .button[disabled], .site-body .button.is-loading { opacity: .6; pointer-events: none; }
.site-body .button.is-loading::after {
    content: ''; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid color-mix(in srgb, currentColor 35%, transparent); border-top-color: currentColor;
    animation: s-spin .7s linear infinite;
}
@keyframes s-spin { to { transform: rotate(360deg); } }

/* ── Breadcrumbs ──────────────────────────────────────────────────────── */
.site-body .breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding-top: 22px; }
.site-body .breadcrumbs a:hover { color: var(--orange); }
.site-body .breadcrumbs .sep { color: color-mix(in srgb, var(--muted) 60%, transparent); }
.site-body .breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.site-body .hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 520px; padding-top: 40px; padding-bottom: 40px; }
.site-body .hero-copy { padding: 40px 4% 40px 0; }
.site-body .hero h1 { font: 700 clamp(38px, 5.2vw, 68px)/1.03 'Playfair Display', serif; margin: 16px 0 20px; max-width: 620px; }
.site-body .hero h1 em { color: var(--orange); font-weight: 600; font-style: italic; }
.site-body .hero p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 500px; margin-bottom: 30px; }
.site-body .hero .button span { transition: transform .18s var(--s-ease); }
.site-body .hero .button:hover span { transform: translateX(4px); }
.site-body .hero-art { position: relative; height: 420px; border-radius: 46% 46% 18px 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--yellow) 70%, var(--paper)), color-mix(in srgb, var(--yellow) 30%, var(--cream))); display: grid; place-items: center; overflow: hidden; box-shadow: var(--s-shadow); }
.site-body .hero-logo { max-width: 78%; max-height: 320px; object-fit: contain; filter: drop-shadow(0 18px 40px rgba(32, 44, 43, .18)); }
.site-body .hero-note { position: absolute; bottom: 26px; right: 24px; background: var(--paper); padding: 18px 22px; border-radius: var(--s-radius); transform: rotate(-4deg); font: 20px/1.2 'Playfair Display', serif; box-shadow: var(--s-shadow); }
.site-body .hero-note b { color: var(--orange); }

/* ── Categorías ───────────────────────────────────────────────────────── */
.site-body .category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.site-body .category-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--s-radius); padding: 24px 14px;
    text-align: center; transition: transform .2s var(--s-ease), box-shadow .2s var(--s-ease), border-color .2s var(--s-ease);
}
.site-body .category-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--orange) 45%, var(--line)); box-shadow: var(--s-shadow); }
.site-body .category-icon { color: var(--orange); font-size: 26px; }
.site-body .category-card h3 { font-size: 14.5px; margin: 12px 0 4px; font-weight: 600; }
.site-body .category-card p { font-size: 12px; color: var(--muted); margin: 0; }

/* ── Cards de producto ────────────────────────────────────────────────── */
.site-body .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.site-body .product-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--s-radius); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .22s var(--s-ease), box-shadow .22s var(--s-ease), border-color .22s var(--s-ease);
}
.site-body .product-card:hover { transform: translateY(-5px); box-shadow: var(--s-shadow); border-color: color-mix(in srgb, var(--orange) 30%, var(--line)); }
.site-body .product-image { position: relative; aspect-ratio: 1 / 1; background: color-mix(in srgb, var(--cream) 70%, var(--paper)); overflow: hidden; display: grid; place-items: center; }
.site-body .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--s-ease); }
.site-body .product-card:hover .product-image img { transform: scale(1.05); }
.site-body .product-placeholder { font-size: 58px; color: color-mix(in srgb, var(--orange) 55%, var(--muted)); }
.site-body .tag { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px; padding: 5px 9px; border-radius: var(--s-radius-pill); }
.site-body .product-info { padding: 16px 18px 0; display: flex; flex-direction: column; gap: 4px; }
.site-body .product-category { color: var(--orange); text-transform: uppercase; font-weight: 700; font-size: 10px; letter-spacing: 1px; }
.site-body .product-info h3 { font-size: 15.5px; margin: 2px 0; font-weight: 600; line-height: 1.35; }
.site-body .product-info p { font-size: 12.5px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.site-body .product-info strong, .site-body .price { display: block; margin: 10px 0 4px; font-size: 18px; font-weight: 700; }
.site-body .product-info small, .site-body .price small { font-size: 10px; color: var(--muted); font-weight: 500; }
.site-body .product-card form { padding: 14px 18px 18px; margin-top: auto; }
.site-body .product-card form button {
    width: 100%; min-height: 42px; border: 1px solid var(--ink); border-radius: var(--s-radius-sm);
    background: var(--ink); color: #fff; font-weight: 600; font-size: 13.5px; cursor: pointer;
    transition: background .18s var(--s-ease), border-color .18s var(--s-ease), transform .12s var(--s-ease);
}
.site-body .product-card form button:hover { background: var(--orange); border-color: var(--orange); }
.site-body .product-card form button:active { transform: scale(.98); }

/* ── Promo / confianza ────────────────────────────────────────────────── */
.site-body .promo { margin-top: var(--s-space-9); margin-bottom: var(--s-space-9); background: var(--orange); color: #fff; border-radius: var(--s-radius-lg); padding: 54px 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; box-shadow: var(--s-shadow); }
.site-body .promo .kicker { color: color-mix(in srgb, #fff 75%, var(--yellow)); }
.site-body .promo h2 { font: 700 clamp(26px, 3vw, 38px)/1.1 'Playfair Display', serif; margin: 12px 0; }
.site-body .promo p { opacity: .92; margin: 0 0 18px; }
.site-body .promo-stamp { font: 700 24px/1.1 'Playfair Display', serif; text-align: center; transform: rotate(7deg); border: 2px solid #fff; border-radius: 50%; padding: 30px; flex: 0 0 auto; }
.site-body .trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.site-body .trust-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--s-radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.site-body .trust-card svg { width: 24px; height: 24px; color: var(--orange); flex: 0 0 auto; }
.site-body .trust-card strong { display: block; font-size: 14.5px; }
.site-body .trust-card span { font-size: 12.5px; color: var(--muted); }

/* ── Catálogo ─────────────────────────────────────────────────────────── */
.site-body .page-heading { padding-top: var(--s-space-8); padding-bottom: var(--s-space-6); }
.site-body .page-heading h1 { font: 700 clamp(34px, 4.6vw, 52px)/1.05 'Playfair Display', serif; margin: 10px 0 8px; }
.site-body .page-heading p { color: var(--muted); max-width: 620px; margin: 0; }
.site-body .catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 42px; padding-bottom: var(--s-space-9); align-items: start; }
.site-body .filters { display: flex; flex-direction: column; gap: 4px; font-size: 14px; position: sticky; top: 92px; }
.site-body .filters strong { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 0 0 8px; }
.site-body .filters a { color: var(--muted); padding: 9px 12px; border-radius: var(--s-radius-sm); transition: background .15s, color .15s; }
.site-body .filters a:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink); }
.site-body .filters a.active { background: color-mix(in srgb, var(--orange) 12%, transparent); color: var(--orange); font-weight: 600; }
.site-body .catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.site-body .results-bar { font-size: 13px; color: var(--muted); }
.site-body .select-sort { height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--s-radius-sm); background: var(--paper); color: var(--ink); font: inherit; font-size: 13.5px; }
.site-body .filters-toggle { display: none; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--s-radius-sm); background: var(--paper); color: var(--ink); font-weight: 600; font-size: 13.5px; cursor: pointer; }

/* ── Detalle de producto ──────────────────────────────────────────────── */
.site-body .product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: var(--s-space-7); padding-bottom: var(--s-space-9); align-items: start; }
.site-body .detail-image { background: color-mix(in srgb, var(--cream) 70%, var(--paper)); border: 1px solid var(--line); border-radius: var(--s-radius-lg); overflow: hidden; }
.site-body .detail-copy h1 { font: 700 clamp(30px, 3.6vw, 44px)/1.08 'Playfair Display', serif; margin: 12px 0 6px; }
.site-body .back-link { font-size: 13px; color: var(--muted); display: inline-block; margin-bottom: 26px; }
.site-body .back-link:hover { color: var(--orange); }
.site-body .sku { font-size: 12px; color: var(--muted); }
.site-body .detail-description { line-height: 1.75; color: var(--muted); margin-top: 22px; }
.site-body .stock { display: inline-flex; align-items: center; gap: 8px; color: var(--s-ok); font-size: 13px; font-weight: 600; margin: 8px 0 24px; }
.site-body .stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.site-body .detail-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Carrusel (evoluciona .carousel/.carousel-track/.carousel-slide/.detail-thumbs) */
.site-body .carousel { position: relative; }
.site-body .carousel-track { display: flex; transition: transform .45s var(--s-ease); }
.site-body .carousel-slide { min-width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--paper); }
.site-body .carousel-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0;
    border-radius: var(--s-radius-pill); background: color-mix(in srgb, var(--ink) 78%, transparent); color: #fff;
    font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center;
    opacity: 0; transition: opacity .2s var(--s-ease), background .2s; z-index: 2;
}
.site-body .carousel:hover .carousel-nav { opacity: 1; }
.site-body .carousel-nav:hover { background: var(--ink); }
.site-body .carousel-nav.prev { left: 12px; }
.site-body .carousel-nav.next { right: 12px; }
.site-body .detail-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.site-body .detail-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--s-radius-sm); overflow: hidden; background: var(--paper); cursor: pointer; line-height: 0; transition: border-color .18s, transform .15s; }
.site-body .detail-thumbs button:hover { transform: translateY(-2px); }
.site-body .detail-thumbs button.active { border-color: var(--orange); }
.site-body .detail-thumbs img { width: 68px; height: 68px; object-fit: cover; display: block; }

/* Acordeón (descripción / especificaciones) */
.site-body .accordion { border-top: 1px solid var(--line); margin-top: 26px; }
.site-body .accordion-item { border-bottom: 1px solid var(--line); }
.site-body .accordion-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px; border: 0; background: none; font: 600 14.5px 'DM Sans', sans-serif; color: var(--ink); cursor: pointer; }
.site-body .accordion-head .chev { transition: transform .2s var(--s-ease); }
.site-body .accordion-item.open .accordion-head .chev { transform: rotate(180deg); }
.site-body .accordion-panel { max-height: 0; overflow: hidden; transition: max-height .28s var(--s-ease); }
.site-body .accordion-item.open .accordion-panel { max-height: 1200px; }
.site-body .accordion-panel-inner { padding: 0 2px 18px; color: var(--muted); line-height: 1.75; }

/* Selector de cantidad (reusa .stepper del carrito) */
.site-body .detail-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--s-radius-sm); overflow: hidden; background: var(--paper); }
.site-body .detail-qty button { width: 44px; border: 0; background: var(--cream); font-size: 18px; cursor: pointer; color: var(--ink); }
.site-body .detail-qty button:hover { background: var(--yellow); }
.site-body .detail-qty input { width: 56px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: inherit; background: var(--paper); }

/* ── Página CMS (artículo) ────────────────────────────────────────────── */
.site-body .article { max-width: 760px; padding-top: var(--s-space-7); padding-bottom: var(--s-space-9); }
.site-body .article h1 { font: 700 clamp(34px, 4.4vw, 54px)/1.08 'Playfair Display', serif; margin: 12px 0; }
.site-body .article .lead { font: 22px/1.5 'Playfair Display', serif; color: var(--muted); margin-bottom: 40px; }
.site-body .article-block { border-top: 1px solid var(--line); padding: 28px 0; }
.site-body .article-block h2 { font: 28px 'Playfair Display', serif; margin-bottom: 10px; }
.site-body .article-block p { line-height: 1.85; color: var(--muted); }

/* ── Buscador ─────────────────────────────────────────────────────────── */
.site-body .search-hero { display: grid; gap: 12px; }
.site-body .search-input { width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: transparent; padding: 16px 0; font-size: clamp(20px, 2.4vw, 28px); font-family: 'DM Sans', sans-serif; color: var(--ink); outline: none; transition: border-color .2s; }
.site-body .search-input:focus { border-color: var(--orange); }
.site-body .search-hint { font-size: 12.5px; color: var(--muted); }
.site-body .search-empty { max-width: 520px; margin: 10px auto; text-align: center; padding: 48px 24px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--s-radius-lg); }
.site-body .search-empty-mark { font-size: 40px; color: var(--muted); }
.site-body .search-empty h2 { font: 600 22px 'Playfair Display', serif; margin: 14px 0 6px; }
.site-body .search-empty p { color: var(--muted); margin-bottom: 18px; }

/* ── Carrito ──────────────────────────────────────────────────────────── */
.site-body .cart-page { padding-top: var(--s-space-7); padding-bottom: var(--s-space-9); }
.site-body .cart-head { display: flex; align-items: baseline; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.site-body .cart-head h1 { font: 700 clamp(26px, 3vw, 34px)/1.1 'Playfair Display', serif; margin: 0; }
.site-body .cart-count { color: var(--muted); font-size: 14px; }
.site-body .cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.site-body .cart-items { background: var(--paper); border: 1px solid var(--line); border-radius: var(--s-radius); overflow: hidden; }
.site-body .cart-item { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 18px; padding: 20px; border-bottom: 1px solid var(--line); animation: s-fade-in .2s var(--s-ease); }
.site-body .cart-item:last-child { border-bottom: 0; }
.site-body .cart-item-thumb { width: 104px; height: 104px; border-radius: var(--s-radius-sm); background: color-mix(in srgb, var(--cream) 70%, var(--paper)); display: grid; place-items: center; overflow: hidden; }
.site-body .cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.site-body .cart-item-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.site-body .cart-item-title { font-weight: 600; font-size: 15px; }
.site-body .cart-item-title:hover { color: var(--orange); }
.site-body .cart-item-meta { color: var(--muted); font-size: 12.5px; margin: 0; }
.site-body .cart-item-status { font-size: 12px; font-weight: 600; }
.site-body .is-ok { color: var(--s-ok); } .site-body .is-warn { color: var(--s-warn); } .site-body .is-muted { color: var(--muted); }
.site-body .cart-remove-link { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; cursor: pointer; width: fit-content; margin-top: 6px; }
.site-body .cart-remove-link:hover { color: var(--s-danger); text-decoration: underline; }
.site-body .cart-item-controls { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 14px; }
.site-body .stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--s-radius-sm); overflow: hidden; background: var(--paper); }
.site-body .stepper-btn { width: 36px; border: 0; background: var(--cream); font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink); }
.site-body .stepper-btn:hover { background: var(--yellow); }
.site-body .stepper-input { width: 54px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: inherit; background: var(--paper); }
.site-body .cart-item-total { font-weight: 700; font-size: 17px; }
.site-body .cart-summary-panel { position: sticky; top: 92px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--s-radius); padding: 24px; box-shadow: var(--s-shadow-sm); }
.site-body .cart-summary-panel h2 { font: 600 20px/1.2 'Playfair Display', serif; margin: 0 0 18px; }
.site-body .cart-summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; color: var(--muted); font-size: 14px; }
.site-body .cart-summary-row strong { color: var(--ink); }
.site-body .cart-summary-total { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; margin-top: 6px; border-top: 1px solid var(--line); font-weight: 700; font-size: 18px; }
.site-body .cart-email-label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; margin: 16px 0 4px; }
.site-body .cart-email-label input, .site-body .cart-page input[type=email], .site-body .cart-page input[type=text], .site-body .cart-page textarea, .site-body .cart-page select {
    width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--s-radius-sm); background: var(--paper); color: var(--ink); font: inherit;
}
.site-body .cart-page input:focus, .site-body .cart-page select:focus, .site-body .cart-page textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 18%, transparent); }
.site-body .cart-error { color: var(--s-danger); font-size: 13px; margin: 6px 0 0; }
.site-body .btn-checkout { width: 100%; margin-top: 18px; }
.site-body .cart-note { font-size: 12px; line-height: 1.5; margin: 12px 0 0; }
.site-body .cart-empty { max-width: 640px; margin: 20px auto; text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--s-radius-lg); padding: 56px 28px; }
.site-body .cart-empty-mark { font-size: 42px; color: var(--muted); }
.site-body .cart-empty h2 { margin: 14px 0 6px; font: 600 24px 'Playfair Display', serif; }
.site-body .cart-empty p { color: var(--muted); margin-bottom: 22px; }

/* ── Portal de cliente ────────────────────────────────────────────────── */
.site-body .account-shell { padding: var(--s-space-7) 0 var(--s-space-9); }
.site-body .account-head { margin-bottom: 24px; }
.site-body .account-head h1 { font: 700 clamp(26px, 3vw, 34px)/1.1 'Playfair Display', serif; margin: 0 0 6px; }
.site-body .account-status { background: var(--s-ok-soft); color: var(--s-ok); border: 1px solid color-mix(in srgb, var(--s-ok) 25%, transparent); border-radius: var(--s-radius-sm); padding: 12px 16px; margin: 0 0 20px; }
.site-body .account-nav-tabs { display: flex; gap: 4px; padding: 4px; background: color-mix(in srgb, var(--ink) 5%, var(--paper)); border: 1px solid var(--line); border-radius: var(--s-radius-pill); margin-bottom: 22px; width: fit-content; }
.site-body .account-nav-tabs a { padding: 9px 18px; border-radius: var(--s-radius-pill); font-weight: 600; font-size: 13.5px; color: var(--muted); }
.site-body .account-nav-tabs a.active { background: var(--paper); color: var(--orange); box-shadow: var(--s-shadow-sm); }
.site-body .account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.site-body .account-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--s-radius); padding: 26px; box-shadow: var(--s-shadow-sm); }
.site-body .account-card h2 { font: 600 20px/1.2 'Playfair Display', serif; margin: 0 0 16px; }
.site-body .account-form { display: grid; gap: 4px; }
.site-body .account-field { display: grid; gap: 8px; color: var(--muted); font-size: 13px; margin: 8px 0; }
.site-body .account-input { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--s-radius-sm); background: var(--paper); color: var(--ink); font: inherit; }
.site-body .account-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 18%, transparent); }
.site-body .account-input:disabled { background: var(--cream); color: var(--muted); }
.site-body .account-nav { display: grid; gap: 4px; }
.site-body .account-nav a { color: var(--orange); font-weight: 600; font-size: 14px; padding: 10px 12px; border-radius: var(--s-radius-sm); }
.site-body .account-nav a:hover { background: color-mix(in srgb, var(--orange) 10%, transparent); color: var(--ink); }

/* Pedidos */
.site-body .order-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--s-radius); margin-bottom: 14px; box-shadow: var(--s-shadow-sm); overflow: hidden; }
.site-body .order-card-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; background: none; border: 0; cursor: pointer; font: inherit; text-align: left; }
.site-body .order-card-main { display: flex; align-items: center; gap: 14px; }
.site-body .order-number { font-weight: 700; }
.site-body .order-status { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: var(--s-radius-pill); text-transform: capitalize; }
.site-body .status-requested { background: var(--s-warn-soft); color: var(--s-warn); }
.site-body .status-confirmed { background: var(--s-ok-soft); color: var(--s-ok); }
.site-body .status-preparing { background: var(--s-info-soft); color: var(--s-info); }
.site-body .status-ready { background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange); }
.site-body .status-completed { background: var(--s-info-soft); color: var(--s-info); }
.site-body .status-cancelled { background: var(--s-danger-soft); color: var(--s-danger); }
.site-body .order-card-meta { display: flex; gap: 16px; color: var(--muted); font-size: 13px; }
.site-body .order-card-body { max-height: 0; overflow: hidden; transition: max-height .3s var(--s-ease); border-top: 0 solid var(--line); }
.site-body .order-card.open .order-card-body { max-height: 900px; border-top-width: 1px; }
.site-body .order-card-body-inner { padding: 18px 24px; }
.site-body .order-line { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 13.5px; color: var(--muted); }
.site-body .order-line strong { color: var(--ink); }
.site-body .account-empty { max-width: 560px; margin: 30px auto; text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--s-radius-lg); padding: 48px 28px; }
.site-body .account-empty-mark { font-size: 40px; color: var(--muted); }
.site-body .account-empty h2 { margin: 14px 0 6px; font: 600 24px 'Playfair Display', serif; }
.site-body .account-empty p { color: var(--muted); margin-bottom: 20px; }
.site-body .account-pagination { margin-top: 22px; }

/* ── Auth (login/registro/recuperar) ──────────────────────────────────── */
.login-body { background: radial-gradient(1200px 600px at 50% -10%, color-mix(in srgb, var(--yellow) 40%, var(--cream)), var(--cream)); }
.login-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow); width: min(440px, calc(100% - 40px)); padding: 40px; }
.login-card h1 { font: 700 30px/1.15 'Playfair Display', serif; margin: 28px 0 8px; }
.login-card .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.login-card .brand-mark { background: var(--orange); color: #fff; border-radius: var(--s-radius-sm); width: 32px; height: 32px; display: grid; place-items: center; font-family: Georgia, serif; font-size: 18px; }
.auth-form { margin-top: 24px; display: grid; gap: 4px; }
.auth-form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 12px 0; }
.auth-form .input { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--s-radius-sm); background: var(--paper); color: var(--ink); font: inherit; transition: border-color .15s, box-shadow .15s; }
.auth-form .input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 18%, transparent); }
.auth-links { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.auth-links a { color: var(--orange); font-weight: 600; }
.auth-links a:hover { color: var(--ink); text-decoration: underline; }
.auth-status { background: var(--s-ok-soft); color: var(--s-ok); border-radius: var(--s-radius-sm); padding: 10px 14px; font-size: 13px; margin: 14px 0 0; }
.error { color: var(--s-danger); font-size: 12.5px; margin: 6px 0 0; }
.pw-meter { height: 6px; border-radius: var(--s-radius-pill); background: var(--line); overflow: hidden; margin-top: 8px; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--s-danger); transition: width .25s var(--s-ease), background .25s; }
.pw-meter.is-weak i { width: 33%; background: var(--s-danger); }
.pw-meter.is-fair i { width: 66%; background: var(--s-warn); }
.pw-meter.is-strong i { width: 100%; background: var(--s-ok); }

/* ── Empty states / paginación / toasts / skeletons ───────────────────── */
.site-body .empty { color: var(--muted); padding: 34px 0; text-align: center; }
.site-body .pagination nav, .site-body nav[role="navigation"] { margin-top: 30px; }
.site-body nav[role="navigation"] a, .site-body nav[role="navigation"] span[aria-current] span, .site-body nav[role="navigation"] a span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; margin: 0 3px;
    border: 1px solid var(--line); border-radius: var(--s-radius-sm); background: var(--paper); color: var(--ink); font-size: 13px; transition: background .15s, border-color .15s;
}
.site-body nav[role="navigation"] a:hover { background: var(--cream); border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); }
.site-body nav[role="navigation"] span[aria-current="page"] span { background: var(--ink); color: #fff; border-color: var(--ink); }

.site-body .toast { padding: 13px 16px; border-radius: var(--s-radius-sm); font-size: 13.5px; font-weight: 600; box-shadow: var(--s-shadow); background: var(--ink); color: #fff; }
.site-body .toast-ok { background: var(--s-ok); }
.site-body .toast-err { background: var(--s-danger); }
.site-body .toast-warn { background: var(--s-warn); }
.site-body .flash { background: var(--s-ok-soft); color: var(--s-ok); border: 1px solid color-mix(in srgb, var(--s-ok) 25%, transparent); padding: 12px 16px; border-radius: var(--s-radius-sm); margin-bottom: 18px; font-size: 13.5px; }

.site-body .skeleton, .site-body .skeleton-rows span, .admin-body .skeleton { position: relative; overflow: hidden; background: color-mix(in srgb, var(--line) 70%, var(--paper)); border-radius: var(--s-radius-sm); color: transparent !important; }
.site-body .skeleton::after, .site-body .skeleton-rows span::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--paper) 70%, transparent), transparent); animation: s-shimmer 1.3s infinite; }
.site-body .skeleton-rows { display: grid; gap: 12px; }
.site-body .skeleton-rows span { display: block; height: 14px; }
.site-body .skeleton-card { border: 1px solid var(--line); border-radius: var(--s-radius); overflow: hidden; background: var(--paper); }
.site-body .skeleton-card .skeleton { height: 220px; border-radius: 0; }
.site-body .skeleton-card .skeleton-rows { padding: 16px; }
@keyframes s-shimmer { to { transform: translateX(100%); } }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-body .footer { background: var(--ink); color: color-mix(in srgb, #fff 82%, var(--yellow)); padding: 48px 0; margin-top: var(--s-space-9); }
.site-body .footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-body .footer .brand { color: #fff; }
.site-body .footer p { color: color-mix(in srgb, #fff 62%, var(--ink)); font-size: 13px; line-height: 1.7; margin: 8px 0 0; }
.site-body .footer strong { color: #fff; }

/* ── Animaciones de entrada (reveal) ──────────────────────────────────── */
.site-body [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--s-ease), transform .5s var(--s-ease); }
.site-body [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes s-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .site-body .product-grid { grid-template-columns: repeat(3, 1fr); }
    .site-body .category-grid { grid-template-columns: repeat(3, 1fr); }
    .site-body .product-detail { gap: 40px; }
    .site-body .cart-layout { grid-template-columns: minmax(0, 1fr) 320px; }
    .site-body .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .site-body .hero { grid-template-columns: 1fr; min-height: auto; }
    .site-body .hero-art { height: 320px; margin: 0; }
    .site-body .catalog-layout { grid-template-columns: 1fr; }
    .site-body .filters { position: fixed; inset: 0 auto 0 0; width: 280px; background: var(--paper); padding: 24px; transform: translateX(-100%); transition: transform .22s var(--s-ease); z-index: 70; box-shadow: var(--s-shadow-lg); overflow-y: auto; }
    .site-body.filters-open .filters { transform: none; }
    .site-body .filters-toggle { display: inline-flex; }
    .site-body .product-detail { grid-template-columns: 1fr; }
    .site-body .cart-layout { grid-template-columns: 1fr; }
    .site-body .cart-summary-panel { position: static; }
    .site-body .account-grid { grid-template-columns: 1fr; }
    .site-body .product-grid { grid-template-columns: repeat(2, 1fr); }
    .site-body .nav-toggle { display: inline-grid; }
    .site-body .site-header nav { position: fixed; top: 72px; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--s-shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s var(--s-ease), transform .2s var(--s-ease); z-index: 45; }
    .site-body.nav-open .site-header nav { transform: none; opacity: 1; pointer-events: auto; }
    .site-body .nav-link.is-active::after { display: none; }
    .site-body .promo { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
    .site-body .promo-stamp { align-self: center; }
}
@media (max-width: 560px) {
    .site-body .shell { padding-left: 18px; padding-right: 18px; }
    .site-body .section { padding-top: 56px; padding-bottom: 56px; }
    .site-body .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .site-body .category-grid { grid-template-columns: repeat(2, 1fr); }
    .site-body .trust-grid { grid-template-columns: 1fr; }
    .site-body .cart-item { grid-template-columns: 76px minmax(0, 1fr); }
    .site-body .cart-item-thumb { width: 76px; height: 76px; }
    .site-body .cart-item-controls { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
    .site-body .order-card-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .site-body .detail-thumbs img { width: 56px; height: 56px; }
}

/* ── Accesibilidad / movimiento reducido ──────────────────────────────── */
.site-body a:focus-visible, .site-body button:focus-visible, .site-body input:focus-visible, .site-body select:focus-visible, .site-body textarea:focus-visible {
    outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
    .site-body *, .site-body *::before, .site-body *::after {
        animation-duration: .001ms !important; animation-iteration-count: 1 !important;
        transition-duration: .001ms !important; scroll-behavior: auto !important;
    }
    .site-body [data-reveal] { opacity: 1; transform: none; }
}

/* Fix carrusel: el contenedor no debe centrar ni fijar alto (rompia translateX) */
.site-body .detail-image{display:block;height:auto;position:relative}
.site-body .detail-image .carousel,.site-body .detail-image .carousel-track{width:100%}
.site-body .carousel-slide{flex:0 0 100%;width:100%;height:auto}


/* Acordeones nativos <details> (funcionan sin JS) */
.site-body .accordion-head,.site-body .order-card-head{list-style:none;cursor:pointer}
.site-body .accordion-head::-webkit-details-marker,.site-body .order-card-head::-webkit-details-marker{display:none}
.site-body summary.accordion-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.site-body details.accordion-item>.accordion-panel{max-height:none;overflow:visible}
.site-body details.accordion-item[open] .chev{transform:rotate(180deg)}
.site-body details.order-card>.order-card-body{max-height:none;overflow:visible;border-top:1px solid var(--line)}


/* Carrusel robusto: mostrar/ocultar diapositivas (sin depender del ancho) */
.site-body .carousel-track{display:block}
.site-body .detail-image .carousel-track{width:100%}
.site-body .carousel-slide{display:none;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;min-width:0}
.site-body .carousel-slide.active{display:block;animation:s-fade-in .25s var(--s-ease)}


@media (hover:none){.site-body .carousel-nav{opacity:1}}

