/* Shared storefront rhythm. Mobile composition is independent of the panorama. */
:root{--shg-space-section:clamp(32px,4vw,64px);--shg-touch:44px}
.mobile-category-select{display:none}
.mobile-category-select[hidden]{display:none!important}
:where(a,button,select,input,summary):focus-visible{outline:2px solid #80523e;outline-offset:4px}
.header-actions>a,.header-actions>button{min-width:44px;min-height:44px;align-items:center;justify-content:center}
.header-actions>a{display:inline-flex}
.store-main .showcase-group .benefits strong{font-weight:500}
.store-main #collection{padding-block:var(--shg-space-section)}
.store-main .product-info h3,.catalog-grid .product-info h3{font-weight:500}
.product-grid .product-card{container-type:inline-size}
.store-main .category-section{padding-block:var(--shg-space-section);border-top:1px solid var(--line)}
.store-main .story{margin-block:16px var(--shg-space-section)}
@container (max-width:210px){
 .product-info h3{font-size:14px!important;line-height:1.5}
 .product-info{padding:14px 12px!important}
 .product-kicker{font-size:12px}
 .product-bottom>strong{font-size:19px}
}
@media(min-width:901px){
 .site-header .header-inner.wrap{row-gap:10px;padding-top:14px;padding-bottom:0}
 .site-header .header-inner .brand{width:190px}
 .site-header .brand img{width:145px;height:60px;object-fit:contain}
 .site-header .header-product-search{max-width:680px}
 .site-header .desktop-nav>a,.site-header .corporate-menu summary{padding-block:15px}
 .store-layout{grid-template-columns:180px minmax(0,1fr);gap:26px;padding-top:26px}
 .store-sidebar .store-category-nav a{font-size:15px;padding:14px 12px;line-height:1.5}
 .store-main .showcase-group .hero-copy{max-width:62%}
 .store-main .showcase-group .hero-shade{background:linear-gradient(90deg,#eeeae2 0%,#eeeae2ed 25%,#eeeae2b3 43%,#eeeae20d 70%,transparent 100%)}
 .store-main .showcase-group .hero-heading-line,.store-main .showcase-group .hero-heading-line>span{color:#2d302b}
 .store-main .showcase-group .hero-heading-accent,.store-main .showcase-group .hero-heading-accent>span{color:#80523e}
 .store-main .showcase-group .hero-description{color:#565a53}
 .store-main .showcase-group .hero .text-link,.store-main .showcase-group .slider-choice,.store-main .showcase-group .showcase-detail-link{color:#4f5148;text-shadow:none}
 .store-main .showcase-group .slider-choice small{color:#746956}
 .store-main .showcase-group .slider-choice strong{color:#4f5148}
 .store-main .showcase-group .slider-choice.is-active strong{color:#80523e}
 .store-main .showcase-group .slider-choice::after{background:#80523e}
 .store-main .showcase-group .slider-choice.is-active{color:#80523e}
 .store-main .showcase-group .slider-choice .choice-symbol{border-color:#ab9278;color:#80523e}
 .store-main .showcase-group .benefits{padding-block:22px}
 .store-main .showcase-group .benefits strong{font-size:15px}
 .store-main .showcase-group .benefits small{font-size:13px}
 .store-main .showcase-group .benefit-icon{width:24px}
 .store-main .showcase-group .benefits>div{gap:12px}
}
@media(min-width:1101px){.store-main .showcase-group .benefits:not([hidden]){grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.store-main .showcase-group .benefits>div+div{border-left:1px solid var(--line);padding-left:16px}}
@media(max-width:900px){
 .site-header .header-inner.wrap{width:calc(100% - 32px);gap:10px 16px;padding:10px 0 14px}
 .site-header .header-inner .brand{width:auto;flex:1}
 .site-header .brand img{width:126px;height:56px;object-fit:contain}
 .site-header .header-actions{gap:4px;margin-left:auto}
 .site-header .header-actions .account-link{display:none}
 .site-header .header-product-search{order:3;flex:0 0 100%;max-width:none;min-height:48px;margin:0}
 .site-header .header-product-search input{padding:12px 16px;font-size:16px}
 .site-header .header-product-search button{min-width:48px;min-height:48px;padding:10px}
 .site-header .mobile-nav:not([hidden]){display:block;max-height:calc(100dvh - 180px);overflow:auto;padding:8px 20px 24px;border-top:1px solid var(--line)}
 .site-header .mobile-nav>a,.site-header .mobile-nav summary{font-size:16px;min-height:48px;padding:12px 0}
 .site-header .mobile-nav .corporate-menu-links a{white-space:normal;font-size:15px}
 .store-layout{width:calc(100% - 32px);padding:16px 0 0}
 .store-main .showcase-group{border-radius:18px}
 .store-main .showcase-group .shg-slider{height:auto;min-height:0;max-height:none;display:flex;flex-direction:column;background:#eeeae1}
 .store-main .showcase-group .hero-slides{position:relative;inset:auto;display:grid;min-height:0}
 .store-main .showcase-group .hero-slide{position:relative;inset:auto;grid-area:1/1;display:flex;flex-direction:column;min-width:0;min-height:0;background:#f3f0e9}
 .store-main .showcase-group .hero-background,.store-main .showcase-group .hero-slide.is-active .hero-background{
  position:relative;inset:auto;z-index:0;width:100%;max-width:100%;height:clamp(220px,58vw,380px);object-fit:cover;object-position:right center;transform:none;animation:none;clip-path:none
 }
 .store-main .showcase-group .hero-shade{display:none}
 .store-main .showcase-group .hero-inner.wrap{position:relative;inset:auto;z-index:1;width:100%;height:auto;min-height:0;max-height:none;margin:0;padding:24px;display:block}
 .store-main .showcase-group .hero-copy{width:100%;max-width:100%;opacity:1;transform:none}
 .store-main .showcase-group h1,.store-main .showcase-group h2{font-size:clamp(28px,5.6vw,40px);line-height:1.12;letter-spacing:-.035em;margin:0 0 16px;font-weight:500}
 .store-main .showcase-group .hero-heading-line,.store-main .showcase-group .hero-heading-line>span{color:#2d302b;margin:0;padding:0;animation:none;transform:none}
 .store-main .showcase-group .hero-heading-accent,.store-main .showcase-group .hero-heading-accent>span{color:#80523e}
 .store-main .showcase-group .hero-description{max-width:48ch;font-size:15px;line-height:1.65;color:#5d5d55;margin:0 0 22px;animation:none;opacity:1;transform:none}
 .store-main .showcase-group .hero-buttons{display:flex;align-items:center;gap:16px;flex-wrap:wrap;animation:none;opacity:1;transform:none}
 .store-main .showcase-group .hero .button{min-height:48px;padding:12px 18px;font-size:14px;background:#80523e;border-color:#80523e;box-shadow:none}
 .store-main .showcase-group .hero .text-link{display:none}
 .store-main .showcase-group .slider-bottom.wrap{position:relative;inset:auto;width:100%;margin:0;padding:0 20px 16px;display:flex;flex-direction:row;align-items:center;gap:12px;animation:none}
 .store-main .showcase-group .slider-bottom[hidden]{display:none}
 .store-main .showcase-group .slider-choices{display:none}
 .store-main .showcase-group .showcase-actions{width:100%;justify-content:space-between;gap:10px}
 .store-main .showcase-group .showcase-detail-link{display:flex;font-size:13px;color:#655a4b;min-height:44px;text-shadow:none;gap:7px}
 .store-main .showcase-group .showcase-detail-link>svg:last-child{display:none}
 .store-main .showcase-group .showcase-navigation{margin-left:auto;background:#fff9;gap:0;padding:0 4px;border:1px solid #dcd3c6;border-radius:999px}
 .showcase-navigation .showcase-arrow,.showcase-navigation .showcase-play{width:44px;height:44px;min-width:44px}
 .showcase-navigation .showcase-dots button{width:26px;min-height:44px}
 .showcase-control-divider{display:none}
 .store-main .showcase-group .benefits:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;margin:0;padding:22px 20px;border-radius:0;background:#eae5dc}
 .store-main .showcase-group .benefits>div{padding:0;border:0;gap:9px;animation:none;align-items:flex-start}
 .store-main .showcase-group .benefit-icon{width:20px;height:24px;flex-shrink:0}
 .store-main .showcase-group .benefit-icon svg{width:20px;height:20px}
 .store-main .showcase-group .benefits strong{font-size:13px;line-height:1.45}
 .store-main .showcase-group .benefits small{display:none}
 .store-main .product-grid[data-category-grid]{grid-template-columns:repeat(var(--shg-filter-columns,3),minmax(0,1fr))}
 .product-page .product-gallery{position:static}
}
@media(max-width:700px){
 .wrap{width:calc(100% - 32px)}
 .catalog-page .wrap{width:calc(100% - 32px)}
 .announcement{min-height:28px;padding:5px 16px;font-size:12px;line-height:1.5}
 .announcement>a{display:none}
 .store-main .showcase-group .showcase-detail-link{display:none}
 .store-main #collection{padding-block:32px}
 .store-main #collection .section-heading,.category-section .section-heading{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:20px}
 .store-main #collection h2,.store-main .section-heading h2{font-size:27px;line-height:1.2;text-wrap:pretty;font-weight:400}
 .section-heading .underlined-link{min-height:44px;padding-block:10px;font-size:14px}
 .mobile-category-select:not([hidden]){display:flex;align-items:center;gap:12px;min-width:0;border:1px solid #d8cfc1;background:#f1ede5;border-radius:12px;padding:4px 12px;margin-bottom:14px}
 .mobile-category-select>span{font-size:13px;color:#73695c;flex-shrink:0}
 .mobile-category-select>select{min-width:0;max-width:100%;flex:1;min-height:44px;border:0;background:transparent;font:inherit;font-size:16px;color:#34372f;padding:8px 0;cursor:pointer}
 #collection:has(.mobile-category-select:not([hidden])) .collection-tabs,.store-main #collection:has(.mobile-category-select:not([hidden])) .collection-tabs{display:none}
 .store-main #collection .collection-result{font-size:13px;margin-bottom:16px}
 #collection .product-grid,.store-main #collection .product-grid{gap:20px 12px}
 #collection .product-card,.product-related .product-card{border-radius:14px}
 #collection .product-image,.product-related .product-image{aspect-ratio:1;height:auto;min-height:0}
 #collection .product-info,.store-main #collection .product-info{padding:14px 11px}
 #collection .product-kicker,.store-main #collection .product-kicker{font-size:12px;margin-bottom:8px;line-height:1.4}
 #collection .product-info h3,.store-main #collection .product-info h3{font-size:14px;line-height:1.5;min-height:3em;max-height:3em;margin:0 0 14px}
 #collection .product-bottom>strong,.store-main #collection .product-bottom>strong{font-size:19px}
 #collection .product-open,.store-main #collection .product-open{min-height:44px;font-size:13px;padding:10px;gap:4px}
 #collection .product-open svg{width:16px;height:16px}
 .store-main .category-section{padding-block:28px 36px}
 .category-circles{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}
 .category-circles strong{font-size:15px;min-height:0}
 .category-circles>a>span:last-child{font-size:13px}
 .store-main .story{display:grid;grid-template-columns:1fr;border-radius:18px}
 .store-main .story>img{width:100%;height:auto;aspect-ratio:1.35;object-fit:cover}
 .store-main .story-copy{padding:26px 22px}
 .store-main .story-copy h2{font-size:30px;line-height:1.15}
 .store-main .story-copy>p:not(.eyebrow){font-size:16px}
 .store-main .help-section{grid-template-columns:1fr;gap:20px;margin-top:0;padding-block:24px 40px}
 .store-main .help-links>a{font-size:15px;min-height:48px}
 .catalog-page .catalog-hero{display:grid;min-height:0;background:#eeeae1}
 .catalog-page .catalog-hero-photo{position:relative;inset:auto;width:100%;height:180px;object-fit:cover;object-position:right center!important;opacity:1;filter:none;z-index:0}
 .catalog-page .catalog-hero-tint{display:none}
 .catalog-page .catalog-hero-content{width:calc(100% - 32px);padding:24px 0 20px;min-height:0}
 .catalog-page .catalog-hero-copy h1{font-size:30px;line-height:1.15}
 .catalog-page .catalog-hero-copy>p:last-child{font-size:15px;line-height:1.6}
 .catalog-page .catalog-hero-benefits{width:100%;position:relative;bottom:auto;padding:0}
 .catalog-page .catalog-hero-benefits .catalog-promises:not([hidden]){background:#e5e0d6;border:0;border-radius:0;padding:18px 16px;gap:16px;grid-template-columns:1fr 1fr}
 .catalog-page .catalog-promises a{gap:9px;min-width:0}
 .catalog-page .catalog-promises>div,.catalog-page .catalog-promises>a{gap:9px;border:0;padding:0}
 .catalog-page .catalog-promises span{font-size:13px;line-height:1.4}
 .catalog-page .catalog-promises strong{font-size:13px;line-height:1.4}
 .catalog-page .catalog-promises svg{width:20px;height:20px;flex-shrink:0}
 .catalog-page .catalog-browse{display:flex;align-items:stretch;flex-wrap:wrap;gap:12px;padding-block:24px 18px}
 .catalog-page .catalog-browse .collection-tabs{flex-basis:100%;min-width:0}
 .catalog-browse:has(.mobile-category-select:not([hidden])) .collection-tabs{display:none}
 .catalog-browse .mobile-category-select{margin:0;flex:1;min-width:0;padding-inline:12px}
 .catalog-page .catalog-count{position:static;flex-shrink:0;align-self:center;min-width:0;padding:0;margin:0 0 0 auto;display:flex;gap:5px;border:0;background:transparent;box-shadow:none}
 .catalog-page .catalog-count strong{font-size:20px}
 .catalog-page .catalog-count span{font-size:13px}
 .catalog-page .catalog-count small{display:none}
 .catalog-page .catalog-grid{grid-template-columns:repeat(var(--shg-filter-columns,2),minmax(0,1fr))}
 .product-page{width:calc(100% - 32px);padding:20px 0 40px}
 .product-page .product-breadcrumb{font-size:13px;gap:8px;margin-bottom:18px}
 .product-page .product-hero{gap:24px}
 .product-page .detail-title{font-size:27px;line-height:1.2}
 .product-page .product-intro{font-size:16px;line-height:1.65}
 .product-page .product-gallery-open{border-radius:18px}
 .product-page .product-thumbnails{flex-wrap:nowrap;gap:10px}
 .product-page .product-thumbnails button{flex:0 0 58px;height:58px}
 .product-page .product-thumbnails img{width:100%;height:100%}
 .product-page .product-service-row{grid-template-columns:1.15fr .7fr 1fr;gap:12px}
 .product-page .product-service-row .product-service-links a{font-size:13px;line-height:1.4;gap:6px}
 .product-page .product-service-row .product-service-links svg{width:18px;height:18px;flex-shrink:0}
 .product-page .product-information{margin-top:32px;padding-top:28px;gap:12px}
 .product-page .product-information-heading h2{font-size:26px}
 .product-page .product-information-panel summary{font-size:18px;min-height:48px;padding:18px 0}
 .product-page .product-attributes>div{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);padding:14px 12px;gap:12px;font-size:14px}
 .product-page .product-attributes dd{overflow-wrap:anywhere}
 .product-related .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .product-related-section .product-related{padding-block:30px}
 .footer-top{grid-template-columns:1fr;gap:24px}
 .footer-top>nav{grid-column:auto;flex-wrap:wrap;gap:12px 22px}
 .footer-top>nav a,.footer-bottom a{min-height:44px;display:inline-flex;align-items:center}
 .footer-bottom{gap:14px;padding-bottom:16px}
 .footer-bottom>div{gap:4px 18px}
 .showcase-dialog{width:calc(100% - 24px)}
 .showcase-dialog .detail-close{width:44px;height:44px}
 .showcase-dialog .detail-copy{padding:24px}
 .showcase-dialog .detail-photo{min-height:280px;height:280px}
 .showcase-dialog .detail-copy>p:not(.eyebrow){font-size:15px}
}
@media(max-width:379px){.store-main .showcase-group .showcase-detail-link{display:none}.store-main .showcase-group .hero-inner.wrap{padding:22px 20px}.store-main .showcase-group .hero .text-link{display:none}}
@media(prefers-reduced-motion:reduce){.store-main .showcase-group,.store-main .showcase-group *{animation:none!important;transition:none!important}}

/* One media frame for cards and product details; never stretch or crop artwork. */
.product-grid .product-image,.store-main .product-image,.product-page .product-gallery-open{
 display:block;position:relative;width:100%;height:auto;min-height:0;max-height:none;
 aspect-ratio:var(--shg-product-ratio,1 / 1);padding:0;overflow:hidden;box-sizing:border-box;
}
.product-grid .product-image>img,.store-main .product-image>img,.product-page .product-gallery-open>.detail-image{
 position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;
 padding:0;margin:0;object-fit:contain;object-position:center;box-sizing:border-box;
}

/* Keep the guide within its own description, with access on short screens too. */
.product-page .gallery-photo-count{position:absolute;right:16px;bottom:16px;display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:#292c28e8;color:#fff;font:500 14px/1.4 var(--sans);pointer-events:none}
.product-page .gallery-photo-count svg{width:18px;height:18px}
.product-page .product-thumbnails{display:grid;grid-template-columns:repeat(var(--gallery-columns,5),minmax(0,1fr));gap:10px;padding:0;margin:12px 0 0;overflow:visible}
.product-page .product-thumbnails button{position:relative;display:block;width:100%;height:auto;min-width:0;aspect-ratio:3 / 2;padding:0;border:2px solid transparent;border-radius:12px;background:#fff;overflow:hidden;cursor:pointer;box-shadow:none}
.product-page .product-thumbnails button[hidden]{display:none}
.product-page .product-thumbnails button[aria-pressed=true]{border-color:#80523e;box-shadow:0 0 0 2px #80523e18}
.product-page .product-thumbnails button img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s ease}
.product-page .product-thumbnails button:focus-visible{outline:2px solid #80523e;outline-offset:3px}
.gallery-thumb-number{position:absolute;top:5px;left:5px;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#fffef6ed;color:#30332d;font:500 12px/1 var(--sans);pointer-events:none}
.gallery-thumb-more{position:absolute;inset:0;display:grid;place-items:center;background:#292c28a8;color:#fff;font:600 24px/1 var(--sans);pointer-events:none}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.product-page .product-thumbnails button:hover img{transform:scale(1.05)}}
@media(max-width:700px){.product-page .product-thumbnails{gap:6px}.product-page .product-thumbnails button{border-radius:8px}.product-page .gallery-photo-count{right:12px;bottom:12px;font-size:13px;padding:8px 12px}.gallery-thumb-number{width:19px;height:19px;top:3px;left:3px;font-size:11px}.gallery-thumb-more{font-size:20px}}
.product-information-heading>p:not(.eyebrow){color:var(--ink)}
@media(min-width:701px){
 .product-page .shg-tabbed-information{align-items:start}
 .product-page .shg-tabbed-information>.product-information-heading,
 body.woocommerce.single-product .woocommerce-tabs .shg-product-copy>.shg-copy-nav{
  position:sticky;top:24px;align-self:start;max-height:calc(100dvh - 48px);
  overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain;
 }
 body.admin-bar .product-page .shg-tabbed-information>.product-information-heading,
 body.admin-bar.woocommerce.single-product .woocommerce-tabs .shg-product-copy>.shg-copy-nav{
  top:70px;max-height:calc(100dvh - 94px);
 }
}
