/* Canonical public layout tokens. Keep this file last in index.php so the
   older visual modules cannot change the geometry of an already rendered card. */
:root{--public-rail:75vw;--public-gap:18px}

#storeHome>.section.frame,#storeHome>.products.frame,#storeHome>.reviews-section.frame,#storeHome>.manifesto.frame{box-sizing:border-box!important;width:min(var(--public-rail),calc(100% - 50px))!important;max-width:var(--public-rail)!important;padding-inline:0!important;margin-inline:auto!important}
.shop-page,.collection-page,.product-page{box-sizing:border-box!important;width:var(--public-rail)!important;max-width:var(--public-rail)!important;padding-inline:0!important;margin-inline:auto!important}
#standalonePage:not(.product-host)>.page-info,#standalonePage:not(.product-host)>.page-editor-extra,#standalonePage:not(.product-host)>.page-benefits,#standalonePage:not(.product-host)>.journal-editor-body,#standalonePage:not(.product-host)>.collection-editor-body,#standalonePage:not(.product-host)>.legal-editor-body,#standalonePage .contact-info-host{box-sizing:border-box!important;width:min(var(--public-rail),calc(100% - 50px))!important;max-width:var(--public-rail)!important;margin-inline:auto!important}

.shop-grid,.product-grid,.collection-grid,.collection-editor-body .collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:var(--public-gap)!important;align-items:stretch!important}
.journal-cards,.journal-editor-body .journal-cards,.benefit-grid,.review-grid,.legal-content-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--public-gap)!important;align-items:stretch!important}
.shop-grid>.product,.product-grid>.product,.collection-grid>.collection-card,.journal-cards>.journal-card,.benefit-grid>.benefit-card,.review-grid>.review-card,.legal-content-grid>*{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:100%!important}
.shop-grid>.product,.product-grid>.product{display:flex!important;flex-direction:column!important}
.shop-grid>.product .details,.product-grid>.product .details{flex:1 1 auto!important;min-height:118px!important}
.shop-grid>.product .product-actions,.product-grid>.product .product-actions{margin-top:auto!important}
.collection-grid>.collection-card,.collection-editor-body .collection-card{min-height:420px!important;height:420px!important}
.journal-cards>.journal-card,.journal-editor-body .journal-card,.benefit-grid>.benefit-card,.review-grid>.review-card,.legal-content-grid>*{min-height:250px!important}

.contact-form-map-grid{box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--public-gap)!important;align-items:stretch!important;width:100%!important}
.contact-form-map-grid>.contact-form,.contact-form-map-grid>.contact-map{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:100%!important;margin:0!important}

.site-footer,header.top{box-sizing:border-box!important;width:var(--public-rail)!important;max-width:var(--public-rail)!important;margin-inline:auto!important}
.site-footer{display:block!important;position:relative!important;visibility:visible!important;opacity:1!important;transform:none!important;clear:both!important;isolation:isolate!important;padding-inline:0!important}
.site-footer-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--public-gap)!important}
.site-footer-card{box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:clamp(20px,2.2vw,32px)!important;border:1px solid var(--line)!important;border-radius:18px!important;background:var(--paper)!important}
.site-footer-kicker{display:block!important;margin-bottom:18px!important;color:var(--terra)!important;font:10px "DM Mono",monospace!important;letter-spacing:.12em!important;text-transform:uppercase!important}
.site-footer-brand p{margin:14px 0 0!important;color:var(--muted)!important;font-size:13px!important;line-height:1.55!important}.site-footer-brand strong{margin-top:3px!important}.site-footer-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 18px!important}.site-footer-contact{display:grid!important;gap:9px!important}.site-footer-legal{display:flex!important;justify-content:space-between!important;gap:18px!important;margin-top:18px!important;padding-top:18px!important;border-top:1px solid var(--line)!important}

/* The shop renderer has a heading row and a separate fields wrapper. Keep the
   wrappers in their intended rows; never let the five filters collapse into a
   single column. */
.shop-toolbar{display:block!important;padding:18px 0!important}.shop-toolbar-head{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:18px!important;margin-bottom:14px!important}.shop-toolbar-head>div{display:grid!important;gap:6px!important}.shop-toolbar-note{color:var(--muted)!important;font-size:14px!important}.shop-toolbar-fields{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}.shop-toolbar-fields label{display:grid!important;gap:7px!important}.shop-toolbar-fields select{width:100%!important;box-sizing:border-box!important}

#standalonePage:not(.product-host)>.inner{width:var(--public-rail)!important;max-width:var(--public-rail)!important;margin-inline:auto!important}
#standalonePage.contact-info-host>.inner{padding-inline:0!important}
#standalonePage:not(.product-host)>.inner>.contact-form-map-grid{grid-column:1/-1!important;width:100%!important;max-width:none!important}
.contact-form-map-grid{max-width:none!important}

/* Contact online only + actions whose dynamically injected styles used to win. */
.contact-form-map-grid.contact-form-only,.contact-form-map-grid:has(>.contact-form:only-child){grid-template-columns:minmax(0,1fr)!important}
.contact-form-map-grid.contact-form-only>.contact-form,.contact-form-map-grid:has(>.contact-form:only-child)>.contact-form{max-width:760px!important;margin-inline:auto!important}
#standalonePage>.contact-form[data-return-form]{width:min(100%,760px)!important;margin:56px auto 0!important}
.floating-contact .floating-whatsapp{background:#25d366!important;color:#fff!important;border-color:#25d366!important;box-shadow:0 10px 24px rgba(37,211,102,.3)!important}
.floating-contact .floating-whatsapp img{filter:brightness(0) invert(1)!important}
.product-whatsapp,.product-whatsapp-card,.whatsapp-send{background:#25d366!important;color:#102219!important;border-color:#25d366!important;opacity:1!important}
.product-whatsapp:hover,.product-whatsapp-card:hover,.whatsapp-send:hover{background:#1fbd59!important;border-color:#1fbd59!important}
.product-purchase-card>h1,.product-copy h1{font-size:clamp(28px,2.45vw,42px)!important;line-height:1.04!important}
.product-purchase-card>.product-specs-visible{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 18px!important;order:9!important;margin-top:22px!important;padding-top:18px!important;border-top:1px solid var(--line)!important}
.product-purchase-card>.product-specs-visible div{min-width:0!important}

/* Minimal home reassurance row. */
.home-benefits-strip{width:var(--public-rail);max-width:var(--public-rail);margin:42px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--public-gap)}
.home-benefit{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start;padding:20px;border:1px solid var(--line);border-radius:18px;background:rgba(255,250,244,.72)}
.home-benefit svg{width:34px;height:34px;color:var(--terra);stroke:currentColor;fill:none;stroke-width:1.7}
.home-benefit strong{display:block;font:600 17px/1.15 "Playfair Display",serif;color:var(--ink)}
.home-benefit span{display:block;margin-top:6px;color:var(--muted);font-size:12px;line-height:1.5}

/* Product-specific feedback. */
.product-reviews{grid-column:1/-1;margin-top:22px;padding:clamp(22px,3vw,36px);border:1px solid var(--line);border-radius:20px;background:var(--paper)}
.product-reviews-head{display:flex;gap:18px;align-items:end;justify-content:space-between;margin-bottom:18px}.product-reviews h2{margin:6px 0 0;font:500 clamp(25px,3vw,40px)/1.02 "Playfair Display",serif}.product-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-review{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fffaf4}.product-review b{font:600 16px/1.2 "Playfair Display",serif}.product-review p{color:var(--muted);font-size:13px;line-height:1.55}.product-review-metrics{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.product-review-metrics span{padding:5px 7px;border-radius:99px;background:rgba(199,95,67,.09);font-size:10px;color:var(--terra)}.product-review-summary{margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.55}.product-review-empty{grid-column:1/-1;display:grid;justify-items:start;gap:10px;padding:24px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);font-size:13px}.product-review-empty strong{color:var(--ink);font:600 18px/1.2 "Playfair Display",serif}.product-review-empty .outline{margin-top:4px}
.review-rating-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.review-rating-details label{margin-top:0!important}

@media(max-width:720px){.product-purchase-card>.product-specs-visible{grid-template-columns:1fr!important}.home-benefits-strip{width:calc(100% - 20px);max-width:none;grid-template-columns:1fr;margin-top:28px}.product-review-grid,.review-rating-details{grid-template-columns:1fr}.product-reviews-head{align-items:start;flex-direction:column}}

@media(max-width:900px){.shop-toolbar-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

@media(min-width:721px){
  html body header.top .actions .menu-toggle,html body .mobile-menu,html body .mobile-menu-backdrop{display:none!important}
}
@media(max-width:720px){
  html,body{max-width:100%!important;overflow-x:hidden!important}
  #storeHome>.section.frame,#storeHome>.products.frame,#storeHome>.reviews-section.frame,#storeHome>.manifesto.frame,.shop-page,.collection-page,.product-page,#standalonePage:not(.product-host)>.inner,#standalonePage:not(.product-host)>.page-info,#standalonePage:not(.product-host)>.page-editor-extra,#standalonePage:not(.product-host)>.page-benefits,#standalonePage:not(.product-host)>.journal-editor-body,#standalonePage:not(.product-host)>.collection-editor-body,#standalonePage:not(.product-host)>.legal-editor-body,#standalonePage .contact-info-host,.site-footer,header.top{width:calc(100% - 20px)!important;max-width:none!important;padding-inline:0!important}
  .shop-grid,.product-grid,.collection-grid,.collection-editor-body .collection-grid,.journal-cards,.journal-editor-body .journal-cards,.benefit-grid,.review-grid,.legal-content-grid{grid-template-columns:1fr!important;gap:14px!important}
  .collection-grid>.collection-card,.collection-editor-body .collection-card{height:360px!important;min-height:360px!important}
  .journal-cards>.journal-card,.journal-editor-body .journal-card,.benefit-grid>.benefit-card,.review-grid>.review-card,.legal-content-grid>*{height:auto!important;min-height:0!important}
  .contact-form-map-grid{grid-template-columns:1fr!important;gap:14px!important}
  .site-footer-grid{grid-template-columns:1fr!important;gap:14px!important}
  .site-footer-card{grid-column:auto!important}
  .site-footer-legal{display:grid!important;gap:8px!important}.shop-toolbar-head{align-items:start!important;flex-direction:column!important}.shop-toolbar-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}.shop-toolbar-fields label:first-child{grid-column:1/-1!important}
  header.top{position:sticky!important;z-index:1000!important;isolation:isolate!important;overflow:visible!important}
  header.top .brand-logo{width:min(122px,calc(100vw - 246px))!important;max-height:38px!important;object-fit:contain!important;object-position:left center!important}
  header.top .actions{gap:3px!important}
  header.top .actions .menu-toggle,header.top .actions .icon[aria-label="Schimbă tema"],header.top .actions .icon[aria-label="Caută produse"],header.top .actions .lang,header.top .actions #favoritesButton,header.top .actions .cart{display:grid!important;place-items:center!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;border-radius:50%!important}
  header.top .actions .lang{font-size:8px!important;line-height:1!important}
  header.top .actions .icon[aria-label="Schimbă tema"],header.top .actions .icon[aria-label="Caută produse"]{font-size:14px!important}
  header.top .actions #favoritesButton svg{width:15px!important;height:15px!important}
  header.top .actions #favoritesButton .favorites-label,header.top .actions .cart-label{display:none!important}
  header.top .actions .favorites-count,header.top .actions .cart span#cart{position:absolute!important;top:-4px!important;right:-4px!important;width:15px!important;min-width:15px!important;height:15px!important;margin:0!important;border:2px solid var(--paper)!important;font-size:8px!important;line-height:1!important}
  header.top .actions #favoritesButton,header.top .actions .cart{position:relative!important}
  .mobile-menu-backdrop{z-index:1190!important;background:rgba(35,24,19,.52)!important;backdrop-filter:blur(8px)!important}
  .mobile-menu{z-index:1200!important;background:var(--paper)!important;background-image:none!important;backdrop-filter:none!important;opacity:1!important;isolation:isolate!important}
  .mobile-menu-options{display:grid!important}
  .mobile-menu-nav button[data-mobile-search]{display:none!important}
  .floating-contact{z-index:20!important}
  body:has(#mobileMenu.open){overflow:hidden!important}
}

/* 2026-09-16 responsive rail: stable physical reading width instead of 75vw. */
:root{--public-rail:min(1600px,calc(100vw - clamp(28px,5vw,96px)));--public-gap:clamp(14px,1.2vw,22px)}
#storeHome>.section.frame,#storeHome>.products.frame,#storeHome>.reviews-section.frame,#storeHome>.manifesto.frame,.shop-page,.collection-page,.product-page,.site-footer,header.top,#standalonePage:not(.product-host)>.inner,#standalonePage:not(.product-host)>.page-info,#standalonePage:not(.product-host)>.page-editor-extra,#standalonePage:not(.product-host)>.page-benefits,#standalonePage:not(.product-host)>.journal-editor-body,#standalonePage:not(.product-host)>.collection-editor-body,#standalonePage:not(.product-host)>.legal-editor-body,#standalonePage .contact-info-host{width:var(--public-rail)!important;max-width:1600px!important}
@media (min-width:721px) and (max-width:1180px){.product-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.categories{grid-template-columns:repeat(2,minmax(0,1fr))!important}header.top nav{gap:clamp(10px,1.4vw,22px)!important}header.top{padding-inline:clamp(16px,2vw,28px)!important}}
@media (min-width:1181px) and (max-width:1500px){.product-grid,.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (min-width:1501px){.product-grid,.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}

/* Gomag-inspired product administration: same information architecture, Casa Larox styling. */
.gomag-product-card{width:min(1380px,calc(100vw - 36px))!important;max-height:calc(100dvh - 28px)!important;padding:0!important;border-radius:12px!important}
.gomag-product-card .product-editor-head{top:0!important;margin:0!important;padding:20px 24px 14px!important}
.gomag-tabs{position:sticky;top:83px;z-index:5;display:flex;gap:0;overflow-x:auto;padding:0 18px;border-bottom:1px solid var(--line);background:var(--paper);scrollbar-width:thin}
.gomag-tab{flex:0 0 auto;padding:13px 15px;border:1px solid var(--line);border-bottom:0;margin:0 -1px 0 0;border-radius:8px 8px 0 0;background:#f4f1ed;color:var(--ink);font:600 13px/1.1 'DM Sans',sans-serif;white-space:nowrap}
.gomag-tab.active{position:relative;z-index:1;background:var(--paper);color:var(--terra)}
.gomag-product-card .product-form{display:block!important;padding:0!important}.gomag-workspace{padding:28px 30px 110px}.gomag-panel{display:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.gomag-panel.active{display:grid}.gomag-panel>label,.gomag-panel>.product-detail-fields,.gomag-panel>.product-english-fields{min-width:0}.gomag-panel label.full,.gomag-panel .full,.gomag-panel>.product-detail-fields,.gomag-panel>.product-english-fields{grid-column:1/-1}.gomag-section-head{grid-column:1/-1;padding-bottom:10px;border-bottom:1px solid var(--line)}.gomag-section-head h3{margin:0 0 6px;font:600 22px/1.15 'Playfair Display',serif}.gomag-section-head p,.gomag-empty p{margin:0;color:var(--muted);font-size:14px}.gomag-empty{grid-column:1/-1;padding:28px;border:1px dashed var(--line);border-radius:10px;background:rgba(255,255,255,.35)}.gomag-empty strong{display:block;margin-bottom:7px}.gomag-auto{grid-column:1/-1;justify-self:start}.gomag-product-card .product-form-actions{position:sticky!important;bottom:0!important;margin:0!important;padding:14px 24px!important}.gomag-product-card .product-form-status{position:sticky;bottom:68px;z-index:3;margin:0;padding:6px 30px;background:var(--paper)}
@media(max-width:800px){.gomag-product-card{width:calc(100vw - 14px)!important;max-height:calc(100dvh - 14px)!important}.gomag-tabs{top:76px;padding-inline:8px}.gomag-workspace{padding:20px 16px 100px}.gomag-panel.active{grid-template-columns:1fr}.gomag-panel label.full,.gomag-panel .full,.gomag-panel>.product-detail-fields,.gomag-panel>.product-english-fields{grid-column:auto}.gomag-product-card .product-editor-head{padding-inline:16px!important}.gomag-product-card .product-form-actions{padding-inline:16px!important}}

/* Canonical fluid layout — 320px to ultrawide, independent of browser zoom. */
:root{--public-rail:min(1760px,calc(100vw - clamp(20px,4vw,80px)));--public-gap:clamp(12px,1.15vw,22px)}
body{min-width:0;overflow-x:clip}
header.top,.site-footer,#storeHome>.section.frame,#storeHome>.products.frame,#storeHome>.reviews-section.frame,#storeHome>.manifesto.frame,.home-benefits-strip,.shop-page,.collection-page,.product-page,#standalonePage:not(.product-host)>.inner,#standalonePage:not(.product-host)>.page-info,#standalonePage:not(.product-host)>.page-editor-extra,#standalonePage:not(.product-host)>.page-benefits,#standalonePage:not(.product-host)>.journal-editor-body,#standalonePage:not(.product-host)>.collection-editor-body,#standalonePage:not(.product-host)>.legal-editor-body,#standalonePage .contact-info-host{width:var(--public-rail)!important;max-width:1760px!important;margin-inline:auto!important}
.hero{box-sizing:border-box;width:var(--public-rail)!important;max-width:1760px!important;padding-inline:clamp(0px,2.5vw,46px)!important;grid-template-columns:minmax(0,.82fr) minmax(420px,1.18fr)!important;gap:clamp(32px,6vw,112px)!important}
.hero h1{font-size:clamp(54px,6.1vw,112px)!important}.hero-media{height:clamp(430px,48vw,720px)!important;min-width:0!important}
header.top{padding-inline:clamp(16px,2.4vw,42px)!important;gap:clamp(12px,2vw,32px)!important}.store-nav{min-width:0;gap:clamp(12px,1.7vw,28px)!important}.store-nav button{font-size:clamp(10px,.78vw,13px)!important}.actions{min-width:0!important;gap:clamp(6px,.8vw,12px)!important}
.product-grid,.shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.categories{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important}
.product-image{width:100%!important}.details h3{overflow-wrap:anywhere}

/* Catalog cards need a real minimum usable width. Auto-fit produced six narrow
   columns on scaled/ultrawide displays and forced the WhatsApp action outside. */
.product-actions{box-sizing:border-box!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:10px!important;padding:0!important}
.product-actions button,.product-add-card,.product-whatsapp-card{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;padding:10px 12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media(max-width:1599px){.product-grid,.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:1180px){.product-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.gomag-product-card{display:flex!important;flex-direction:column!important;overflow:hidden!important}
.gomag-product-card .product-editor-head{position:sticky!important;z-index:7!important;flex:0 0 auto!important;background:var(--paper)!important}
.gomag-tabs{top:82px!important;flex:0 0 auto!important}
.gomag-product-card .product-form{min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important}
.gomag-panel label{display:grid!important;gap:7px!important;color:var(--muted)!important;font:11px 'DM Mono',monospace!important;text-transform:uppercase!important}
.gomag-panel input,.gomag-panel select,.gomag-panel textarea{box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:12px 13px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:rgba(255,255,255,.55)!important;color:var(--ink)!important;font:14px/1.45 'DM Sans',sans-serif!important;text-transform:none!important}
.gomag-panel textarea[readonly],.gomag-panel input[readonly]{background:color-mix(in srgb,var(--paper) 87%,var(--terra) 5%)!important}
.gomag-checks{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 24px;padding:18px;border:1px solid var(--line);border-radius:10px}.gomag-checks legend{padding:0 8px;color:var(--ink);font:600 14px 'DM Sans',sans-serif}.gomag-checks label{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:8px!important;color:var(--ink)!important;font:14px 'DM Sans',sans-serif!important;text-transform:none!important}.gomag-checks input{width:18px!important;height:18px!important;padding:0!important;accent-color:var(--terra)}

@media(max-width:1180px){
  .hero{grid-template-columns:minmax(0,1fr) minmax(360px,1fr)!important;gap:40px!important}.hero h1{font-size:clamp(50px,7.4vw,84px)!important}
  header.top .store-nav{display:none!important}header.top .menu-toggle{display:grid!important;place-items:center!important}
  .dashboard.show{grid-template-columns:1fr!important}.dashboard-side{position:sticky!important;top:0!important;z-index:100!important;flex-direction:row!important;overflow-x:auto!important}.dashboard-side nav{display:flex!important;min-width:max-content!important}.dash-main{max-width:none!important;padding-inline:clamp(18px,4vw,48px)!important}
}
@media(max-width:760px){
  :root{--public-rail:calc(100vw - 20px)}
  .hero{grid-template-columns:1fr!important;padding:42px 14px 64px!important;gap:34px!important}.hero-media{height:clamp(350px,112vw,520px)!important}.hero h1{font-size:clamp(46px,13vw,72px)!important}
  .product-grid,.shop-grid,.categories{grid-template-columns:1fr!important}.stats{grid-template-columns:1fr 1fr!important}.dash-head{align-items:flex-start!important;gap:16px!important}
  .gomag-tabs{top:74px!important}.gomag-tab{padding:12px 13px!important;font-size:12px!important}.gomag-workspace{padding:18px 14px 96px!important}.gomag-panel.active{grid-template-columns:1fr!important}.gomag-checks{grid-column:auto!important}
}
@media(max-width:430px){.product-actions{grid-template-columns:1fr!important}.product-actions button,.product-add-card,.product-whatsapp-card{white-space:normal!important}}
@media(max-width:430px){
  header.top{width:calc(100vw - 12px)!important;min-height:58px!important;padding-inline:6px!important}.brand-logo{width:min(126px,calc(100vw - 158px))!important}.actions{gap:3px!important}.actions>*{flex-basis:32px!important;width:32px!important;min-width:32px!important;height:32px!important}
  .stats{grid-template-columns:1fr!important}.dash-main{padding-inline:12px!important}.product-admin-panel{padding:14px!important}
  .gomag-product-card{width:calc(100vw - 8px)!important;max-height:calc(100dvh - 8px)!important}.gomag-product-card .product-editor-head{padding:14px 12px 10px!important}.gomag-tabs{top:68px!important}.gomag-product-card .product-form-actions{display:grid!important;grid-template-columns:1fr 1fr!important;padding:12px!important}.gomag-product-card .product-form-actions button{width:100%!important}
}

/* Pagina Magazin: hero panoramic deasupra, titlu pe întreaga lățime. */
.shop-page{padding-top:clamp(24px,3vw,52px)!important}
.shop-intro{display:grid;grid-template-columns:minmax(0,.84fr) minmax(360px,1.16fr);align-items:center;gap:clamp(34px,5vw,88px);margin-bottom:clamp(42px,5vw,78px)}
.shop-hero{width:100%;height:clamp(310px,31vw,510px);margin:0;overflow:hidden;border-radius:clamp(16px,2vw,30px);background:var(--sand)}
.shop-hero img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 52%}
.shop-page-head{display:block!important;min-height:0!important;width:100%!important;margin:0!important}
.shop-page-head>div{width:100%!important;max-width:none!important}
.shop-page-head h1{width:100%!important;max-width:680px!important;margin:14px 0 22px!important;font-size:clamp(34px,3.25vw,58px)!important;line-height:1!important;letter-spacing:-.035em!important;text-wrap:balance}
.shop-page-head p{max-width:580px!important;font-size:clamp(15px,1.05vw,18px)!important}
.shop-page-head .shop-count{display:block;margin-top:22px;white-space:normal}
@media(max-width:900px){.shop-intro{grid-template-columns:1fr;gap:26px}.shop-page-head{order:1!important}.shop-hero{order:2;height:clamp(230px,58vw,390px);border-radius:16px}.shop-page-head h1{font-size:clamp(36px,8.5vw,56px)!important;line-height:.98!important}.shop-page-head p{font-size:16px!important}}

/* Home hero uses the same restrained type scale as the Magazin introduction. */
.hero h1{font-size:clamp(34px,3.25vw,58px)!important;line-height:1!important;letter-spacing:-.035em!important}
.hero>.hero-copy>p,.hero>div:first-child>p{max-width:580px!important;font-size:clamp(15px,1.05vw,18px)!important;line-height:1.6!important}
.hero .eyebrow{font-size:clamp(9px,.72vw,11px)!important}
.hero-ctas .primary,.hero-ctas .plain{font-size:clamp(11px,.82vw,13px)!important}
.hero-note{font-size:clamp(10px,.78vw,12px)!important;line-height:1.5!important}
.hero-media .float{font-size:clamp(10px,.78vw,13px)!important;line-height:1.35!important}
@media(max-width:760px){.hero h1{font-size:clamp(36px,8.5vw,56px)!important;line-height:.98!important}.hero>div:first-child>p{font-size:16px!important}}

/* Final public rail: 40px margins on desktop, compact margins on phones. */
:root{--public-rail:calc(100vw - 80px)!important}
header.top,.site-footer,#storeHome>.section.frame,#storeHome>.products.frame,#storeHome>.reviews-section.frame,#storeHome>.manifesto.frame,.home-benefits-strip,.hero,.shop-page,.collection-page,.product-page,#standalonePage:not(.product-host)>.inner,#standalonePage:not(.product-host)>.page-info,#standalonePage:not(.product-host)>.page-editor-extra,#standalonePage:not(.product-host)>.page-benefits,#standalonePage:not(.product-host)>.journal-editor-body,#standalonePage:not(.product-host)>.collection-editor-body,#standalonePage:not(.product-host)>.legal-editor-body,#standalonePage .contact-info-host{width:var(--public-rail)!important;max-width:none!important;margin-inline:auto!important}

/* Colecțiile remain directly addressable, but are no longer a navigation item. */
[data-editor-menu="collections"],.actions>.lang,.mobile-menu-nav button[onclick*="collections"],.mobile-menu-option[onclick*="toggleLang"],.site-footer a[href*="page=collections"],.footer a[onclick*="collections"],.product-english-fields{display:none!important}

/* Compact heroes for Colecții, Jurnal, Contact and editorial pages. */
.collection-page h1,#standalonePage:not(.product-host)>.inner h1,.journal-article-hero h1{font-size:clamp(34px,3.25vw,58px)!important;line-height:1!important;letter-spacing:-.035em!important;text-wrap:balance}
.collection-intro,#standalonePage:not(.product-host)>.inner p,.journal-article-hero p{font-size:clamp(15px,1.05vw,18px)!important;line-height:1.6!important}
#standalonePage:not(.product-host)>.inner{min-height:0!important;padding-block:clamp(24px,3.5vw,52px)!important;grid-template-columns:minmax(0,.84fr) minmax(320px,1.16fr)!important;gap:clamp(28px,4vw,64px)!important;align-items:center!important}
#standalonePage:not(.product-host)>.inner>img,.journal-article-hero img{width:100%!important;height:clamp(240px,26vw,380px)!important;max-height:380px!important;aspect-ratio:auto!important;object-fit:cover!important;border-radius:18px!important}

/* Accessible pagination below each product grid. */
.catalog-pagination{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;width:100%;margin:34px auto 8px}
.catalog-pagination button{min-width:42px;min-height:42px;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);font:600 12px 'DM Sans',sans-serif;cursor:pointer}
.catalog-pagination button.active{border-color:var(--terra);background:var(--terra);color:#fff}.catalog-pagination button:disabled{opacity:.38;cursor:not-allowed}

@media(max-width:900px){#standalonePage:not(.product-host)>.inner{grid-template-columns:1fr!important;gap:24px!important}#standalonePage:not(.product-host)>.inner h1,.collection-page h1,.journal-article-hero h1{font-size:clamp(36px,8.5vw,56px)!important}#standalonePage:not(.product-host)>.inner>img,.journal-article-hero img{height:clamp(220px,58vw,340px)!important}}
@media(max-width:760px){:root{--public-rail:calc(100vw - 20px)!important}.catalog-pagination{gap:6px}.catalog-pagination button{min-width:38px;min-height:38px;padding:8px 10px}}

/* Route-specific hero sizing; these selectors intentionally beat legacy page styles. */
html[data-public-page="journal"] #standalonePage:not(.product-host)>.inner h1,
html[data-public-page="contact"] #standalonePage:not(.product-host)>.inner h1{font-size:clamp(30px,2.65vw,46px)!important;line-height:1.02!important;letter-spacing:-.03em!important;margin-block:14px 18px!important}
html[data-public-page="journal"] #standalonePage:not(.product-host)>.inner,
html[data-public-page="contact"] #standalonePage:not(.product-host)>.inner{padding-block:clamp(24px,2.8vw,44px)!important;gap:clamp(26px,3.5vw,54px)!important}
html[data-public-page="journal"] #standalonePage:not(.product-host)>.inner>img,
html[data-public-page="contact"] #standalonePage:not(.product-host)>.inner>img{height:clamp(220px,22vw,330px)!important;max-height:330px!important;border-radius:16px!important}
@media(max-width:900px){:root{--public-rail:calc(100vw - 48px)!important}html[data-public-page="journal"] #standalonePage:not(.product-host)>.inner h1,html[data-public-page="contact"] #standalonePage:not(.product-host)>.inner h1{font-size:clamp(32px,7.2vw,44px)!important}html[data-public-page="journal"] #standalonePage:not(.product-host)>.inner>img,html[data-public-page="contact"] #standalonePage:not(.product-host)>.inner>img{height:clamp(210px,48vw,300px)!important}}
@media(max-width:540px){:root{--public-rail:calc(100vw - 24px)!important}}

/* Canonical alignment system: every public surface uses the same 30–46px gutter. */
:root{
  --public-gutter:clamp(30px,2.4vw,46px)!important;
  --public-rail:calc(100vw - clamp(60px,4.8vw,92px))!important;
}
header.top,
.hero,
.site-footer,
#storeHome>.section.frame,
#storeHome>.products.frame,
#storeHome>.reviews-section.frame,
#storeHome>.manifesto.frame,
.home-benefits-strip,
.shop-page,
.collection-page,
.product-page,
#standalonePage:not(.product-host)>.inner,
#standalonePage:not(.product-host)>.page-info,
#standalonePage:not(.product-host)>.page-editor-extra,
#standalonePage:not(.product-host)>.page-benefits,
#standalonePage:not(.product-host)>.journal-editor-body,
#standalonePage:not(.product-host)>.collection-editor-body,
#standalonePage:not(.product-host)>.legal-editor-body,
#standalonePage>.page-faq,
#standalonePage>.journal-article-page,
#standalonePage .contact-info-host{
  box-sizing:border-box!important;
  width:var(--public-rail)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
/* Internal cards fill their aligned parent instead of creating a second, random rail. */
#storeHome .categories,
#storeHome .product-grid,
#storeHome .review-grid,
.shop-page .shop-toolbar,
.shop-page .shop-grid,
.collection-page .collection-grid,
#standalonePage .page-info,
#standalonePage .benefit-grid,
#standalonePage .journal-cards,
#standalonePage .contact-grid{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* One responsive header system. These selectors deliberately outrank the
   legacy styles injected by JavaScript after this stylesheet. */
html body header.top.top .actions.actions .lang{display:none!important}

@media (min-width:1401px){
  html body header.top.top .actions.actions .menu-toggle{display:none!important}
  html body aside#mobileMenu.mobile-menu,
  html body #mobileMenuBackdrop.mobile-menu-backdrop{display:none!important}
}

/* Tablet / scaled desktop: use the compact navigation consistently. */
@media (min-width:721px) and (max-width:1400px){
  html body header.top.top{
    display:flex!important;
    grid-template-columns:none!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:14px!important;
    padding:9px 16px!important;
  }
  html body header.top.top .brand.brand{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  html body header.top.top .brand-logo.brand-logo{
    width:clamp(150px,19vw,190px)!important;
    max-width:100%!important;
  }
  html body header.top.top .store-nav.store-nav{display:none!important}
  html body header.top.top .actions.actions{
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
    min-width:0!important;
  }
  html body header.top.top .actions.actions .menu-toggle,
  html body header.top.top .actions.actions .icon[aria-label="Schimbă tema"],
  html body header.top.top .actions.actions .icon[aria-label="Caută produse"],
  html body header.top.top .actions.actions #customerAccountButton,
  html body header.top.top .actions.actions #favoritesButton,
  html body header.top.top .actions.actions .cart{
    position:relative!important;
    box-sizing:border-box!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 42px!important;
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0!important;
    gap:0!important;
    border-radius:50%!important;
    font-size:16px!important;
  }
  html body header.top.top .actions.actions #customerAccountButton .customer-account-label,
  html body header.top.top .actions.actions #favoritesButton .favorites-label,
  html body header.top.top .actions.actions .cart .cart-label{display:none!important}
  html body header.top.top .actions.actions .cart .cart-icon{
    display:block!important;
    width:18px!important;
    height:18px!important;
  }
  html body header.top.top .actions.actions #favoritesButton .favorites-count,
  html body header.top.top .actions.actions .cart span#cart{
    position:absolute!important;
    top:-4px!important;
    right:-4px!important;
    display:grid!important;
    place-items:center!important;
    box-sizing:border-box!important;
    width:17px!important;
    min-width:17px!important;
    height:17px!important;
    margin:0!important;
    padding:0!important;
    border:2px solid var(--paper)!important;
    border-radius:50%!important;
    font-size:9px!important;
    line-height:1!important;
  }
  html body aside#mobileMenu.mobile-menu,
  html body #mobileMenuBackdrop.mobile-menu-backdrop{display:block!important}
}

/* Drawer: navigation stays scrollable; the duplicated theme control is removed. */
html body aside#mobileMenu.mobile-menu{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
}
html body aside#mobileMenu.mobile-menu .mobile-menu-nav.mobile-menu-nav{display:grid!important}
html body aside#mobileMenu.mobile-menu .mobile-menu-nav.mobile-menu-nav button{
  display:flex!important;
  flex:0 0 auto!important;
}
html body aside#mobileMenu.mobile-menu div.mobile-menu-options.mobile-menu-options{
  display:none!important;
  visibility:hidden!important;
  block-size:0!important;
  min-block-size:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
html body aside#mobileMenu.mobile-menu .mobile-menu-foot.mobile-menu-foot{
  position:static!important;
  margin-top:22px!important;
  padding-bottom:8px!important;
}

/* Mobile: five equal controls; account remains available outside this tight row. */
@media (max-width:720px){
  html body header.top.top{
    display:flex!important;
    grid-template-columns:none!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:6px!important;
    padding:8px 12px!important;
  }
  html body header.top.top .brand.brand{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  html body header.top.top .brand-logo.brand-logo{
    width:min(158px,calc(100vw - 218px))!important;
    min-width:108px!important;
    max-width:100%!important;
  }
  html body header.top.top .store-nav.store-nav{display:none!important}
  html body header.top.top .actions.actions{
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    gap:5px!important;
    min-width:0!important;
  }
  html body header.top.top .actions.actions #customerAccountButton{display:none!important}
  html body header.top.top .actions.actions .menu-toggle,
  html body header.top.top .actions.actions .icon[aria-label="Schimbă tema"],
  html body header.top.top .actions.actions .icon[aria-label="Caută produse"],
  html body header.top.top .actions.actions #favoritesButton,
  html body header.top.top .actions.actions .cart{
    position:relative!important;
    box-sizing:border-box!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 36px!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    gap:0!important;
    border-radius:50%!important;
    font-size:15px!important;
  }
  html body header.top.top .actions.actions #favoritesButton .favorites-label,
  html body header.top.top .actions.actions .cart .cart-label{display:none!important}
  html body header.top.top .actions.actions #favoritesButton svg,
  html body header.top.top .actions.actions .cart .cart-icon{
    display:block!important;
    width:16px!important;
    height:16px!important;
  }
  html body header.top.top .actions.actions #favoritesButton .favorites-count,
  html body header.top.top .actions.actions .cart span#cart{
    position:absolute!important;
    top:-4px!important;
    right:-4px!important;
    display:grid!important;
    place-items:center!important;
    box-sizing:border-box!important;
    width:15px!important;
    min-width:15px!important;
    height:15px!important;
    margin:0!important;
    padding:0!important;
    border:2px solid var(--paper)!important;
    border-radius:50%!important;
    font-size:8px!important;
    line-height:1!important;
  }
  html body aside#mobileMenu.mobile-menu,
  html body #mobileMenuBackdrop.mobile-menu-backdrop{display:block!important}
}

@media (max-width:430px){
  html body header.top.top .brand-logo.brand-logo{
    width:min(132px,calc(100vw - 190px))!important;
    min-width:96px!important;
  }
  html body header.top.top .actions.actions{gap:4px!important}
  html body header.top.top .actions.actions .menu-toggle,
  html body header.top.top .actions.actions .icon[aria-label="Schimbă tema"],
  html body header.top.top .actions.actions .icon[aria-label="Caută produse"],
  html body header.top.top .actions.actions #favoritesButton,
  html body header.top.top .actions.actions .cart{
    flex-basis:32px!important;
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    min-height:32px!important;
  }
}

.product-actions .product-add-card,
.product-actions .product-whatsapp-card {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* September 2026: compact public layout and predictable product controls. */
@media (min-width:1200px){
  :root{--public-rail:calc(100vw - 300px)!important;--public-gap:14px!important}
}
@media (min-width:721px) and (max-width:1199px){
  :root{--public-rail:calc(100vw - 96px)!important;--public-gap:14px!important}
}
@media (max-width:720px){
  :root{--public-rail:calc(100vw - 28px)!important;--public-gap:12px!important}
}

/* The navigation participates in the page flow: content never passes behind it. */
html body header.top.top{position:relative!important;top:auto!important;z-index:20!important}
html body .cart-backdrop{z-index:1290!important}
html body .cart-drawer{z-index:1300!important}

/* Tighter rhythm, smaller headings, and matching arched product media on home/shop. */
.hero{padding-block:clamp(38px,4vw,62px)!important;gap:clamp(26px,4vw,64px)!important}
.section,.products{padding-top:clamp(56px,6vw,88px)!important}
.heading{margin-bottom:clamp(20px,2vw,28px)!important}
.hero h1,.shop-page-head h1,.collection-page h1,#standalonePage:not(.product-host)>.inner h1{font-size:clamp(32px,2.7vw,48px)!important;letter-spacing:-.03em!important}
.heading h2{font-size:clamp(27px,2.35vw,42px)!important;letter-spacing:-.025em!important}
.shop-intro{gap:clamp(24px,3vw,48px)!important;margin-bottom:clamp(28px,3.5vw,48px)!important}
.shop-toolbar{padding-block:12px!important;margin-bottom:22px!important}
.shop-toolbar-fields{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important}
.product-image{border-radius:42% 42% 12px 12px!important}
.shop-grid>.product,.product-grid>.product{height:auto!important;align-self:start!important}
.shop-grid>.product .details,.product-grid>.product .details{flex:0 0 auto!important;min-height:0!important;padding-block:10px!important}
.shop-grid>.product .product-actions,.product-grid>.product .product-actions{margin-top:0!important}
.product .details h3{font-size:15px!important;line-height:1.15!important}
.product-actions{margin-top:4px!important;gap:8px!important}

/* Product editor: identity first, then the detailed fields in their own tabs. */
.gomag-identity{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.gomag-identity>label{display:grid;gap:7px;min-width:0}
.gomag-panel .product-template-picker{order:-1!important;grid-column:1/-1!important;padding:14px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:rgba(199,95,67,.06)!important}

@media (max-width:900px){
  .hero{grid-template-columns:1fr!important}
  .hero-media{order:-1!important}
  .shop-toolbar-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:720px){
  .hero{padding-block:26px 46px!important;gap:24px!important}
  .hero h1,.shop-page-head h1,.collection-page h1,#standalonePage:not(.product-host)>.inner h1{font-size:clamp(31px,8.5vw,44px)!important}
  .shop-toolbar-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .shop-toolbar-fields label:first-child{grid-column:auto!important}
  .gomag-identity{grid-template-columns:1fr!important}
}

/* Card actions stay readable at every catalogue width. */
.product-actions{grid-template-columns:1fr!important;gap:8px!important}
.product-actions .product-add-card,.product-actions .product-whatsapp-card{min-height:46px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}

/* Complete customer account: readable history, returns, favourites and profile. */
.customer-dashboard-tabs{display:flex;gap:4px;overflow-x:auto;margin:18px 0 16px;padding-bottom:7px;border-bottom:1px solid var(--line)}
.customer-dashboard-tabs button{flex:0 0 auto;border:0;border-bottom:2px solid transparent;padding:8px 10px;background:none;color:var(--muted);font:600 12px 'DM Sans',sans-serif}
.customer-dashboard-tabs button.active{border-color:var(--terra);color:var(--ink)}
.customer-dashboard-content{display:grid;gap:12px}.customer-account-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.customer-account-summary article{padding:13px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.32)}.customer-account-summary span,.customer-account-summary strong{display:block}.customer-account-summary span{color:var(--muted);font-size:11px}.customer-account-summary strong{margin-top:6px;font:600 25px/1 'Playfair Display',serif}.customer-account-list{display:grid;gap:10px}.customer-account-record{display:grid;grid-template-columns:1fr auto;gap:6px 14px;padding:14px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.32)}.customer-account-record b,.customer-account-record small{display:block}.customer-account-record small,.customer-account-record p{color:var(--muted);font-size:12px}.customer-account-record p{grid-column:1/-1;margin:2px 0 0;line-height:1.45}.customer-account-record>strong{font-size:13px;text-align:right}.customer-account-empty{padding:20px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px;line-height:1.5}.customer-favorites-list{display:grid;gap:9px}.customer-favorite{display:grid;grid-template-columns:52px 1fr auto auto;gap:10px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.32)}.customer-favorite img{width:52px;height:52px;border-radius:9px;object-fit:cover}.customer-favorite b,.customer-favorite small{display:block}.customer-favorite small{margin-top:4px;color:var(--muted);font-size:12px}.customer-favorite .outline,.customer-favorite .plain{padding:7px 9px;font-size:11px}.customer-consent{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px!important;color:var(--ink)!important;font:13px 'DM Sans',sans-serif!important;text-transform:none!important}.customer-profile-head>.plain{margin-left:auto}

/* Keep the account action in the visible mobile header, not only in its drawer. */
@media(max-width:720px){
  html body header.top.top .actions.actions #customerAccountButton{position:relative!important;box-sizing:border-box!important;display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border-radius:50%!important}
  html body header.top.top .actions.actions #customerAccountButton .customer-account-label{display:none!important}
  .customer-account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-favorite{grid-template-columns:48px 1fr auto}.customer-favorite .plain{grid-column:2/4;justify-self:start}
}
@media(max-width:430px){
  html body header.top.top .actions.actions{gap:3px!important}
  html body header.top.top .actions.actions #customerAccountButton{flex-basis:28px!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important}
  html body header.top.top .actions.actions #customerAccountButton .customer-avatar-mini{width:16px!important;height:16px!important;font-size:7px!important}
}

/* The upper-left hero annotation was intentionally removed from the homepage. */
.hero-media .float.one{display:none!important}
