/* Shared storefront components; the selected CI/CD is owned by brand.css. */
/* Ink drawings of the actual beanie shapes, with labels kept as real text. */
.store-announcement { font-weight: 600; }
.site-header .nav-menu a { gap: 6px; padding-inline: 6px; min-height: 44px; font-weight: 600; }
.nav-illustration { display: block; flex: 0 0 36px; width: 36px; height: 36px; background-image: url('navigation/beanies-v1.webp'); background-repeat: no-repeat; background-size: 300% 200%; mix-blend-mode: multiply; pointer-events: none; }
.nav-illustration--all { background-position: 0 0; }
.nav-illustration--fisherman { background-position: 50% 0; }
.nav-illustration--classic { background-position: 100% 0; }
.nav-illustration--pom { background-position: 0 100%; }
.nav-illustration--design { background-position: 50% 100%; }
.mbph-configurator-page .nav-illustration { flex-basis: 36px; width: 36px; height: 36px; }
@media (min-width: 981px) and (max-width: 1199px) {
 body:not(.mbph-configurator-page) .site-header__inner { grid-template-columns: 1fr auto; gap: 0 12px; min-height: 52px; }
 body:not(.mbph-configurator-page) .site-header .brand { min-height: 52px; }
 body:not(.mbph-configurator-page) .site-navigation { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; }
 body:not(.mbph-configurator-page) .site-header .nav-menu { justify-content: flex-start; width: max-content; gap: 18px; }
}
@media (max-width: 1400px) {
 .site-header .nav-menu a { padding-inline: 0; }
 .nav-illustration { flex-basis: 32px; width: 32px; height: 32px; }
}
h1, h2, h3 { font-weight: 700; }
.store-section-heading h2, .wishlist-page h1, .shop-intro h1, .product-detail__title { font-weight: 700; letter-spacing: -.055em; line-height: 1.06; }
.hero-slider { width: var(--page-width); margin: 20px auto 28px; }
.hero-slider__viewport { touch-action: pan-y; }
.hero-slide { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.65fr); align-items: center; gap: clamp(16px,2vw,32px); }
.hero-slide[hidden] { display: none; }
.hero-slide__copy h1, .hero-slide__copy h2 { font-size: clamp(40px,5.4vw,112px); line-height: 1.02; letter-spacing: -.065em; font-weight: 700; margin: 20px 0; }
.hero-slide__copy h1 em, .hero-slide__copy h2 em { color: var(--ruby); font-style: normal; }
.hero-slide__copy > p:not(.store-eyebrow) { font-size: clamp(18px,1.6vw,28px); line-height: 1.4; margin: 0 0 26px; }
.hero-slide__copy .store-eyebrow { font-size: 14px; letter-spacing: .11em; }
.hero-slide__visual { position: relative; min-width: 0; height: auto; aspect-ratio: 3/2; overflow: hidden; border-radius: 8px; background: #fff; }
.hero-slide__visual img { display: block; height: 100%; width: 100%; object-fit: contain; }
.hero-slide__visual .hero-slide__image-cta { position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px); min-height: 54px; margin: 0; padding: 12px 22px; color: var(--brand-ink); background: var(--brand-paper); border: 2px solid var(--brand-paper); font-size: 18px; font-weight: 600; box-shadow: 0 2px 16px #29221E40, 0 0 0 1px #29221E33; }
.hero-slide__visual .hero-slide__image-cta .shop-icon { color: var(--brand-action); }
.hero-slide__visual .hero-slide__image-cta:hover { color: var(--brand-paper); background: var(--brand-action); border-color: var(--brand-paper); }
.hero-slide__visual .hero-slide__image-cta:hover .shop-icon { color: inherit; }
.hero-slide__visual .hero-slide__image-cta:focus-visible { outline-color: var(--brand-paper); box-shadow: 0 0 0 6px var(--brand-ink); }
.hero-slide__note { display: block; max-width: 40ch; margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.hero-slide--shop .hero-slide__copy h1 { font-size: clamp(36px, 4.2vw, 80px); line-height: 1.06; }
.hero-slide--shop .hero-slide__copy > p:not(.store-eyebrow) { font-size: clamp(18px, 1.3vw, 24px); margin-bottom: 12px; }
.hero-slider__controls { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 16px; }
.hero-slider__controls > button { width: 44px; height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; cursor: pointer; }
.hero-slider__controls > span { font-size: 14px; margin-right: 10px; font-variant-numeric: tabular-nums; }
.hero-slider__dots { display: flex; margin-right: auto; gap: 4px; }
.hero-slider__dots button { border: 0; background: transparent; padding: 12px 6px; min-height: 44px; cursor: pointer; }
.hero-slider__dots button span { display: block; width: 32px; height: 4px; background: var(--brand-line, #D8CDC2); }
.hero-slider__dots button[aria-current="true"] span { background: var(--ruby); }
.store-lookbook { width: var(--page-width); margin: 40px auto; }
.store-lookbook__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.store-lookbook__grid > a { display: block; min-width: 0; }
.store-lookbook__grid > a > div { overflow: hidden; border-radius: 7px; background: var(--brand-soft, #EEE5DB); aspect-ratio: 4/3; }
.store-lookbook__grid img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.store-lookbook__grid h3 { font-size: clamp(22px,2.2vw,38px); line-height: 1.12; letter-spacing: -.04em; margin: 8px 0; }
.store-lookbook__grid p { margin: 8px 0; max-width: 48ch; }
.store-lookbook__grid .store-eyebrow { margin-top: 12px; font-size: 14px; }
.shop-product-card { position: relative; min-width: 0; }
.shop-product-card .wishlist-button { position: absolute; z-index: 2; right: 12px; top: 12px; }
.wishlist-button { position: relative; display: inline-grid; flex: 0 0 48px; place-items: center; width: 48px; height: 48px; padding: 10px; border: 1px solid var(--brand-line, #D8CDC2); border-radius: 50%; color: var(--ink); background: #fff; cursor: pointer; }
.wishlist-button svg { width: 22px; height: 22px; }
.wishlist-button[aria-pressed="true"] { color: var(--ruby); border-color: var(--ruby); }
.wishlist-button[aria-pressed="true"] svg { fill: currentColor; }
.wishlist-button__tooltip { position: absolute; z-index: 8; top: calc(100% + 8px); right: 0; display: none; width: max-content; max-width: min(260px, 80vw); padding: 8px 12px; border-radius: 5px; color: var(--brand-paper); background: var(--brand-ink); font-size: 16px; font-weight: 400; line-height: 1.4; text-align: left; white-space: normal; box-shadow: 0 4px 16px #29221E24; }
.wishlist-button__tooltip::before { content: ''; position: absolute; top: -8px; right: 0; width: 100%; height: 8px; }
.wishlist-button:not(.is-tooltip-dismissed):is(:hover, :focus-visible) { z-index: 5; }
.wishlist-button:not(.is-tooltip-dismissed):is(:hover, :focus-visible) .wishlist-button__tooltip { display: block; }
.shop-product-card .shop-product-card__colors { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 0; }
.shop-product-card__colors--images > button { display: inline-grid; place-items: center; flex: 0 0 52px; width: 52px; height: 58px; padding: 3px; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; }
.shop-product-card__colors--images > button > img { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; mix-blend-mode: normal; }
.shop-product-card__colors--images > button[aria-pressed="true"] { border: 2px solid var(--brand-action); padding: 2px; }
.shop-product-card__more { display: block; margin-top: 4px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.product-title-actions { display: flex; align-items: flex-start; gap: 18px; justify-content: space-between; }
.product-title-actions h1 { flex: 1; }
.wishlist-count { position: absolute; font-size: 10px; background: var(--ruby); color: #fff; border-radius: 12px; padding: 1px 5px; transform: translate(12px,-12px); }
.wishlist-page { min-height: 55vh; padding-block: 45px; }
.card-stock-note { font-size: 16px; color: var(--muted); }
/* Helpful homepage content stays in normal HTML, beside the existing shop and editor. */
.home-section-lead { max-width: 70ch; margin: -4px 0 20px; font-size: 18px; line-height: 1.6; }
.home-personalize, .home-faq { width: var(--page-width); margin: 40px auto; }
.home-personalize .store-section-heading h2 { max-width: 27ch; }
.home-personalize .store-personalizer { width: 100%; margin: 24px 0 0; }
.home-design-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.home-design-steps > li { display: flex; gap: 12px; padding: 18px; min-width: 0; border: 1px solid var(--line); border-radius: 8px; }
.home-design-steps__number { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; color: var(--brand-action); background: var(--brand-soft); font-size: 18px; font-weight: 600; }
.home-design-steps h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.home-design-steps p { margin: 0; font-size: 18px; line-height: 1.55; }
.home-faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; gap: clamp(24px, 4vw, 64px); padding-block: 28px; border-top: 1px solid var(--line); }
.home-faq__intro h2 { margin: 0 0 12px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; letter-spacing: -.04em; }
.home-faq__intro p { margin: 0; max-width: 42ch; font-size: 18px; line-height: 1.6; }
.home-faq__items { min-width: 0; }
.home-faq__items details { border-bottom: 1px solid var(--line); }
.home-faq__items summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; list-style: none; cursor: pointer; }
.home-faq__items summary::-webkit-details-marker { display: none; }
.home-faq__items summary::after { content: '+'; flex: 0 0 24px; color: var(--brand-action); font-size: 28px; text-align: center; }
.home-faq__items details[open] summary::after { content: '−'; }
.home-faq__items h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.home-faq__items details > div { padding: 0 36px 16px 0; }
.home-faq__items p { margin: 0; font-size: 18px; line-height: 1.6; }
.home-faq__items .shop-text-link { margin-top: 8px; }
.shopping-status { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; width: max-content; max-width: 90vw; margin: 0; padding: 14px 20px; background: var(--ink); color: #fff; border-radius: 6px; box-shadow: 0 6px 24px #0002; }
.shopping-status[hidden] { display: none; }
.wj-beanie-filterbar { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 10px; }
.wj-beanie-filterbar .wj-filter-group { position: relative; margin: 0; padding: 0; border: 0; min-width: 145px; background: #fff; }
.wj-beanie-filterbar .wj-filter-group > summary { min-height: 46px; border: 1px solid var(--ink); border-radius: 4px; padding: 10px 16px; background: #fff; }
.wj-beanie-filterbar .wj-filter-group[open] { border: 1px solid var(--line); border-radius: 4px; padding-bottom: 12px; max-width: 320px; }
.wj-beanie-filterbar .wj-filter-group[open] > summary { border: 0; border-bottom: 1px solid var(--line); }
.wj-beanie-filterbar .wj-filter-group[open] > :not(summary) { padding-inline: 12px; }
.wj-beanie-filterbar .wj-filter-apply, .wj-beanie-all { min-height: 46px; padding: 10px 18px; border-radius: 4px; }
.wj-beanie-all { border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.wj-beanie-filters { padding: 0; }
.wj-shop-filter-dock:has(.wj-beanie-filters) { padding: 12px 0; background: #fff; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.mbph-model-card__supplier { font-size: 12px; line-height: 1.4; color: var(--muted); }
.mbph-motif-picker { border: 0; margin: 18px 0; padding: 0; }
.mbph-motif-picker legend { font-weight: 700; margin-bottom: 10px; }
.mbph-motif-picker > div { display: flex; flex-wrap: wrap; gap: 8px; }
.mbph-motif-picker button { display: flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; border: 1px solid var(--line); background: #fff; padding: 8px 12px; border-radius: 5px; text-align: left; cursor: pointer; }
.mbph-motif-picker button[aria-pressed="true"] { border-color: var(--ruby); box-shadow: inset 0 0 0 1px var(--ruby); }
.mbph-motif-picker img { width: 42px; height: 42px; object-fit: contain; }
.mbph-model-adjustment { padding: 14px; border: 1px solid var(--ruby); border-radius: 6px; margin-bottom: 18px; background: var(--brand-paper, #FBF7F2); }
.mbph-model-adjustment[hidden] { display: none; }
.mbph-model-adjustment p { margin: 0 0 8px; }
[data-mbph-product-provider] { color: var(--muted); font-size: 12px; }
/* One shared footer, with a deliberate compact variant for the active purchase flow. */
.site-footer--expanded { padding: 0 0 24px; border: 0; color: var(--brand-paper); background: var(--brand-ink); }
.store-footer-cta { color: var(--brand-ink); background: var(--brand-paper); }
.store-footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: var(--page-width); margin: auto; padding: clamp(48px, 4vw, 64px) 0; }
.store-footer-cta h2 { max-width: 15ch; margin: 0; font-size: clamp(36px, 3.4vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -.045em; }
.store-footer-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.store-footer-cta .store-primary-button { margin: 0; color: var(--brand-paper); background: var(--brand-ink); border: 1px solid var(--brand-ink); }
.store-footer-cta .store-primary-button:hover { color: var(--brand-ink); background: var(--brand-soft); }
.store-secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: var(--control-height, 48px); padding: 12px 20px; border: 1px solid var(--brand-line); border-radius: var(--button-radius, 999px); font-size: 16px; font-weight: 600; line-height: 1.5; text-align: center; }
.store-secondary-button:hover { background: var(--brand-soft); border-color: var(--brand-ink); }
.site-footer__content { width: var(--page-width); margin: auto; padding: 56px 0 40px; }
.site-footer--expanded .site-footer__wordmark .brand { display: inline-flex; align-items: center; gap: 24px; max-width: 100%; min-width: 0; color: var(--brand-paper); font-size: clamp(64px, 7vw, 96px); line-height: 1; }
.site-footer--expanded .site-footer__wordmark .brand img { width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px); flex-basis: auto; filter: brightness(0) invert(1); }
.site-footer__wordmark .brand__wordmark { min-width: 0; }
.site-footer__groups { display: grid; grid-template-columns: minmax(200px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 48px; padding-top: 40px; border-top: 1px solid #fbf7f238; }
.site-footer__tagline { margin: 0; font-size: 18px; line-height: 1.6; }
.site-footer__groups nav { min-width: 0; }
.site-footer__groups h3 { margin: 0 0 14px; color: inherit; font-size: 18px; font-weight: 600; line-height: 1.5; }
.site-footer__groups ul { list-style: none; padding: 0; margin: 0; }
.site-footer__groups a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.site-footer__groups a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer--expanded .site-footer__bottom { display: flex; flex-direction: column; align-items: stretch; gap: 24px; margin: 0 auto; padding-top: 28px; border-top: 1px solid #fbf7f238; color: var(--brand-paper); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; width: 100%; }
.site-footer__legal > span { font-size: 14px; }
.site-footer .site-footer__legal nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-left: 0; }
.site-footer .site-footer__legal nav a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 16px; }
.site-footer .store-payment-methods { gap: 8px; }
.store-payment-methods li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: auto; height: auto; min-height: 40px; max-width: 100%; }
.store-payment-methods li img, .store-payment-methods li svg { display: inline-block; width: auto; height: 32px; max-width: 90px; object-fit: contain; }
.store-payment-methods li > span:not(.screen-reader-text) { padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 16px; line-height: 1.5; }
.store-payment-note { margin: 0; color: inherit; font-size: 16px; line-height: 1.5; }
.product-detail__buybox > .store-payment-note { margin: 16px 0 24px; color: var(--muted); }
.site-footer--expanded .site-footer__content a:focus-visible, .site-footer--expanded .site-footer__bottom a:focus-visible { outline-color: var(--brand-paper); }
.site-footer--compact .site-footer__bottom { flex-direction: column; gap: 16px; }
@media (max-width: 1100px) {
 .store-footer-cta__inner { align-items: flex-start; flex-direction: column; }
 .store-footer-cta h2 { max-width: 22ch; }
 .site-footer__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:900px) {
 .home-faq { grid-template-columns: minmax(0, 1fr); gap: 20px; }
 .home-design-steps { gap: 12px; }
 .hero-slide { gap: 24px; grid-template-columns: 1fr 1.2fr; }
 .hero-slide__copy h1,.hero-slide__copy h2 { font-size: clamp(38px,6.3vw,64px); }
 .site-actions { gap: 8px; }
 .store-lookbook__grid { gap: 14px; }
}
@media(max-width:600px) {
 .hero-slide--shop .hero-slide__copy h1 { font-size: clamp(36px, 9vw, 54px); }
 .home-personalize, .home-faq { margin-block: 32px; }
 .home-design-steps { grid-template-columns: minmax(0, 1fr); }
 .home-faq__items details > div { padding-right: 0; }
 .site-header .brand { font-size: 20px; gap: 6px; }
 .site-actions { gap: 0; }
 .site-actions .icon-link { width: 34px; min-width: 34px; padding: 6px; }
 .hero-slider { margin-top: 20px; margin-bottom: 28px; }
 .hero-slide { grid-template-columns: 1fr; gap: 22px; }
 .hero-slide__copy h1,.hero-slide__copy h2 { font-size: clamp(42px,10.8vw,66px); margin-block: 12px; }
 .hero-slide__copy > p:not(.store-eyebrow) { font-size: 18px; margin-bottom: 16px; }
 .hero-slide__visual { height: auto; aspect-ratio: 4/3; }
 .hero-slide__visual .hero-slide__image-cta { left: 16px; bottom: 16px; max-width: calc(100% - 32px); }
 .hero-slide__copy .store-primary-button { min-height: 48px; }
 .hero-slider__controls { margin-top: 10px; }
 .store-lookbook { margin-block: 44px; }
 .store-lookbook__grid { grid-template-columns: 1fr; gap: 30px; }
 .store-lookbook__grid > a > div { aspect-ratio: 4/3; }
 .shop-product-card .wishlist-button { width: 44px; height: 44px; right: 7px; top: 7px; }
 .shop-product-card__colors--images > button { flex-basis: 44px; width: 44px; height: 52px; }
 .wj-beanie-filterbar { gap: 8px; }
 .wj-beanie-filterbar .wj-filter-group { flex: 1 1 42%; min-width: 120px; }
 .wj-beanie-filterbar .wj-filter-group[open] { max-width: 100%; }
 .product-title-actions { gap: 10px; }
 .store-footer-cta__inner { gap: 24px; padding-block: 36px; }
 .store-footer-cta h2 { font-size: clamp(28px, 7vw, 34px); }
 .store-footer-cta__actions { width: 100%; gap: 12px; }
 .store-footer-cta__actions > a { width: 100%; }
 .site-footer__content { padding: 36px 0 28px; }
 .site-footer--expanded .site-footer__wordmark .brand { gap: 12px; font-size: clamp(36px, 8.5vw, 52px); }
 .site-footer--expanded .site-footer__wordmark .brand img { width: 44px; height: 44px; flex: 0 0 44px; }
 .site-footer__groups { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; padding-top: 28px; }
 .site-footer__groups h3 { margin-bottom: 8px; }
 .site-footer__legal { align-items: flex-start; flex-direction: column; gap: 12px; }
}
.shop-load-more { display: flex; flex-direction: column; align-items: center; gap: 12px; clear: both; margin: 28px 0 40px; overflow-anchor: none; }
.shop-load-more__status { margin: 0; color: var(--brand-muted, #6b6058); text-align: center; }
.shop-load-more .button[hidden], .shop-shell .woocommerce-pagination[hidden] { display: none; }

@media (max-width: 380px) {
 body:not(.mbph-configurator-page) .site-header__inner { grid-template-columns: minmax(0, 1fr); }
 body:not(.mbph-configurator-page) .site-actions { grid-row: 2; justify-content: space-between; width: 100%; }
 body:not(.mbph-configurator-page) .site-navigation { grid-row: 3; }
 .hero-slider__controls { flex-wrap: wrap; gap: 8px; }
 .hero-slider__dots { flex-basis: 100%; justify-content: center; }
}
