/* Reference-inspired layered storefront, in KING DIY LAB's own identity. */
.collection-store .store-announcement{background:#b18a39;color:#fff;font-size:14px;letter-spacing:.035em;padding:14px 16px}
.collection-store>header:has(.menu-toggle){grid-template-columns:1fr auto 1fr;position:relative;padding:22px 4%!important;min-height:125px}
.collection-store>header .brand{grid-column:2;grid-row:1;justify-self:center}
.collection-store>header:has(.menu-toggle) .brand-logo{width:94px;height:94px}
.collection-store>header .menu-toggle{grid-column:1;justify-self:start;background:transparent;border:0;padding:10px!important;font-size:0}
.header-actions{grid-column:3;grid-row:1;display:flex;justify-content:flex-end;align-items:center;gap:15px}
.header-actions button,.header-actions a{display:grid;place-items:center;background:none;border:0;color:#171717;padding:8px;min-width:44px;min-height:44px}
.header-actions svg,.menu-toggle svg{width:26px;height:26px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.collection-store>header>.language-switch{position:absolute;right:4%;bottom:0;transform:translateY(50%);z-index:2;background:white}
.collection-store>header>.language-switch button{font-size:12px!important;min-height:26px!important;padding:3px 8px!important}
.collection-store #shop-home{padding-top:30px}
.reference-hero{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hero-copy{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:linear-gradient(145deg,#f1f0ed,#fafafa 60%,#e8e5dd);padding:40px 28px;border-radius:12px;min-height:400px}
.hero-copy p{font-size:20px;line-height:1.55;font-weight:600;max-width:560px;color:#242424;margin:0 0 20px}
.collection-store .hero-copy h1{font:750 clamp(30px,3.3vw,48px)/1.1 Arial,sans-serif!important;color:#151515;margin:8px 0 30px;letter-spacing:-.035em}
.collection-store .hero-copy .category-cta{border-radius:60px;padding:16px 36px;font-weight:700;font-size:18px}
.hero-image{position:relative;display:block;overflow:hidden;border-radius:12px;background:#26241e;min-height:400px}
.hero-image>img{position:absolute;width:100%;height:100%;object-fit:cover}
.hero-image>span{position:absolute;bottom:0;left:0;right:0;padding:32px 25px 22px;background:linear-gradient(transparent,#000b);color:white;display:flex;justify-content:space-between;font-size:20px;font-weight:600}
.category-menu{width:min(690px,calc(100% - 24px));max-width:none;max-height:94dvh;margin:auto;padding:20px 28px 30px;border:0;border-radius:7px;background:white;color:#161616;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 20px 90px #0003}
.category-menu::backdrop{background:#0006}body:has(.category-menu[open]){overflow:hidden}
.drawer-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.drawer-top img{object-fit:contain}.drawer-close{background:none;border:0;color:#171717;font:40px/1 Arial;padding:5px 10px;min-width:44px;min-height:44px}
.category-menu h2{font:700 28px/1.2 Arial;margin:0 0 22px}.menu-categories{display:grid;grid-template-columns:1fr 1fr;gap:12px}.menu-categories>a{display:grid;position:relative;isolation:isolate;aspect-ratio:1;overflow:hidden;border-radius:28px;background:#28251f;color:white;align-items:end}.menu-categories img{position:absolute;width:100%;height:100%;object-fit:cover;z-index:-2}.menu-categories>a:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#000c);z-index:-1}.menu-categories>a>span{display:flex;align-items:center;flex-direction:column;text-align:center;padding:18px 8px;font:bold 23px/1.2 Arial;gap:14px}.menu-categories small{display:inline-block;background:#f3d58c;color:#322609;border-radius:40px;padding:10px 15px;font:bold 14px/1 Arial}
.category-menu #main-navigation{display:block;margin:18px 0 0;padding:0;width:100%}.category-menu details{border:0;border-bottom:1px solid #e5e5e5;margin:0;padding:0}.category-menu summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:23px 0;cursor:pointer;font:600 21px/1.3 Arial}.category-menu summary::-webkit-details-marker{display:none}.category-menu summary:after{content:'+';font-size:30px}.category-menu details[open] summary:after{content:'−'}.category-menu .navigation-group,.category-menu .navigation-group:last-child{display:flex;flex-direction:column;gap:4px;padding-bottom:15px}.category-menu #main-navigation a,.category-menu #open-site-search{padding:10px 8px;color:#242424;background:none;border:0;text-align:left;font:16px/1.4 Arial;min-height:44px}.category-menu #main-navigation a:hover{background:#f5f1e8}
@media(max-width:700px){.collection-store>header:has(.menu-toggle){min-height:112px;padding:16px 4%!important}.collection-store>header:has(.menu-toggle) .brand-logo{width:82px;height:82px}.header-actions{gap:0}.header-actions svg{width:24px}.reference-hero{grid-template-columns:1fr;gap:8px}.hero-copy{min-height:340px;padding:30px 22px}.hero-copy p{font-size:18px}.collection-store .hero-copy h1{font-size:32px!important}.hero-image{min-height:0;aspect-ratio:1.5}.category-menu{padding:16px 18px 25px}.menu-categories>a{border-radius:22px}.menu-categories>a>span{font-size:19px;gap:12px;padding:15px 7px}.menu-categories small{font-size:12px;padding:9px 12px}.drawer-top{margin-bottom:22px}.collection-store .site-discovery{margin-top:30px}}
@media(prefers-reduced-motion:no-preference){.category-menu[open]{animation:menu-enter .18s ease-out}@keyframes menu-enter{from{transform:translateY(16px);opacity:0}to{transform:translateY(0);opacity:1}}}

/* Keep language controls in their own row, clear of collection navigation. */
.collection-store>header:has(.menu-toggle){grid-template-columns:1fr auto 1fr;row-gap:16px}
.collection-store>header:has(.menu-toggle)>.brand{grid-column:2}
.collection-store>header:has(.menu-toggle)>.language-switch{position:static;transform:none;grid-column:1/-1;grid-row:2;justify-self:end;margin:0}
.collection-store>header:has(.menu-toggle)>.language-switch button{font-size:14px!important;min-height:44px!important;padding:8px 12px!important}
.collection-store .shop-nav{display:flex;flex-wrap:wrap;gap:12px;padding:16px 0;margin:0 0 12px}
.collection-store .shop-nav a{min-height:44px;display:flex;align-items:center;justify-content:center;margin:0}
.collection-store #coming-soon{padding-top:24px}
.collection-store #coming-soon .coming-heading{margin-top:24px}
@media(max-width:700px){.collection-store .shop-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.collection-store .shop-nav a{padding:12px 8px;font-size:14px;text-align:center}}

/* Compact storefront opening with a clear headline and equal shop actions. */
.collection-store .store-announcement{padding:9px 16px;font-size:13px;line-height:1.5;letter-spacing:.02em;background:#a48035}
.collection-store>header:has(.menu-toggle){padding:12px 4% 10px!important;min-height:0;row-gap:4px}
.collection-store>header:has(.menu-toggle) .brand-logo{width:78px;height:78px}
.collection-store>header:has(.menu-toggle)>.language-switch{justify-self:center;border:0;background:#f5f3ee;padding:2px;border-radius:24px;gap:2px}
.collection-store>header:has(.menu-toggle)>.language-switch button{min-height:36px!important;padding:6px 15px!important;font-size:14px!important;border-radius:22px;border:0}
.collection-store>header:has(.menu-toggle)>.language-switch button[aria-pressed=true]{background:#e8d39d;color:#282116}
.collection-store #shop-home{padding-top:22px}
.reference-hero{gap:18px;align-items:stretch}
.hero-copy{align-items:flex-start;text-align:left;min-height:360px;padding:42px;background:#f7f6f2;border:1px solid #ebe6da;border-radius:14px}
.hero-copy .hero-eyebrow{font:600 13px/1.5 Arial,sans-serif;letter-spacing:.16em;color:#795b26;margin:0 0 18px}
.collection-store .hero-copy h1{font:500 clamp(38px,4.2vw,62px)/1.05 Georgia,'Times New Roman',serif!important;letter-spacing:-.04em;margin:0 0 22px;color:#191919}
.collection-store .hero-copy h1 span{color:#8b692c}
.hero-copy .hero-description{font:400 17px/1.6 Arial,sans-serif;color:#55534d;margin:0 0 26px;max-width:440px}
.hero-copy .beginner-actions{display:grid;grid-template-columns:1fr;gap:10px;width:100%;max-width:390px;margin:0}
.collection-store .hero-copy .category-cta{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;box-sizing:border-box;padding:13px 18px;border-radius:8px;font-size:16px;line-height:1.3;text-align:center;letter-spacing:0;background:#191919;color:#fff;border:1px solid #191919;text-decoration:none}
.collection-store .hero-copy .secondary-cta{background:#fff;color:#29251e;border-color:#b7a77f}
.collection-store .hero-copy .category-cta:hover{background:#353026;color:#fff}
.hero-image{border-radius:14px;min-height:360px}
.hero-image>span{font-size:17px;padding:38px 22px 20px}
@media(max-width:700px){
 .collection-store .store-announcement{font-size:11px;padding:8px 10px;letter-spacing:0}
 .collection-store>header:has(.menu-toggle){padding:8px 4% 10px!important;row-gap:0}
 .collection-store>header:has(.menu-toggle) .brand-logo{width:66px;height:66px}
 .collection-store>header:has(.menu-toggle)>.language-switch button{min-height:34px!important;padding:5px 14px!important}
 .collection-store #shop-home{padding-top:16px}
 .reference-hero{gap:12px}
 .hero-copy{min-height:0;padding:26px 22px;border-radius:12px}
 .hero-copy .hero-eyebrow{font-size:12px;letter-spacing:.12em;margin-bottom:12px}
 .collection-store .hero-copy h1{font-size:42px!important;margin-bottom:16px;line-height:1.05!important}
 .hero-copy .hero-description{font-size:16px;line-height:1.55;margin-bottom:20px}
 .hero-copy .beginner-actions{max-width:none;grid-template-columns:1fr;gap:9px}
 .collection-store .hero-copy .category-cta{min-height:48px;padding:12px 14px;font-size:16px}
 .hero-image{min-height:0;aspect-ratio:1.65;border-radius:12px}
}
@media(min-width:420px) and (max-width:700px){.hero-copy .beginner-actions{grid-template-columns:1fr 1.2fr}.collection-store .hero-copy .category-cta{padding:12px 8px;font-size:15px}}

/* Editable shopping bag, with touch-sized controls. */
.collection-store #cart .cart-line{display:block;padding:16px 0}
.cart-item-heading,.cart-item-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cart-item-heading{align-items:start}.cart-item-heading>span{min-width:0;overflow-wrap:anywhere}.cart-item-heading strong{white-space:nowrap}
.cart-item-actions{margin-top:10px;flex-wrap:wrap}
.collection-store #cart .quantity{display:flex;align-items:center;flex:0 0 auto;margin:0;background:#fff;border:1px solid #b9b09f;border-radius:6px}
.collection-store #cart .quantity button{min-width:44px;min-height:44px}
.collection-store #cart .cart-quantity{width:64px;min-height:44px;padding:8px 4px;text-align:center;border:0;border-radius:0;font-size:16px;appearance:textfield}
.cart-quantity::-webkit-inner-spin-button,.cart-quantity::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.collection-store #cart .cart-remove{min-height:44px;padding:8px 12px;color:#733320;background:transparent;border:1px solid #c4b8a8;border-radius:6px;font-size:14px;cursor:pointer}
#cart :is(button,input):focus-visible{outline:2px solid #8b641f;outline-offset:3px}
@media(max-width:700px){
 .collection-store>header:has(.menu-toggle){padding:6px 4%!important;min-height:0;row-gap:0}
 .collection-store>header:has(.menu-toggle) .brand-logo{width:66px;height:66px}
 .hero-copy{padding:22px 18px}
 .collection-store .hero-copy h1{font-size:clamp(28px,7vw,36px)!important;line-height:1.12!important;margin:4px 0 12px}
 .hero-copy .hero-description{margin-bottom:14px;font-weight:400}
 .hero-copy .beginner-actions{gap:8px;width:100%}
 .collection-store .hero-copy .category-cta{min-height:46px;padding:11px 10px}
}
