/* Propuesta de navegación. Solo presentación y vistas; negocio en model/store. */
:root { --store-header-height:108px; }
html { scroll-padding-top:calc(var(--store-header-height) + 20px); }
.storefront-shell { min-height:100svh; }
.storefront-shell > .shop-header {
  position:sticky; top:0; z-index:65; max-width:none; width:100%;
  display:grid; grid-template-columns:minmax(210px,1fr) auto minmax(210px,1fr);
  min-height:108px; padding:20px max(24px,calc((100vw - 1440px)/2));
  margin:0; gap:28px; background:var(--page-bg); border:0;
}
.shop-header .brand { gap:14px; }
.shop-header .brand img { width:64px; height:64px; }
.shop-header .brand-location { padding:2px 0 2px 14px; border-left:1px solid var(--border-strong); display:block; font:600 11px/1.6 'Barlow Condensed',sans-serif; letter-spacing:.08em; }
.brand-location b { font:800 22px/1.25 'Barlow Condensed',sans-serif; letter-spacing:.07em; }
.shop-header nav { gap:26px; margin:0; justify-self:center; }
.shop-header nav a { position:relative; font-size:15px; gap:7px; }
.nav-label-short { display:none; }
.shop-header nav a::after { content:''; position:absolute; bottom:-4px; left:0; right:0; height:2px; background:var(--accent); transform:scaleX(0); transition:transform 220ms var(--ease-out); transform-origin:left; }
.shop-header nav a[aria-current="page"] { color:var(--text); font-weight:800; }
.shop-header nav a[aria-current="page"]::after { transform:scaleX(1); }
.shop-header .panel-reference { color:var(--text-muted); margin:0; padding:0; border:0; }
.panel-reference .icon { width:15px; }
.shop-header .header-actions { gap:12px; margin:0; justify-self:end; }
.shop-header .header-theme { display:flex; grid-column:auto; grid-row:auto; }
.theme-switch.is-compact { width:auto!important; min-width:0!important; padding:2px; gap:0; border-radius:24px; }
.theme-switch.is-compact > button { flex:0 0 44px; width:44px; height:44px; padding:0; border-radius:50%; }
.theme-switch.is-compact > button > span { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.shop-header .account-btn { min-width:44px; gap:7px; }
.shop-header .account-btn[aria-current="page"] { color:var(--link); }
.shop-header .bag-button { min-height:44px; gap:8px; padding:8px 10px; border-radius:24px; }
.shop-header .bag-button b { border:0; padding:0; min-width:17px; }
.shop-header .bag-label { display:none; }
.store-view { min-height:calc(100svh - var(--store-header-height)); }
.store-view h1:focus { outline:none; }
.store-view .hero-copy,.store-view .product-card { animation:none; }
.store-view .hero { min-height:660px; }
.catalog-view .catalog-section { padding-top:48px; }
.view-heading h1 { font-size:clamp(34px,4vw,58px); letter-spacing:-.05em; }
.view-heading { align-items:end; margin-bottom:32px; }
.view-heading > p { max-width:280px; }
.catalog-view .catalog-tools { gap:24px; }
.catalog-view .product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px 22px; }
.product-image-button { overflow:hidden; border-radius:8px; }
.product-image-button img { transition:transform 420ms var(--ease-out); }
.catalog-view .product-title { font-size:20px; }
.catalog-view .product-desc { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:3.3em; }
.catalog-view .product-bottom strong { font-size:21px; }
.catalog-view .product-card .add-circle { min-width:44px; min-height:44px; }
.catalog-view .custom-banner { margin-top:30px; }
.house-view .story-section { padding-top:56px; align-items:center; }
.house-view .story-copy h1 { font-size:clamp(36px,4vw,58px); }
.house-view .story-copy h1 em { font-family:'DM Serif Display',Georgia,serif; color:var(--link); }
.site-footer { margin-top:0; }
.home-view .hero-buttons .button { box-shadow:0 8px 24px rgb(0 0 0 / 10%); }
.hero-image-disclosure { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
@media (hover:hover) {
  .product-image-button:hover img { transform:scale(1.035); }
  .shop-header nav a:hover::after { transform:scaleX(1); }
}
@media (max-width:1200px) {
  .storefront-shell > .shop-header { gap:22px; }
  .shop-header nav { gap:18px; }
  .shop-header nav a { font-size:14px; }
  .account-btn span { display:none; }
  .shop-header .panel-reference { padding:0; }
  .catalog-view .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:1000px) {
  .storefront-shell > .shop-header { grid-template-columns:auto 1fr; min-height:0; padding:12px 24px 0; gap:4px 16px; }
  .shop-header .header-actions { justify-self:end; grid-column:2; grid-row:1; gap:8px; }
  .shop-header nav { width:100%; grid-column:1/-1; grid-row:2; margin:0; justify-content:space-between; gap:16px; padding:0 0 8px; border:0; }
  .shop-header nav a { justify-content:center; }
  .shop-header .panel-reference { border:0; padding:0; }
  .catalog-view .catalog-tools { flex-direction:column; align-items:stretch; gap:16px; }
  .catalog-view .search-box { max-width:none; width:100%; }
  .catalog-view .category-tabs { width:100%; display:flex; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; padding-bottom:6px; }
  .catalog-view .category-tab { flex-shrink:0; }
}
@media (max-width:640px) {
  :root { --store-header-height:116px; }
  .storefront-shell > .shop-header { padding:8px 16px 0; gap:2px 8px; }
  .shop-header .brand { gap:8px; }
  .shop-header .brand img { width:44px; height:44px; }
  .shop-header .brand-location { display:block; font-size:8px; padding-left:8px; letter-spacing:.035em; }
  .shop-header .brand-location b { font-size:17px; }
  .shop-header .header-actions { gap:2px; }
  .shop-header .header-theme { width:auto; }
  .shop-header .theme-switch.is-compact { border:0; padding:0; background:transparent; }
  .shop-header .theme-switch.is-compact > button { border:0; }
  .shop-header .theme-switch.is-compact > button[aria-pressed="true"] { background:var(--surface-raised); }
  .shop-header .account-btn { width:44px; min-height:44px; }
  .shop-header .bag-button { min-width:44px; padding:0; gap:3px; border:0; }
  .shop-header .bag-button b { min-width:12px; font-size:10px; }
  .shop-header .bag-button .icon { width:18px; }
  .shop-header nav { padding:2px 0 6px; gap:4px; }
  .shop-header nav a { min-height:44px; flex:0 0 auto; font-size:12px; text-align:center; padding:0 3px; }
  .nav-label-wide { display:none; }
  .nav-label-short { display:inline; }
  .shop-header nav a::after { bottom:0; }
  .panel-reference .icon { display:none; }
  .store-view .hero { min-height:0; }
  .store-view .hero-media { height:240px; }
  .store-view .hero-copy { padding:8px 24px 32px; }
  .store-view .hero h1 { font-size:clamp(36px,9.7vw,52px); }
  .home-view .value-strip { gap:14px 20px; }
  .home-view .value-strip > span { font-size:11px; }
  .catalog-view .catalog-section { padding:28px 16px 32px; }
  .catalog-view .section-heading { display:block; margin-bottom:22px; }
  .catalog-view .section-heading .eyebrow { font-size:9px; margin-bottom:10px; }
  .catalog-view .section-heading h1 { font-size:34px; line-height:1.1; }
  .catalog-view .section-heading > p { margin-top:12px; font-size:13px; max-width:none; }
  .catalog-view .section-heading > p br { display:none; }
  .catalog-view .catalog-tools { flex-direction:column-reverse; gap:14px; }
  .catalog-view .catalog-meta { display:block; margin:14px 0 18px; font-size:10px; }
  .catalog-view .catalog-meta > span:last-child { display:none; }
  .catalog-view .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 12px; }
  .catalog-view .product-info { padding:14px 0 0; }
  .catalog-view .product-unit { min-height:13px; font-size:9px; letter-spacing:.06em; }
  .catalog-view .product-title { font-size:17px; line-height:1.25; text-align:left; margin-top:7px; min-height:43px; }
  .catalog-view .product-desc { margin-top:6px; font-size:12px; line-height:1.5; min-height:36px; }
  .catalog-view .product-bottom { margin-top:8px; gap:4px; }
  .catalog-view .product-bottom strong { font-size:18px; }
  .catalog-view .product-card small { font-size:10px; }
  .catalog-view .product-tag { font-size:8px; padding:5px 7px; top:8px; left:8px; }
  .catalog-view .product-number { display:none; }
  .house-view .story-section { padding:26px 20px 40px; gap:30px; }
  .house-view .story-copy h1 { font-size:36px; }
  .house-view .story-copy p { font-size:14px; }
  .account-page { padding-top:28px; }
  .account-heading h1 { font-size:36px; }
}
@media (prefers-reduced-motion:reduce) {
  .product-image-button img,.shop-header nav a::after { transition:none; }
}
@media (max-width:380px) {
  .storefront-shell > .shop-header { padding-inline:12px; gap:2px 4px; }
  .shop-header .brand { gap:6px; }
  .shop-header .brand img { width:40px; height:40px; }
  .shop-header .brand-location { font-size:7.5px; padding-left:6px; }
  .shop-header .brand-location b { font-size:16px; }
  .shop-header nav a { font-size:11.5px; padding-inline:2px; }
}
