/* SV Studio 0.1.23 — approved rounded marketplace direction.
   Keep selectors on storefront/editorial surfaces; no checkout/payment styling. */
:root{--sv-radius-image:18px;--sv-radius-card:20px;--sv-radius-hero:24px;--sv-search-bg:#f3f2ef}

/* A single capsule, with a separately focusable 48px submit target.
   Do not clip the form: the live suggestion list must be able to extend below it. */
.site-search,.article-search-row{border:1px solid var(--line);border-radius:999px;background:var(--sv-search-bg);transition:border-color 180ms ease,box-shadow 180ms ease}
.site-search:focus-within,.article-search-row:focus-within{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.site-search input,.article-search .article-search-row input[type=search]{min-width:0;width:100%;min-height:48px;border:0;border-radius:999px 0 0 999px;background:transparent;padding:11px 20px;color:var(--ink);font-size:16px}
.site-search input:focus,.article-search-row input:focus{outline:none}
.site-search button[type=submit],.article-search-row button[type=submit]{flex:0 0 48px;min-width:48px;min-height:48px;padding:12px;border:0;border-radius:999px;background:transparent;color:var(--ink);margin:0}
.site-search button[type=submit]:hover,.article-search-row button[type=submit]:hover{background:#e9e7e2}
.site-search button[type=submit]:focus-visible,.article-search-row button[type=submit]:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.site-search .icon,.article-search-row button .icon{filter:none;width:22px;height:22px}
.article-search-row{display:flex;gap:0;align-items:center}
.article-search-row input{flex:1}
.sv-search-results{border-radius:16px}
.sv-search-item img{border-radius:8px;object-fit:contain}

/* Round the stage, not the controls: both existing slides and pause remain intact. */
.svhs-stage,.svhs .hero,.svhs-thanks{border-radius:var(--sv-radius-hero);overflow:hidden}
.svhs-statistics{border-radius:12px}
.hero:not(.svhs .hero){border-radius:var(--sv-radius-hero)}

/* Keep managed category entries and existing destinations. */
.category-strip{gap:8px;padding-block:16px;border-bottom:1px solid var(--line)}
.category-strip a{border:0!important;border-radius:16px;transition:background-color 180ms ease,color 180ms ease}
.category-strip a:hover,.category-strip a:focus-visible{background:#eeece7;color:var(--accent);text-decoration:none}

/* Real artwork stays intact; reserve equal image areas and align the price rows. */
.products-section .home-curated-grid>.product-card{border-radius:var(--sv-radius-card);padding:12px;box-shadow:none;overflow:visible}
.products-section .product-image{border-radius:var(--sv-radius-image);overflow:hidden;background:var(--surface);aspect-ratio:1;margin-bottom:12px}
.products-section .product-image img{display:block;object-fit:contain;object-position:center;width:100%;height:100%}
/* Subtle image-only zoom; fixed image frame prevents layout movement.
   Touch and reduced-motion users keep the original static artwork. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .products-section .product-image img{transition:transform 220ms cubic-bezier(.2,.8,.2,1);transform-origin:center}
 .products-section .product-image:hover img{transform:scale(1.04)}
}
.products-section .product-card h3{min-height:3.3em;line-height:1.65;margin-bottom:12px}
.products-section .product-price{margin-bottom:12px}
.woocommerce ul.products li.product{border-radius:var(--sv-radius-card)}
.woocommerce ul.products li.product a img{border-radius:var(--sv-radius-image);object-fit:contain}

/* Equal-size article cards on home; two columns on the article index.
   Cover files use an uncropped WP source, and contain protects cover lettering. */
.home .editorial .editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.home .editorial .story-feature{display:flex;flex-direction:column;min-width:0}
.home .editorial .story-image,.archive-grid .story-image{display:block;aspect-ratio:1200/630;overflow:hidden;border-radius:var(--sv-radius-image);background:var(--surface);margin-bottom:16px}
.home .editorial .story-image img,.archive-grid .story-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.home .editorial .text-link .icon,.archive-grid .text-link .icon{width:17px;height:20px;object-fit:contain}
.home .editorial .story-feature h3{font-size:18px;line-height:1.7;margin:6px 0 12px}
.home .editorial .story-feature p,.archive-grid .story-feature p{display:none}
.home .editorial .story-feature>div{display:flex;flex:1;flex-direction:column;align-items:flex-start}
.home .editorial .story-feature .text-link{margin-top:auto;min-height:44px}
.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 28px}
.article-index{margin-top:32px}.article-index h1{font-size:clamp(30px,3.2vw,44px);line-height:1.45;margin-bottom:0}.article-index .article-search{max-width:none}
.archive-grid .story-feature{min-width:0}
.archive-grid .story-feature h2,.archive-grid .story-feature h3{font-size:clamp(18px,1.6vw,23px);line-height:1.65;margin:6px 0 12px}
.archive-grid .story-feature .text-link{min-height:44px}
.article-cover,.sidebar-story img{border-radius:var(--sv-radius-image)}
.sidebar-story img{object-fit:contain;background:var(--surface)}

@media(min-width:701px){.svhs .hero,.svhs-thanks{min-height:380px}.hero-copy{padding:36px}.hero-copy h1{font-size:clamp(32px,3.8vw,54px);line-height:1.3}.hero-copy p{font-size:16px}}
@media(min-width:701px) and (max-width:1100px){.home .editorial .editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home .editorial .story-feature h3{font-size:17px}}
@media(max-width:700px){
 :root{--sv-radius-image:16px;--sv-radius-card:18px;--sv-radius-hero:20px}
 .site-search input,.article-search .article-search-row input[type=search]{padding-left:16px;padding-right:8px;font-size:16px}
 .category-strip{gap:6px;padding-block:8px}.category-strip a{flex-basis:100px;padding:12px 8px}
 .products-section .home-curated-grid>.product-card{padding:10px}.products-section .product-card h3{min-height:5.1em}
 .home .editorial .editorial-grid,.archive-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .home .editorial .story-feature h3{font-size:18px;line-height:1.7}
 .home .editorial .story-image,.archive-grid .story-image{margin-bottom:12px}
 .article-search-row button[type=submit]{flex-basis:48px;min-width:48px;padding:12px}
 .archive-grid .story-feature h2{font-size:20px}
}
@media(prefers-reduced-motion:reduce){.site-search,.article-search-row,.category-strip a{transition:none}}

/* 0.1.24: all managed categories, eight across on desktop; no hidden horizontal rail. */
.category-strip{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;overflow:visible;scroll-snap-type:none;padding-block:16px}
.category-strip>a{flex:0 0 calc((100% - 84px)/8);min-width:0;min-height:100px;padding:12px 8px;border:0;scroll-snap-align:none;font-size:14px;line-height:1.6}
.category-strip>a span{overflow-wrap:anywhere;text-wrap:balance}
@media(min-width:701px) and (max-width:1100px){.category-strip>a{flex-basis:calc((100% - 36px)/4)}}
@media(max-width:700px){.category-strip{gap:8px;padding-block:12px}.category-strip>a{flex-basis:calc((100% - 16px)/3);min-height:92px;padding:10px 4px;font-size:12px}.category-strip .icon,.category-strip .category-strip-icon{width:28px;height:28px}}
@media(max-width:359px){.category-strip>a{flex-basis:calc((100% - 8px)/2)}}

/* Reserve both slide heights and controls before the deferred carousel initializes.
   Without JS, the original first-slide-only fallback remains unchanged. */
.sv-js .svhs-stage{display:grid}
.sv-js .svhs-panel{grid-area:1/1;min-width:0}
.sv-js .svhs-panel[hidden]{display:flex!important;visibility:hidden;pointer-events:none}
.sv-js .svhs-controls[hidden]{display:flex;visibility:hidden}

/* 0.1.27: selected mobile category design; desktop remains eight across. */
.category-strip-heading{display:none}
@media(max-width:700px){
 .category-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding-block:16px}
 .category-strip-heading{display:block;grid-column:1/-1;font-size:18px;line-height:1.5;margin:0 0 4px;text-align:left}
 .category-strip>a{min-width:0;min-height:88px;flex-basis:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px 4px;border-radius:14px;background:#efeeea;font-size:12px;line-height:1.5;text-align:center}
 .category-strip>a span{max-width:100%;overflow-wrap:anywhere;text-wrap:balance}
 .category-strip .icon,.category-strip .category-strip-icon{width:24px;height:24px}
 .category-strip>a:hover,.category-strip>a:focus-visible{background:#f8e2eb;color:var(--accent)}
 .category-strip>a:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
}
