:root{--ink:#242d27;--green:#27603c;--paper:#fafbf8;--muted:#647067;--line:#dce3da;--mint:#edf3e9}*{box-sizing:border-box}html{scroll-padding-top:116px;scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid #4d993e;outline-offset:5px}.skip{position:fixed;top:-100px;left:20px;z-index:110;background:white;padding:12px}.skip:focus{top:8px}.site-header{position:fixed;inset:0 0 auto;z-index:100;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line)}.header-inner{max-width:1200px;min-height:100px;margin:auto;padding:18px 48px;display:flex;align-items:center;justify-content:space-between;gap:32px}.brand{flex-shrink:0;display:block}.brand-wide{display:block;width:250px;height:auto}.brand-compact{display:none}nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:600}nav a{padding:8px 0;white-space:nowrap}nav a:hover,nav a[aria-current]{color:var(--green);text-decoration:underline;text-underline-offset:6px}.etsy-nav{border-left:1px solid var(--line);padding-left:24px}main{padding-top:100px;min-height:calc(100svh - 200px)}.menu-toggle{display:none}.hero,.collections,.shop-note,.page-wrap{max-width:1200px;margin:auto;padding-left:48px;padding-right:48px}.hero{padding-top:92px;padding-bottom:90px;border-bottom:1px solid var(--line)}.eyebrow{color:var(--green);font-size:11px;font-weight:700;letter-spacing:.17em;margin:0 0 20px;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(36px,4.8vw,65px);letter-spacing:-.045em;line-height:1.08;margin-bottom:28px;font-weight:600}h2{font-size:34px;letter-spacing:-.035em;line-height:1.2;font-weight:600}h3{font-size:25px;line-height:1.2;letter-spacing:-.03em}.lead{font-size:19px;line-height:1.7;max-width:660px;color:var(--muted);margin-bottom:30px}.button{display:inline-flex;align-items:center;gap:34px;padding:14px 22px;background:var(--green);color:#fff;border-radius:5px;font-size:14px;font-weight:600}.button:hover{background:#19462a}.collections{padding-top:64px;padding-bottom:72px}.section-heading{margin-bottom:32px}.category-grid{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.category-card{padding:30px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transition:background .15s}.category-card:hover{background:var(--mint)}.category-number{font-size:12px;color:var(--muted);display:block;margin-bottom:32px}.category-card h3{display:flex;justify-content:space-between;gap:15px}.category-card h3 span{font-size:22px;color:var(--green)}.category-card p{max-width:350px;color:var(--muted);min-height:52px;font-size:15px}.category-status{font-size:12px;color:var(--green);font-weight:600}.shop-note{padding-top:40px;padding-bottom:65px}.shop-note p{color:var(--muted);max-width:620px}.text-link{font-size:14px;color:var(--green);font-weight:600}.text-link:hover{text-decoration:underline}.page-wrap{padding-top:36px;padding-bottom:100px}.back-link{font-size:13px;color:var(--muted);display:inline-block;margin-bottom:46px}.back-link:hover{color:var(--green)}.page-heading{padding-bottom:34px;border-bottom:1px solid var(--line)}.page-heading .lead{margin-bottom:0}.product-list{max-width:880px}.product-row{display:grid;grid-template-columns:120px 1fr;align-items:center;gap:28px;padding:30px 0;border-bottom:1px solid var(--line)}.product-row:hover h2{text-decoration:underline;text-underline-offset:4px}.product-image,.photo-placeholder{width:120px;height:120px;object-fit:contain;border-radius:5px;background:#edf0ea}.photo-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#6b776d;font-size:11px;line-height:1.4}.photo-placeholder>span{font-size:32px;line-height:1.3;margin-bottom:4px}.product-row h2{font-size:23px;margin-bottom:8px}.product-row p{color:var(--muted);font-size:15px;margin-bottom:12px;max-width:560px}.empty{padding:50px 0}.empty h2{font-size:26px}.empty p{color:var(--muted)}.product-detail{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1fr);gap:64px;align-items:start}.product-detail h1{font-size:clamp(32px,4vw,48px)}.detail-photo{background:#edf0ea;aspect-ratio:1;border-radius:8px;display:flex;align-items:center;justify-content:center}.detail-photo .product-image{width:100%;height:100%;max-height:500px}.detail-photo .photo-placeholder{width:100%;height:100%;font-size:14px;background:transparent}.detail-photo .photo-placeholder>span{font-size:56px}.product-detail .lead{font-size:17px}.details{padding-left:20px;margin:0 0 30px;color:var(--muted)}.details li{margin-bottom:8px}.availability{font-size:12px;color:var(--muted);margin-top:12px}.trivia{margin-top:32px;padding:24px;border-left:3px solid var(--green);background:var(--mint);border-radius:0 5px 5px 0}.trivia .eyebrow{margin-bottom:12px}.trivia h2{font-size:21px;margin-bottom:10px}.trivia p:last-child{font-size:15px;margin:0;color:var(--muted)}footer{max-width:1440px;margin:auto;padding:35px 48px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;align-items:start;justify-content:space-between;gap:18px;font-size:13px}footer strong{font-size:15px}footer p{color:var(--muted);margin:5px 0}footer>a{color:var(--green);font-weight:600}.footer-note{width:100%;font-size:12px}
@media(max-width:1150px){html{scroll-padding-top:88px}.header-inner{min-height:80px;padding:12px 24px}.brand-wide{display:none}.brand-compact{display:block;width:52px;height:52px;object-fit:contain}.menu-toggle{display:flex;width:46px;height:46px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:5px;background:#fff;cursor:pointer}.menu-toggle span{display:block;width:21px;height:2px;background:var(--ink)}nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;box-shadow:0 10px 18px #203c2012;border-bottom:1px solid var(--line);padding:16px 24px;max-height:calc(100dvh - 80px);overflow:auto;align-items:stretch;gap:0}nav.is-open{display:flex;flex-direction:column}nav a{padding:14px 4px}nav .etsy-nav{border-left:0;border-top:1px solid var(--line);margin-top:8px;padding-left:4px}main{padding-top:80px}}
@media(max-width:650px){.hero,.collections,.shop-note,.page-wrap{padding-left:24px;padding-right:24px}.hero{padding-top:58px;padding-bottom:55px}.lead{font-size:17px}.hero h1{font-size:39px}.collections{padding-top:42px;padding-bottom:42px}h2{font-size:29px}.category-grid{grid-template-columns:1fr}.category-card{padding:24px}.category-number{margin-bottom:20px}.category-card p{min-height:0}.page-wrap{padding-top:24px;padding-bottom:55px}.back-link{margin-bottom:30px}.page-heading h1{font-size:38px}.product-row{gap:16px;align-items:start;padding:24px 0}.product-row h2{font-size:20px}.product-row p{font-size:14px}.product-detail{grid-template-columns:1fr;gap:32px}.detail-photo{max-width:400px;width:100%}footer{padding:28px 24px}.shop-note{padding-top:20px;padding-bottom:45px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Product pricing and image browsing */
.product-row .product-image{background:transparent;border-radius:0}
.product-row .product-price,.product-price{color:var(--ink);font-size:22px;font-weight:700;margin:0 0 16px}
.product-carousel{min-width:0}.carousel-track{display:block;overflow:hidden;scrollbar-width:none;border-radius:8px}.carousel-slide{display:block;flex:0 0 100%;scroll-snap-align:start}.carousel-slide img{display:block;width:100%;height:auto}.carousel-controls{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:14px 0}.carousel-controls button{cursor:pointer;border:1px solid var(--line);border-radius:5px;background:white;width:44px;height:44px;color:var(--ink)}.carousel-controls button:hover{background:var(--mint)}.carousel-status{font-size:14px;color:var(--muted)}.gallery-link{display:inline-block;margin-bottom:15px}.gallery-page h1{font-size:clamp(32px,4vw,48px)}.gallery-jump{position:static;display:flex;gap:20px;padding:0;margin-bottom:30px;background:none;box-shadow:none;border:0}.gallery-jump a{color:var(--green);text-decoration:underline}.gallery-figure{margin:0 0 48px;scroll-margin-top:120px}.gallery-figure img{display:block;width:100%;height:auto;max-width:1200px}.gallery-figure figcaption{font-size:14px;color:var(--muted);margin-top:12px}
@media(prefers-reduced-motion:reduce){.carousel-track{scroll-behavior:auto}}

/* A quiet landing page with one featured puzzle. */
.featured-product{max-width:1200px;margin:0 auto;padding:64px 48px 72px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:64px;min-height:calc(100svh - 100px)}.featured-image{display:block}.featured-image img{display:block;width:100%;height:auto}.featured-copy h1{font-size:clamp(32px,3.9vw,53px);letter-spacing:-.04em;margin-bottom:18px;overflow-wrap:anywhere}.featured-subtitle{font-size:clamp(25px,3vw,38px);font-weight:600;line-height:1.2;letter-spacing:-.03em;margin-bottom:22px}.featured-copy .lead{font-size:17px}.carousel-slide{aspect-ratio:1}.carousel-slide img{height:100%;object-fit:contain}
@media(max-width:800px){.featured-product{grid-template-columns:1fr;gap:32px;padding:32px 24px 48px;min-height:0}.featured-image{max-width:420px;width:100%;margin:0 auto}.featured-copy{max-width:520px;margin:0 auto;width:100%}.featured-copy h1{font-size:clamp(32px,7vw,48px)}}

.product-price:has(+ .price-note){margin-bottom:2px}.product-row .price-note,.price-note{font-size:12px;color:var(--muted);margin:0 0 16px}.gift-highlight{padding:18px 20px;margin:0 0 28px;background:var(--mint);border-left:3px solid var(--green);border-radius:0 5px 5px 0}.gift-highlight .eyebrow{margin-bottom:8px}.gift-highlight h2{font-size:22px;line-height:1.3;margin:0}.product-carousel>.gallery-link{margin-top:14px}

/* Compact catalog rows: 240px images, with 20px between consecutive rows. */
.product-list{display:grid;gap:20px;max-width:none;padding-top:20px}.product-row{display:grid;grid-template-columns:240px minmax(0,1fr) 140px;column-gap:24px;row-gap:0;align-items:start;min-height:240px;padding:0;border:0}.product-photo-link{display:block;width:240px;height:240px}.product-row .product-image,.product-row .photo-placeholder{display:block;width:240px;height:240px;max-width:100%;object-fit:contain;border-radius:0;background:transparent}.product-row .photo-placeholder{display:flex;background:var(--mint);border-radius:8px}.row-info{min-width:0}.product-row h2{font-size:23px;line-height:1.25;margin:0 0 12px}.product-row:hover h2{text-decoration:none}.product-row h2 a:hover{text-decoration:underline;text-underline-offset:4px}.product-row .row-info p{font-size:15px;line-height:1.6;margin:0;max-width:560px}.row-price{text-align:right}.product-row .row-price .product-price{margin:0;font-size:22px;line-height:1.3;color:var(--ink);white-space:nowrap}.product-row .row-price .price-note{margin:4px 0 0;font-size:12px;white-space:nowrap}
@media(max-width:800px){.product-row{grid-template-columns:minmax(100px,40%) minmax(0,1fr);column-gap:20px;row-gap:12px;min-height:0}.product-photo-link{grid-column:1;grid-row:1 / span 2;width:100%;height:auto;aspect-ratio:1;max-width:240px}.product-row .product-image,.product-row .photo-placeholder{width:100%;height:auto;aspect-ratio:1}.row-info{grid-column:2}.row-price{grid-column:2;text-align:left;align-self:start}.product-row h2{font-size:20px;margin-bottom:10px}.product-row .row-info p{font-size:14px}.product-row .row-price .product-price{font-size:20px}}
/* Opt-in puzzle solutions and position-based maze help. */
[hidden]{display:none!important}.spoiler-section{margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}button.button{border:0;cursor:pointer}.spoiler-toggle{letter-spacing:.08em}.spoiler-content{max-width:900px}.spoiler-content h2{font-size:30px}.spoiler-content h3{font-size:22px;line-height:1.3;margin:28px 0 16px}.spoiler-content p{max-width:760px}.move-sequence{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:21px;font-weight:700;line-height:1.9;letter-spacing:.09em;overflow-wrap:anywhere;padding:20px;background:var(--mint);border:1px solid var(--line);border-radius:6px}.solver-note{font-size:13px;color:var(--muted)}.coordinate-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:760px}.coordinate-fields label{font-size:13px;font-weight:600}.coordinate-fields select{display:block;width:100%;padding:10px;border:1px solid #aab8aa;border-radius:5px;background:white;font:inherit;margin-top:8px}.position-map{max-width:310px;margin:24px 0}.position-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.position-grid button{min-height:44px;cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:4px}.position-grid button[aria-pressed="true"]{background:var(--green);color:white;border-color:var(--green)}.map-edge,.map-level{font-size:11px;color:var(--muted);text-align:center;margin:8px 0}.solver-error{color:#9a291c;margin-top:16px}.solver-result{margin-top:24px;border-top:1px solid var(--line)}.move-controls{display:flex;gap:14px;margin-bottom:20px}.move-controls button{padding:10px 16px;border:1px solid var(--line);border-radius:5px;background:white;cursor:pointer}.move-controls button:disabled{opacity:.45;cursor:default}.current-move{font-weight:600}.solver-result details{margin-top:24px}.solver-result summary{cursor:pointer;font-weight:600}.solver-result table{width:100%;border-collapse:collapse;font-size:13px;margin-top:14px}.solver-result th,.solver-result td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line)}@media(max-width:550px){.coordinate-fields{grid-template-columns:1fr;gap:12px}.move-sequence{font-size:18px;padding:14px}.spoiler-content h2{font-size:26px}}

/* Compact puzzle media with solutions directly beneath its 120px image. */
.puzzle-detail{grid-template-columns:minmax(240px,360px) minmax(0,1fr);gap:48px}.product-media-column{min-width:0}.puzzle-detail .product-carousel{width:120px}.puzzle-detail .carousel-track,.puzzle-detail .carousel-slide,.puzzle-detail .carousel-slide img{width:120px;height:120px}.puzzle-detail .carousel-controls{gap:5px;margin:8px 0}.puzzle-detail .carousel-status{font-size:11px}.puzzle-detail .gallery-link{font-size:11px;line-height:1.4;margin:8px 0 0}.puzzle-detail .spoiler-section{margin:16px 0 0;padding:0;border:0}.spoiler-section .spoiler-toggle{display:flex;justify-content:center;align-items:center;width:240px;max-width:100%;min-height:54px;padding:12px 16px;border:1px solid #000;border-radius:17px;background:#ffd52a;color:#ed241c;font-size:20px;font-weight:900;letter-spacing:.03em;line-height:1.2;-webkit-text-stroke:.8px #000;paint-order:stroke fill;text-shadow:-.5px -.5px 0 #000,.5px -.5px 0 #000,-.5px .5px 0 #000,.5px .5px 0 #000}.spoiler-section .spoiler-toggle:hover{background:#ffe35c}.product-media-column .spoiler-content{width:100%;max-width:360px}.product-media-column .spoiler-content h2{font-size:25px;margin:0 0 16px}.product-media-column .spoiler-content h3{font-size:20px}.product-media-column .spoiler-content p{font-size:14px;line-height:1.6}.product-media-column .spoiler-content .move-sequence{font-size:19px;line-height:1.9;padding:12px;letter-spacing:.05em}.product-media-column .coordinate-fields{grid-template-columns:1fr;gap:10px;margin:0 0 18px}.product-media-column .coordinate-fields select{margin-top:4px}.product-media-column .move-controls{gap:8px}.product-media-column .move-controls button{font-size:12px;padding:8px 10px}.product-media-column .solver-result th,.product-media-column .solver-result td{font-size:11px;padding:8px 4px;overflow-wrap:anywhere}.product-media-column .solver-result table{table-layout:fixed}.product-media-column .solver-result th:first-child{width:36px}.product-media-column .solver-result th:nth-child(2){width:36px}
@media(max-width:750px){.puzzle-detail{grid-template-columns:1fr;gap:32px}.product-media-column .spoiler-content{max-width:360px}}

/* Explicit display dimensions for the 4×4×4 and DIA-BALL-ICAL galleries. */
.puzzle-detail .product-carousel.media-240{width:240px;min-width:240px;max-width:240px}.puzzle-detail .media-240 .carousel-track,.puzzle-detail .media-240 .carousel-slide,.puzzle-detail .media-240 .carousel-slide img{width:240px;min-width:240px;max-width:240px;height:240px;min-height:240px;max-height:240px}.puzzle-detail .media-240 .carousel-slide img{object-fit:contain}

/* Button-only image switching, with no scrollable carousel surface. */
.carousel-track{overflow:hidden!important;scroll-snap-type:none}.carousel-track::-webkit-scrollbar{display:none;width:0;height:0}.carousel-slide[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0);white-space:nowrap;border:0}.carousel-controls{justify-content:space-between}


/* Consistent product imagery on every page, including mobile and image galleries. */
.product-photo-link,
.product-row .product-photo-link,
.product-image,
.product-row .product-image,
.photo-placeholder,
.product-row .photo-placeholder,
.detail-photo,
.detail-photo .product-image,
.detail-photo .photo-placeholder,
.product-carousel,
.puzzle-detail .product-carousel,
.puzzle-detail .product-carousel.media-240,
.carousel-track,
.carousel-slide,
.carousel-slide img,
.puzzle-detail .carousel-track,
.puzzle-detail .carousel-slide,
.puzzle-detail .carousel-slide img,
.puzzle-detail .media-240 .carousel-track,
.puzzle-detail .media-240 .carousel-slide,
.puzzle-detail .media-240 .carousel-slide img,
.featured-image,
.featured-image img,
.gallery-figure>a,
.gallery-figure img {
  width:240px;min-width:240px;max-width:240px;
}
.product-photo-link,
.product-row .product-photo-link,
.product-image,
.product-row .product-image,
.photo-placeholder,
.product-row .photo-placeholder,
.detail-photo,
.detail-photo .product-image,
.detail-photo .photo-placeholder,
.carousel-track,
.carousel-slide,
.carousel-slide img,
.puzzle-detail .carousel-track,
.puzzle-detail .carousel-slide,
.puzzle-detail .carousel-slide img,
.featured-image,
.featured-image img,
.gallery-figure>a,
.gallery-figure img {
  height:240px;min-height:240px;max-height:240px;
}
.product-image,.carousel-slide img,.featured-image img,.gallery-figure img{object-fit:contain}
.gallery-figure>a{display:block;overflow:hidden}
.detail-photo,.featured-image,.product-photo-link{overflow:hidden}
.carousel-track{overflow:hidden!important}
.product-row{grid-template-columns:240px minmax(0,1fr);gap:16px 24px}
.product-photo-link{grid-column:1;grid-row:1 / span 2}
.row-info,.row-price{grid-column:2;text-align:left}
.purchase-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:0 0 24px}
.price-copy{flex:0 0 auto}
.purchase-row .product-price,.product-row .purchase-row .product-price{margin:0;font-size:24px}
.purchase-row .price-note,.product-row .purchase-row .price-note{margin:4px 0 0;white-space:normal}
.etsy-button{justify-content:center;gap:0;font-size:13px;letter-spacing:.035em;padding:14px 18px;text-align:center;white-space:nowrap}
.row-price .purchase-row{margin:0}
@media(max-width:650px){
  .product-row{grid-template-columns:minmax(0,1fr);gap:16px}
  .product-row .product-photo-link{grid-column:1;grid-row:auto}
  .row-info,.row-price{grid-column:1}
  .purchase-row{gap:12px}
}
@media(max-width:650px){
  .purchase-row .etsy-button{font-size:11px;padding:13px 12px;letter-spacing:0}
  .purchase-row .product-price,.product-row .purchase-row .product-price{font-size:22px}
}

/* Stretch the vertical SVG over the entire document height; margins scroll with the page. */
html{min-height:100%;background:#edfdf4}
body{min-height:100svh;background-color:var(--paper);background-image:url('/assets/margin-mint-to-forest.svg'),url('/assets/margin-mint-to-forest.svg');background-position:left top,right top;background-size:max(0px,calc((100% - 1200px)/2)) 100%;background-repeat:no-repeat;background-attachment:scroll}
main{max-width:1200px;margin-inline:auto;background:rgba(255,255,255,.92)}
footer{max-width:1200px;background:rgba(255,255,255,.94)}

/* Second homepage feature: compatible spice storage. */
.featured-secondary{min-height:0;border-top:1px solid var(--line)}
.compatibility-note{font-size:12px;line-height:1.6;color:var(--muted);margin:20px 0 0;max-width:440px}

.featured-copy .featured-heading{font-size:clamp(32px,3.9vw,53px);letter-spacing:-.04em;line-height:1.08;margin-bottom:18px;font-weight:600;overflow-wrap:anywhere}

/* Compact homepage features: retain 34% of the former vertical spacing. */
.featured-product{min-height:0;padding-top:21.76px;padding-bottom:24.48px;align-items:start}
.featured-copy .eyebrow{margin-bottom:6.8px}
.featured-copy h1{margin-bottom:9.52px}
.featured-copy .featured-heading{margin-bottom:6.12px}
.featured-copy .featured-subtitle{margin-bottom:7.48px}
.featured-copy .lead{margin-bottom:10.2px}
.featured-copy .purchase-row{margin-bottom:8.16px}
.featured-copy .compatibility-note{margin-top:6.8px}
@media(max-width:800px){.featured-product{padding-top:10.88px;padding-bottom:16.32px;row-gap:10.88px}}

/* Persistent breadcrumb ribbon, separate from the category menu. */
:root{--header-height:150px}
html{scroll-padding-top:calc(var(--header-height) + 16px)}
main{padding-top:var(--header-height)}
.breadcrumbs{display:block!important;position:static;inset:auto;max-height:none;overflow:visible;box-shadow:none;border:0;border-top:1px solid var(--line);background:#edf3e9;padding:8px 40px;font-size:11px;line-height:1.6;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.breadcrumbs ol{display:flex;align-items:center;flex-wrap:wrap;gap:2px 0;list-style:none;max-width:1360px;padding:0;margin:0 auto}
.breadcrumbs li{display:flex;align-items:baseline;min-width:0}
.breadcrumbs li+li::before{content:'/';padding:0 10px;color:#647067}
.breadcrumbs a{display:inline;padding:2px 0;white-space:normal;color:var(--green)}
.breadcrumbs a:hover{text-decoration:underline;text-underline-offset:3px}
.breadcrumbs [aria-current]{color:var(--ink);overflow-wrap:anywhere}
@media(max-width:1150px){:root{--header-height:132px}.breadcrumbs{padding:8px 24px;font-size:10px}.breadcrumbs li+li::before{padding:0 7px}}

.product-row>.product-carousel{grid-column:1;grid-row:1 / span 2}
@media(max-width:650px){.product-row>.product-carousel{grid-column:1;grid-row:auto}}

/* Clickable 60px previews between the arrows; wrap instead of scrolling. */
.carousel-controls,.puzzle-detail .carousel-controls{display:grid;grid-template-columns:32px 126px 32px;column-gap:25px;row-gap:0;align-items:center;width:240px;margin:12px 0}
.carousel-controls>[data-direction],.puzzle-detail .carousel-controls>[data-direction]{width:32px;height:44px;padding:0}
.carousel-thumbnails{display:grid;grid-template-columns:repeat(2,60px);gap:6px;width:126px}
.carousel-controls .carousel-thumbnail{display:block;width:60px;min-width:60px;max-width:60px;height:60px;min-height:60px;max-height:60px;padding:0;overflow:hidden;border:0;border-radius:5px;background:transparent;cursor:pointer}
.carousel-thumbnail img{display:block;width:60px;height:60px;min-width:60px;max-width:60px;object-fit:contain}
.carousel-controls .carousel-thumbnail[aria-pressed="true"]{outline:2px solid var(--green);outline-offset:1px}
.carousel-controls .carousel-thumbnail:focus-visible{outline:3px solid #4d993e;outline-offset:2px}

/* In-page 960px hover preview, with click/tap and keyboard access. */
button.carousel-slide{border:0;padding:0;background:transparent;cursor:zoom-in;text-align:inherit}
[data-image-preview]{cursor:zoom-in}
.image-preview-hint{font-size:11px;line-height:1.5;color:var(--muted);margin:8px 0 0;width:240px}
.image-popup{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:transparent;pointer-events:none;padding:16px}
.image-popup-panel{--popup-size:min(960px,calc(100vw - 32px),calc(100dvh - 32px));position:relative;width:var(--popup-size);height:var(--popup-size);pointer-events:none;background:transparent;filter:none}
.image-popup-panel img{display:block;width:100%;height:100%;max-width:960px;max-height:960px;object-fit:contain}

.image-popup,.image-popup-panel,.image-popup-panel img{pointer-events:none}

/* Four touching previews below the 240px image, with room for eight images. */
.carousel-controls,.puzzle-detail .carousel-controls{display:block;width:240px;margin:0}
.carousel-thumbnails{display:grid;grid-template-columns:repeat(4,60px);grid-template-rows:repeat(2,60px);grid-auto-rows:60px;gap:0;width:240px;min-height:120px;align-content:start}
.carousel-controls .carousel-thumbnail[aria-pressed="true"]{outline:2px solid var(--green);outline-offset:-2px}
.carousel-controls .carousel-thumbnail:focus-visible{outline:3px solid #4d993e;outline-offset:-3px}
.breadcrumbs ol{width:fit-content;max-width:100%;justify-content:center;margin-inline:auto}

/* Keep the availability note immediately beside its Etsy action. */
.etsy-action{display:flex;align-items:center;gap:10px;max-width:100%;min-width:0}
.etsy-action .etsy-button{flex:0 0 auto}
.etsy-action .availability{flex:0 1 140px;max-width:140px;min-width:0;margin:0;font-size:12px;line-height:1.4;color:var(--muted)}

/* The route map is a 240px carousel panel, never an enlargement trigger. */
.carousel-slide.maze-map{width:240px;height:240px;border:1px solid #000;border-radius:19px;overflow:hidden;background:#204975;color:#fff;cursor:default}
.maze-map canvas{display:block;width:238px;height:190px;touch-action:none;cursor:grab}
.maze-map canvas.is-dragging{cursor:grabbing}
.maze-map-controls{height:30px;display:flex;align-items:center;gap:6px;padding:0 8px}
.maze-map .maze-play{display:inline-flex;align-items:center;justify-content:center;width:28px;min-width:28px;max-width:28px;height:24px;min-height:24px;max-height:24px;padding:0;border:1px solid #fff8;border-radius:4px;background:transparent;color:#fff;cursor:pointer;font-size:14px;line-height:1}
.maze-map .maze-play:disabled{opacity:.45;cursor:default}
.maze-map input[type=range]{flex:1;min-width:0;width:100%;height:24px;margin:0;accent-color:#ffe681;cursor:pointer}
.maze-map output{width:48px;flex:0 0 48px;text-align:right;font-size:10px;line-height:1.2;font-variant-numeric:tabular-nums}
.maze-map .maze-map-hint{height:18px;max-width:none;margin:0;padding:0 4px;text-align:center;font-size:9px;line-height:18px;color:#eef4fb}
.product-carousel:has(.maze-map:not([hidden]))>.image-preview-hint{visibility:hidden}

/* Product galleries: 480px viewer, seven 60px previews per row with 10px gaps. */
.product-detail,.product-detail.puzzle-detail{grid-template-columns:480px minmax(0,1fr);gap:75px}
.product-detail>div{min-width:0}
.product-detail .product-media-column{width:480px;max-width:100%}
.product-detail .product-carousel,.product-detail.puzzle-detail .product-carousel,.product-detail.puzzle-detail .product-carousel.media-480{width:480px;min-width:480px;max-width:480px}
.product-detail .carousel-track,.product-detail .carousel-slide,.product-detail .carousel-slide img,.product-detail.puzzle-detail .carousel-track,.product-detail.puzzle-detail .carousel-slide,.product-detail.puzzle-detail .carousel-slide img{width:480px;min-width:480px;max-width:480px;height:480px;min-height:480px;max-height:480px}
.product-detail .carousel-slide{cursor:default}
.product-detail .carousel-controls,.product-detail.puzzle-detail .carousel-controls{width:480px;margin:10px 0 0}
.product-detail .carousel-thumbnails{width:480px;grid-template-columns:repeat(7,60px);grid-template-rows:repeat(2,60px);grid-auto-rows:60px;gap:10px;min-height:130px}
.product-media-column .spoiler-content{max-width:480px}
.product-detail .spoiler-toggle{width:480px}
.product-detail .carousel-slide.maze-map{border-radius:38px}
.product-detail .maze-map canvas{width:478px;height:430px}
@media(max-width:1000px){.product-detail,.product-detail.puzzle-detail{grid-template-columns:minmax(0,1fr)}}
@media(max-width:575px){
 .product-detail .product-carousel,.product-detail.puzzle-detail .product-carousel,.product-detail.puzzle-detail .product-carousel.media-480{width:100%;min-width:0;max-width:480px}
 .product-detail .carousel-track,.product-detail .carousel-slide,.product-detail .carousel-slide img,.product-detail.puzzle-detail .carousel-track,.product-detail.puzzle-detail .carousel-slide,.product-detail.puzzle-detail .carousel-slide img{width:100%;min-width:0;max-width:480px;height:auto;min-height:0;max-height:480px;aspect-ratio:1}
 .product-detail .carousel-controls,.product-detail.puzzle-detail .carousel-controls{width:100%;max-width:480px}
 .product-detail .carousel-thumbnails{width:100%;grid-template-columns:repeat(auto-fill,60px)}
 .product-detail .carousel-slide.maze-map{display:flex;flex-direction:column}
 .product-detail .maze-map canvas{width:100%;height:calc(100% - 48px);min-height:0;flex:1}
 .product-detail .maze-map-controls{flex:0 0 30px}
 .product-detail .maze-map-hint{flex:0 0 18px}
}

.category-disclaimer{max-width:880px;margin:24px 0 0;color:var(--muted);font-size:15px;line-height:1.6}

/* Shared footer: centered logo, tagline and inline Etsy purchase link. */
footer{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px}
.footer-identity{max-width:100%}
.footer-brand{display:block;width:250px;max-width:100%;margin-inline:auto;line-height:0}
.footer-brand img{display:block;width:100%;height:auto}
.footer-identity p{margin-top:10px}
.footer-note a{color:var(--green);font-weight:600}
.footer-note a:hover{text-decoration:underline;text-underline-offset:3px}

/* Holder quantities and total pack prices stay directly beside the Etsy action. */
.pack-purchase{gap:16px;align-items:flex-start}
.pack-pricing{width:270px;max-width:100%;flex:0 1 270px}
.pack-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:7px;overflow:visible;background:#fff}
.pack-price{display:flex;flex-direction:column;align-items:center;padding:10px 4px 14px;text-align:center;line-height:1.35}
.pack-price+.pack-price{border-left:1px solid var(--line)}
.pack-label{font-size:12px;font-weight:600;color:var(--muted)}
.pack-price strong{font-size:20px;margin:5px 0 3px;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.pack-unit{font-size:11px;color:var(--muted)}
.pack-price:nth-child(2){background:#dce9d8;color:var(--ink)}
.pack-price:nth-child(2) .pack-label,.pack-price:nth-child(2) .pack-unit{color:#344c3b}
.pack-best{position:relative;background:var(--green);color:#fafbf8;border-radius:0 6px 6px 0}
.pack-best .pack-label,.pack-best .pack-unit{color:#edf3e9}
.pack-badge{position:absolute;right:-7px;bottom:-44px;z-index:1;display:grid;place-content:center;width:82px;height:55px;margin:0;pointer-events:none;font-size:15px;line-height:1.05;font-weight:900;font-style:italic;letter-spacing:-.04em;color:#173b31}
.pack-best .pack-badge{background:#ffe34f;border:2px solid var(--green);border-radius:50%;color:#244f34;box-shadow:inset 0 0 0 3px #fff3a6,0 2px 3px #173b3114;text-shadow:none;transform:rotate(-6deg)}
@media(max-width:380px){.pack-badge{font-size:13px}}
.pack-purchase .price-note{font-size:11px;line-height:1.5;margin-top:7px;max-width:180px}
.pack-purchase .etsy-action{display:flex;flex:0 1 210px;flex-direction:column;align-items:flex-start;gap:8px}
.pack-purchase .etsy-action .availability{flex:auto;max-width:210px}
.price-from{font-size:13px;font-weight:400;color:var(--muted)}

/* Product facts match the gallery blue and four-pixel black image frame. */
.product-detail .details{width:var(--product-details-width,100%);max-width:100%;margin:0 0 30px;padding:18px 20px 18px 36px;border:4px solid #000;border-radius:14px;background:#204975;color:#fff;font-size:16px;line-height:1.55}
.product-detail .details li{margin:0 0 10px;padding-left:2px;overflow-wrap:normal;word-break:normal}
.product-detail .details li:last-child{margin-bottom:0}
.product-detail .details li::marker{color:#fff}
.product-detail .dimension-value{white-space:nowrap}
.product-detail .trivia{width:var(--product-details-width,100%);max-width:100%;border:4px solid #000;border-radius:14px}

/* Rounded spice-holder render frames; clipped corners reveal the page beneath. */
img[src*="square-spice-holders-"][src*="uploaded-v06"],img[src*="round-spice-holders-"][src*="uploaded-v06"]{border:4px solid #000;border-radius:8%;background:transparent}

/* Updated organizer renders: rounded transparent corners and trivia-weight frames. */
img[src*="/assets/organizer-render-"]{border:4px solid #000;border-radius:8%;background:transparent}
