/* Extends the existing GĒA palette and typography without changing the home design. */
.commerce-page{max-width:1320px;margin:auto;padding:70px 5vw 100px;min-height:65vh}.commerce-page h1{font-family:'Playfair Display',serif;font-size:clamp(2.6rem,6vw,5.3rem);font-weight:500;line-height:1.05;margin:20px 0 24px}.commerce-page h2{font-family:'Playfair Display',serif;font-size:1.8rem}.commerce-lead{max-width:650px;line-height:1.7}.shop-tools{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:32px 0}.shop-tools label{display:grid;gap:8px;flex:1}.commerce-page input,.commerce-page select{font:inherit;color:inherit;background:transparent;border:1px solid #29453766;border-radius:4px;padding:12px;min-width:0}.commerce-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px}.commerce-card{min-width:0}.commerce-card img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#eee8dd;border-radius:0}.commerce-card h2{font-size:1.35rem;margin:16px 0 8px}.commerce-card a{text-decoration:none}.commerce-price{font-size:1.2rem;margin:14px 0}.commerce-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid #294537;background:#294537;color:#f7f2e8;padding:14px 22px;border-radius:3px;font:inherit;cursor:pointer;text-decoration:none}.commerce-button:disabled{opacity:.55;cursor:not-allowed}.commerce-button.secondary{background:transparent;color:#294537}.commerce-status{line-height:1.6;margin:20px 0;scroll-margin-top:110px}.commerce-status:empty{display:none}.commerce-detail{display:grid;grid-template-columns:1fr 1fr;gap:6vw;margin-top:35px;align-items:start}.commerce-detail>.commerce-photos img{width:100%;max-height:650px;object-fit:contain;background:#eee8dd}.commerce-detail h1{font-size:clamp(2.3rem,4vw,3.8rem)}.commerce-description{white-space:pre-line;line-height:1.7}.commerce-detail label{display:grid;gap:10px;margin:20px 0}.commerce-detail details{border-top:1px solid #29453744;padding:18px 0}.commerce-detail summary{cursor:pointer;font-weight:600}.commerce-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.basket-row{display:grid;grid-template-columns:88px 1fr auto;gap:20px;align-items:center;border-bottom:1px solid #29453744;padding:24px 0}.basket-row img{width:88px;aspect-ratio:1;object-fit:contain;background:#eee8dd}.basket-row h2{font-size:1.25rem}.basket-quantity{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.basket-quantity button{padding:8px 12px}.basket-summary{max-width:440px;margin:36px 0 0 auto;padding:24px;background:#e9dfea}.basket-summary p{line-height:1.6}.commerce-page a:focus-visible,.commerce-page button:focus-visible,.commerce-page input:focus-visible,.commerce-page select:focus-visible{outline:3px solid #907696;outline-offset:5px}.commerce-card img{transition:transform .35s}.commerce-card:hover img{transform:translateY(-4px)}@media(prefers-reduced-motion:reduce){.commerce-card img{transition:none;transform:none!important}}.motion-paused .commerce-card img{transition:none;transform:none!important}@media(max-width:760px){.commerce-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}.commerce-detail{grid-template-columns:1fr}.commerce-page{padding-top:36px}.basket-row{grid-template-columns:60px 1fr}.basket-row img{width:60px}.basket-quantity{grid-column:2}.commerce-card h2{font-size:1.15rem}.commerce-button{padding:12px 16px}}@media(max-width:360px){.commerce-grid{grid-template-columns:1fr}}
/* Override the original editorial image height rule for flowing shop content. */
.commerce-page img{height:auto}.nav-basket{display:none}@media(max-width:1100px){#main-nav .nav-basket{display:flex}}

/* GEA shop UX: visible category navigation + clean editorial cards */
.shop-category-nav{display:flex;gap:10px;flex-wrap:wrap;margin:30px 0 34px;padding-bottom:18px;border-bottom:1px solid #29453755}
.shop-category-nav button{appearance:none;border:1px solid #294537;background:transparent;color:#294537;padding:10px 16px;border-radius:999px;font:600 .78rem/1 Montserrat,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.shop-category-nav button:hover,.shop-category-nav button[aria-pressed="true"]{background:#294537;color:#f7f2e8}
.shop-tools{margin:0 0 34px}.shop-tools label{font:600 .75rem/1.3 Montserrat,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}.shop-tools input{margin-top:4px}
.commerce-grid{align-items:start}.commerce-card{display:flex;flex-direction:column}.commerce-card>a:first-child{display:block}.commerce-card img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:0!important;background:#eee8dd}.commerce-card h2{font-family:'Playfair Display',serif;font-size:clamp(1.35rem,2vw,1.8rem);font-weight:500;line-height:1.1;margin:16px 0 6px}.commerce-card .commerce-price{margin:6px 0 14px}.commerce-card .commerce-button.secondary{align-self:flex-start;border:0;border-top:1px solid #294537;width:100%;justify-content:space-between;padding:13px 0;border-radius:0;font:600 .76rem/1 Montserrat,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:760px){.shop-category-nav{gap:8px;margin-top:24px}.shop-category-nav button{padding:9px 12px;font-size:.7rem}.commerce-card img{aspect-ratio:1/1}}

/* HOTFIX 6: square product media and persistent category UX */
.commerce-card img,.commerce-card>a:first-child,.commerce-card{border-radius:0!important;clip-path:none!important;overflow:visible!important}
.shop-category-nav-static{position:relative;z-index:2;margin-top:34px}
.shop-category-nav-static button{border-radius:0!important;background:transparent}
.shop-category-nav-static button[aria-pressed="true"]{background:#294537;color:#f7f2e8}
@media(max-width:760px){.shop-category-nav-static{overflow-x:auto;flex-wrap:nowrap;padding-bottom:14px}.shop-category-nav-static button{white-space:nowrap}}

/* FINAL UX LOCKS */
.commerce-card,.commerce-card a,.commerce-card img{border-radius:0!important;clip-path:none!important;overflow:visible}
.commerce-card img{aspect-ratio:1/1!important;object-fit:cover!important;background:#eee8dd}
.shop-category-nav-static{display:flex!important;visibility:visible!important;opacity:1!important}
.shop-category-nav-static button{border-radius:0!important;min-height:42px}
@media(max-width:760px){.shop-category-nav-static{display:flex!important;overflow-x:auto;flex-wrap:nowrap}.shop-category-nav-static button{flex:0 0 auto}}
/* 2026-10-05 final shop UX */
.shop-category-nav-static{gap:0;border-bottom:1px solid #294537;margin-bottom:28px;overflow-x:auto;scrollbar-width:thin}
.shop-category-nav-static button{border:0!important;border-right:1px solid #294537!important;border-top:1px solid #294537!important;padding:13px 18px!important;white-space:nowrap;border-radius:0!important}
.shop-category-nav-static button:first-child{border-left:1px solid #294537!important}
.shop-category-nav-static button[aria-pressed="true"]{background:#294537!important;color:#f7f2e8!important}
.commerce-grid .commerce-card img{border-radius:0!important;clip-path:none!important;aspect-ratio:1/1!important;object-fit:cover!important;width:100%!important;height:auto!important}
#shop .products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px!important}
#shop .product-card{border-radius:0!important;clip-path:none!important;overflow:hidden;min-width:0}
#shop .product-card img.product-photo,#shop .product-card img{border-radius:0!important;clip-path:none!important;width:100%!important;aspect-ratio:1/1!important;height:auto!important;object-fit:cover!important;display:block}
#shop .product-name{font-size:clamp(1.65rem,2.5vw,2.65rem)!important;line-height:1.02!important;padding:24px 24px 18px!important}
#shop .product-bottom{padding:15px 24px!important}
@media(max-width:900px){#shop .products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#shop .products{grid-template-columns:1fr;gap:20px!important}.shop-category-nav-static button{padding:11px 13px!important;font-size:.68rem!important}}

/* FINAL11 mobile commerce QA */
@media(max-width:760px){
  .commerce-page{padding:34px 20px 70px}
  .commerce-page h1{font-size:clamp(2.35rem,13vw,4rem);overflow-wrap:anywhere}
  .shop-category-nav-static{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
  .shop-category-nav-static button{min-height:44px}
  .shop-tools{align-items:stretch;gap:12px}
  .shop-tools label{min-width:100%}
  .commerce-page input,.commerce-page select{min-height:48px;font-size:16px}
  .commerce-grid{gap:28px 14px}
  .commerce-card h2{line-height:1.25;overflow-wrap:anywhere}
  .commerce-button{min-height:46px}
  .commerce-detail{gap:28px}
  .commerce-detail>.commerce-photos img{max-height:none}
  .basket-summary{max-width:none;margin-left:0}
}
@media(max-width:430px){
  .basket-row{grid-template-columns:64px minmax(0,1fr);gap:14px}
  .basket-row img{width:64px}
  .basket-row h2{font-size:1.1rem;overflow-wrap:anywhere}
  .basket-quantity{grid-column:1/-1}
}
@media(max-width:340px){
  .commerce-page{padding-left:16px;padding-right:16px}
  .commerce-grid{grid-template-columns:1fr}
}

/* FINAL13 mobile homepage pantry: two products per row */
@media(max-width:560px){
  #shop .products[data-home-pantry="exact-six"]{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  #shop .products[data-home-pantry="exact-six"] .product-card{
    min-height:0!important;
  }
  #shop .products[data-home-pantry="exact-six"] .product-name{
    font-size:clamp(1.25rem,5.8vw,1.65rem)!important;
    line-height:1.05!important;
    padding:14px 12px 12px!important;
    overflow-wrap:anywhere;
  }
  #shop .products[data-home-pantry="exact-six"] .product-bottom{
    padding:11px 12px!important;
    font-size:.58rem!important;
    letter-spacing:.08em!important;
  }
  #shop .products[data-home-pantry="exact-six"] .product-bottom span{
    font-size:17px!important;
  }
}

/* FINAL15: BIO product marker */
.commerce-card.bio-product>a:first-child{position:relative}
.commerce-card.bio-product>a:first-child::after{content:"BIO";position:absolute;top:12px;right:12px;z-index:3;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#294537;color:#f7f2e8;font:700 .72rem/1 Montserrat,Arial,sans-serif;letter-spacing:.12em;box-shadow:0 2px 10px rgba(41,69,55,.14)}
@media(max-width:760px){.commerce-card.bio-product>a:first-child::after{top:8px;right:8px;width:42px;height:42px;font-size:.62rem}}

/* Quick add from the product catalogue: minimal image-corner bag */
.commerce-card>a:first-child{position:relative;display:block}
.commerce-card-actions{display:grid;gap:8px;margin-top:auto}
.commerce-card .commerce-quick-add{position:absolute;right:14px;bottom:72px;z-index:4;width:46px;height:46px;min-height:0;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:#294537;color:#f7f2e8;box-shadow:0 2px 9px rgba(41,69,55,.16);cursor:pointer;transition:transform .18s ease,filter .18s ease}
.commerce-card .commerce-quick-add svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.commerce-card .commerce-quick-add:hover{filter:brightness(.94);transform:translateY(-1px)}
.commerce-card .commerce-quick-add:disabled{opacity:.55}
@media(max-width:760px){.commerce-card .commerce-quick-add{right:9px;bottom:62px;width:38px;height:38px}.commerce-card .commerce-quick-add svg{width:19px;height:19px}.commerce-card-actions{gap:5px}}

/* QUICK ADD v2: icon is anchored to the photo itself, never to title/content */
.commerce-card-media{position:relative;display:block}
.commerce-card-media>a{display:block;position:relative}
.commerce-card-media img{display:block;width:100%}
.commerce-card.bio-product .commerce-card-media>a::after{content:"BIO";position:absolute;top:12px;right:12px;z-index:3;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#294537;color:#f7f2e8;font:700 .72rem/1 Montserrat,Arial,sans-serif;letter-spacing:.12em;box-shadow:0 2px 10px rgba(41,69,55,.14)}
.commerce-card.bio-product>a:first-child::after{content:none!important}
.commerce-card .commerce-quick-add{position:absolute!important;right:12px!important;bottom:12px!important;z-index:5!important;width:46px!important;height:46px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#294537!important;color:#f7f2e8!important;display:grid!important;place-items:center!important;box-shadow:0 2px 9px rgba(41,69,55,.16)!important}
.commerce-card .commerce-quick-add svg{width:23px!important;height:23px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
@media(max-width:760px){.commerce-card.bio-product .commerce-card-media>a::after{top:8px;right:8px;width:42px;height:42px;font-size:.62rem}.commerce-card .commerce-quick-add{right:8px!important;bottom:8px!important;width:38px!important;height:38px!important}.commerce-card .commerce-quick-add svg{width:19px!important;height:19px!important}}
