/**
 * The badge feature page: rules only this page uses, from site/mockups/feature-badge.html.
 */

.float--band { left: -44px; bottom: 20%; width: 200px; padding: 14px 16px; }
.ring { position: absolute; left: 71.4%; top: 21.4%; right: 0.5%; bottom: 1.4%; border: 2px solid var(--purple); border-radius: 12px; pointer-events: none; }
.photo .tag { right: 14px; top: 14px; }
.more ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(28px, 4vw, 56px); }
@media (max-width: 1080px) {
	.float--band { left: -12px; }
}
@media (max-width: 900px) {
	.know, .more ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.float--band { left: 8px; bottom: -30px; width: 170px; padding: 10px 12px; font-size: 0.8125rem; }
}
.showcase--crop { max-width: 820px; }
.float--right { left: auto; right: -56px; top: 64px; bottom: auto; }
:root .opts-group { margin-top: 30px; }
:root .opts-group + .opts-group { margin-top: 28px; }
.opts-group h3 { font-size: 1.0625rem; letter-spacing: -0.01em; }
:root .opts-group .opts { margin-top: 12px; }
.stack--right .stack__back .tag { left: auto; right: 14px; }
.stack--mid-tag .stack__front .tag { top: 12px; right: 22%; }
.stack--tall { padding-bottom: 49%; }
.stack--tall .stack__back { width: 92%; }
.stack--tall .stack__front { width: 60%; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 32px); align-items: start; max-width: 600px; margin-inline: auto; }
:root .pair figure { margin: 0; }
.pair img { aspect-ratio: 550 / 606; object-fit: contain; object-position: top; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); background: #fff; }
.pair figcaption, .pair .figcaption { color: var(--muted); font-size: 0.9375rem; font-weight: 500; text-align: center; }
:root .pair figcaption, :root .pair .figcaption { margin-top: 14px; }
.clip--pop .replay { top: auto; bottom: calc(3.4% + 10px); }
.clip-note { max-width: 560px; color: var(--muted); font-size: 0.9375rem; text-align: center; }
:root .clip-note { margin: 14px auto 0; }
.demo { max-width: 560px; margin-inline: auto; padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); --purplish-fx: var(--purple); }
.demo__label { display: flex; align-items: center; gap: 8px; color: var(--purple-deep); font-size: 0.9375rem; font-weight: 600; }
:root .demo__label { margin-bottom: 20px; }
.demo__label svg { flex: none; }
.demo .wp-block-details { color: var(--text); font-size: 1.0625rem; line-height: 1.55; }
.demo .wp-block-details summary { cursor: pointer; }
:root .demo .wp-block-details + .wp-block-details { margin-top: 12px; }
.demo .wp-block-details p { color: var(--muted); }
.demo__note { color: var(--muted); font-size: 0.875rem; }
:root .demo__note { margin-top: 18px; }
@media (max-width: 1080px) {
	.float--right { right: -12px; }
}
@media (max-width: 600px) {
	.float--right { left: auto; right: 8px; top: auto; bottom: -30px; }
	.pair figcaption, .pair .figcaption { font-size: 0.875rem; }
	.stack--tall { padding-bottom: 57%; }
	.stack--tall .stack__back { width: 96%; }
	.stack--tall .stack__front { width: 72%; }
}
.pick { padding: 0; border: 0; min-width: 0; }
:root .pick { margin: 0; }
.pick legend { padding: 0; color: var(--muted); font-size: 0.75rem; font-weight: 600; }
:root .pick legend { margin-bottom: 8px; }
.picks { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft); }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
:root .seg input { margin: 0; }
.seg span { display: block; padding: 8px 14px; border-radius: 9px; color: var(--muted); font-size: 0.9375rem; font-weight: 600; line-height: 1.2; transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.seg label:hover span { color: var(--text); }
.seg input:checked + span { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(26, 21, 48, 0.08), 0 4px 12px -6px rgba(26, 21, 48, 0.2); }
.seg input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
@media (max-width: 600px) {
	.seg span { padding: 8px 11px; font-size: 0.875rem; }
}
.demo--badge { display: grid; gap: 26px; max-width: 600px; }
.demo--badge .picks { gap: 14px 24px; }
.badge-demo { display: grid; gap: 22px; }
:where(.badge-demo) .wc-block-product-gallery-large-image { position: relative; overflow: hidden; border-radius: 14px; background: var(--soft); }
:where(.badge-demo) .wc-block-product-gallery-large-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
:where(.badge-demo) .wc-block-components-product-sale-badge { display: inline-block; width: fit-content; padding: 0.25em 0.75em; border: 1px solid #43454b; border-radius: 4px; background: #fff; color: #43454b; font-size: 0.875em; font-weight: 600; text-transform: uppercase; z-index: 9; }
:where(.badge-demo) .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.badge-demo__attr { display: block; font-size: 0.9375rem; font-weight: 600; }
:root .badge-demo__attr { margin-bottom: 8px; }
:where(.badge-demo) .wc-block-product-filter-chips__fieldset { min-width: 0; padding: 0; border: 0; }
:root :where(.badge-demo) .wc-block-product-filter-chips__fieldset { margin: 0; }
:where(.badge-demo) .wc-block-product-filter-chips__items { display: flex; flex-wrap: wrap; gap: 4px; }
:where(.badge-demo) .wc-block-product-filter-chips__item { appearance: none; min-width: 3em; padding: 0.4em 0.75em; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 2px; background: transparent; color: var(--text); font: inherit; font-size: 0.9375rem; cursor: pointer; }
:where(.badge-demo) .wc-block-product-filter-chips__item[aria-checked="true"] { border-color: var(--text); background: var(--text); color: #fff; }
:where(.badge-demo) .wc-block-product-filter-chips__item:disabled { opacity: 0.5; cursor: not-allowed; }
:where(.badge-demo) .wc-block-product-filter-chips__item:disabled :where(.wc-block-product-filter-chips__label) { text-decoration: line-through; }
:where(.badge-demo) .wc-block-product-filter-chips__item:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
