/* MILORIA · ivory, champagne and deep plum. */
:root {
  --ink:#30272d; --muted:#6d6268; --accent:#ad9980; --deep:#4e3443;
  --deep-hover:#38232f; --line:#e5dcd4; --paper:#fcfcfc; --soft:#f3ede5;
  --danger:#9c302a; --radius-sm:12px; --radius:22px; --radius-lg:32px;
  --serif:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;
  font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--ink); background:var(--paper);
}
*{box-sizing:border-box}
html{scroll-padding-top:160px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--accent) transparent}
html::-webkit-scrollbar{width:10px;height:10px}
html::-webkit-scrollbar-track{background:transparent}
html::-webkit-scrollbar-thumb{background:var(--accent);border:3px solid transparent;background-clip:padding-box;border-radius:999px}
html::-webkit-scrollbar-thumb:hover{background:var(--deep);border-width:2px}
body{margin:0;font-synthesis:none}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{color:inherit;cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.5}
a{color:inherit;text-underline-offset:4px}
input,select,textarea{width:100%;min-height:48px;border:1px solid #cfc4bd;border-radius:var(--radius-sm);padding:12px 14px;background:var(--paper);color:var(--ink)}
input:hover,select:hover,textarea:hover{border-color:#a694a0}
label{display:grid;gap:7px;font-size:.875rem}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #815e75;outline-offset:3px}
[hidden]{display:none!important}
.wrap{max-width:1240px;margin-inline:auto;padding-inline:36px}
.eyebrow{text-transform:uppercase;letter-spacing:.16em;color:var(--deep);font-size:.8125rem;font-weight:600}
.button{display:inline-flex;gap:10px;align-items:center;justify-content:center;padding:13px 23px;min-height:48px;background:var(--deep);color:#fff;border:1px solid var(--deep);border-radius:999px;font-weight:550;text-decoration:none;line-height:1.4}
.button:hover{background:var(--deep-hover);border-color:var(--deep-hover)}
.button.outline{background:var(--paper);color:var(--deep);border-color:#cfc1c8}
.button.outline:hover{background:#f2ebef;border-color:#a8929e}
.text-button{background:none;border:0;border-radius:var(--radius-sm);text-decoration:underline;text-underline-offset:4px;padding:10px 4px;min-height:44px;color:var(--deep);font-size:.875rem}
.text-button:hover{color:var(--ink)}
h2{font:400 2.3rem/1.15 var(--serif)}
.ui-icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
/* Shared masthead base is retained for the administrator and login. */
.header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-block:12px;background:var(--paper);border-bottom:1px solid var(--line)}
.brand{display:block;flex-shrink:0;border-radius:12px}
.brand img{display:block;width:156px;height:auto;border:0;box-shadow:none;border-radius:0;mix-blend-mode:multiply}
.storefront{background:#faf7f3}
.storefront .header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:1fr auto 1fr;gap:28px;max-width:none;padding:14px max(36px,calc((100% - 1168px)/2));border-color:#eee7e1;background:#fcfcf5f2;backdrop-filter:blur(14px);box-shadow:0 8px 24px -24px #4e344380}
.storefront .header>.brand{grid-column:2;grid-row:1}
.header nav{display:flex;align-items:center;gap:26px}
.storefront .header nav{grid-column:1;grid-row:1}
.header nav a,.header nav button{background:none;border:0;border-radius:12px;padding:12px 0;font-size:.875rem;text-decoration:none;min-height:46px;white-space:nowrap}
.header nav a:hover,.header nav button:hover{color:var(--deep);text-decoration:underline;text-underline-offset:7px}
#bag-button{grid-column:3;grid-row:1;justify-self:end;gap:10px;background:#f5f0f3;border-color:#e7dce2;color:var(--deep);padding:11px 17px}
#bag-button:hover{background:#eae0e7;border-color:#c7b4c0}
#bag-count{min-width:24px;min-height:24px;display:grid;place-items:center;border-radius:50%;background:var(--deep);color:#fff;font-size:.8125rem}
/* A clean, generous photograph balances the editorial title. */
.hero-band{padding-top:28px}
.hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr);gap:44px;align-items:center;padding:30px 42px 30px 58px;background:#eee5d9;border:1px solid #e8dcca;border-radius:var(--radius-lg);box-shadow:0 14px 44px -36px #6d4f354d}
.hero-copy{max-width:535px}
.hero-kicker{margin:0 0 13px;color:#745b49;font-size:.72rem}
.hero-copy:before{content:'';display:block;width:46px;height:3px;border-radius:9px;background:var(--accent);margin-bottom:22px}
.hero h1{font:400 clamp(2.9rem,4.8vw,4.2rem)/1.04 var(--serif);letter-spacing:-.035em;text-wrap:balance;margin:0 0 22px;color:#412f3b}
.hero p{font-size:1.0625rem;line-height:1.65;color:#67595c;max-width:390px;margin:0 0 28px}
.hero .button{box-shadow:0 8px 22px -14px #39233280}
.hero-photo{margin:0;width:100%;max-width:290px;justify-self:end}
.hero-photo img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;border-radius:24px;box-shadow:0 14px 30px -18px #4b3c3452}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:2px}
.hero-secondary{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 2px;color:var(--deep);font-size:.875rem;text-decoration:none;border-bottom:1px solid transparent}
.hero-secondary:hover{border-color:var(--deep)}
.hero-secondary span{font-size:1.05rem;line-height:1}
.service-strip{display:flex;align-items:center;justify-content:center;padding-block:22px;margin-bottom:22px}
.service-note{margin:0;font-size:.875rem;color:var(--muted);text-align:center;line-height:1.7}
.service-note:empty{display:none}
.shipping-note{margin-top:-10px;margin-bottom:24px;color:var(--muted);font-size:.8125rem;line-height:1.6;text-align:center}
.trust-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:0;margin-bottom:38px;border:0;border-top:1px solid var(--line);overflow:visible;background:transparent}
.trust-strip>div{display:grid;gap:4px;padding:15px 0 0;background:transparent}
.trust-strip strong{font-size:.86rem;font-weight:600;color:var(--ink)}
.trust-strip span{font-size:.78rem;line-height:1.45;color:var(--muted)}
/* Clear browsing controls; the collection contains only real catalogue records. */
.catalog{scroll-margin-top:136px}
.catalog-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(500px,.9fr);align-items:end;gap:32px}
.section-title{display:flex;align-items:baseline;gap:15px;flex-wrap:wrap}
.collection-kicker{flex-basis:100%;margin:0 0 -10px;color:#745b49;font-size:.7rem}
.section-title h2{margin:0;font-size:2.6rem;letter-spacing:-.03em}
.section-title span{font-size:.875rem;color:var(--muted);white-space:nowrap}
.section-title .catalog-intro{flex-basis:100%;max-width:510px;margin:0;color:var(--muted);font-size:.9rem;line-height:1.6}
.searchbar{display:grid;grid-template-columns:minmax(170px,1fr) auto minmax(180px,.85fr);align-items:center;gap:10px;width:100%;min-width:0}
.sort-control{display:flex;align-items:center;gap:8px;flex:0 1 205px;min-width:0;white-space:nowrap;color:var(--muted);font-size:.8125rem}
.sort-picker{position:relative;flex:1;min-width:0}
.sort-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:46px;padding:10px 13px;border:1px solid #cfc4bd;border-radius:999px;background:var(--paper);color:var(--ink);font-size:.875rem;text-align:left;box-shadow:0 3px 12px -10px #4d3443}
.sort-trigger:hover{border-color:#a694a0;background:#fff}
.sort-trigger>span:last-child{color:var(--muted);font-size:1.15rem;line-height:1;transform:translateY(-2px)}
.sort-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;padding:0!important;opacity:0!important;pointer-events:none!important}
.sort-menu{position:absolute;z-index:30;inset:calc(100% + 8px) 0 auto;display:grid;gap:3px;width:100%;max-width:100%;padding:7px;border:1px solid #d6c9bf;border-radius:18px;background:#fffaf5;box-shadow:0 16px 32px -18px #3d293566;overflow:hidden}
.sort-menu button{width:100%;min-height:42px;padding:9px 11px;border:0;border-radius:12px;background:transparent;color:var(--ink);font-size:.875rem;text-align:left;white-space:normal;overflow-wrap:anywhere}
.sort-menu button:hover,.sort-menu button[aria-selected=true]{background:#eee5eb;color:var(--deep)}
.sort-menu button[aria-selected=true]{font-weight:650;padding-left:35px;position:relative}
.sort-menu button[aria-selected=true]::before{content:'✓';position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:1rem;font-weight:700;color:var(--deep)}
.search{flex:1;position:relative;min-width:0}
.search input{padding-left:46px;border-radius:999px;background:var(--paper);box-shadow:0 3px 12px -10px #4d3443}
.search:before{content:'';position:absolute;left:18px;top:17px;width:14px;height:14px;border:1.5px solid var(--muted);border-radius:50%;pointer-events:none}
.search:after{content:'';position:absolute;left:30px;top:30px;width:6px;height:1.5px;background:var(--muted);transform:rotate(45deg);pointer-events:none}
#filter-toggle:before{content:'';width:17px;height:17px;flex-shrink:0;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2 5h16M5 10h10M8 15h4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
#filter-toggle[aria-expanded=true]{border-color:var(--deep);background:#eee5eb}
.categories{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 26px;padding:0}
.categories button{min-height:44px;padding:10px 19px;border:1px solid #ded3c9;border-radius:999px;background:transparent;white-space:nowrap;font-size:.875rem;line-height:1.5;color:#62565b}
.categories button:hover{background:#eee5dd;border-color:#bda996}
.categories [aria-pressed=true]{border-color:var(--deep);background:var(--deep);color:#fff;font-weight:550}
.filters{padding:24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;background:#f0e9e2;border:1px solid #e1d4c7;border-radius:var(--radius);margin-bottom:26px}
.filters label,.filters input,.filters select{min-width:0}
.filters .text-button{align-self:end;text-align:left}
.catalog-intro{margin:0 0 20px;color:var(--muted);font-size:.9rem;line-height:1.6}
.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
.product{display:flex;flex-direction:column;min-width:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.photo{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/5;padding:0;position:relative;overflow:hidden;border:1px solid #e2d7ca;border-radius:18px;background:#eee6dc;color:var(--muted);flex-shrink:0}
.photo img{position:absolute;inset:0;margin:auto;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;display:block;border-radius:inherit}
.product-info{display:flex;flex-direction:column;flex:1;padding:14px 2px 4px;min-width:0}
.product .meta{color:#776053;font-size:.8125rem;line-height:1.5;letter-spacing:.02em}
.product h3{font-size:1rem;font-weight:500;line-height:1.5;margin:5px 0 15px;overflow-wrap:anywhere}
.product-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:auto;padding-top:2px}
.price{font-weight:650;font-variant-numeric:tabular-nums;line-height:1.6;color:var(--ink)}
.old-price{color:var(--muted);font-size:.875rem;font-weight:400;margin-right:8px}
.stock{display:inline-flex;align-items:center;gap:7px;font-size:.875rem;line-height:1.5;color:var(--muted)}
.stock::before{content:'';width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor;opacity:.72}
.stock-available{color:#3f7659}.stock-low{color:#8a6234}.stock-empty{color:var(--danger)}.stock-order{color:var(--deep)}.stock-unknown{color:var(--muted)}

.product-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:15px}
.product-action,.product-quick-add{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;line-height:1.35;font-size:.8125rem;font-weight:600;border-radius:999px;text-align:center}
.product-action{color:var(--deep);border:1px solid #c9b8c1;background:transparent}
.product-action:hover{background:#f2ebef;border-color:var(--deep);color:var(--deep)}
.product-quick-add{color:#fff;border:1px solid var(--deep);background:var(--deep)}
.product-quick-add:hover{background:var(--deep-hover);border-color:var(--deep-hover)}
.product-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:3em;margin:0 0 10px;color:var(--muted);font-size:.8125rem;line-height:1.5}
.product-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.tag{display:inline-block;background:#f0e6d8;color:#6a4f34;font-size:.75rem;line-height:1.5;padding:4px 9px;border-radius:999px}
.missing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:.8125rem;color:var(--muted);padding:16px;line-height:1.5;text-align:center;letter-spacing:.01em}.photo .missing img{position:static;width:52px;height:52px;object-fit:contain;opacity:.55;filter:saturate(.25)}
#empty{padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius)}
/* Footer keeps the original logo on its matching paper surface. */
.footer{width:calc(100% - 72px);max-width:1168px;margin-top:56px;margin-bottom:32px;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:40px;border:1px solid var(--line);border-radius:var(--radius-lg);padding:36px 38px;background:var(--paper)}
.footer .brand{align-self:start;justify-self:start}
.footer .brand img{width:178px}
.footer h2{font-family:inherit;font-size:.875rem;font-weight:600;letter-spacing:.04em;margin:8px 0 14px;color:var(--deep)}
.footer button,.footer div>a,.footer #socials a,.footer #socials .social-placeholder{display:block;background:none;border:0;border-radius:12px;min-height:44px;padding:10px 0;font-size:.875rem;text-align:left;text-decoration:none}
.footer #socials{display:grid;gap:2px;margin-top:5px}.footer #socials .social-heading{display:block;padding:7px 0 2px;color:var(--deep);font-size:.75rem;letter-spacing:.08em;text-transform:uppercase}
.footer #socials .social-placeholder{color:var(--muted);cursor:default}.footer #socials .social-placeholder small{margin-left:6px;color:var(--muted);font-size:.7rem;font-weight:500}
.footer button:hover,.footer div>a:hover{text-decoration:underline}
.footer .footer-share-button{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  margin-top:6px;
  padding:9px 14px;
  border:1px solid #d8c2cf;
  border-radius:999px;
  background:#f4e8ee;
  color:var(--deep);
  font-weight:650;
  text-decoration:none;
}
.footer .footer-share-button:hover,
.footer .footer-share-button:focus-visible{
  border-color:var(--deep);
  background:#ead9e3;
  text-decoration:none;
}
.footer .footer-legal{display:flex;flex-wrap:wrap;gap:5px 16px;margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}
.footer .footer-legal a{display:inline-block;min-height:32px;padding:5px 0;color:var(--muted);font-size:.75rem;line-height:1.4}
/* Shared dialogs retain native focus management, scrolling and close actions. */
dialog{border:1px solid var(--line);border-radius:28px;max-height:90dvh;width:min(980px,calc(100% - 40px));padding:28px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;color:var(--ink);background:var(--paper);box-shadow:0 28px 100px #28172330;scrollbar-width:thin;scrollbar-color:var(--accent) transparent}
dialog::-webkit-scrollbar{width:9px;height:9px}
dialog::-webkit-scrollbar-track{background:transparent}
dialog::-webkit-scrollbar-thumb{background:var(--accent);border:2px solid transparent;background-clip:padding-box;border-radius:999px}
dialog::-webkit-scrollbar-thumb:hover{background:var(--deep);border-width:1px}
body:has(dialog[open]){overflow:hidden}
#dialog:not(:has(.detail)){max-width:640px}
dialog::backdrop{background:#2e1e2b80;backdrop-filter:blur(4px)}
.close{float:right;position:sticky;top:0;z-index:2;display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;border:1px solid #d7c9d1;border-radius:50%;background:#f7f3f5;color:var(--deep);font-size:1.5rem;line-height:1}
.close:hover{background:#eadee6}
.detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;clear:both;padding-top:14px}
.detail h2{font-size:2.15rem;line-height:1.18;margin:7px 0 18px;letter-spacing:-.025em;overflow-wrap:anywhere}
.detail .eyebrow{margin-top:0}
.detail .photo{height:410px;aspect-ratio:auto;cursor:zoom-in;background:#f2ede7;border-radius:22px}
.detail-photo{display:block;width:100%;height:410px;object-fit:contain}
.thumbnails{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:3px;padding:12px 3px 8px;scrollbar-width:thin;scrollbar-color:var(--accent) transparent}
.thumbnails::-webkit-scrollbar{height:7px}
.thumbnails::-webkit-scrollbar-track{background:transparent}
.thumbnails::-webkit-scrollbar-thumb{background:var(--accent);border:2px solid transparent;background-clip:padding-box;border-radius:999px}
.thumbnails button{scroll-snap-align:start}
.thumbnails:has(button:only-child){display:none}
.thumbnails button{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:4px;flex-shrink:0}
.thumbnails [aria-pressed=true]{border:2px solid var(--deep);padding:3px}
.thumbnails img{width:55px;height:65px;object-fit:contain;display:block;border-radius:9px}
.detail small{font-size:.8125rem;color:var(--muted)}
.detail label{margin-top:18px}
.detail .price{font-size:1.4rem}
.detail dl{font-size:1rem;margin-top:26px}
.detail dt{font-size:.875rem;color:var(--muted);margin-top:15px}
.detail dd{margin:3px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.detail-trust{display:grid;gap:8px;margin:20px 0 4px;padding:0;list-style:none}
.detail-trust li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:9px;align-items:start;padding:10px 12px;border:1px solid #e8ddcf;border-radius:13px;background:#f8f4ee}
.detail-trust li>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eee5eb;color:var(--deep);font-size:.75rem}
.detail-trust strong,.detail-trust small{display:block}
.detail-trust strong{font-size:.78rem;font-weight:650;color:var(--ink)}
.detail-trust small{margin-top:2px;color:var(--muted);font-size:.72rem;line-height:1.4}
.detail-purchase-actions{display:grid;grid-template-columns:1.25fr 1fr;gap:10px;margin-top:14px}
.detail-purchase-actions .button{width:100%;margin:0}
.detail-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.detail-links .button{flex:1 1 140px;font-size:.875rem;padding-inline:12px}
#add-detail,#buy-now{width:100%;margin-top:14px}
.note{padding:16px 18px;font-size:.875rem;margin-block:20px;border:1px solid #e8ddcf;border-radius:16px;background:var(--soft);line-height:1.65}
.error{color:var(--danger)}.error:empty{display:none}
.quantity{display:flex;align-items:center;gap:12px}
.quantity button{width:44px;height:44px;border:1px solid #d9cad3;background:#f8f3f6;border-radius:50%;color:var(--deep);font-size:1.15rem}
.cart-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding:21px 0;border-bottom:1px solid var(--line)}
.cart-visual{display:grid;place-items:center;width:64px;height:76px;border-radius:14px;background:#f1ebe3;border:1px solid #e2d7ca;overflow:hidden}
.cart-image{display:block;width:100%;height:100%;object-fit:contain}
.cart-image-placeholder{font:400 .62rem/1.2 var(--serif);letter-spacing:.08em;color:var(--muted);text-align:center;padding:5px}
.cart-main{min-width:0}
.cart-row h3{font-size:1rem;line-height:1.5;margin:0}
.cart-row p{font-size:.875rem;margin:6px 0;color:var(--muted)}
.empty-bag{text-align:center;padding:12px 4px 4px}
.empty-bag-mark{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 13px;border-radius:50%;background:#f0e6d8;color:var(--deep);font-size:1.45rem}
.empty-bag p{max-width:340px;margin:0 auto 18px;color:var(--muted);line-height:1.6}
.cart-total{display:flex;justify-content:space-between;gap:18px;font-size:1.2rem;margin-top:24px}
#zoom{width:min(1100px,95vw)}#zoom-image{width:100%;height:75dvh;object-fit:contain;border-radius:18px}
.info-text{white-space:pre-wrap;line-height:1.75}
.toast{display:none;position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--deep);color:#fff;padding:14px 20px;border-radius:18px;z-index:100;max-width:calc(100% - 30px);font-size:.875rem;box-shadow:0 8px 25px #26112225}
.toast.show{display:block}
.skip,.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
.skip:focus{width:auto;height:auto;clip:auto;top:10px;left:10px;background:#fff;z-index:200;padding:12px;border-radius:12px}
.preview-banner{background:#f4f1e9;color:#665331;font-size:.8125rem;padding:7px 16px;border-bottom:1px solid #ddd4c5;text-align:center;line-height:1.6}.preview-banner a{white-space:nowrap}
.storefront>.preview-banner:has(a[href="/__preview/login"]){display:none}
@media(max-width:1050px){
  .storefront .header{padding-inline:32px;gap:22px}.header nav{gap:18px}
  .hero{padding:30px 36px;gap:30px;grid-template-columns:minmax(0,1fr) 270px}.hero h1{font-size:3.3rem}
  .catalog-toolbar{gap:22px}.searchbar{grid-template-columns:minmax(160px,1fr) auto minmax(170px,.8fr)}.products{gap:24px 18px}
}
@media(max-width:800px){
  .wrap{padding-inline:24px}.storefront .header{grid-template-columns:1fr auto;padding:10px 24px 0;gap:8px 20px}
  .storefront .header>.brand{grid-column:1;grid-row:1}.header .brand img{width:138px}
  .storefront .header nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:36px;border-top:1px solid var(--line)}#bag-button{grid-column:2}
  .hero{grid-template-columns:minmax(0,1fr) 230px;padding:28px;gap:28px}.hero h1{font-size:2.9rem}.hero-photo{max-width:230px}
  .catalog-toolbar{display:flex;align-items:flex-start;flex-direction:column;gap:18px}.searchbar{width:100%}
  .products{grid-template-columns:repeat(3,minmax(0,1fr))}.filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer{width:calc(100% - 48px);gap:24px;padding:28px}.footer .brand img{width:150px}
}
@media(max-width:600px){
  .wrap{padding-inline:16px}.header{flex-wrap:wrap;gap:10px 16px;padding-block:10px 0}
  .catalog{scroll-margin-top:170px}
  .storefront .header{padding-inline:20px}.header .brand img{width:128px}.header nav a,.header nav button{font-size:.875rem}
  .storefront .header nav{justify-content:space-between;gap:16px}.header>.button{font-size:.875rem}#bag-button{padding:10px 13px;gap:8px}
  .hero-band{padding-top:18px}.hero{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:14px;padding:24px 16px 24px 20px;border-radius:26px}
  .hero-copy:before{width:30px;height:2px;margin-bottom:15px}.hero h1{font-size:clamp(1.85rem,6.6vw,2.7rem);line-height:1.06;letter-spacing:-.035em;margin-bottom:15px}
  .hero p{font-size:1rem;line-height:1.5;margin-bottom:20px}.hero-actions .button{flex:1 1 180px}.hero .button{font-size:.875rem;padding:12px 15px;min-height:46px;max-width:100%}
  .hero-photo{max-width:none}.hero-photo img{border-radius:18px;aspect-ratio:4/5}
  .service-strip{padding-block:18px;margin-bottom:16px}.service-note{font-size:.875rem;max-width:310px}
  .shipping-note{margin-top:-4px;margin-bottom:20px;padding-inline:18px}.trust-strip{grid-template-columns:1fr;margin-bottom:30px}.trust-strip>div{padding:14px 12px}
  .section-title{justify-content:space-between;width:100%;gap:7px 12px;padding-bottom:2px}.section-title h2{font-size:2.2rem}.section-title span{font-size:.8125rem}.section-title .catalog-intro{margin-top:3px;line-height:1.55}
  .catalog-toolbar{gap:24px}.searchbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%}.search input{font-size:16px;min-width:0;padding-left:42px}.search:before{left:15px}.search:after{left:27px}
  .searchbar .button{padding:12px 14px;font-size:.875rem}.sort-control{grid-column:1/-1;order:3;width:100%}.sort-trigger{min-height:46px}.categories{flex-wrap:nowrap;gap:8px;margin:14px -4px 18px;padding:4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;scroll-padding-inline:4px}.categories::-webkit-scrollbar{display:none}.categories button{flex-shrink:0;scroll-snap-align:start;font-size:.875rem;padding:9px 14px;min-height:44px}
  .filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px;gap:16px;border-radius:20px}.filters input,.filters select{font-size:16px}
  .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.product{padding:7px;border-radius:22px}.photo{border-radius:16px}
  .product-info{padding:11px 3px 4px}.product .meta{font-size:.8125rem;line-height:1.5}.product h3{font-size:1rem;line-height:1.45;margin:5px 0 12px}
  .product-bottom{gap:3px}.product .price{font-size:1rem}.stock{font-size:.8125rem}.old-price{display:block;margin-right:0}
  .product-action{font-size:.875rem;padding:10px 6px;margin-top:13px}.product-tags{gap:4px}.tag{font-size:.75rem;padding:3px 7px}
  .footer{width:calc(100% - 32px);grid-template-columns:1fr 1fr;gap:20px;padding:25px 22px;margin-top:36px;margin-bottom:20px;border-radius:26px}.footer>.brand{grid-column:1/-1}.footer .brand img{width:156px}.footer a{overflow-wrap:anywhere}
  dialog{width:calc(100% - 20px);padding:18px;max-height:94dvh;border-radius:24px}.detail{grid-template-columns:1fr;gap:24px;padding-top:12px}
  .detail .photo,.detail-photo{height:330px}.detail h2{font-size:1.85rem}.cart-row{grid-template-columns:56px minmax(0,1fr);gap:10px}.cart-visual{width:56px;height:68px;grid-row:1/3}.cart-row .quantity{grid-column:2;justify-content:flex-start}.cart-main h3{font-size:.95rem}
}
@media(max-width:360px){
  .wrap{padding-inline:13px}.storefront .header{padding-inline:16px}.header .brand img{width:118px}#bag-button{padding-inline:11px}
  .hero{gap:10px;padding:20px 12px 20px 16px}.hero h1{font-size:1.8rem}.hero .button{padding-inline:11px}.products{gap:18px 10px}
  .categories button{padding-inline:12px}.searchbar .button{gap:7px;padding-inline:11px}#filter-toggle:before{width:15px}
  .trust-strip{grid-template-columns:1fr}
  .detail .photo,.detail-photo{height:285px}
}
/* Brief motion, without hiding content or restarting when products are filtered. */
@media(prefers-reduced-motion:no-preference){
  html,.categories,.thumbnails{scroll-behavior:smooth}
  .storefront .button,.storefront .product,.storefront .product-action,.storefront .categories button,.storefront .close{transition:transform .22s cubic-bezier(.2,.7,.3,1),background-color .2s,border-color .2s,box-shadow .25s,color .2s}
  .storefront .header{animation:miloria-fade .45s ease-out}.hero-copy{animation:miloria-arrive .6s ease-out}.hero-photo{animation:miloria-arrive .7s ease-out}
  .storefront .catalog{animation:miloria-arrive .55s ease-out}.storefront dialog[open]{animation:miloria-dialog .22s ease-out}.storefront dialog[open]::backdrop{animation:miloria-fade .22s ease-out}
  .storefront .filters:not([hidden]){animation:miloria-arrive .22s ease-out}.storefront .toast.show{animation:miloria-fade .2s ease-out}
  .storefront .product.scroll-reveal{opacity:1;transform:none;transition:box-shadow .25s,border-color .2s}
  .storefront .product.scroll-reveal.is-visible{opacity:1;transform:none}
  .storefront .product.scroll-reveal .photo img{opacity:1}
  .storefront .product.scroll-reveal .photo img.is-loaded{opacity:1}
  .storefront .button:active,.storefront .product-action:active{transform:translateY(1px)}
  @media(hover:hover) and (pointer:fine){
    .storefront .button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 18px -10px #39233265}
    .storefront .product:hover{transform:translateY(-3px);box-shadow:0 13px 30px -20px #402b3b55;border-color:#d7c7ce}
    .storefront .close:hover{transform:rotate(6deg)}
  }
}
@keyframes miloria-arrive{from{opacity:.25;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes miloria-fade{from{opacity:.2}to{opacity:1}}
@keyframes miloria-dialog{from{opacity:.3;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html,.categories,.thumbnails{scroll-behavior:auto}}

/* Compact cover and full, undistorted catalog photograph. */
.storefront .hero{padding:24px 38px;gap:32px;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.storefront .hero-photo{max-width:220px}
.storefront .hero-photo img{height:260px;aspect-ratio:auto;object-fit:contain;box-shadow:none}
.storefront .hero h1{font-size:clamp(2.25rem,4vw,3.5rem);margin-bottom:16px}
.storefront .hero p{margin-bottom:20px}
.storefront .hero-copy:before{margin-bottom:16px}
[aria-disabled=true]{opacity:.65;cursor:not-allowed}
@media(max-width:600px){.storefront .hero{padding:20px 16px;gap:14px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}.storefront .hero h1{font-size:clamp(1.75rem,6vw,2.25rem)}.storefront .hero-photo img{height:200px}.storefront .hero p{font-size:1rem}.storefront .hero .button{padding-inline:12px}.categories{flex-wrap:wrap;overflow:visible}.sort-control,.product .meta,.stock{font-size:.875rem}}
@media(max-width:380px){.storefront .hero{grid-template-columns:1fr}.storefront .hero-photo{justify-self:center}.storefront .hero-photo img{height:160px}.storefront .hero-copy{max-width:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Editorial product cards: quiet frames, visible hierarchy and a direct mobile action. */
.storefront .product{position:relative}
.storefront .product>.favorite-button{position:absolute;top:10px;right:10px;z-index:4;margin:0;border-color:#e2d5cd;background:#fcfaf7e8;backdrop-filter:blur(6px);box-shadow:0 6px 16px -12px #3d2935}
.storefront .product>.favorite-button:hover,.storefront .product>.favorite-button:focus-visible{background:#fff;border-color:#bda5b2}
.storefront .photo{border:0;border-radius:20px;background:linear-gradient(145deg,#f4eee7,#eee5dc);box-shadow:inset 0 0 0 1px #e8ddd3,0 13px 30px -25px #4e344366}
.storefront .product-badges{position:absolute;top:13px;left:13px;z-index:3;display:flex;flex-wrap:wrap;gap:6px;max-width:calc(100% - 58px);pointer-events:none}
.storefront .product-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border:1px solid #e4d5c6;border-radius:999px;background:#fcfaf7e8;color:#694d3c;font-size:.68rem;font-weight:650;letter-spacing:.04em;line-height:1.2;backdrop-filter:blur(5px)}
.storefront .product-badge-sale{background:#4e3443e8;border-color:#4e3443;color:#fff}
.storefront .product-info{padding:15px 1px 3px}
.storefront .product .meta{text-transform:uppercase;letter-spacing:.13em;color:#806b61;font-size:.68rem;font-weight:650}
.storefront .product h3{font:500 1.08rem/1.35 var(--serif);letter-spacing:-.01em;margin:6px 0 11px}
.storefront .product-description{min-height:0;margin:0 0 11px;font-size:.78rem;line-height:1.5}
.storefront .product-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:stretch;gap:8px;margin-top:14px}
.storefront .product-actions:has(.product-action:only-child){grid-template-columns:1fr}
.storefront .product-action,.storefront .product-quick-add{width:100%;min-height:44px;margin:0;padding:9px 12px;font-size:.76rem;letter-spacing:.01em}
.storefront .product-quick-add{white-space:nowrap}
.storefront .product-bottom{padding-top:0}
.storefront .product .price{font-size:1rem}
.storefront .product .stock{font-size:.76rem}
.storefront .detail .photo{border:0;box-shadow:inset 0 0 0 1px #e8ddd3,0 16px 36px -27px #4e344366}
.storefront .detail h2{font-family:var(--serif);font-weight:400}
.storefront .detail .price{font-size:1.55rem;letter-spacing:-.02em}
.storefront .detail-assurances{padding:17px 0 0}

@media(max-width:600px){
  .storefront .product>.favorite-button{top:8px;right:8px}
  .storefront .product-badges{top:10px;left:10px;gap:4px}
  .storefront .product-badge{min-height:24px;padding:4px 7px;font-size:.62rem}
  .storefront .product-info{padding:12px 1px 2px}
  .storefront .product h3{font-size:1rem;line-height:1.32;margin-bottom:9px}
  .storefront .product-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;margin-top:12px}
  .storefront .product-actions:has(.product-action:only-child){grid-template-columns:1fr}
  .storefront .product-action,.storefront .product-quick-add{min-height:46px;padding:9px 7px;font-size:.74rem}
  .storefront .detail .photo,.storefront .detail-photo{height:350px}
  .storefront #dialog:has(.detail){max-height:calc(100dvh - 8px);margin-top:8px;border-radius:26px 26px 0 0}
  .storefront .detail-purchase-actions{grid-template-columns:1.18fr 1fr}
}
@media(max-width:380px){
  .storefront .product-actions{grid-template-columns:1fr}
  .storefront .product-action,.storefront .product-quick-add{min-height:42px}
  .storefront .detail .photo,.storefront .detail-photo{height:300px}
}

/* The compact header becomes a deliberate two-line mobile masthead. */
@media(max-width:700px){
  .storefront .header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;padding:9px 16px 0;overflow:visible}
  .storefront .header>.brand{order:1;grid-column:auto;grid-row:auto;margin-right:auto}
  .storefront .header nav{order:3;display:flex;flex:1 0 100%;grid-column:auto;grid-row:auto;min-width:0;width:100%;justify-content:space-between;gap:5px;border-top:1px solid var(--line)}
  .storefront .header nav a,.storefront .header nav button{flex:1;min-width:0;min-height:44px;padding:10px 3px;text-align:center;font-size:.82rem}
  .storefront .header>#bag-button{order:2;grid-column:auto;grid-row:auto;max-width:160px;padding-inline:12px;white-space:nowrap}
}
@media(max-width:480px){
  .storefront .hero{grid-template-columns:1fr;gap:18px}
  .storefront .hero-copy{max-width:none}
  .storefront .hero-photo{justify-self:center;width:min(230px,72vw)}
  .storefront .hero-photo img{height:auto;max-height:280px;aspect-ratio:4/5}
}

@media(max-width:600px){
  /* Keep the catalog entrance calm: categories scroll in one row instead of stacking. */
  .storefront #categories{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity;margin-inline:-4px;padding:4px;gap:8px}
  .storefront #categories::-webkit-scrollbar{display:none}
  .storefront #categories button{flex:0 0 auto;width:auto;scroll-snap-align:start}
  .storefront .product-action,.storefront .product-quick-add{white-space:nowrap;padding-inline:4px;font-size:.72rem}
  .storefront .detail-purchase-actions .button{white-space:nowrap;font-size:.8rem;letter-spacing:-.01em;padding-inline:8px}
}

@media(hover:hover) and (pointer:fine){.storefront .product:hover{box-shadow:none;border-color:transparent}}
.product-description{font-size:13px;line-height:1.6;color:var(--muted,#706a61);margin:8px 0 14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.product-action{text-decoration:none}

.complaints-notice{grid-column:1/-1;border:1px solid var(--line,#ded6cb);padding:18px;max-width:550px}.complaints-notice p{font-size:14px;margin:8px 0}

/* Un paso claro entre la portada y el catálogo: útil, breve y propio de la marca. */
.buy-steps{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(0,1.6fr);gap:36px;align-items:center;margin-bottom:48px;padding:24px 28px;border:1px solid var(--line);border-radius:24px;background:#f7f2ec}
.buy-steps-intro{max-width:300px}
.buy-steps-intro .eyebrow{margin:0 0 8px;font-size:.72rem}
.buy-steps-intro h2{margin:0 0 9px;font-size:1.8rem;letter-spacing:-.02em}
.buy-steps-intro p:last-child{margin:0;color:var(--muted);font-size:.875rem;line-height:1.6}
.buy-steps ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.buy-steps li{display:grid;grid-template-columns:auto 1fr;gap:11px;align-items:start;min-width:0;padding:7px 12px 7px 0}
.buy-steps li+li{border-left:1px solid #dfd3c9;padding-left:18px}
.step-number{font:400 .8rem/1.4 var(--serif);color:var(--accent);letter-spacing:.08em}
.buy-steps li strong{display:block;margin-bottom:3px;font-size:.875rem;font-weight:650;color:var(--ink)}
.buy-steps li span:not(.step-number){display:block;color:var(--muted);font-size:.78rem;line-height:1.5}
@media(max-width:800px){.buy-steps{grid-template-columns:1fr;gap:16px;margin-bottom:36px;padding:21px 20px}.buy-steps-intro{max-width:480px}.buy-steps ol{gap:0}.buy-steps li{padding-inline:0}.buy-steps li+li{padding-left:14px}}
@media(max-width:600px){.buy-steps{margin-bottom:30px;border-radius:20px;padding:19px 17px}.buy-steps-intro h2{font-size:1.65rem}.buy-steps ol{grid-template-columns:1fr;gap:0}.buy-steps li{grid-template-columns:34px 1fr;padding:12px 0}.buy-steps li+li{border-left:0;border-top:1px solid #dfd3c9;padding-left:0}.step-number{padding-top:2px}}

/* Small, calm feedback makes the interface feel responsive without noise. */
@media(prefers-reduced-motion:no-preference){
  .buy-steps{animation:miloria-arrive .55s ease-out both}
  .buy-steps li{transition:background-color .2s ease,transform .2s ease}
  @media(hover:hover) and (pointer:fine){.buy-steps li:hover{transform:translateY(-2px)}}
  .photo img{transition:transform .45s cubic-bezier(.2,.7,.3,1),opacity .3s ease}
  @media(hover:hover) and (pointer:fine){.product:hover .photo img{transform:scale(1.035)}}
}


/* Microinteracciones de boutique: feedback breve para acciones importantes. */
@media(prefers-reduced-motion:no-preference){
  .hero-secondary span{transition:transform .2s ease}
  .hero-secondary:hover span{transform:translate(2px,-2px)}
  .storefront .toast.show,.admin-page .toast.show{animation:miloria-toast-in .25s ease-out both}
  .storefront #bag-button.bag-attention{animation:bag-attention .56s cubic-bezier(.2,.8,.3,1)}
  .storefront #bag-count.bag-count-pop{animation:bag-count-pop .56s cubic-bezier(.2,.8,.3,1)}
}
@keyframes miloria-toast-in{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes bag-attention{0%{transform:none}35%{transform:translateY(-2px)}70%{transform:translateY(1px)}100%{transform:none}}
@keyframes bag-count-pop{0%{transform:scale(1)}35%{transform:scale(1.18)}70%{transform:scale(.96)}100%{transform:scale(1)}}

/* Controls with a softer open, close and press state. */
.sort-menu{right:0;left:auto;width:min(270px,calc(100vw - 32px));min-width:100%}
.sort-menu button{white-space:nowrap}
@media(prefers-reduced-motion:no-preference){
  .storefront #filter-toggle,.storefront .sort-trigger{transition:transform .18s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease}
  .storefront #filter-toggle:active,.storefront .sort-trigger:active{transform:scale(.98)}
  .storefront #filter-toggle:focus-visible,.storefront .sort-trigger:focus-visible{outline:3px solid #815e75;outline-offset:3px}
  .storefront #filter-toggle[aria-expanded=true]{box-shadow:0 7px 18px -13px #3d293566}
  .storefront .sort-trigger[aria-expanded=true]{border-color:var(--deep);background:#eee5eb;box-shadow:0 7px 18px -13px #3d293566}
  .storefront .sort-trigger>span:last-child{transition:transform .2s ease}
  .storefront .sort-trigger[aria-expanded=true]>span:last-child{transform:rotate(180deg) translateY(2px)}
  .storefront .filters:not([hidden]){opacity:0;transform:translateY(-8px);pointer-events:none;animation:none;transition:opacity .2s ease,transform .2s ease}
  .storefront .filters.is-open{opacity:1;transform:none;pointer-events:auto}
  .storefront .filters.is-closing{opacity:0;transform:translateY(-8px);pointer-events:none}
  .storefront .sort-menu{opacity:0;transform:translateY(-8px) scale(.98);pointer-events:none;transition:opacity .18s ease,transform .18s ease}
  .storefront .sort-menu.is-open{opacity:1;transform:none;pointer-events:auto}
  .storefront .sort-menu.is-closing{opacity:0;transform:translateY(-8px) scale(.98);pointer-events:none}
}
@media(prefers-reduced-motion:reduce){
  .storefront .filters.is-open,.storefront .filters.is-closing,.storefront .filters:not([hidden]){opacity:1;transform:none;pointer-events:auto;animation:none!important;transition:none!important}
  .storefront .sort-menu.is-open,.storefront .sort-menu.is-closing{opacity:1;transform:none;pointer-events:auto;transition:none!important}
}

/* Keep the sorting menu readable even when its trigger is compact. */
.sort-menu{width:min(270px,calc(100vw - 32px));min-width:min(220px,calc(100vw - 32px))}

/* Diseño editorial MILORIA: más aire, menos ruido y una jerarquía más natural. */
:root{
  --paper:#fcfaf7;
  --soft:#f3eee8;
  --line:#e6ddd5;
  --radius-sm:10px;
  --radius:18px;
  --radius-lg:26px;
}
.storefront{background:#fbf8f4;color:#30272d}
.storefront .header{padding-block:10px;border-bottom-color:#ebe3dc;background:rgb(252 250 247 / 94%);box-shadow:0 10px 26px -28px #4e344380}
.storefront .header nav{gap:28px}
.storefront .header nav a,.storefront .header nav button{color:#665c60;font-size:.84rem;letter-spacing:.015em}
.storefront .header nav a:hover,.storefront .header nav button:hover{color:var(--deep);text-decoration:none}
.storefront #bag-button{background:#f1e9ee;border-color:#dfd1d9;box-shadow:none}
.storefront #bag-button:hover{background:#e9dfe6;border-color:#c6b3bf}
.storefront .hero{padding:clamp(32px,4vw,56px) clamp(26px,5vw,64px);gap:clamp(28px,5vw,64px);border-radius:26px;background:#eee6dc;border-color:#e5d8cb;box-shadow:none}
.storefront .hero h1{max-width:10ch;letter-spacing:-.045em}
.storefront .hero p{max-width:420px;color:#655a5b}
.storefront .hero-photo{max-width:300px}
.storefront .hero-photo img{border-radius:16px;box-shadow:none}
.storefront .service-strip{border-block:1px solid var(--line);padding-block:17px;margin-bottom:19px}
.storefront .service-note{font-size:.82rem;letter-spacing:.01em}
.storefront .trust-strip{margin-bottom:48px;padding-bottom:17px;border-bottom:1px solid var(--line)}
.storefront .trust-strip>div{padding-top:12px}
.storefront .trust-strip>div+div{border-left:1px solid var(--line);padding-left:24px}
.storefront .trust-strip strong{font-family:var(--serif);font-size:1.05rem;font-weight:400;color:var(--deep)}
.storefront .trust-strip span{font-size:.8rem}
.storefront .buy-steps{margin-bottom:54px;padding:27px 0;border-block:1px solid var(--line);border-radius:0;background:transparent}
.storefront .buy-steps-intro h2{font-size:2rem}
.storefront .buy-steps li:hover{background:transparent}
.storefront .catalog-intro{max-width:510px;margin:0}
.storefront .section-title h2{font-size:2.45rem;letter-spacing:-.04em}
.storefront .section-title span{color:#897d80}
.storefront .categories{margin-block:18px 28px}
.storefront .categories button{border-color:#d9cec5;color:#64585c}
.storefront .categories button:hover{background:#f0e8df;border-color:#bba99e}
.storefront .filters{padding:22px 0;border:0;border-block:1px solid var(--line);border-radius:0;background:transparent;margin-bottom:30px}
.storefront .products{gap:44px 28px}
.storefront .product-info{padding:15px 0 3px}
.storefront .product .meta{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:#8b7668}
.storefront .product h3{font-family:var(--serif);font-size:1.12rem;font-weight:400;line-height:1.28;margin:6px 0 14px;color:#3b2e35}
.storefront .product .price{font-size:.95rem;font-weight:600}
.storefront .product .stock{font-size:.78rem}
.storefront .product-action{margin-top:13px;font-size:.8rem;letter-spacing:.02em}
.storefront .tag{border-radius:4px;background:#efe5d8;color:#71563c;font-size:.68rem;letter-spacing:.04em;text-transform:uppercase}
.storefront .photo{border:0;border-radius:14px;background:#f0e9e1}
.storefront .footer{margin-top:68px;border-color:var(--line);border-radius:24px;background:#fcfaf7;box-shadow:none}
.storefront .footer h2{font-family:var(--serif);font-size:1rem;font-weight:400;letter-spacing:0;color:var(--deep)}

@media(max-width:800px){
  .storefront .hero{grid-template-columns:minmax(0,1fr) 230px;gap:28px;padding:32px 28px}
  .storefront .trust-strip>div+div{padding-left:18px}
  .storefront .buy-steps{padding-block:24px}
  .storefront .products{gap:32px 18px}
}
@media(max-width:600px){
  .storefront .header nav{gap:17px}
  .storefront .hero{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:14px;padding:24px 16px 24px 20px;border-radius:20px}
  .storefront .hero h1{max-width:none}
  .storefront .hero-photo{max-width:none}
  .storefront .hero-photo img{border-radius:13px}
  .storefront .service-strip{padding-block:15px}
  .storefront .trust-strip{margin-bottom:32px;padding-bottom:8px}
  .storefront .trust-strip>div+div{border-left:0;border-top:1px solid var(--line);padding:14px 12px 0}
  .storefront .buy-steps{margin-bottom:34px;padding:22px 0;border-radius:0}
  .storefront .section-title h2{font-size:2.15rem}
  .storefront .filters{padding:18px 0;margin-bottom:24px}
  .storefront .products{gap:25px 12px}
  .storefront .product{padding:0}
  .storefront .photo{border-radius:13px}
  .storefront .product-info{padding:12px 2px 2px}
  .storefront .product h3{font-size:1rem}
  .storefront .footer{margin-top:46px;border-radius:20px}
}
@media(max-width:380px){
  .storefront .hero{grid-template-columns:1fr;padding:22px 16px}
  .storefront .hero-photo{justify-self:center;max-width:170px}
}

/* Hero editorial image: fill the visual column with a calm, wide composition. */
.storefront .hero{
  grid-template-columns:minmax(0,1fr) minmax(330px,.9fr);
}
.storefront .hero-photo{
  width:100%;
  max-width:none;
  align-self:stretch;
  min-height:300px;
  display:flex;
  overflow:hidden;
}
.storefront .hero-photo img{
  width:100%;
  height:100%;
  aspect-ratio:3 / 2;
  object-fit:cover;
  object-position:50% 20%;
  border-radius:16px;
}
@media (max-width:1050px){
  .storefront .hero{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr)}
}
@media (max-width:800px){
  .storefront .hero{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}
  .storefront .hero-copy{min-width:0}
  .storefront .hero-photo{min-height:0}
  .storefront .hero-photo img{height:auto;aspect-ratio:4 / 3;object-position:50% 20%}
}
@media (max-width:600px){
  .storefront .hero{grid-template-columns:1fr;gap:24px;padding:26px 22px}
  .storefront .hero-copy{max-width:none}
  .storefront .hero h1{max-width:16ch;font-size:clamp(2rem,8vw,2.75rem)}
  .storefront .hero p{max-width:36ch}
  .storefront .hero-actions .button{flex:0 1 auto}
  .storefront .hero-photo{max-width:none;width:100%}
  .storefront .hero-photo img{height:auto;aspect-ratio:4 / 3;object-position:50% 20%}
}
@media (max-width:380px){
  .storefront .hero-photo{max-width:none;width:100%}
  .storefront .hero-photo img{aspect-ratio:16 / 10;object-position:50% 18%}
}

/* Ayudas discretas para comprar sin crear una cuenta. */
.favorite-button{display:inline-grid;place-items:center;width:34px;height:34px;margin:0 0 7px auto;border:1px solid transparent;border-radius:50%;background:transparent;color:var(--deep);font-size:1.45rem;line-height:1;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease}.favorite-button:hover,.favorite-button:focus-visible{background:#f0e8ed;border-color:#dfd1d9;outline:none}.favorite-button:active{transform:scale(.9)}.favorite-button[aria-pressed=true]{background:#f0e8ed;color:#6d4961}.product-info{position:relative}.related-products{grid-column:1/-1;margin-top:7px;padding-top:24px;border-top:1px solid var(--line)}.related-heading h3{margin:.25rem 0 14px;font:400 1.35rem/1.2 var(--serif);color:var(--deep)}.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.related-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;color:var(--ink);cursor:pointer;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}.related-card:hover,.related-card:focus-visible{border-color:#a88b9b;box-shadow:0 8px 20px -16px #3d2935;transform:translateY(-1px);outline:none}.related-photo{display:grid;place-items:center;width:52px;height:62px;border-radius:8px;background:#f3eee8;overflow:hidden;font-size:.56rem;color:var(--muted)}.related-photo img{width:100%;height:100%;object-fit:contain}.related-card strong{display:block;font:500 .8rem/1.3 var(--serif);overflow-wrap:anywhere}.related-card small{display:block;margin-top:4px;font-size:.72rem;color:var(--muted)}.filters-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.filters-heading h3{margin:3px 0 0;font:400 1.35rem/1.15 var(--serif);color:var(--deep)}.filters-heading .eyebrow{margin:0}.filters-close{display:none;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--deep);font-size:1.4rem;line-height:1;cursor:pointer}.filters-actions{display:flex;align-items:center;gap:14px;grid-column:1/-1;margin-top:7px}.filters-actions .button{min-height:40px}.filters-apply{display:none}.floating-whatsapp{position:fixed;right:20px;bottom:20px;z-index:10;display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #d9c7d2;border-radius:999px;background:rgb(255 252 249 / 96%);box-shadow:0 12px 30px -18px #3d2935;color:var(--deep);text-decoration:none}.floating-whatsapp:hover,.floating-whatsapp:focus-visible{background:#f0e8ed;text-decoration:none;transform:translateY(-2px)}.floating-whatsapp-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#6d4961;color:#fff;line-height:1}.floating-whatsapp-icon .whatsapp-logo{display:block;width:22px;height:22px;fill:currentColor}.floating-whatsapp b,.floating-whatsapp small{display:block}.floating-whatsapp b{font-size:.75rem;font-weight:650}.floating-whatsapp small{margin-top:1px;font-size:.68rem;color:var(--muted)}
@media(max-width:700px){.floating-whatsapp{right:13px;bottom:13px;padding:9px 11px}.floating-whatsapp small{display:none}.floating-whatsapp b{font-size:.72rem}.related-products{margin-top:0}.related-grid{grid-template-columns:1fr}.related-card{grid-template-columns:58px minmax(0,1fr);min-height:70px}.related-photo{width:58px;height:66px}.filters-heading{margin-bottom:20px}.filters-close{display:grid;place-items:center}.storefront #filters{position:fixed;inset:auto 0 0;z-index:20;max-height:min(82vh,640px);overflow:auto;margin:0;padding:23px 20px calc(24px + env(safe-area-inset-bottom));border:1px solid var(--line);border-bottom:0;border-radius:24px 24px 0 0;background:#fcfaf7;box-shadow:0 -22px 50px -25px #3d293566}.storefront #filters::before{content:"";display:block;width:42px;height:4px;margin:-7px auto 18px;border-radius:999px;background:#d8c9cf}.storefront #filters label{min-width:0}.filters-apply{display:block!important;flex:1}.filters-actions{position:sticky;bottom:-24px;padding:13px 0 4px;background:#fcfaf7}.storefront #filter-toggle[aria-expanded=true]{background:#eee5eb}.storefront .catalog-toolbar{align-items:end}.storefront .searchbar{gap:8px}}
@media(prefers-reduced-motion:reduce){.favorite-button,.related-card,.floating-whatsapp{transition:none}}

.favorites-toggle{white-space:nowrap}.favorites-toggle>span:first-child{font-size:1.1rem;line-height:0}.favorites-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#eee5eb;color:var(--deep);font-size:.7rem}.favorite-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;padding:9px 0;border-bottom:1px solid var(--line)}.favorite-item-open{display:grid;grid-template-columns:64px minmax(0,1fr);gap:11px;align-items:center;padding:0;border:0;background:none;color:var(--ink);text-align:left;cursor:pointer}.favorite-item-open:hover strong,.favorite-item-open:focus-visible strong{text-decoration:underline}.favorite-item-photo{display:grid;place-items:center;width:64px;height:78px;border-radius:8px;background:#f3eee8;overflow:hidden;font-size:.58rem;color:var(--muted)}.favorite-item-photo img{width:100%;height:100%;object-fit:contain}.favorite-item-open strong,.favorite-item-open small{display:block}.favorite-item-open strong{font:500 .9rem/1.3 var(--serif);overflow-wrap:anywhere}.favorite-item-open small{margin-top:5px;color:var(--muted);font-size:.78rem}.favorite-item>.favorite-button{margin:0}.favorites-lead{margin:-8px 0 15px;color:var(--muted);font-size:.85rem}.favorites-empty{display:grid;justify-items:center;gap:8px;padding:28px 5px;text-align:center;color:var(--muted)}.favorites-empty>span{font-size:3rem;color:var(--deep)}.favorites-empty p{margin:0 0 8px}.storefront #favorites-dialog{width:min(480px,calc(100% - 24px));max-height:min(76vh,620px);padding:27px;border:1px solid var(--line);border-radius:24px;background:var(--paper);box-shadow:0 22px 70px rgb(47 33 44 / 22%)}.storefront #favorites-dialog::backdrop{background:rgb(47 33 44 / 30%);backdrop-filter:blur(3px)}.storefront #favorites-dialog h2{margin:0 0 17px;font:400 2rem/1.1 var(--serif);color:var(--deep)}.storefront #favorites-dialog .close{z-index:1}@media(max-width:600px){.favorites-toggle{flex:1}.storefront #favorites-dialog{padding:23px 18px;border-radius:22px}.favorite-item-open strong{font-size:.82rem}}
.detail-assurances{display:grid;gap:9px;margin:20px 0 0;padding:15px 0 0;border-top:1px solid var(--line);list-style:none}.detail-assurances li{display:flex;align-items:flex-start;gap:10px}.detail-assurances li>span:first-child{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#f0e8ed;color:var(--deep);font-size:.83rem}.detail-assurances strong,.detail-assurances small{display:block}.detail-assurances strong{font:500 .84rem/1.35 var(--serif);color:var(--deep)}.detail-assurances small{margin-top:2px;color:var(--muted);font-size:.72rem;line-height:1.4}@media(max-width:700px){.detail-assurances{margin-top:16px;padding-top:13px;gap:8px}}
.search{position:relative}.search input{padding-right:44px}.search-clear{position:absolute;right:9px;top:50%;display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:1.35rem;line-height:1;transform:translateY(-50%);transition:background .18s ease,color .18s ease,transform .18s ease}.search-clear:hover,.search-clear:focus-visible{background:#eee5eb;color:var(--deep);outline:none}.search-clear:active{transform:translateY(-50%) scale(.92)}
.recently-viewed{margin-top:0;margin-bottom:42px;padding-top:24px;padding-bottom:24px;border-block:1px solid var(--line)}.recently-viewed-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}.recently-viewed-head .eyebrow{margin:0 0 3px;font-size:.68rem}.recently-viewed-head h2{margin:0;font-size:1.65rem;color:var(--deep)}.recently-viewed-head .text-button{min-height:36px;padding-block:6px}.recently-viewed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.recently-viewed-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:10px;align-items:center;min-width:0;padding:8px;border:1px solid var(--line);border-radius:14px;background:transparent;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}.recently-viewed-card:hover,.recently-viewed-card:focus-visible{border-color:#bda8b5;background:#fcfaf7;transform:translateY(-1px);outline:none}.recently-viewed-photo{display:grid;place-items:center;width:58px;height:70px;border-radius:8px;background:#f3eee8;overflow:hidden;color:var(--muted);font-size:.55rem}.recently-viewed-photo img{width:100%;height:100%;object-fit:contain}.recently-viewed-card strong,.recently-viewed-card small{display:block;overflow-wrap:anywhere}.recently-viewed-card strong{font:500 .78rem/1.3 var(--serif);color:var(--deep)}.recently-viewed-card small{margin-top:4px;color:var(--muted);font-size:.7rem}@media(max-width:800px){.recently-viewed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.recently-viewed{margin-bottom:32px;padding-block:20px}.recently-viewed-head h2{font-size:1.45rem}.recently-viewed-grid{gap:9px}.recently-viewed-card{grid-template-columns:48px minmax(0,1fr);gap:8px;padding:7px}.recently-viewed-photo{width:48px;height:60px}.recently-viewed-card strong{font-size:.74rem}}
.active-filter-chips{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:-10px 0 18px}.active-filter-chips[hidden]{display:none}.active-filter-label{color:var(--muted);font-size:.74rem}.active-filter-chip{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:5px 10px;border:1px solid #d9cbd2;border-radius:999px;background:#f5eef2;color:var(--deep);font-size:.75rem;line-height:1.3}.active-filter-chip span{font-size:1rem;line-height:1}.active-filter-chip:hover,.active-filter-chip:focus-visible{border-color:var(--deep);background:#eee5eb;outline:none}
@media(max-width:700px){.active-filter-chips{margin:-6px 0 16px;gap:6px}.active-filter-label{width:100%}.active-filter-chip{min-height:34px}}
@media(max-width:700px){.storefront #dialog:has(.detail) .detail-purchase-actions{position:sticky;bottom:8px;z-index:3;padding:8px 0;background:linear-gradient(180deg,transparent 0,#fcfaf7 16%);box-shadow:0 10px 24px -14px #3d293599}.storefront #dialog:has(.detail) .detail-purchase-actions .button{margin:0}.storefront #dialog:has(.detail) .detail-links{margin-bottom:4px}}

/* Keep the first browse close to the shop entrance. */
.storefront .service-strip{margin-top:0;padding:14px 0;border-bottom:1px solid var(--line)}
.storefront .catalog{padding-top:30px}
.storefront .buy-steps{margin-top:42px;padding-top:32px;border-top:1px solid var(--line)}
.storefront .trust-strip{margin-top:24px;margin-bottom:36px}
.size-guide{margin:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}
.size-guide summary{cursor:pointer;font-size:.9rem;font-weight:600;padding:4px 0}
.size-guide p{font-size:.9rem;line-height:1.65;margin:10px 0}
.size-guide .info-text{white-space:pre-line}
.shipping-back{display:block;margin-top:18px}
#shipping-estimate{background:#f2ede7;border-radius:14px;padding:16px;line-height:1.5;margin-top:16px}
@media(min-width:901px){.storefront .hero{min-height:0;padding-block:0}.storefront .hero-photo{height:auto;min-height:0;aspect-ratio:3 / 4;align-self:start}.storefront .hero-photo img{height:100%;aspect-ratio:auto;object-position:50% 50%}.storefront .hero-copy{padding-block:48px}.storefront .hero h1{font-size:clamp(2.35rem,3.2vw,3.35rem)}}
@media(max-width:600px){.storefront .catalog{padding-top:24px}.storefront .service-strip{padding:12px 0}.storefront .service-note{font-size:.76rem}.storefront .buy-steps{margin-top:28px;padding-top:24px}.storefront .hero-photo{height:auto;min-height:0;aspect-ratio:4 / 5}.storefront .hero-photo img{height:100%;aspect-ratio:auto;object-position:50% 50%}.storefront .hero-copy{padding-block:20px}.storefront .hero h1{font-size:2rem}.storefront .hero-actions{margin-top:20px}}

/* En celular la información secundaria se mantiene disponible sin ocupar
   toda la pantalla. En escritorio conserva el layout editorial completo. */
.footer-section-toggle,
.buy-steps-toggle{display:none}
@media(max-width:600px){
  .storefront .buy-steps{margin-top:22px;margin-bottom:24px;padding:17px 16px;border:1px solid var(--line);border-radius:20px;background:#f8f2ec}
  .storefront .buy-steps-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;max-width:none}
  .storefront .buy-steps-intro .eyebrow{grid-column:1/-1;margin:0;font-size:.64rem}
  .storefront .buy-steps-intro h2{margin:0;font-size:1.45rem;line-height:1.15}
  .storefront .buy-steps-intro p:last-of-type{display:none}
  .storefront .buy-steps-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:7px 10px;border:1px solid #d8bdcd;border-radius:999px;background:#fffaf5;color:var(--deep);font-size:.7rem;font-weight:650;white-space:nowrap}
  .storefront .buy-steps-toggle span{font-size:.9rem;line-height:1}
  .storefront .buy-steps>ol{display:none;margin-top:8px}
  .storefront .buy-steps.is-open>ol{display:grid}
  .storefront .buy-steps li{padding:10px 0}
  .storefront .trust-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;margin-bottom:22px;padding:12px 0 0;border-top:1px solid var(--line);border-bottom:0}
  .storefront .trust-strip>div,
  .storefront .trust-strip>div+div{display:block;min-width:0;padding:0;border:0}
  .storefront .trust-strip strong{display:block;font-family:inherit;font-size:.68rem;font-weight:700;line-height:1.25;color:var(--deep)}
  .storefront .trust-strip span{display:none}
  .storefront .footer{grid-template-columns:1fr;gap:8px;margin-top:30px;padding:18px 18px;border-radius:20px}
  .storefront .footer>.brand{grid-column:auto;margin-bottom:3px}
  .storefront .footer .brand img{width:124px}
  .storefront .footer-column{min-width:0;border-top:1px solid var(--line)}
  .storefront .footer-column h2{margin:0}
  .storefront .footer-section-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:8px 0;color:var(--deep);font:400 1.05rem/1.2 var(--serif);text-align:left}
  .storefront .footer-section-toggle span:last-child{font-family:inherit;font-size:1rem;line-height:1;transition:transform .2s ease}
  .storefront .footer-column.is-open .footer-section-toggle span:last-child{transform:rotate(180deg)}
  .storefront .footer-section-content{display:none;padding:0 0 8px}
  .storefront .footer-column.is-open .footer-section-content{display:block}
  .storefront .footer-section-content>a,
  .storefront .footer-section-content>button{min-height:38px;padding:7px 0;font-size:.78rem}
  .storefront .footer #socials{margin-top:0}
  .storefront .footer .footer-legal{gap:4px 12px;margin-top:8px;padding-top:9px}
  .storefront .footer .footer-legal a{min-height:27px;padding:3px 0;font-size:.68rem}
}
/* Favorites are the fourth toolbar control; give every control its own column. */
@media(min-width:1101px){.storefront .catalog-toolbar{grid-template-columns:minmax(220px,.7fr) minmax(660px,1.6fr)}.storefront .searchbar{grid-template-columns:minmax(190px,1fr) auto auto auto}}
@media(min-width:801px) and (max-width:1100px){.storefront .catalog-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:18px}.storefront .searchbar{grid-template-columns:minmax(180px,1fr) auto auto auto}}
@media(max-width:800px){.storefront .searchbar{grid-template-columns:minmax(0,1fr) auto}.storefront .searchbar .search{grid-column:1/-1}.storefront .sort-control{grid-column:1/-1}.storefront .searchbar #favorites-toggle{justify-content:center}}
.storefront #filters[hidden]{display:none!important}.storefront #categories{display:flex;gap:8px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:10px;scrollbar-width:thin}.storefront #categories button{flex:none}.storefront .filters-actions .filters-clear{display:none}.storefront #filters .filters-heading{grid-column:1/-1}.storefront #filters .filters-actions{grid-column:1/-1}

/* Un único selector de tipos acompaña la sección elegida. */
.storefront .collection-type{margin:0 0 24px;max-width:300px}
.storefront .collection-type[hidden]{display:none}
.storefront .collection-type label{display:grid;gap:7px;font-size:14px;color:var(--muted)}
.storefront .collection-type select{width:100%;min-height:44px;padding:10px 14px;background:var(--paper);border:1px solid var(--line);border-radius:14px;color:var(--ink);font:inherit}
@media(max-width:600px){.storefront .collection-type{max-width:none}}
.storefront #categories button[aria-pressed="true"]{color:#fff;background:var(--deep);border-color:var(--deep)}
@media(max-width:600px){.storefront #categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:8px;margin-inline:0;padding:0 0 10px}.storefront #categories button{width:100%;padding-inline:6px}}

/* Product cards use the source proportion and keep labels out of the image. */
.storefront .product .photo:has(> img){height:auto;aspect-ratio:auto;background:transparent;box-shadow:none}
.storefront .product .photo > img{position:static;inset:auto;margin:0;width:100%;height:auto;max-width:100%;max-height:none;object-fit:contain;border-radius:inherit}
.storefront .product-badges{position:static;display:flex;flex-wrap:wrap;gap:6px;max-width:none;margin:12px 0 0;pointer-events:none}
.storefront .product-badges:empty{display:none}

/* En móvil el panel de filtros se separa del catálogo con una capa suave y fácil de cerrar. */
.filters-backdrop{display:none;position:fixed;inset:0;z-index:19;border:0;padding:0;background:rgb(47 33 44 / 28%);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .2s ease}
.filters-backdrop.is-open{opacity:1;pointer-events:auto}
.filters-backdrop.is-closing{opacity:0;pointer-events:none}
@media(max-width:700px){.filters-backdrop{display:block}body.filters-open{overflow:hidden}}
/* Detail photos keep their full proportion because they are viewed one at a time. */
.storefront .detail .photo:has(> img){height:auto;aspect-ratio:auto;background:transparent}
.storefront .detail .photo > img{position:static;inset:auto;margin:0;width:100%;height:auto;max-width:100%;max-height:none;object-fit:contain}
.storefront .product:hover .photo > img{transform:none}

/* Final mobile catalog pass: the category rail stays compact and touch-friendly. */
@media(max-width:600px){
  .storefront #categories{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity;margin-inline:-4px;padding:4px;gap:8px}
  .storefront #categories::-webkit-scrollbar{display:none}
  .storefront #categories button{flex:0 0 auto;width:auto;scroll-snap-align:start;padding-inline:12px}
  .storefront .product-actions{align-items:center}
  .storefront .product-action,.storefront .product-quick-add{white-space:nowrap;padding-inline:4px;font-size:.72rem;min-height:46px}
  .storefront .detail-purchase-actions .button{white-space:nowrap;font-size:.8rem;letter-spacing:-.01em;padding-inline:8px}
}

/* Las piezas con variantes conservan la misma jerarquía de acciones que el resto del catálogo. */
.product-options-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;line-height:1.35;font-size:.8125rem;font-weight:600;border-radius:999px;text-align:center;color:#fff;border:1px solid var(--deep);background:var(--deep)}
.product-options-action:hover{background:var(--deep-hover);border-color:var(--deep-hover)}
.storefront .product-options-action{width:100%;min-height:44px;margin:0;padding:9px 12px;font-size:.76rem;letter-spacing:.01em;white-space:nowrap}
@media(max-width:600px){.storefront .product-options-action{min-height:46px;padding:9px 4px;font-size:.72rem}}

@media(max-width:600px){
  .storefront .product-actions{align-items:stretch}
  .storefront .product-options-action{white-space:normal;line-height:1.15}
}

.storefront .product-actions>button{height:100%}

.storefront .product-actions>button{margin-top:0}

/* Preserve the exact source proportion in the final cascade as well. */
.storefront .product .photo:has(> img){height:auto;aspect-ratio:auto;background:transparent;box-shadow:none}
.storefront .product .photo > img{position:static;inset:auto;margin:0;width:100%;height:auto;max-width:100%;max-height:none;object-fit:contain;border-radius:inherit}
.storefront .product-badges{position:static;display:flex;flex-wrap:wrap;gap:6px;max-width:none;margin:12px 0 0;pointer-events:none}
.storefront .product-badges:empty{display:none}

/* Simple collection entrance: give the shopper a calm choice before the full catalogue. */
.storefront .collection-guide{display:grid;grid-template-columns:minmax(210px,.7fr) minmax(0,1.8fr);gap:28px;align-items:stretch;margin-top:4px;margin-bottom:60px;padding-top:30px;border-top:1px solid var(--line)}
.storefront .collection-guide-intro{padding:8px 0}
.storefront .collection-guide-intro .eyebrow{margin:0 0 9px;color:#806b5b;font-size:.7rem}
.storefront .collection-guide-intro h2{margin:0 0 10px;font-size:2rem;letter-spacing:-.025em}
.storefront .collection-guide-intro p:last-child{max-width:22ch;margin:0;color:var(--muted);font-size:.88rem;line-height:1.55}
.storefront .collection-guide-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.storefront .collection-guide-grid button{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:148px;padding:18px 15px;border:1px solid #e1d5cc;border-radius:18px;background:#f8f2ec;color:var(--ink);text-align:left;transition:transform .2s ease,border-color .2s ease,background-color .2s ease,box-shadow .2s ease}
.storefront .collection-guide-grid button:hover,.storefront .collection-guide-grid button:focus-visible{transform:translateY(-2px);border-color:#bda5b2;background:#fffaf5;box-shadow:0 12px 24px -20px #4e3443;outline:0}
.storefront .collection-guide-grid strong{font:400 1.24rem/1.15 var(--serif);color:var(--deep)}
.storefront .collection-guide-grid span{margin-top:8px;color:var(--muted);font-size:.73rem;line-height:1.4}
.storefront .collection-guide-grid em{margin-top:auto;padding-top:18px;color:#806b5b;font-size:.7rem;font-style:normal;font-weight:650;letter-spacing:.03em}
.storefront .collection-guide-grid em b{font-size:.95rem;font-weight:500}
.storefront .catalog-more{display:flex;width:min(100%,250px);margin:30px auto 0}
@media(max-width:1000px){.storefront .collection-guide{grid-template-columns:1fr;margin-bottom:48px}.storefront .collection-guide-intro{padding:0}.storefront .collection-guide-intro p:last-child{max-width:40ch}.storefront .collection-guide-grid{grid-template-columns:repeat(5,minmax(130px,1fr));overflow-x:auto;padding-bottom:5px}.storefront .collection-guide-grid button{min-width:130px}}
@media(max-width:600px){.storefront .collection-guide{gap:18px;margin-top:0;margin-bottom:38px;padding-top:24px}.storefront .collection-guide-intro h2{font-size:1.8rem}.storefront .collection-guide-grid{grid-template-columns:repeat(5,145px);gap:8px;margin-inline:-2px}.storefront .collection-guide-grid button{min-height:126px;padding:15px 13px;border-radius:15px}.storefront .collection-guide-grid strong{font-size:1.08rem}.storefront .collection-guide-grid span{font-size:.69rem}.storefront .collection-guide-grid em{padding-top:12px;font-size:.66rem}.storefront .catalog-more{width:100%;margin-top:24px}}

/* Keep the catalogue airy: product details remain one tap away. */
.storefront .product-description{display:none}
.storefront .product h3{margin-bottom:12px}
.storefront .product-badges:has(.product-badge:nth-child(3)) .product-badge:nth-child(2){display:none}

/* Final compact pass: one category navigation and a lighter masthead. */
.storefront .header{padding-block:6px;gap:18px}
.storefront .brand img{width:122px}
.storefront .header nav{gap:20px}
.storefront .header nav a,.storefront .header nav button{font-size:.8rem}
.storefront #bag-button{min-height:42px;padding:8px 13px;font-size:.82rem}
.storefront #bag-count{min-width:22px;min-height:22px;font-size:.74rem}
.storefront .catalog{padding-top:20px}
.storefront .section-title h2{font-size:2.15rem}
.storefront .categories{margin-block:14px 22px}
.storefront .products{gap:34px 22px}
.storefront .filters{margin-bottom:22px}
.storefront .collection-type{display:none!important}
@media(max-width:600px){
  .storefront .header{padding-block:5px;gap:10px}
  .storefront .brand img{width:104px}
  .storefront .header nav{gap:10px}
  .storefront .header nav a,.storefront .header nav button{font-size:.74rem;padding-block:8px}
  .storefront #bag-button{padding:7px 10px;font-size:.74rem}
  .storefront #bag-button .ui-icon{width:17px;height:17px}
  .storefront .section-title h2{font-size:1.95rem}
}

/* Choose the audience first; product types remain a separate, compact control. */
.storefront .audience-navigation{display:flex;align-items:center;gap:22px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line);margin:0 0 24px;padding:0;white-space:nowrap}
.storefront .audience-navigation::-webkit-scrollbar{display:none}
.storefront .audience-navigation button{flex:none;min-height:46px;padding:8px 2px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);font-size:.9rem;font-weight:450}
.storefront .audience-navigation button[aria-pressed="true"]{color:var(--deep);border-bottom-color:var(--deep);font-weight:650}
.storefront .audience-navigation button:hover{color:var(--deep)}
.storefront .audience-navigation button:focus-visible{outline:2px solid var(--deep);outline-offset:-3px}
.storefront #categories[hidden]{display:none!important}
@media(max-width:600px){.storefront .audience-navigation{gap:0;justify-content:space-between;margin-bottom:20px}.storefront .audience-navigation button{min-height:44px;padding:8px 9px;font-size:.8rem}}

/* A brief introduction keeps the catalogue close, with the full editorial photo. */
.storefront .hero{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:28px;padding:24px 32px;min-height:0}
.storefront .hero-copy{padding-block:0}
.storefront .hero h1{font-size:clamp(2rem,3.2vw,3rem);margin-bottom:14px}
.storefront #hero-text{margin-bottom:18px}
.storefront .hero-actions{margin-top:0}
.storefront .hero .hero-kicker{font-size:.7rem;line-height:1.4;margin:0 0 12px;letter-spacing:.14em}
.storefront .hero-photo{width:100%;max-width:250px;height:auto;min-height:0;aspect-ratio:auto;align-self:center}
.storefront .hero-photo img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.storefront .product-sizes{margin:0 0 10px;color:var(--muted);font-size:.78rem;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:600px){
  .storefront .hero{grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);gap:14px;padding:20px 16px}
  .storefront .hero-copy:before{display:none}
  .storefront .hero .hero-kicker{margin-bottom:9px;font-size:.64rem}
  .storefront .hero h1{max-width:18ch;font-size:clamp(1.6rem,6.7vw,2rem);margin-bottom:10px}
  .storefront #hero-text{font-size:.875rem;line-height:1.45;margin-bottom:14px}
  .storefront .hero-actions .button{min-height:44px;padding:10px 12px;font-size:.8rem}
  .storefront .hero-photo{max-width:none;justify-self:end}
  .storefront .product-sizes{font-size:.75rem;margin-bottom:9px}
}

/* Quiet product information and generous touch targets, without new panels. */
.storefront .product>.favorite-button{width:44px;height:44px;font-size:1.6rem;top:6px;right:6px}
.storefront .favorite-button:focus-visible,.storefront .search-clear:focus-visible,.storefront .active-filter-chip:focus-visible{outline:2px solid var(--deep);outline-offset:2px}
.storefront .search-clear{width:44px;height:44px;right:2px;font-size:1.4rem}
.storefront .search input{padding-right:48px}
.storefront .active-filter-chip{min-height:44px;padding-block:9px}
.storefront .detail h2{font-size:clamp(1.55rem,2.8vw,2.25rem);margin-top:0}
.storefront .detail-purchase-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
.storefront .detail-purchase-actions #buy-now{width:auto;justify-self:start;padding-inline:0;text-align:left;background:transparent;color:var(--deep);border:0;min-height:44px}
.storefront .detail-links{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:flex-start;align-items:center}
.storefront .detail-links .text-button{font-size:.82rem;min-height:44px;padding-inline:0}
.storefront .detail .detail-quantity{max-width:132px}
.storefront .detail-assurances{display:grid;grid-template-columns:1fr;gap:9px;padding-top:16px;margin-top:16px}
.storefront .detail-assurances li{display:block}
.storefront .detail-assurances li>span[aria-hidden]{display:none}
.storefront .detail-assurances strong{font:600 .83rem/1.4 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.storefront .detail-assurances small{font-size:.8rem}
.storefront .floating-whatsapp{min-height:44px}
@media(max-width:700px){
  html{scroll-padding-top:148px}
  .storefront .catalog{scroll-margin-top:12px}
  .storefront #filters{scroll-padding-bottom:100px}
  .storefront .floating-whatsapp{display:none}
  .storefront .detail h2{font-size:1.6rem}
  .storefront #dialog .detail input,.storefront #dialog .detail select,.storefront #filters input,.storefront #filters select,.storefront #search{font-size:16px}
  .storefront #dialog:has(.detail) .detail-purchase-actions{position:sticky;bottom:-20px;z-index:3;background:var(--paper);padding:10px 0 calc(8px + env(safe-area-inset-bottom));margin-top:14px;border-top:1px solid var(--line)}
  .storefront .detail-purchase-actions #add-detail{margin-top:0}
  .storefront .detail-purchase-actions #buy-now{display:none}
  .storefront .detail dl{font-size:.86rem;line-height:1.55}
  .storefront .detail-assurances strong{font-size:.82rem}
}
@media(min-width:701px){html{scroll-padding-top:116px}.storefront .catalog{scroll-margin-top:14px}}

/* Keep the mobile search tools on two rows without shrinking touch targets. */
@media(max-width:600px){
  .storefront .searchbar{grid-template-columns:46px auto minmax(0,1fr);gap:8px}
  .storefront .searchbar .search{grid-column:1/-1}
  .storefront .searchbar #favorites-toggle{position:relative;min-width:46px;min-height:46px;padding:0;gap:0}
  .storefront #favorites-toggle .favorites-label{display:none}
  .storefront #favorites-toggle>span:first-child{font-size:1.45rem}
  .storefront #favorites-toggle .favorites-count{position:absolute;top:-4px;right:-3px;min-width:18px;height:18px;padding:0 4px;border:1px solid var(--paper)}
  .storefront .sort-control{grid-column:auto;min-width:0;width:auto}
  .storefront #sort-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .storefront #sort-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .storefront .sort-menu{left:auto;right:0;width:220px;max-width:calc(100vw - 32px)}
}

/* Child audiences are a compact second level within the children's collection. */
.storefront .children-navigation{display:flex;align-items:center;gap:4px;width:fit-content;max-width:100%;margin:-8px 0 22px;padding:3px;border:1px solid var(--line);border-radius:28px;background:var(--paper,#faf8f5)}
.storefront .children-navigation[hidden]{display:none}
.storefront .children-navigation button{min-height:44px;padding:8px 20px;border:0;border-radius:24px;background:transparent;color:var(--muted);font-size:.85rem;font-weight:450;white-space:nowrap}
.storefront .children-navigation button[aria-pressed=true]{background:var(--deep);color:#fff;font-weight:600}
.storefront .children-navigation button:focus-visible{outline:2px solid var(--deep);outline-offset:3px}
@media(max-width:600px){.storefront .children-navigation{margin:-6px 0 20px}.storefront .children-navigation button{padding:8px 18px;font-size:.8rem}}

/* One compact entry opens the same buying guide everywhere. */
body.storefront .buy-guide{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-block:24px;padding-block:18px;border-block:1px solid var(--line)}
body.storefront .buy-guide>div{min-width:0}
body.storefront .buy-guide .eyebrow{margin:0 0 5px;font-size:.68rem}
body.storefront .buy-guide h2{margin:0;font-size:1.7rem;line-height:1.2;letter-spacing:-.02em}
body.storefront .buy-guide-open{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;min-height:44px;padding:10px 16px;white-space:nowrap;font-size:.82rem}
.buy-guide-dialog .eyebrow{margin:0 0 6px;font-size:.7rem}
.buy-guide-dialog h2{margin-top:0}
.buy-guide-dialog ol{display:grid;gap:17px;margin:22px 0;padding:0;list-style:none;counter-reset:buy-guide}
.buy-guide-dialog li{position:relative;padding-left:43px;counter-increment:buy-guide}
.buy-guide-dialog li::before{content:counter(buy-guide,decimal-leading-zero);position:absolute;top:1px;left:0;color:var(--accent);font:400 1.25rem/1.4 var(--serif)}
.buy-guide-dialog li strong{font-size:1rem;color:var(--deep)}
.buy-guide-dialog li p{margin:4px 0 0;font-size:.94rem;line-height:1.55;color:var(--muted)}
.buy-guide-shipping{margin:18px 0;padding-top:14px;border-top:1px solid var(--line);font-size:.9rem;line-height:1.5}
@media(max-width:600px){
 body.storefront .buy-guide{gap:12px;margin-block:18px;padding:16px}
 body.storefront .buy-guide .eyebrow{font-size:.62rem}
 body.storefront .buy-guide h2{max-width:15ch;font-size:1.25rem;line-height:1.2}
 body.storefront .buy-guide-open{padding:9px 12px;font-size:.75rem}
 .buy-guide-dialog ol{gap:15px;margin:18px 0}
 .buy-guide-dialog li{padding-left:36px}
 .buy-guide-dialog li p{font-size:.9rem}
 .buy-guide-dialog>.button{display:flex;justify-content:center;width:100%;text-align:center}
}
