/*
Theme Name: Sip'n Bite Theme
Theme URI: https://sofiawinespot.com
Author: OpenAI
Description: Custom WooCommerce front-end for Sip ’n Bite – Sofia Wine Spot.
Version: 0.3.1
Text Domain: sipnbite
*/

/* =========================
   1. DESIGN TOKENS
========================= */

:root {
    --sb-bg: #f7f3ee;
    --sb-bg-soft: #efeae4;
    --sb-bg-card: #fffdfa;
    --sb-bg-strong: #e8e0d6;
    --sb-paper: #f9f5f0;

    --sb-text: #1b1815;
    --sb-text-soft: #3e382f;
    --sb-muted: #6f6b66;
    --sb-muted-2: #8a8379;

    --sb-line: #e5dfd7;
    --sb-line-strong: #d8cfc3;

    --sb-accent: #c6a46c;
    --sb-accent-deep: #a88651;
    --sb-accent-soft: rgba(198, 164, 108, 0.16);

    --sb-success: #54725c;
    --sb-danger: #8f5b5d;
    --sb-warning: #8d6a38;

    --sb-shadow-xs: 0 4px 12px rgba(22, 18, 14, 0.03);
    --sb-shadow-sm: 0 8px 24px rgba(22, 18, 14, 0.05);
    --sb-shadow-md: 0 16px 36px rgba(22, 18, 14, 0.08);
    --sb-shadow-lg: 0 24px 54px rgba(22, 18, 14, 0.12);

    --sb-radius-sm: 14px;
    --sb-radius-md: 20px;
    --sb-radius-lg: 28px;
    --sb-radius-xl: 36px;
    --sb-radius-pill: 999px;

    --sb-max: 1200px;
    --sb-max-reading: 760px;

    --sb-space-1: 8px;
    --sb-space-2: 12px;
    --sb-space-3: 16px;
    --sb-space-4: 20px;
    --sb-space-5: 24px;
    --sb-space-6: 32px;
    --sb-space-7: 40px;
    --sb-space-8: 48px;
    --sb-space-9: 64px;
    --sb-space-10: 80px;

    --sb-ease: 220ms ease;
}

/* =========================
   2. RESET + BASE
========================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(198, 164, 108, 0.08), transparent 30%),
        linear-gradient(180deg, #faf7f2 0%, var(--sb-bg) 24%, #f6f1ea 100%);
    color: var(--sb-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.admin-bar .sb-site-header {
    top: 32px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--sb-ease), opacity var(--sb-ease), border-color var(--sb-ease), background-color var(--sb-ease), box-shadow var(--sb-ease), transform var(--sb-ease);
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

figure {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

::selection {
    background: rgba(198, 164, 108, 0.24);
    color: var(--sb-text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid rgba(198, 164, 108, 0.65);
    outline-offset: 3px;
}

/* =========================
   3. LAYOUT SYSTEM
========================= */

.sb-wrap,
.sb-product-container {
    width: min(var(--sb-max), calc(100% - 48px));
    margin: 0 auto;
}

.sb-section {
    padding: var(--sb-space-10) 0;
}

#site-content {
    min-height: 60vh;
}

.woocommerce-page .sb-section:first-child,
.post-type-archive-product .sb-section:first-child,
.tax-sb_region .sb-section:first-child,
.tax-sb_grape .sb-section:first-child,
.tax-sb_winery .sb-section:first-child {
    padding-top: calc(var(--sb-space-10) - 12px);
}

body.page:not(.home) .sb-section:first-child,
body.blog .sb-section:first-child,
body.single-post .sb-section:first-child {
    padding-top: calc(var(--sb-space-10) - 8px);
}

.sb-card {
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.96) 0%, rgba(248, 244, 238, 0.98) 100%);
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: var(--sb-radius-lg);
    box-shadow: var(--sb-shadow-sm);
}

.sb-page-card {
    padding: clamp(28px, 4vw, 44px);
}

.sb-home-section-head {
    display: grid;
    gap: 12px;
    max-width: 740px;
    margin-bottom: var(--sb-space-7);
}

.sb-home-section-head.is-centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.sb-home-section-actions {
    display: flex;
    justify-content: center;
    margin-top: var(--sb-space-7);
}

.sb-shop-layout__grid {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: var(--sb-space-7);
    align-items: start;
}

.sb-shop-results {
    min-width: 0;
}

/* =========================
   4. TYPOGRAPHY
========================= */

.sb-title,
.sb-home-section-title,
.sb-shop-title,
.sb-product-title,
.sb-product-section-title,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: var(--sb-text);
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
}

.sb-title {
    font-size: clamp(2.5rem, 5.2vw, 4.55rem);
}

.sb-home-section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.sb-shop-title {
    font-size: clamp(2.25rem, 4vw, 3.7rem);
}

.sb-copy,
.sb-home-section-copy,
.sb-shop-copy {
    color: var(--sb-muted);
    max-width: var(--sb-max-reading);
    font-size: 1.05rem;
}

.sb-eyebrow,
.sb-filter-eyebrow,
.eyebrow,
.sb-product-kicker,
.sb-product-taste-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sb-accent-deep);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sb-home-hero__microline {
    color: var(--sb-muted);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.sb-page-content,
.sb-page-content p,
.sb-page-content li,
.sb-product-body,
.sb-product-body p,
.sb-product-detail-body,
.sb-product-detail-body p {
    color: var(--sb-text-soft);
}

.sb-page-content h2,
.sb-page-content h3,
.sb-page-content h4 {
    margin-top: 1.6em;
    margin-bottom: 0.5em;
}

.sb-page-content p,
.sb-page-content ul,
.sb-page-content ol,
.sb-product-body p,
.sb-product-detail-body p {
    margin: 0 0 1em;
}

.sb-page-content ul,
.sb-page-content ol,
.sb-product-body ul,
.sb-product-body ol,
.sb-product-detail-body ul,
.sb-product-detail-body ol {
    padding-left: 1.2em;
}

/* =========================
   5. COMPONENTS
   - buttons
   - cards
   - forms
   - notices
========================= */

.sb-btn,
button.button,
a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: var(--sb-radius-pill);
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    text-align: center;
}

.sb-btn--solid,
button.button,
a.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: linear-gradient(180deg, #d1b27d 0%, #c29c60 100%);
    border-color: var(--sb-accent-deep);
    color: #1d1811;
    box-shadow: 0 12px 24px rgba(176, 138, 75, 0.18);
}

.sb-btn--solid:hover,
button.button:hover,
a.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(176, 138, 75, 0.22);
    background: linear-gradient(180deg, #d6b885 0%, #c8a569 100%);
    color: #1d1811;
}

.sb-btn--ghost,
.sb-btn--ghost-light,
.sb-product-btn-outline,
.btn-outline {
    background: rgba(255, 253, 249, 0.7);
    border-color: var(--sb-line-strong);
    color: var(--sb-text);
    box-shadow: none;
}

.sb-btn--ghost:hover,
.sb-btn--ghost-light:hover,
.sb-product-btn-outline:hover,
.btn-outline:hover {
    background: #fffdfa;
    border-color: var(--sb-accent);
    color: var(--sb-text);
    transform: translateY(-1px);
}

.sb-btn--ghost-light {
    background: rgba(255, 253, 249, 0.88);
}

.sb-pill,
.sb-product-pill,
.sb-filter-chip,
.sb-product-selected {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(198, 164, 108, 0.22);
    border-radius: var(--sb-radius-pill);
    background: rgba(255, 250, 244, 0.82);
    color: var(--sb-text-soft);
    font-size: 0.86rem;
}

.sb-product-selected {
    min-height: 38px;
    padding-inline: 14px;
    font-weight: 500;
}

.sb-shop-empty,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
    border-radius: var(--sb-radius-md);
    padding: 18px 20px;
    border: 1px solid var(--sb-line);
    background: rgba(255, 253, 249, 0.92);
    box-shadow: var(--sb-shadow-xs);
}

.woocommerce-message {
    border-color: rgba(84, 114, 92, 0.25);
    background: rgba(245, 249, 245, 0.96);
}

.woocommerce-error {
    border-color: rgba(143, 91, 93, 0.25);
    background: rgba(251, 245, 245, 0.96);
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
    color: var(--sb-accent-deep);
}

.woocommerce form .form-row label,
.sb-filter-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--sb-text-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select,
.woocommerce form .input-text,
.select2-container--default .select2-selection--single {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--sb-line-strong);
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.96);
    color: var(--sb-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

textarea,
textarea.input-text {
    min-height: 140px;
    padding: 14px 16px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: var(--sb-muted-2);
}

select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--sb-muted) 50%),
        linear-gradient(135deg, var(--sb-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 2px),
        calc(100% - 14px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.quantity {
    display: inline-flex;
    align-items: center;
}

.quantity .qty {
    width: 86px;
    min-width: 86px;
    text-align: center;
}

.select2-container .select2-selection--single {
    min-height: 52px;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--sb-text);
    line-height: 52px;
    padding-left: 16px;
    padding-right: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 52px;
    right: 12px;
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
    word-wrap: normal !important;
}

/* =========================
   6. HEADER / NAV / FOOTER
========================= */

.sb-site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(14px);
    background: rgba(247, 243, 238, 0.88);
    border-bottom: 1px solid rgba(229, 223, 215, 0.92);
}

.sb-header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sb-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
}

.sb-brand-mark {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.15rem;
    line-height: 0.92;
    letter-spacing: -0.03em;
}

.sb-brand-sub {
    color: var(--sb-muted);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sb-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    min-width: 0;
}

.sb-site-nav {
    min-width: 0;
}

.sb-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sb-menu li {
    margin: 0;
}

.sb-menu a,
.sb-header-link,
.sb-lang-switcher a {
    color: var(--sb-text-soft);
    font-size: 0.95rem;
    font-weight: 500;
}

.sb-menu a:hover,
.sb-header-link:hover,
.sb-lang-switcher a:hover {
    color: var(--sb-text);
}

.sb-header-utility {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sb-header-cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--sb-line);
    border-radius: var(--sb-radius-pill);
    background: rgba(255, 253, 249, 0.7);
}

.sb-header-cart span {
    min-width: 24px;
    height: 24px;
    padding-inline: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(198, 164, 108, 0.18);
    color: var(--sb-text);
    font-size: 0.8rem;
    font-weight: 700;
}

.sb-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--sb-line);
    border-radius: var(--sb-radius-pill);
    background: rgba(255, 253, 249, 0.7);
}

.sb-lang-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
}

.sb-lang-switcher a.is-active {
    background: rgba(198, 164, 108, 0.16);
    color: var(--sb-text);
}

.sb-site-footer {
    margin-top: var(--sb-space-10);
    padding: 28px 0 40px;
    border-top: 1px solid rgba(229, 223, 215, 0.92);
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.3) 0%, rgba(239, 234, 228, 0.75) 100%);
}

.sb-footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}



@media (min-width: 981px) {
    .sb-footer-inner {
        display: grid;
        grid-template-columns: minmax(240px, 1fr) auto minmax(420px, 1.35fr);
        align-items: start;
        gap: 28px 40px;
    }

    .sb-footer-links {
        align-self: start;
    }
}

.sb-footer-copy {
    margin-top: 10px;
    color: var(--sb-muted);
    max-width: 430px;
}

.sb-footer-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
}

.sb-footer-contact__item {
    color: var(--sb-text-soft);
    text-decoration: none;
    line-height: 1.45;
}

.sb-footer-contact__item--address {
    flex: 0 0 100%;
    max-width: 430px;
}

.sb-footer-contact__item--phone,
.sb-footer-contact__item--email {
    display: inline-flex;
    align-items: center;
}

.sb-footer-contact__item:hover {
    color: var(--sb-text);
}

.sb-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 18px;
}

.sb-footer-links a {
    color: var(--sb-text-soft);
}

.sb-footer-links a:hover {
    color: var(--sb-text);
}


.sb-footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 10px 0 0;
}

.sb-footer-social__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.sb-footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    background: rgba(195, 138, 55, 0.08);
    color: var(--accent-color);
    text-decoration: none;
    box-shadow: none;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.sb-footer-social__link svg {
    width: 24px;
    height: 24px;
}

.sb-footer-social__link:hover {
    color: #7a1f35;
    background: rgba(195, 138, 55, 0.14);
    border-color: rgba(195, 138, 55, 0.32);
    transform: translateY(-1px);
}

/* =========================
   7. HOMEPAGE
========================= */

.sb-home-hero {
    padding-top: 52px;
    padding-bottom: 72px;
}

.sb-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
}

.sb-home-hero__content {
    max-width: 700px;
}

.sb-home-hero__title {
    max-width: 11ch;
    margin-top: 14px;
    margin-bottom: 18px;
}

.sb-home-hero__copy {
    font-size: 1.08rem;
    max-width: 650px;
    margin-bottom: 24px;
}

.sb-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.sb-home-hero__card {
    position: relative;
    padding: clamp(24px, 4vw, 34px);
    overflow: hidden;
}

.sb-home-hero__card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        linear-gradient(145deg, rgba(198, 164, 108, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent 55%);
    pointer-events: none;
}

.sb-home-hero__card > * {
    position: relative;
    z-index: 1;
}

.sb-home-hero__card-title {
    margin-top: 10px;
    margin-bottom: 18px;
    font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.sb-home-hero__list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.sb-home-hero__list li {
    position: relative;
    padding-left: 22px;
    color: var(--sb-text-soft);
}

.sb-home-hero__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.66em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--sb-accent);
    box-shadow: 0 0 0 5px rgba(198, 164, 108, 0.12);
}

.sb-home-regions {
    padding-top: 40px;
}

.sb-home-featured {
    padding-top: var(--sb-space-9);
}

.sb-home-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.sb-home-trust__card {
    padding: 24px;
    min-height: 100%;
}

.sb-home-trust__card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.sb-home-trust__card p {
    color: var(--sb-muted);
}

.sb-home-experience__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.sb-home-experience__content {
    max-width: 700px;
}

.sb-home-experience__panel {
    padding: clamp(24px, 4vw, 34px);
    background:
        linear-gradient(180deg, rgba(255, 253, 250, 0.98) 0%, rgba(243, 236, 226, 0.98) 100%);
}

.sb-home-experience__meta {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.sb-home-experience__meta li {
    position: relative;
    padding-left: 22px;
    color: var(--sb-text-soft);
}

.sb-home-experience__meta li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.67em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--sb-accent);
}

/* =========================
   8. REGIONS MAP
========================= */

.sb-regions-module {
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid rgba(229, 223, 215, 0.94);
    border-radius: var(--sb-radius-xl);
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(242, 236, 229, 0.96) 100%);
    box-shadow: var(--sb-shadow-sm);
}

.sb-regions-module .h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-top: 12px;
    margin-bottom: 14px;
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 1.05;
}

.sb-regions-module .sub {
    color: var(--sb-muted);
    max-width: 760px;
    margin-bottom: 28px;
    font-size: 1.04rem;
}

.map-wrap {
    display: grid;
    gap: 24px;
}

.map-stage {
    position: relative;
    display: flex;
    justify-content: center;
}

.bg-map9 {
    width: min(980px, 100%);
    height: auto;
}

.bg-map9 .country {
    opacity: 0.3;
}

.bg-map9 .shape {
    stroke: rgba(255, 251, 245, 0.96);
    stroke-width: 2.4;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    paint-order: stroke fill;
    transition: transform var(--sb-ease), filter var(--sb-ease), opacity var(--sb-ease);
    transform-origin: center center;
}

.bg-map9 .shape--static {
    cursor: default;
}

.bg-map9 a.reg,
.bg-map9 a.reg:focus,
.bg-map9 a.reg:focus-visible,
.bg-map9 a.reg:active {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}


.bg-map9 a.reg:hover .shape {
    filter: brightness(1.06) saturate(1.06);
}

.bg-map9 .label {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    fill: rgba(255, 251, 245, 0.92);
    font-weight: 700;
    letter-spacing: 0.01em;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(33, 24, 16, 0.14);
}

.map-tooltip9 {
    position: absolute;
    inset: auto auto 22px 22px;
    max-width: min(360px, calc(100% - 44px));
    padding: 14px 16px;
    border: 1px solid rgba(255, 250, 244, 0.82);
    border-radius: 18px;
    background: rgba(36, 28, 20, 0.8);
    color: rgba(255, 251, 246, 0.96);
    box-shadow: var(--sb-shadow-md);
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity var(--sb-ease), transform var(--sb-ease);
}

.map-tooltip9.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.map-tooltip9 strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.map-tooltip9 span {
    color: rgba(255, 251, 246, 0.82);
    font-size: 0.9rem;
    line-height: 1.55;
}

.map-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.map-helper {
    color: var(--sb-muted);
    margin: 0;
}

/* =========================
   9. PRODUCT CARDS + LOOPS
========================= */

.products,
ul.products,
.woocommerce ul.products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sb-home-featured-grid,
.woocommerce ul.products.columns-4,
.woocommerce-page ul.products.columns-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
li.sb-product-card {
    width: auto;
    float: none;
    margin: 0;
}

.sb-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(245, 240, 233, 0.98) 100%);
    box-shadow: var(--sb-shadow-sm);
    transition: transform var(--sb-ease), box-shadow var(--sb-ease), border-color var(--sb-ease);
}

.sb-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sb-shadow-md);
    border-color: rgba(198, 164, 108, 0.28);
}

.sb-product-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 4.5;
    padding: 24px 24px 10px;
    background:
        radial-gradient(circle at top center, rgba(198, 164, 108, 0.11), transparent 45%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, transparent 60%);
}

.sb-product-card__media img {
    width: auto;
    max-height: 260px;
    object-fit: contain;
    transition: transform 280ms ease;
}

.sb-product-card:hover .sb-product-card__media img {
    transform: translateY(-2px) scale(1.015);
}

.sb-product-card__body {
    display: grid;
    gap: 12px;
    padding: 0 24px 24px;
    flex: 1 1 auto;
}

.sb-product-card__eyebrow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sb-product-card__eyebrow,
.sb-product-card__vintage {
    color: var(--sb-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sb-product-card__vintage {
    color: var(--sb-accent-deep);
}

.sb-product-card__title {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2rem);
    line-height: 1.04;
}

.sb-product-card__title a:hover {
    color: var(--sb-accent-deep);
}

.sb-product-card__subtitle {
    min-height: 2.9em;
    color: var(--sb-muted);
    font-size: 0.97rem;
    line-height: 1.5;
}

.sb-product-card__details-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: var(--sb-text-soft);
    font-size: 0.9rem;
}

.sb-product-card__availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.sb-product-card__availability::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
}

.sb-product-card__availability.is-instock {
    color: var(--sb-success);
}

.sb-product-card__availability.is-outofstock {
    color: var(--sb-danger);
}

.sb-product-card__bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 4px;
}

.sb-product-card__price {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--sb-text);
}

.sb-product-card__price .amount {
    font-size: inherit;
}

.sb-product-card__cart-slot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.sb-product-card__cart-btn,
.sb-product-card__cart-slot .added_to_cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(198, 164, 108, 0.42);
    background: rgba(198, 164, 108, 0.14);
    color: var(--sb-text);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    transition: background var(--sb-ease), border-color var(--sb-ease), color var(--sb-ease), transform var(--sb-ease);
}

.sb-product-card__cart-btn:hover,
.sb-product-card__cart-slot .added_to_cart:hover {
    background: rgba(198, 164, 108, 0.2);
    border-color: rgba(198, 164, 108, 0.62);
    color: var(--sb-text);
    transform: translateY(-1px);
}

.sb-product-card__cart-btn.loading {
    opacity: 0.78;
}

.sb-product-card__cart-btn.added {
    border-color: rgba(126, 157, 112, 0.42);
    background: rgba(126, 157, 112, 0.14);
}

.sb-product-card__cart-slot .added_to_cart {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.sb-product-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    color: var(--sb-text-soft);
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
}

.sb-product-card__link:hover {
    color: var(--sb-accent-deep);
}

/* =========================
   10. SHOP HERO + FILTERS
========================= */

.sb-shop-hero {
    padding-bottom: 36px;
}

.sb-shop-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
}

.sb-shop-copy {
    margin-top: 14px;
}

.sb-shop-term-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.sb-shop-stat {
    min-width: 180px;
    padding: 22px 24px;
    border: 1px solid rgba(229, 223, 215, 0.9);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.9);
    box-shadow: var(--sb-shadow-xs);
    text-align: center;
}

.sb-shop-stat__value {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 0.95;
}

.sb-shop-stat__label {
    margin-top: 8px;
    color: var(--sb-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.sb-filter-shell {
    position: sticky;
    top: 104px;
}

.sb-filter-form {
    display: grid;
    gap: 22px;
    padding: 24px;
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(241, 234, 225, 0.98) 100%);
    box-shadow: var(--sb-shadow-sm);
}

.sb-filter-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.sb-filter-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    line-height: 1.05;
    margin-top: 8px;
}

.sb-filter-reset {
    color: var(--sb-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.sb-filter-reset:hover {
    color: var(--sb-text);
}

.sb-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sb-filter-chip {
    font-size: 0.8rem;
}

.sb-filter-grid {
    display: grid;
    gap: 18px;
}

.sb-filter-field--locked .sb-filter-lock {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--sb-line);
    border-radius: 16px;
    background: rgba(244, 238, 231, 0.88);
    color: var(--sb-text-soft);
    font-weight: 500;
}

.sb-price-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sb-filter-actions {
    display: grid;
    gap: 12px;
}

.sb-filter-actions .sb-btn {
    width: 100%;
}

.sb-filter-hint {
    color: var(--sb-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.sb-shop-empty {
    padding: 28px;
}

.sb-shop-empty h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.sb-shop-empty p {
    color: var(--sb-muted);
    margin-bottom: 18px;
}

/* =========================
   11. SINGLE PRODUCT
========================= */

.single-product .sb-site-footer {
    margin-top: 0;
}

.sb-product-page {
    position: relative;
}

.sb-product-hero {
    padding: 54px 0 72px;
}

.sb-product-hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 68px);
    align-items: start;
}

.sb-product-image-card {
    position: sticky;
    top: 116px;
    padding: 24px;
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(243, 236, 227, 0.98) 100%);
    box-shadow: var(--sb-shadow-sm);
}

.sb-product-image-wrap {
    aspect-ratio: 1 / 1.16;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    background:
        radial-gradient(circle at top center, rgba(198, 164, 108, 0.12), transparent 46%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent 60%);
    border-radius: 24px;
}

.sb-product-image {
    max-height: 620px;
    width: auto;
    object-fit: contain;
}

.sb-product-summary {
    min-width: 0;
}

.sb-product-title {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: clamp(2.55rem, 5vw, 4.55rem);
}

.sb-product-subline {
    max-width: 720px;
    margin: 0 0 16px;
    color: var(--sb-muted);
    font-size: 1.1rem;
}

.sb-product-price {
    margin: 20px 0 20px;
    font-size: 1.7rem;
    font-weight: 700;
}

.sb-product-price .amount {
    font-size: inherit;
}

.sb-product-checks {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
}

.sb-product-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--sb-text-soft);
}

.sb-product-checks svg,
.sb-product-pill svg {
    flex: 0 0 auto;
}

.sb-product-buybox {
    padding: 22px 22px 18px;
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.95);
    box-shadow: var(--sb-shadow-xs);
}

.sb-product-buybox form.cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
}

.sb-product-buybox .quantity {
    flex: 0 0 auto;
}

.sb-product-buybox .single_add_to_cart_button {
    flex: 0 0 auto;
}

.sb-product-microtrust {
    margin-top: 12px;
    color: var(--sb-muted);
    font-size: 0.92rem;
}

.sb-product-identity {
    margin-top: 26px;
}

.sb-product-id-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sb-product-id-item {
    padding: 16px 18px;
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.82);
}

.sb-product-id-label {
    color: var(--sb-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sb-product-id-value {
    margin-top: 8px;
    color: var(--sb-text);
    font-size: 1rem;
    font-weight: 600;
}

.sb-product-section {
    padding: 80px 0;
}

.sb-product-section-alt {
    background: linear-gradient(180deg, rgba(239, 234, 228, 0.44) 0%, rgba(247, 243, 238, 0.9) 100%);
    border-top: 1px solid rgba(229, 223, 215, 0.82);
    border-bottom: 1px solid rgba(229, 223, 215, 0.82);
}

.sb-product-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: start;
}

.sb-product-section-grid--event {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.sb-product-section-title {
    font-size: clamp(2.1rem, 4vw, 3rem);
    margin-bottom: 18px;
}

.sb-product-lead {
    max-width: 720px;
    margin: 0 0 20px;
    color: var(--sb-text-soft);
    font-size: 1.12rem;
}

.sb-product-subsection-title {
    font-size: 1.6rem;
    margin-top: 28px;
    margin-bottom: 12px;
}

.sb-product-bullets {
    display: grid;
    gap: 10px;
    padding-left: 1.15em;
}

.sb-product-bullets li::marker {
    color: var(--sb-accent-deep);
}

.sb-product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 22px;
    color: var(--sb-muted);
    font-size: 0.9rem;
}

.sb-product-meta-row span {
    position: relative;
}

.sb-product-taste-card {
    padding: 24px;
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(242, 235, 226, 0.98) 100%);
    box-shadow: var(--sb-shadow-sm);
}

.sb-product-taste-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.sb-product-taste-tagline {
    margin-top: 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.85rem;
    line-height: 1.06;
}

.sb-product-taste-value {
    color: var(--sb-text);
    font-weight: 700;
}

.sb-product-taste-grid {
    display: grid;
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}


.sb-product-taste-grid--notes-only {
    grid-template-columns: 1fr;
}

.sb-product-scales {
    display: grid;
    gap: 20px;
    align-self: start;
}

.sb-product-scale {
    display: grid;
    gap: 10px;
}

.sb-product-scale-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.sb-product-scale-name {
    color: var(--sb-text);
    font-weight: 600;
}

.sb-product-scale-descriptor {
    color: var(--sb-text-soft);
    font-weight: 600;
}

.sb-product-scale-track {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: rgba(212, 194, 158, 0.34);
}

.sb-product-scale-dot {
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: var(--sb-accent-deep);
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(54, 42, 22, 0.18);
}

.sb-product-scale-endpoints {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    color: var(--sb-muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.sb-product-scale-endpoints span:nth-child(2) {
    text-align: center;
}

.sb-product-scale-endpoints span:nth-child(3) {
    text-align: right;
}

.sb-product-notes--wide {
    max-width: none;
}

.sb-product-pairing-recommendation {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(229, 223, 215, 0.92);
}

.sb-product-pairing-recommendation__label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sb-accent);
    margin-bottom: 10px;
}

.sb-product-pairing-recommendation__body {
    color: var(--sb-text-soft);
    line-height: 1.85;
}

.sb-product-dial svg {
    width: 100%;
    height: auto;
}

.sb-product-notes {
    display: grid;
    gap: 12px;
}

.sb-product-note-line {
    color: var(--sb-text-soft);
}

.sb-product-note-line strong {
    color: var(--sb-text);
}

.sb-product-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.sb-product-taste-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(229, 223, 215, 0.92);
}

.sb-product-pairings,
.sb-product-details-section {
    padding: 80px 0;
}

.sb-product-center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 28px;
}

.sb-product-section-title-center {
    justify-content: center;
}

.sb-product-pairings-note {
    color: var(--sb-muted);
}

.sb-product-pair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    justify-content: center;
    gap: 18px;
}

.sb-product-pair-card {
    padding: 18px;
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.92);
    box-shadow: var(--sb-shadow-xs);
}

.sb-product-pair-img {
    aspect-ratio: 1 / 0.72;
    border-radius: 16px;
    background:
        radial-gradient(circle at top left, rgba(198, 164, 108, 0.15), transparent 48%),
        linear-gradient(135deg, rgba(242, 235, 226, 0.92) 0%, rgba(232, 224, 214, 0.92) 100%);
    margin-bottom: 14px;
}

.sb-product-pair-name {
    font-weight: 600;
    color: var(--sb-text-soft);
    text-align: center;
}

.sb-product-pair-copy {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.sb-product-experience {
    padding: 72px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(239, 234, 228, 0.55) 0%, rgba(247, 243, 238, 0.95) 100%);
    border-top: 1px solid rgba(229, 223, 215, 0.82);
    border-bottom: 1px solid rgba(229, 223, 215, 0.82);
}

.sb-product-experience h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 10px;
}

.sb-product-experience p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--sb-muted);
}

.sb-product-divider {
    width: 90px;
    height: 1px;
    margin: 24px auto 24px;
    background: linear-gradient(90deg, transparent, rgba(198, 164, 108, 0.78), transparent);
}

.sb-product-accordion {
    display: grid;
    gap: 14px;
}

.sb-product-accordion details {
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.92);
    box-shadow: var(--sb-shadow-xs);
    overflow: hidden;
}

.sb-product-accordion summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
}

.sb-product-accordion summary::-webkit-details-marker {
    display: none;
}

.sb-product-sum-title {
    font-family: Inter, system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sb-text);
}

.sb-product-plus {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.sb-product-plus::before,
.sb-product-plus::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 16px;
    height: 1.5px;
    background: var(--sb-text-soft);
    transform: translate(-50%, -50%);
    transition: transform var(--sb-ease), opacity var(--sb-ease);
}

.sb-product-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.sb-product-accordion details[open] .sb-product-plus::after {
    opacity: 0;
}

.sb-product-detail-body {
    padding: 0 22px 22px;
    color: var(--sb-text-soft);
}

.sb-product-detail-body p + p {
    margin-top: 10px;
}

/* =========================
   12. CART / CHECKOUT / ACCOUNT
========================= */

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce,
.woocommerce-page .entry-content {
    width: min(var(--sb-max), calc(100% - 48px));
    margin: 52px auto 0;
}

.woocommerce-page .cart-collaterals,
.woocommerce-page .checkout,
.woocommerce-page .woocommerce-account .woocommerce {
    margin-top: 28px;
}

.woocommerce table.shop_table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--sb-shadow-xs);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 16px 18px;
    border-top: 1px solid rgba(229, 223, 215, 0.78);
}

.woocommerce table.shop_table thead th {
    border-top: 0;
    color: var(--sb-muted);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.woocommerce-cart table.cart img {
    width: 72px;
    border-radius: 12px;
}

.woocommerce .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce form.checkout_coupon,
.woocommerce .woocommerce-form-login,
.woocommerce .woocommerce-form-coupon,
.woocommerce-account .addresses .woocommerce-Address,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--sb-shadow-xs);
}

.woocommerce .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
    padding: 22px;
}

.woocommerce-checkout .col2-set,
.woocommerce-account .col2-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.woocommerce-checkout #customer_details {
    margin-bottom: 24px;
}

.woocommerce-checkout #payment {
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--sb-shadow-xs);
}

.woocommerce-checkout #payment div.payment_box {
    background: rgba(244, 238, 231, 0.82);
    color: var(--sb-text-soft);
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: rgba(244, 238, 231, 0.82);
}

.woocommerce ul.order_details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 32px;
    padding: 0;
}

.woocommerce ul.order_details li {
    width: auto;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.96);
}

.woocommerce ul.order_details::before,
.woocommerce ul.order_details::after {
    display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    color: var(--sb-text-soft);
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: rgba(198, 164, 108, 0.14);
    color: var(--sb-text);
}

.woocommerce-pagination {
    margin-top: 34px;
}

.woocommerce nav.woocommerce-pagination ul {
    border: 0;
    display: inline-flex;
    gap: 8px;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sb-line);
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.92);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: rgba(198, 164, 108, 0.16);
    border-color: rgba(198, 164, 108, 0.32);
}

/* =========================
   13. GENERIC CONTENT / POSTS
========================= */

body.page:not(.home) .sb-card,
body.blog .sb-card,
body.single-post .sb-card {
    padding: clamp(28px, 4vw, 42px);
}

body.page:not(.home) article,
body.blog article,
body.single-post article {
    max-width: 860px;
    margin: 0 auto;
}

.wp-block-image img,
.entry-content img,
.sb-page-content img {
    border-radius: 18px;
}

blockquote {
    margin: 1.5em 0;
    padding: 0 0 0 20px;
    border-left: 3px solid rgba(198, 164, 108, 0.48);
    color: var(--sb-text-soft);
    font-style: italic;
}

table {
    width: 100%;
}

hr {
    border: 0;
    border-top: 1px solid var(--sb-line);
    margin: 32px 0;
}

/* =========================
   14. UTILITIES
========================= */

.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.has-text-align-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* =========================
   15. RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .sb-home-featured-grid,
    .woocommerce ul.products.columns-4,
    .woocommerce-page ul.products.columns-4,
    .sb-home-trust__grid,
    .sb-product-pair-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sb-product-id-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .sb-header-inner {
        min-height: 78px;
    }

    .sb-header-actions {
        gap: 14px;
    }

    .sb-menu {
        gap: 14px;
    }

    .sb-home-hero__grid,
    .sb-home-experience__grid,
    .sb-shop-layout__grid,
    .sb-product-hero-grid,
    .sb-product-section-grid,
    .woocommerce-checkout .col2-set,
    .woocommerce-account .col2-set {
        grid-template-columns: 1fr;
    }

    .sb-filter-shell,
    .sb-product-image-card {
        position: static;
    }

    .sb-shop-hero__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .sb-shop-stat {
        width: fit-content;
    }

    .sb-product-image-card {
        max-width: 620px;
        margin: 0 auto;
    }

    .sb-product-summary,
    .sb-home-experience__content,
    .sb-home-hero__content {
        max-width: none;
    }
}

@media (max-width: 820px) {
    body.admin-bar .sb-site-header {
        top: 46px;
    }

    .sb-wrap,
    .sb-product-container,
    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce,
    .woocommerce-account .woocommerce,
    .woocommerce-page .entry-content {
        width: min(var(--sb-max), calc(100% - 32px));
    }

    .sb-section {
        padding: 56px 0;
    }

    .sb-home-hero {
        padding-top: 36px;
        padding-bottom: 56px;
    }

    .sb-header-inner,
    .sb-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sb-header-inner {
        padding: 14px 0;
    }

    .sb-header-actions {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .sb-site-nav {
        order: 3;
        width: 100%;
    }

    .sb-menu {
        flex-wrap: wrap;
    }

    .sb-home-featured-grid,
    .woocommerce ul.products.columns-4,
    .woocommerce-page ul.products.columns-4,
    .sb-home-trust__grid,
    .sb-product-pair-grid,
    .sb-product-id-grid,
    .woocommerce ul.order_details {
        grid-template-columns: 1fr;
    }

    .sb-product-taste-grid {
        grid-template-columns: 1fr;
    }

    .map-actions,
    .sb-footer-links {
        justify-content: flex-start;
    }

    .sb-footer-social {
        align-items: flex-start;
        justify-content: flex-start;
        min-width: 0;
        padding-top: 0;
    }

    .sb-footer-social__icons {
        justify-content: flex-start;
    }

    .sb-footer-contact {
        gap: 8px 18px;
    }

    .map-tooltip9 {
        inset: auto 14px 14px 14px;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .sb-title {
        font-size: clamp(2.2rem, 12vw, 3.2rem);
    }

    .sb-home-section-title,
    .sb-shop-title,
    .sb-product-section-title,
    .sb-product-experience h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    .sb-home-hero__actions,
    .sb-shop-term-actions,
    .sb-product-buybox form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .sb-home-hero__actions .sb-btn,
    .sb-shop-term-actions .sb-btn,
    .sb-product-buybox .single_add_to_cart_button,
    .sb-product-buybox .quantity {
        width: 100%;
    }

    .sb-product-buybox .quantity .qty {
        width: 100%;
    }

    .sb-home-hero__card,
    .sb-home-experience__panel,
    .sb-regions-module,
    .sb-filter-form,
    .sb-product-taste-card,
    .sb-product-buybox,
    .sb-page-card {
        padding: 22px;
    }

    .sb-product-image-wrap {
        padding: 20px;
    }

    .sb-product-title {
        font-size: clamp(2.1rem, 12vw, 3rem);
    }

    .sb-product-taste-top {
        flex-direction: column;
    }

    .sb-price-row {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.order_details li,
    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        padding: 14px;
    }

    .bg-map9 .label {
        font-size: 18px;
    }
}
/* =========================================================
   V2.1 HOMEPAGE POLISH
   - reduce map dominance
   - strengthen featured wines cards
   - refine trust block
   - rebalance tasting / experience section
========================================================= */

/* ---------- Global homepage spacing ---------- */

.home .sb-section {
    padding-top: 56px;
    padding-bottom: 56px;
}

.home .sb-home-hero {
    padding-top: 52px;
    padding-bottom: 44px;
}

.home .sb-home-section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.home .sb-home-section-title {
    margin-bottom: 14px;
}

/* ---------- 1) Regions block: make it more compact ---------- */

.home .sb-home-regions {
    padding-top: 18px;
    padding-bottom: 42px;
}

.home .sb-home-regions .sb-wrap {
    max-width: 1120px;
}

.home .sb-regions-module {
    background: #f5efe7;
    border: 1px solid rgba(91, 74, 48, 0.08);
    border-radius: 30px;
    padding: 34px 36px 26px;
    box-shadow: 0 14px 34px rgba(58, 47, 32, 0.04);
}

.home .sb-regions-module .h2 {
    max-width: none;
    margin-bottom: 12px;
}

.home .sb-regions-module .sub {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.home .bg-map9 {
    width: min(820px, 100%);
    margin: 8px auto 0;
}

.home .map-actions {
    margin-top: 10px;
    gap: 8px;
}

.home .map-helper {
    font-size: 12px;
    color: #847b70;
}

/* ---------- 2) Featured wines: bigger, more premium, more commerce pull ---------- */

.home .sb-home-featured {
    padding-top: 32px;
    padding-bottom: 54px;
}

.home .sb-home-featured .sb-wrap {
    max-width: 1120px;
}

.home .sb-home-featured-grid.products {
    grid-template-columns: repeat(2, minmax(280px, 360px));
    justify-content: start;
    gap: 28px;
}

.home .sb-home-featured-grid.products > li {
    display: block;
}

.home .sb-home-featured .sb-product-card {
    background: #f6f0e8;
    border: 1px solid rgba(91, 74, 48, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(58, 47, 32, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home .sb-home-featured .sb-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(58, 47, 32, 0.10);
    border-color: rgba(184, 143, 74, 0.24);
}

.home .sb-home-featured .sb-product-card__media {
    aspect-ratio: auto;
    background: transparent;
    padding: 0;
}

.home .sb-home-featured .sb-product-card__media img {
    display: block;
    width: 100%;
    max-height: none;
    border-radius: 0;
}

.home .sb-home-featured .sb-product-card__body {
    background: #f6f0e8;
    color: #201d19;
    padding: 18px 18px 20px;
    gap: 10px;
}

.home .sb-home-featured .sb-product-card__eyebrow,
.home .sb-home-featured .sb-product-card__vintage,
.home .sb-home-featured .sb-product-card__details-row span {
    color: #8b7d69;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.home .sb-home-featured .sb-product-card__title,
.home .sb-home-featured .sb-product-card__title a {
    color: #201d19;
}

.home .sb-home-featured .sb-product-card__title {
    font-size: clamp(22px, 2.4vw, 30px) !important;
    line-height: 1.02;
    margin-top: 2px !important;
}

.home .sb-home-featured .sb-product-card__subtitle {
    color: #5d564d;
    font-size: 13px;
    line-height: 1.55;
}

.home .sb-home-featured .sb-product-card__availability.is-instock {
    color: #8d7b52;
}

.home .sb-home-featured .sb-product-card__availability.is-outofstock {
    color: #ad6758;
}

.home .sb-home-featured .sb-product-card__price {
    color: #201d19;
    font-size: 20px;
    font-weight: 600;
}

.home .sb-home-featured .sb-product-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(91, 74, 48, 0.18);
    color: #201d19;
    background: transparent;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.10em;
}

.home .sb-home-featured .sb-product-card__link:hover {
    background: rgba(184, 143, 74, 0.08);
    border-color: rgba(184, 143, 74, 0.46);
}

.home .sb-home-section-actions {
    margin-top: 28px;
    justify-content: flex-start;
}

/* ---------- 3) Trust block: less generic, lighter, more editorial ---------- */

.home .sb-home-trust {
    padding-top: 34px;
    padding-bottom: 42px;
}

.home .sb-home-trust .sb-wrap {
    max-width: 1120px;
}

.home .sb-home-trust__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home .sb-home-trust__card {
    background: #f4eee6;
    border: 1px solid rgba(91, 74, 48, 0.07);
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 8px 20px rgba(58, 47, 32, 0.025);
}

.home .sb-home-trust__card h3 {
    margin-bottom: 8px;
    font-size: 23px;
    line-height: 1.06;
}

.home .sb-home-trust__card p {
    font-size: 14px;
    line-height: 1.65;
    color: #645c52;
}

/* ---------- 4) Experience block: stronger balance and calmer luxury ---------- */

.home .sb-home-experience {
    padding-top: 34px;
    padding-bottom: 50px;
}

.home .sb-home-experience .sb-wrap {
    max-width: 1120px;
}

.home .sb-home-experience__grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
    gap: 36px;
    align-items: center;
}

.home .sb-home-experience__content {
    max-width: 640px;
    padding: 0;
}

.home .sb-home-experience__content .sb-home-section-title {
    max-width: 11ch;
}

.home .sb-home-experience__content .sb-home-section-copy {
    max-width: 58ch;
}

.home .sb-home-experience__panel {
    background: #efe7dd;
    border: 1px solid rgba(91, 74, 48, 0.08);
    color: #201d19;
    border-radius: 24px;
    padding: 28px 30px;
    box-shadow: 0 18px 36px rgba(58, 47, 32, 0.05);
}

.home .sb-home-experience__panel .sb-eyebrow {
    color: #9a845f;
}

.home .sb-home-experience__panel h3 {
    color: #201d19;
    margin-bottom: 14px;
    font-size: 30px;
}

.home .sb-home-experience__panel li {
    color: #5d564d;
}

.home .sb-home-experience__meta {
    color: #6a6156;
    border-top: 1px solid rgba(91, 74, 48, 0.10);
    margin-top: 18px;
    padding-top: 16px;
}

/* ---------- Buttons on homepage: slightly more refined ---------- */

.home .sb-btn--solid {
    box-shadow: 0 8px 18px rgba(184, 143, 74, 0.18);
}

.home .sb-btn--solid:hover {
    box-shadow: 0 12px 24px rgba(184, 143, 74, 0.24);
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .home .sb-home-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home .sb-home-regions {
        padding-top: 8px;
        padding-bottom: 28px;
    }

    .home .sb-regions-module {
        padding: 24px 20px 18px;
        border-radius: 24px;
    }

    .home .bg-map9 {
        width: 100%;
    }

    .home .sb-home-featured-grid.products {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home .sb-home-section-actions {
        justify-content: stretch;
    }

    .home .sb-home-experience__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home .sb-home-experience__content,
    .home .sb-home-experience__content .sb-home-section-copy {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .home .sb-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .home .sb-home-featured {
        padding-top: 18px;
    }

    .home .sb-home-trust__grid {
        grid-template-columns: 1fr;
    }

    .home .sb-home-featured .sb-product-card__media {
        padding: 0;
    }

    .home .sb-home-featured .sb-product-card__body {
        padding: 16px 16px 18px;
    }

    .home .sb-home-experience__panel {
        padding: 22px 18px;
    }
}

/* =========================================================
   HOMEPAGE HERO RESET — PHASE 2.1 MICRO POLISH
   - canonical top-section hero
   - wider editorial headline
   - stronger fact cards
   - lighter visual/panel balance
========================================================= */

.home .sb-home-hero--reset {
    padding-top: 28px;
    padding-bottom: 16px;
}

.home .sb-home-hero-reset {
    max-width: 1200px;
}

.home .sb-home-hero-reset__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: center;
}

.home .sb-home-hero-reset__content {
    max-width: 660px;
    padding-top: 4px;
}

.home .sb-home-hero-reset__title {
    margin: 10px 0 18px;
    font-size: clamp(44px, 4.9vw, 68px);
    line-height: 0.96;
    letter-spacing: -0.034em;
    text-wrap: balance;
}

.home .sb-home-hero-reset__title-line {
    display: block;
}

body.sb-lang-bg.home .sb-home-hero-reset__title {
    font-size: clamp(41px, 4.35vw, 60px);
    line-height: 0.99;
    letter-spacing: -0.03em;
}

.home .sb-home-hero-reset__copy {
    max-width: 51ch;
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.68;
    color: #5d564d;
}

.home .sb-home-hero-reset__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.home .sb-home-hero-reset__facts {
    display: block;
    width: min(740px, calc(100% + 110px));
    max-width: none;
}

.home .sb-home-hero-reset__fact {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    min-height: 0;
    padding: 17px 22px;
    border: 1px solid rgba(91, 74, 48, 0.10);
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.92);
    box-shadow: 0 14px 30px rgba(58, 47, 32, 0.05);
}

.home .sb-home-hero-reset__fact-label {
    margin: 0;
    color: var(--sb-accent-deep);
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home .sb-home-hero-reset__fact-text {
    margin: 0;
    color: #5d564d;
    font-size: 15px;
    line-height: 1.5;
    white-space: nowrap;
}

.home .sb-home-hero-reset__visual {
    position: relative;
    min-width: 0;
    padding-left: clamp(8px, 3vw, 30px);
    padding-bottom: 22px;
    align-self: start;
}

.home .sb-home-hero-reset__media {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 0;
    background: #efe7dd;
    border: 1px solid rgba(91, 74, 48, 0.08);
    box-shadow: 0 18px 40px rgba(58, 47, 32, 0.08);
    aspect-ratio: 20 / 21;
}

.home .sb-home-hero-reset__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 44%;
}

.home .sb-home-hero-reset__panel {
    position: absolute;
    left: -42px;
    bottom: 20px;
    width: min(292px, 60%);
    padding: 18px 20px 19px;
    border-radius: 23px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(247, 241, 233, 0.98) 100%);
    border: 1px solid rgba(91, 74, 48, 0.08);
    box-shadow: 0 14px 32px rgba(58, 47, 32, 0.09);
}

.home .sb-home-hero-reset__panel-title {
    margin: 9px 0 10px;
    max-width: 11.8ch;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(24px, 2.1vw, 32px);
    line-height: 1.04;
    color: var(--sb-text);
}

.home .sb-home-hero-reset__panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.home .sb-home-hero-reset__panel-list li {
    position: relative;
    padding-left: 17px;
    color: #5d564d;
    font-size: 13.2px;
    line-height: 1.5;
}

.home .sb-home-hero-reset__panel-list li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--sb-accent);
}

.home .sb-home-regions {
    padding-top: 18px;
}

@media (max-width: 1180px) {
    .home .sb-home-hero-reset__grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
        gap: 28px;
    }

    .home .sb-home-hero-reset__content {
        max-width: 620px;
    }

    .home .sb-home-hero-reset__title {
        font-size: clamp(40px, 4.55vw, 58px);
    }

    body.sb-lang-bg.home .sb-home-hero-reset__title {
        font-size: clamp(38px, 3.95vw, 53px);
    }

    .home .sb-home-hero-reset__copy {
        max-width: 47ch;
        font-size: 15px;
    }

    .home .sb-home-hero-reset__facts {
        width: min(700px, calc(100% + 80px));
    }

    .home .sb-home-hero-reset__fact {
        gap: 15px;
        padding: 16px 20px;
    }

    .home .sb-home-hero-reset__fact-text {
        white-space: normal;
    }

    .home .sb-home-hero-reset__panel {
        left: -28px;
        width: min(274px, 60%);
    }
}

@media (max-width: 980px) {
    .home .sb-home-hero-reset__grid {
        grid-template-columns: minmax(0, 1.04fr) minmax(310px, 0.96fr);
        gap: 24px;
    }

    .home .sb-home-hero-reset__content {
        max-width: 590px;
    }

    .home .sb-home-hero-reset__title {
        font-size: clamp(38px, 4.8vw, 52px);
    }

    body.sb-lang-bg.home .sb-home-hero-reset__title {
        font-size: clamp(36px, 4.1vw, 48px);
    }

    .home .sb-home-hero-reset__facts {
        width: auto;
    }

    .home .sb-home-hero-reset__fact {
        display: block;
        padding: 16px 18px;
    }

    .home .sb-home-hero-reset__fact-label {
        margin-bottom: 8px;
    }

    .home .sb-home-hero-reset__fact-text {
        white-space: normal;
    }

    .home .sb-home-hero-reset__panel {
        left: -16px;
        bottom: 15px;
        width: min(262px, 61%);
    }
}

@media (max-width: 900px) {
    .home .sb-home-hero--reset {
        padding-top: 22px;
        padding-bottom: 14px;
    }

    .home .sb-home-hero-reset__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home .sb-home-hero-reset__content {
        max-width: none;
    }

    .home .sb-home-hero-reset__title,
    body.sb-lang-bg.home .sb-home-hero-reset__title {
        margin-bottom: 14px;
        font-size: clamp(34px, 9vw, 48px);
        line-height: 1.01;
    }

    .home .sb-home-hero-reset__copy {
        max-width: none;
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 18px;
    }

    .home .sb-home-hero-reset__facts {
        width: 100%;
    }

    .home .sb-home-hero-reset__visual {
        display: grid;
        gap: 14px;
        padding-left: 0;
        padding-bottom: 0;
    }

    .home .sb-home-hero-reset__media {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
        border-radius: 24px;
        aspect-ratio: 20 / 21;
    }

    .home .sb-home-hero-reset__panel {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        box-shadow: var(--sb-shadow-sm);
    }

    .home .sb-home-regions {
        padding-top: 10px;
    }
}

@media (max-width: 640px) {
    .home .sb-home-hero-reset__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home .sb-home-hero-reset__actions .sb-btn {
        width: 100%;
    }

    .home .sb-home-hero-reset__fact {
        display: block;
        padding: 15px 16px;
        border-radius: 20px;
    }

    .home .sb-home-hero-reset__fact-label {
        margin-bottom: 8px;
    }
}


/* =========================
   16. SHOP CARD LANGUAGE / WIDTH TUNING
========================= */
@media (min-width: 821px) {
    .sb-shop-results .products {
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
        align-items: stretch;
    }
}

.sb-shop-results .sb-product-card__body {
    gap: 10px;
    padding: 0 20px 22px;
}

.sb-shop-results .sb-product-card__title {
    font-size: clamp(1.36rem, 1.7vw, 1.75rem);
    line-height: 1.08;
}

.sb-shop-results .sb-product-card__subtitle {
    min-height: 3.25em;
    font-size: 0.94rem;
    line-height: 1.45;
}

.sb-shop-results .sb-product-card__details-row {
    gap: 8px 12px;
    font-size: 0.88rem;
}

.sb-shop-results .sb-product-card__bottom-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
}

.sb-shop-results .sb-product-card__link {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    line-height: 1;
}

.sb-shop-results .sb-product-card__cart-slot {
    justify-self: end;
    flex-wrap: wrap;
}

.sb-shop-results .sb-product-card__cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 999px;
    border: 1px solid rgba(198, 164, 108, 0.42);
    background: rgba(198, 164, 108, 0.14);
    color: var(--sb-text);
    box-shadow: 0 10px 24px rgba(27, 24, 21, 0.04);
    transition: background var(--sb-ease), border-color var(--sb-ease), color var(--sb-ease), transform var(--sb-ease), box-shadow var(--sb-ease);
}

.sb-shop-results .sb-product-card__cart-icon:hover {
    background: rgba(198, 164, 108, 0.2);
    border-color: rgba(198, 164, 108, 0.62);
    color: var(--sb-text);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(27, 24, 21, 0.07);
}

.sb-shop-results .sb-product-card__cart-icon.is-view {
    background: rgba(255, 255, 255, 0.68);
}

.sb-shop-results .sb-product-card__cart-icon-svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sb-shop-results .sb-product-card__cart-icon-svg circle {
    fill: currentColor;
    stroke: none;
}

@media (max-width: 520px) {
    .sb-shop-results .sb-product-card__body {
        padding: 0 18px 20px;
    }

    .sb-shop-results .sb-product-card__title {
        font-size: clamp(1.3rem, 6vw, 1.55rem);
    }

    .sb-shop-results .sb-product-card__bottom-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .sb-shop-results .sb-product-card__link {
        justify-self: start;
    }

    .sb-shop-results .sb-product-card__cart-slot {
        justify-self: start;
    }
}

/* =========================
   14. TASTINGS PAGES
========================= */

.sb-tastings-page {
    padding-top: var(--sb-space-8);
}

.sb-tastings-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--sb-space-6);
}

.sb-tastings-subnav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--sb-line);
    border-radius: var(--sb-radius-pill);
    background: rgba(255,255,255,0.68);
    color: var(--sb-text-soft);
    font-size: 0.92rem;
}

.sb-tastings-subnav__link.is-active,
.sb-tastings-subnav__link:hover {
    border-color: var(--sb-accent);
    background: var(--sb-accent-soft);
    color: var(--sb-text);
}

.sb-tastings-hero {
    padding: clamp(28px, 4vw, 44px);
    background:
        radial-gradient(circle at top left, rgba(198, 164, 108, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.9));
    box-shadow: var(--sb-shadow-sm);
}

.sb-tastings-hero.is-compact {
    margin-bottom: var(--sb-space-6);
}

.sb-tastings-hero__title {
    margin: 0 0 var(--sb-space-3);
    font-size: clamp(2.3rem, 4.8vw, 4rem);
}

.sb-tastings-hero__copy {
    max-width: 820px;
    margin: 0;
}

.sb-tastings-hero__copy.is-soft {
    margin-top: var(--sb-space-3);
    color: var(--sb-text-soft);
}

.sb-tastings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--sb-space-5);
}
/* Phase FV — remove degustacii hero CTA buttons */
.sb-tastings-actions {
  display: none;
}


.sb-tastings-preview {
    margin-top: var(--sb-space-8);
}

.sb-tastings-event-grid,
.sb-tastings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sb-space-5);
}

.sb-tastings-grid {
    margin-top: var(--sb-space-6);
}

.sb-tastings-grid.is-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sb-tastings-grid__card,
.sb-tastings-event-card,
.sb-tastings-info-card,
.sb-tastings-faq,
.sb-tastings-empty-state {
    padding: clamp(22px, 3vw, 30px);
}

.sb-tastings-grid__card.is-featured {
    background: linear-gradient(180deg, rgba(198, 164, 108, 0.1), rgba(255,255,255,0.92));
}

.sb-tastings-grid__card h3,
.sb-tastings-event-card h3,
.sb-tastings-info-card h2,
.sb-tastings-faq h2 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.05;
}

.sb-tastings-grid__card p,
.sb-tastings-info-card p,
.sb-tastings-faq p,
.sb-tastings-helper,
.sb-tastings-empty-state {
    color: var(--sb-text-soft);
}

.sb-tastings-grid__card .sb-btn,
.sb-tastings-event-card .sb-btn {
    margin-top: var(--sb-space-4);
}

.sb-tastings-event-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.sb-tastings-event-card__image {
    display: block;
    aspect-ratio: auto;
    overflow: hidden;
    background: var(--sb-bg-soft);
    min-height: 250px;
}

.sb-tastings-event-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sb-tastings-event-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
}

.sb-tastings-event-card__price {
    font-weight: 600;
    color: var(--sb-text);
}

.sb-tastings-reading {
    max-width: var(--sb-max-reading);
    margin: 0 auto var(--sb-space-6);
}

.sb-tastings-reading p + p {
    margin-top: var(--sb-space-4);
}

.sb-tastings-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.88fr);
    gap: 0;
    overflow: hidden;
    padding: 0;
    margin-bottom: var(--sb-space-6);
    box-shadow: var(--sb-shadow-sm);
}

.sb-tastings-feature__media {
    position: relative;
    min-height: 420px;
    background: var(--sb-bg-soft);
}

.sb-tastings-feature__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sb-tastings-feature__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3vw, 34px);
    background:
        radial-gradient(circle at top left, rgba(198, 164, 108, 0.14), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.92));
}

.sb-tastings-feature__title {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 0.98;
    color: var(--sb-text);
}

.sb-tastings-feature__text {
    margin: 0;
    color: var(--sb-text);
}

.sb-tastings-feature__text + .sb-tastings-feature__text {
    margin-top: 14px;
}

.sb-tastings-feature__text.is-soft {
    color: var(--sb-text-soft);
}

.sb-tastings-feature__actions {
    margin-top: var(--sb-space-5);
}

.sb-tastings-checklist {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}

.sb-tastings-helper {
    margin-top: var(--sb-space-5);
}

.sb-tastings-info-card--flights-practical {
    margin-top: clamp(24px, 4vw, 40px);
}

@media (max-width: 980px) {
    .sb-tastings-event-grid,
    .sb-tastings-grid,
    .sb-tastings-grid.is-two {
        grid-template-columns: 1fr;
    }

    .sb-tastings-feature {
        grid-template-columns: 1fr;
    }

    .sb-tastings-feature__media {
        min-height: auto;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 640px) {
    .sb-tastings-page {
        padding-top: var(--sb-space-6);
    }

    .sb-tastings-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sb-tastings-actions .sb-btn {
        width: 100%;
        justify-content: center;
    }
}


.sb-contact-page {
    padding-top: calc(var(--sb-space-10) - 20px);
}

.sb-contact-hero {
    padding: clamp(28px, 4vw, 42px);
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin-inline: auto;
}

.sb-contact-hero__title {
    font-size: clamp(2.35rem, 4.7vw, 4.1rem);
}

.sb-contact-hero__lead,
.sb-contact-hero__intro {
    max-width: 760px;
}

.sb-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.sb-contact-grid {
    display: grid;
    gap: clamp(18px, 2vw, 24px);
    margin-top: clamp(18px, 2vw, 24px);
}

.sb-contact-grid--primary {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.sb-contact-grid--single {
    grid-template-columns: minmax(0, 640px);
}

.sb-contact-card {
    padding: clamp(24px, 3vw, 30px);
}

.sb-contact-card h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    margin-bottom: 10px;
}

.sb-contact-card p {
    margin: 0;
    color: var(--sb-text-soft);
}

.sb-contact-card a {
    display: inline-block;
    margin-top: 14px;
    color: var(--sb-accent-deep);
    font-weight: 600;
}

.sb-contact-card--details,
.sb-contact-card--map {
    min-height: 100%;
}

.sb-contact-card--details {
    display: grid;
    align-content: start;
}

.sb-contact-card--details dd,
.sb-contact-card--details dd a,
.sb-contact-map-meta,
.sb-contact-socials a {
    font-size: 1rem;
}

.sb-contact-card--map {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 12px;
    align-content: start;
}

.sb-contact-map-wrap {
    margin-top: 2px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.03);
}

.sb-contact-map {
    display: block;
    width: 100%;
    min-height: 300px;
    border: 0;
}

.sb-contact-map-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    color: var(--sb-text-soft);
    margin-top: auto;
}

.sb-contact-map-meta span {
    flex: 1 1 220px;
}

.sb-contact-map-meta a {
    margin-top: 0;
}

.sb-contact-list {
    margin: 0;
    padding-left: 1.15em;
    color: var(--sb-text-soft);
}

.sb-contact-list li + li {
    margin-top: 0.55em;
}

.sb-contact-details {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.sb-contact-details div {
    display: grid;
    gap: 6px;
}

.sb-contact-details dt {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0, 0, 0, 0.42);
}

.sb-contact-details dd {
    margin: 0;
    display: grid;
    gap: 6px;
    color: var(--sb-text-color, #1f1a17);
}

.sb-contact-details dd.is-strong,
.sb-contact-details dd.is-strong a {
    font-size: clamp(1.06rem, 1.2vw, 1.16rem);
    font-weight: 600;
    line-height: 1.4;
}

.sb-contact-details dd span {
    display: block;
}

.sb-contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.sb-contact-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    margin-top: 0;
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    background: rgba(195, 138, 55, 0.08);
    line-height: 1;
    font-size: 0.92rem;
}

.sb-contact-socials a,
.sb-contact-details a {
    color: var(--accent-color);
    text-decoration: none;
}

.sb-contact-socials a:hover,
.sb-contact-details a:hover {
    opacity: 0.85;
}

@media (max-width: 980px) {
    .sb-contact-grid--primary {
        grid-template-columns: 1fr;
    }

    .sb-contact-grid--single {
        grid-template-columns: 1fr;
    }

    .sb-contact-hero {
        max-width: none;
    }
}

@media (max-width: 860px) {
    .sb-contact-map {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .sb-contact-page {
        padding-top: calc(var(--sb-space-8) - 12px);
    }

    .sb-contact-hero {
        padding: 22px 18px;
        gap: 12px;
        border-radius: 24px;
    }

    .sb-contact-hero__title {
        font-size: clamp(2rem, 9.2vw, 2.7rem);
        line-height: 0.98;
        max-width: 10ch;
    }

    .sb-contact-hero__lead,
    .sb-contact-hero__intro,
    .sb-contact-card p,
    .sb-contact-list {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .sb-contact-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 4px;
    }

    .sb-contact-actions .sb-btn {
        width: min(100%, 360px);
        justify-content: center;
        text-align: center;
        padding-left: 18px;
        padding-right: 18px;
    }

    .sb-contact-grid {
        gap: 16px;
        margin-top: 16px;
    }

    .sb-contact-card {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .sb-contact-card h2 {
        font-size: clamp(1.95rem, 6.2vw, 2.3rem);
        margin-bottom: 8px;
    }

    .sb-contact-details {
        gap: 14px;
        margin-top: 14px;
    }

    .sb-contact-details div {
        gap: 5px;
    }

    .sb-contact-socials {
        gap: 6px;
        margin-top: 0;
    }

    .sb-contact-socials a {
        min-height: 38px;
        padding: 7px 14px;
        font-size: 0.9rem;
    }

    .sb-contact-card--map {
        gap: 10px;
    }

    .sb-contact-map {
        min-height: 240px;
    }

    .sb-contact-map-meta {
        gap: 6px 12px;
        font-size: 0.94rem;
    }

    .sb-contact-map-meta span {
        flex-basis: 100%;
    }

    .sb-contact-grid--single {
        grid-template-columns: minmax(0, 1fr);
        max-width: 760px;
    }

    .sb-contact-grid--single .sb-contact-card {
        max-width: 100%;
    }
}


.sb-about-page {
    display: grid;
    gap: 22px;
}

.sb-about-hero,
.sb-about-card,
.sb-about-cta {
    padding: 34px;
}

.sb-about-hero {
    display: grid;
    gap: 16px;
}

.sb-about-hero__lead {
    max-width: 920px;
    font-size: 1.16rem;
    line-height: 1.8;
}

.sb-about-hero__intro {
    max-width: 900px;
    color: var(--sb-text-soft);
}

.sb-about-credential {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 14px;
    border: 1px solid rgba(198, 164, 108, 0.28);
    border-radius: 999px;
    background: rgba(198, 164, 108, 0.08);
    color: var(--sb-text-soft);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.5;
}

.sb-about-grid {
    display: grid;
    gap: 22px;
}

.sb-about-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sb-about-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.sb-about-card {
    display: grid;
    gap: 14px;
}

.sb-about-card h2,
.sb-about-card h3,
.sb-about-cta h2,
.sb-about-section-heading h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.3;
    color: var(--sb-text);
}

.sb-about-card h3 {
    font-size: 1.12rem;
}

.sb-about-card p,
.sb-about-cta p,
.sb-about-section-heading p {
    margin: 0;
    color: var(--sb-text-soft);
    line-height: 1.78;
}

.sb-about-section-heading {
    grid-column: 1 / -1;
}

.sb-about-card--highlight {
    min-height: 100%;
}

.sb-about-cta {
    display: grid;
    gap: 14px;
    margin-top: 2px;
}

.sb-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .sb-about-grid--two,
    .sb-about-grid--three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sb-about-page {
        gap: 18px;
    }

    .sb-about-hero,
    .sb-about-card,
    .sb-about-cta {
        padding: 24px 20px;
    }

    .sb-about-hero {
        gap: 14px;
    }

    .sb-about-hero__lead {
        font-size: 1.03rem;
        line-height: 1.72;
    }

    .sb-about-card,
    .sb-about-cta {
        gap: 12px;
    }

    .sb-about-card h2,
    .sb-about-cta h2,
    .sb-about-section-heading h2 {
        font-size: 1.18rem;
    }

    .sb-about-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sb-about-actions .sb-btn {
        width: 100%;
        justify-content: center;
    }
}

/* About page final polish */
.sb-about-hero,
.sb-about-cta {
    width: min(920px, 100%);
    margin-inline: auto;
}

.sb-about-hero__lead,
.sb-about-hero__intro {
    max-width: none;
}

.sb-about-hero__lead {
    color: var(--sb-text);
    font-size: 1.2rem;
    line-height: 1.76;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.sb-about-hero__intro {
    max-width: 840px;
}

.sb-about-grid--two {
    width: min(920px, 100%);
    margin-inline: auto;
    gap: 18px;
}

.sb-about-card {
    gap: 16px;
}

.sb-about-card h3 {
    margin-bottom: 2px;
}

.sb-about-card p,
.sb-about-cta p {
    line-height: 1.74;
}

.sb-about-credential {
    padding: 8px 12px;
    border-color: rgba(198, 164, 108, 0.22);
    background: rgba(198, 164, 108, 0.06);
    color: rgba(72, 63, 52, 0.84);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0;
}

.sb-about-cta {
    gap: 12px;
}

@media (max-width: 768px) {
    .sb-about-hero,
    .sb-about-cta,
    .sb-about-grid--two {
        width: 100%;
    }

    .sb-about-grid--two {
        gap: 16px;
    }

    .sb-about-hero__lead {
        font-size: 1.04rem;
        line-height: 1.72;
    }
}


/* Homepage featured wines — wider section, keep 3 wines */
.home .sb-home-featured .sb-wrap {
    max-width: 1280px;
}

.home .sb-home-featured .sb-home-section-copy {
    max-width: 1120px;
}

.home .sb-home-featured-grid.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.home .sb-home-featured .sb-product-card__title {
    font-size: clamp(18px, 1.9vw, 28px) !important;
    line-height: 1.08;
}

.home .sb-home-featured .sb-product-card__body {
    padding: 16px 16px 18px;
}

.home .sb-home-featured .sb-product-card__subtitle {
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 1100px) {
    .home .sb-home-featured-grid.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home .sb-home-featured-grid.products {
        grid-template-columns: 1fr;
    }
}
/* BG homepage hero — slightly wider content box so the title stays on 3 lines */
@media (min-width: 1180px) {
    body.sb-lang-bg.home .sb-home-hero-reset__grid {
        grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
        gap: clamp(24px, 3.2vw, 52px);
    }

    body.sb-lang-bg.home .sb-home-hero-reset__content {
        max-width: 760px;
    }

    body.sb-lang-bg.home .sb-home-hero-reset__title {
        max-width: none;
    }
}

/* Checkout polish — classic Woo checkout */
.woocommerce-checkout .woocommerce {
    width: min(1180px, calc(100% - 48px));
}

.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon,
.woocommerce-checkout #wc-stripe-payment-request-wrapper,
.woocommerce-checkout .wc-stripe-checkout-buttons-container,
.woocommerce-checkout .express-payment-method,
.woocommerce-checkout .wc-block-components-express-payment {
    grid-column: 1 / -1;
}

.woocommerce-checkout #customer_details {
    grid-column: 1;
    margin-bottom: 0;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order {
    grid-column: 2;
}

.woocommerce-checkout #customer_details > div,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout #payment,
.woocommerce-checkout form.checkout_coupon {
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--sb-shadow-xs);
}

.woocommerce-checkout #customer_details > div {
    padding: 24px;
}

.woocommerce-checkout #order_review_heading {
    margin: 0 0 12px;
    padding: 0 6px;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 22px;
    position: sticky;
    top: 124px;
}

.woocommerce-checkout #payment {
    margin-top: 16px;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
    float: none;
    width: 100%;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    width: calc(50% - 8px);
}

.woocommerce-checkout .form-row-first {
    float: left;
    clear: none;
}

.woocommerce-checkout .form-row-last {
    float: right;
    clear: none;
}

.woocommerce-checkout .form-row-wide,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row {
    clear: both;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
    font-size: clamp(1.35rem, 1.8vw, 1.9rem);
    line-height: 1.05;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    margin-bottom: 14px;
}

.woocommerce-checkout #payment .form-row.place-order {
    padding: 18px 22px 22px;
}

.woocommerce-checkout #payment ul.payment_methods {
    padding: 20px 22px 10px;
    border-bottom-color: rgba(229, 223, 215, 0.78);
}

.woocommerce-checkout #payment ul.payment_methods li {
    line-height: 1.5;
}

.woocommerce-checkout #payment div.payment_box {
    margin: 12px 0 0;
    border-radius: 16px;
    padding: 16px 18px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text,
.woocommerce-checkout .place-order .form-row label,
.woocommerce-checkout .woocommerce form .form-row label.checkbox {
    font-size: 0.9rem;
    line-height: 1.5;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table th,
.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    vertical-align: top;
}

.woocommerce-checkout .shop_table .shipping td label {
    display: block;
    margin-bottom: 6px;
}

.woocommerce-checkout .woocommerce-additional-fields {
    margin-top: 18px;
}

.woocommerce-checkout .select2-container {
    width: 100% !important;
}

@media (max-width: 1024px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review,
    .woocommerce-checkout .woocommerce-checkout-review-order {
        grid-column: 1;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order {
        position: static;
    }
}

@media (max-width: 680px) {
    .woocommerce-checkout .woocommerce {
        width: min(1180px, calc(100% - 24px));
    }

    .woocommerce-checkout #customer_details > div,
    .woocommerce-checkout .woocommerce-checkout-review-order,
    .woocommerce-checkout #payment {
        border-radius: 20px;
    }

    .woocommerce-checkout #customer_details > div,
    .woocommerce-checkout .woocommerce-checkout-review-order {
        padding: 18px;
    }

    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        width: 100%;
        float: none;
    }

    .woocommerce-checkout #payment ul.payment_methods,
    .woocommerce-checkout #payment .form-row.place-order {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Sip 'n Bite checkout polish v2
   Append AFTER any previous checkout CSS so these stronger overrides win. */

.woocommerce-checkout .sb-wrap,
.woocommerce-checkout .woocommerce {
    max-width: 1320px;
}

.woocommerce-checkout form.checkout {
    width: min(1280px, calc(100vw - 64px));
    max-width: 1280px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.85fr);
    gap: 32px;
    align-items: start;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout .col2-set,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
}

.woocommerce-checkout #customer_details {
    display: block !important;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    align-items: start;
}

.woocommerce-checkout .woocommerce form .form-row {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    min-width: 0 !important;
}

.woocommerce-checkout .woocommerce form .form-row-wide,
.woocommerce-checkout .woocommerce form .form-row-first,
.woocommerce-checkout .woocommerce form .form-row-last {
    grid-column: auto;
}

.woocommerce-checkout .woocommerce form .form-row-wide {
    grid-column: 1 / -1 !important;
}

.woocommerce-checkout .woocommerce form .form-row input.input-text,
.woocommerce-checkout .woocommerce form .form-row select,
.woocommerce-checkout .woocommerce form .form-row textarea {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 48px;
    box-sizing: border-box;
}

.woocommerce-checkout .woocommerce form .form-row textarea {
    min-height: 104px;
}

.woocommerce-checkout .woocommerce form .form-row label {
    display: block;
    margin-bottom: 6px;
    line-height: 1.4;
}

.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #billing_company_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #billing_phone_field,
.woocommerce-checkout #shipping_country_field,
.woocommerce-checkout #shipping_address_1_field,
.woocommerce-checkout #shipping_address_2_field,
.woocommerce-checkout #shipping_company_field,
.woocommerce-checkout #shipping_city_field,
.woocommerce-checkout #shipping_state_field,
.woocommerce-checkout #shipping_postcode_field,
.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1 !important;
}

.woocommerce-checkout #order_review_heading {
    margin: 0 0 12px !important;
}

.woocommerce-checkout #order_review,
.woocommerce-checkout #payment {
    width: 100% !important;
}

.woocommerce-checkout #order_review {
    background: #fffdfa;
    border: 1px solid rgba(198, 164, 108, 0.18);
    border-radius: 22px;
    padding: 18px;
    box-sizing: border-box;
}

.woocommerce-checkout #payment {
    margin-top: 16px;
    background: #fffdfa;
    border: 1px solid rgba(198, 164, 108, 0.18);
    border-radius: 22px;
    padding: 18px;
    box-sizing: border-box;
}

.woocommerce-checkout .wc_payment_methods {
    margin: 0;
    padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
    list-style: none;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100% !important;
}

.woocommerce-checkout .express-payment-method-stripe,
.woocommerce-checkout #wc-stripe-payment-request-wrapper,
.woocommerce-checkout #wc-stripe-payment-request-button-separator {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
}

.woocommerce-checkout .woocommerce form .form-row .optional {
    opacity: 0.7;
}

@media (max-width: 980px) {
    .woocommerce-checkout form.checkout {
        width: min(100%, calc(100vw - 32px));
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    .woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }

    .woocommerce-checkout .woocommerce form .form-row,
    .woocommerce-checkout .woocommerce form .form-row-wide,
    .woocommerce-checkout #billing_email_field,
    .woocommerce-checkout #billing_country_field,
    .woocommerce-checkout #billing_address_1_field,
    .woocommerce-checkout #billing_address_2_field,
    .woocommerce-checkout #billing_company_field,
    .woocommerce-checkout #billing_city_field,
    .woocommerce-checkout #billing_state_field,
    .woocommerce-checkout #billing_postcode_field,
    .woocommerce-checkout #billing_phone_field,
    .woocommerce-checkout #shipping_country_field,
    .woocommerce-checkout #shipping_address_1_field,
    .woocommerce-checkout #shipping_address_2_field,
    .woocommerce-checkout #shipping_company_field,
    .woocommerce-checkout #shipping_city_field,
    .woocommerce-checkout #shipping_state_field,
    .woocommerce-checkout #shipping_postcode_field,
    .woocommerce-checkout #order_comments_field {
        grid-column: auto !important;
    }
}

/* Sip 'n Bite checkout width fix
   Append AFTER the earlier checkout patches */

body.woocommerce-checkout .sb-wrap {
    width: min(1440px, calc(100% - 48px)) !important;
}

body.woocommerce-checkout article.sb-page-card,
body.woocommerce-checkout article {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

body.woocommerce-checkout .woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
}

body.woocommerce-checkout form.checkout {
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.78fr) !important;
    gap: 34px !important;
}

body.woocommerce-checkout #customer_details {
    min-width: 0;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #payment {
    min-width: 0;
}

@media (max-width: 980px) {
    body.woocommerce-checkout .sb-wrap {
        width: min(100%, calc(100% - 32px)) !important;
    }

    body.woocommerce-checkout article.sb-page-card,
    body.woocommerce-checkout article {
        max-width: none !important;
    }

    body.woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* Sip 'n Bite checkout layout fix v4
   Append AFTER all previous checkout patches */

body.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr) !important;
    gap: 28px 32px !important;
    align-items: start !important;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-review-order {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

body.woocommerce-checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: end !important;
    margin-bottom: 10px !important;
}

body.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    grid-row: 3 !important;
}

body.woocommerce-checkout #payment {
    width: 100% !important;
    margin-top: 16px !important;
    box-sizing: border-box;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table,
body.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table {
    width: 100% !important;
    table-layout: auto !important;
}

body.woocommerce-checkout .express-payment-method-stripe,
body.woocommerce-checkout #wc-stripe-payment-request-wrapper,
body.woocommerce-checkout #wc-stripe-payment-request-button-separator,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .checkout_coupon {
    grid-column: 1 / -1 !important;
}

@media (max-width: 980px) {
    body.woocommerce-checkout form.checkout {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    body.woocommerce-checkout #order_review_heading {
        margin-bottom: 0 !important;
    }
}
/* Sip 'n Bite checkout template fix v5
   Append this at the very end of style.css */

body.woocommerce-checkout article.sb-page-card,
body.woocommerce-checkout article {
    max-width: 1380px !important;
}

body.woocommerce-checkout .sb-page-content > .woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.woocommerce-checkout form.sb-checkout-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
}

body.woocommerce-checkout .sb-checkout-main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 32px;
    align-items: start;
}

body.woocommerce-checkout .sb-checkout-left,
body.woocommerce-checkout .sb-checkout-right {
    min-width: 0;
}

body.woocommerce-checkout #customer_details.col2-set {
    display: block !important;
    margin: 0 !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 18px !important;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--sb-shadow-xs);
    padding: 18px;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    align-items: start;
}

body.woocommerce-checkout .woocommerce form .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    min-width: 0 !important;
}

body.woocommerce-checkout .woocommerce form .form-row-wide {
    grid-column: 1 / -1 !important;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .woocommerce form .form-row textarea {
    width: 100% !important;
    max-width: none !important;
    min-height: 48px;
    box-sizing: border-box;
}

body.woocommerce-checkout .woocommerce form .form-row textarea {
    min-height: 96px;
}

body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #billing_company_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #billing_phone_field,
body.woocommerce-checkout #shipping_country_field,
body.woocommerce-checkout #shipping_address_1_field,
body.woocommerce-checkout #shipping_address_2_field,
body.woocommerce-checkout #shipping_company_field,
body.woocommerce-checkout #shipping_city_field,
body.woocommerce-checkout #shipping_state_field,
body.woocommerce-checkout #shipping_postcode_field,
body.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1 !important;
}

body.woocommerce-checkout #order_review_heading {
    margin: 0 0 12px !important;
}

body.woocommerce-checkout #order_review,
body.woocommerce-checkout #payment {
    width: 100% !important;
    max-width: none !important;
}

body.woocommerce-checkout #order_review {
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--sb-shadow-xs);
    padding: 18px;
    box-sizing: border-box;
}

body.woocommerce-checkout #payment {
    margin-top: 16px !important;
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--sb-shadow-xs);
    padding: 18px;
    box-sizing: border-box;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    width: 100% !important;
}

body.woocommerce-checkout .express-payment-method-stripe,
body.woocommerce-checkout #wc-stripe-payment-request-wrapper,
body.woocommerce-checkout #wc-stripe-payment-request-button-separator,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .checkout_coupon {
    width: 100% !important;
    max-width: none !important;
}

@media (max-width: 980px) {
    body.woocommerce-checkout .sb-checkout-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-checkout .woocommerce form .form-row-wide,
    body.woocommerce-checkout #billing_email_field,
    body.woocommerce-checkout #billing_country_field,
    body.woocommerce-checkout #billing_address_1_field,
    body.woocommerce-checkout #billing_address_2_field,
    body.woocommerce-checkout #billing_company_field,
    body.woocommerce-checkout #billing_city_field,
    body.woocommerce-checkout #billing_state_field,
    body.woocommerce-checkout #billing_postcode_field,
    body.woocommerce-checkout #billing_phone_field,
    body.woocommerce-checkout #shipping_country_field,
    body.woocommerce-checkout #shipping_address_1_field,
    body.woocommerce-checkout #shipping_address_2_field,
    body.woocommerce-checkout #shipping_company_field,
    body.woocommerce-checkout #shipping_city_field,
    body.woocommerce-checkout #shipping_state_field,
    body.woocommerce-checkout #shipping_postcode_field,
    body.woocommerce-checkout #order_comments_field {
        grid-column: auto !important;
    }
}


/* =========================================================
   SHOP MOBILE PHASE 6
   - cleaner hero copy
   - reliable subtitle hide on mobile cards
   - tighter two-column mobile shop grid
========================================================= */
@media (max-width: 640px) {
    .sb-shop-hero {
        padding-top: 0;
        padding-bottom: 14px;
    }

    .sb-shop-hero__grid {
        gap: 12px;
    }

    .sb-shop-title {
        max-width: none;
        font-size: clamp(2.2rem, 8.7vw, 2.9rem);
        line-height: 0.98;
    }

    .sb-shop-copy {
        max-width: 18ch;
        margin-top: 8px;
        font-size: 0.98rem;
        line-height: 1.48;
    }

    .sb-shop-layout {
        padding-top: 8px;
    }

    .sb-shop-results ul.products,
    .woocommerce-page .sb-shop-results ul.products,
    .woocommerce .sb-shop-results ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        align-items: start !important;
    }

    .sb-shop-results ul.products > li.product,
    .woocommerce-page .sb-shop-results ul.products > li.product,
    .woocommerce .sb-shop-results ul.products > li.product,
    .sb-shop-results ul.products > li.sb-product-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .sb-shop-results .sb-product-card {
        width: 100%;
        min-width: 0;
        border-radius: 22px;
    }

    .sb-shop-results .sb-product-card__media {
        aspect-ratio: 1 / 1.16;
        padding: 16px 14px 8px;
    }

    .sb-shop-results .sb-product-card__media img {
        max-height: 168px;
    }

    .sb-shop-results .sb-product-card__body {
        gap: 8px;
        padding: 0 14px 16px;
    }

    .sb-shop-results .sb-product-card__eyebrow-row {
        gap: 8px;
    }

    .sb-shop-results .sb-product-card__eyebrow,
    .sb-shop-results .sb-product-card__vintage {
        font-size: 0.54rem;
        letter-spacing: 0.11em;
    }

    .sb-shop-results .sb-product-card__title {
        font-size: clamp(1.06rem, 4.9vw, 1.42rem);
        line-height: 1.05;
        min-height: 2.1em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .sb-shop-results .sb-product-card__title a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .sb-shop-results .sb-product-card__subtitle {
        display: none !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .sb-shop-results .sb-product-card__details-row {
        display: grid;
        gap: 4px;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .sb-shop-results .sb-product-card__availability {
        gap: 6px;
        font-size: 0.78rem;
    }

    .sb-shop-results .sb-product-card__availability::before {
        width: 7px;
        height: 7px;
    }

    .sb-shop-results .sb-product-card__bottom-row {
        display: block;
        gap: 0;
        margin-top: 2px;
        padding-top: 0;
    }

    .sb-shop-results .sb-product-card__price {
        font-size: 0.98rem;
        line-height: 1;
    }
}


/* =========================================================
   SHOP MOBILE PHASE 7
   - tighter hero spacing
   - hide mobile counter again
   - proper filter toggle styling and compact collapsed bar
========================================================= */
@media (max-width: 640px) {
    .sb-shop-hero {
        padding-top: 0;
        padding-bottom: 8px;
    }

    .sb-shop-hero__grid {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: start;
    }

    .sb-shop-title {
        max-width: 11ch;
        font-size: clamp(2.45rem, 10.2vw, 3.2rem);
        line-height: 0.96;
    }

    .sb-shop-copy {
        max-width: 14ch;
        margin-top: 10px;
        font-size: 1.02rem;
        line-height: 1.45;
    }

    .sb-shop-stat {
        display: none !important;
    }

    .sb-shop-layout {
        padding-top: 0;
    }

    .sb-filter-shell {
        position: static;
        top: auto;
    }

    .sb-filter-form {
        gap: 12px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .sb-filter-head {
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        border: 1px solid rgba(229, 223, 215, 0.92);
        border-radius: 24px;
        background: rgba(255, 253, 249, 0.96);
        box-shadow: var(--sb-shadow-xs);
    }

    .sb-filter-head > div:first-child {
        min-width: 0;
        flex: 1 1 auto;
    }

    .sb-filter-title {
        display: none;
    }

    .sb-filter-head__actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 0 0 auto;
    }

    .sb-filter-toggle {
        appearance: none;
        -webkit-appearance: none;
        border: 1px solid rgba(206, 188, 158, 0.88);
        border-radius: 999px;
        background: rgba(255, 251, 245, 0.98);
        color: var(--sb-text);
        font: inherit;
        font-size: 0.98rem;
        font-weight: 700;
        line-height: 1;
        padding: 12px 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        white-space: nowrap;
        box-shadow: 0 1px 0 rgba(255,255,255,0.75) inset;
    }

    .sb-filter-toggle__icon {
        position: relative;
        display: inline-block;
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }

    .sb-filter-toggle__icon::before,
    .sb-filter-toggle__icon::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 12px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transform: translate(-50%, -50%);
    }

    .sb-filter-toggle__icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .sb-filter-toggle[aria-expanded="true"] .sb-filter-toggle__icon::after {
        opacity: 0;
    }

    .sb-filter-reset {
        font-size: 0.98rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .sb-filter-panel {
        padding: 18px 20px 20px;
        border: 1px solid rgba(229, 223, 215, 0.92);
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(241, 234, 225, 0.98) 100%);
        box-shadow: var(--sb-shadow-sm);
    }

    .sb-filter-form.is-mobile-collapsed .sb-filter-panel {
        display: none;
    }

    .sb-filter-grid {
        gap: 14px;
    }

    .sb-filter-field label {
        margin-bottom: 8px;
    }

    .sb-filter-actions {
        gap: 10px;
    }

    .sb-filter-hint {
        font-size: 0.8rem;
        line-height: 1.45;
    }
}

/* =========================================================
   SHOP MOBILE PHASE 8
   - match approved compact hero/filter bar direction
   - remove extra whitespace above filters
   - keep 2-column cards intact
========================================================= */
@media (max-width: 640px) {
    .sb-shop-hero {
        padding-top: 0;
        padding-bottom: 4px;
    }

    .sb-shop-hero .sb-eyebrow {
        display: none;
    }

    .sb-shop-hero__grid {
        gap: 6px;
    }

    .sb-shop-title {
        max-width: none;
        font-size: clamp(2rem, 8vw, 2.45rem);
        line-height: 0.95;
        letter-spacing: -0.01em;
    }

    .sb-shop-copy {
        display: none;
    }

    .sb-shop-layout {
        padding-top: 8px;
    }

    .sb-filter-form {
        gap: 10px;
    }

    .sb-filter-head {
        padding: 12px 14px;
        border-radius: 22px;
    }

    .sb-filter-head > div:first-child {
        display: none;
    }

    .sb-filter-head__actions {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .sb-filter-toggle {
        padding: 11px 16px;
        font-size: 0.96rem;
    }

    .sb-filter-reset {
        font-size: 0.96rem;
    }

    .sb-filter-panel {
        padding: 16px 14px 18px;
        border-radius: 22px;
    }
}


/* =========================================================
   SHOP MOBILE PHASE 9
   - one-line adaptive mobile shop title
   - tighter gap under mobile header
   - smaller gap between filter pill bar and product grid
========================================================= */
@media (max-width: 640px) {
    .post-type-archive-product .sb-section:first-child,
    .tax-sb_region .sb-section:first-child,
    .tax-sb_grape .sb-section:first-child,
    .tax-sb_winery .sb-section:first-child {
        padding-top: 16px;
    }

    .sb-shop-hero {
        padding-top: 0;
        padding-bottom: 0;
    }

    .sb-shop-hero__grid {
        gap: 2px;
    }

    .sb-shop-title {
        max-width: none;
        font-size: clamp(1.38rem, 6.3vw, 1.92rem);
        line-height: 0.98;
        letter-spacing: -0.025em;
        white-space: nowrap;
    }

    .sb-shop-layout {
        padding-top: 2px;
    }

    .sb-shop-layout__grid {
        gap: 12px;
    }

    .sb-filter-form {
        gap: 6px;
    }

    .sb-filter-head {
        padding: 10px 14px;
        border-radius: 20px;
    }
}


/* Desktop-only: hide mobile filter toggle artifact */
@media (min-width: 821px) {
  .sb-filter-head__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
  }

  .sb-filter-head__actions .sb-filter-toggle {
    display: none !important;
  }
}

@media (min-width: 641px) {
    .sb-filter-actions {
        margin-top: 10px;
    }
}



/* =========================================================
   HOMEPAGE FEATURED COPY — ONE LINE DESKTOP
========================================================= */
.home .sb-home-featured .sb-home-section-head {
    max-width: 1280px;
}

@media (min-width: 1180px) {
    .home .sb-home-featured .sb-home-section-copy {
        max-width: none;
        white-space: nowrap;
    }
}

/* =========================================================
   TASTINGS FAQ — LOWER ON DESKTOP
========================================================= */
@media (min-width: 981px) {
    .sb-tastings-faq {
        margin-top: 20px;
    }
}

/* =========================================================
   TASTINGS MOBILE HERO — TIGHTEN
========================================================= */
@media (max-width: 640px) {
    .sb-tastings-subnav {
        display: none;
    }

    .sb-tastings-page {
        padding-top: 8px;
    }

    .sb-tastings-page .sb-wrap {
        padding-top: 0;
    }

    .sb-tastings-hero {
        padding: 24px 22px 22px;
        margin-top: 0;
    }

    .sb-tastings-hero__title {
        font-size: clamp(2.05rem, 8.3vw, 2.45rem);
        line-height: 0.96;
        letter-spacing: -0.01em;
        text-wrap: balance;
        max-width: 12ch;
    }

    .sb-tastings-hero__copy,
    .sb-tastings-hero__copy.is-soft {
        max-width: none;
    }

    .sb-tastings-actions {
        display: none !important;
    }
}

/* =========================================================
   DESKTOP FILTER POLISH — merged back after later patches
========================================================= */
@media (min-width: 821px) {
  .sb-filter-head__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
  }

  .sb-filter-head__actions .sb-filter-toggle {
    display: none !important;
  }

  .sb-filter-actions {
    margin-top: 18px;
  }
}

/* =========================================================
   SHOP MOBILE BASELINE RESTORE
   - re-apply approved mobile shop look from user reference CSS
========================================================= */
/* =========================================================
   SHOP MOBILE PHASE 6
   - cleaner hero copy
   - reliable subtitle hide on mobile cards
   - tighter two-column mobile shop grid
========================================================= */
@media (max-width: 640px) {
    .sb-shop-hero {
        padding-top: 0;
        padding-bottom: 14px;
    }

    .sb-shop-hero__grid {
        gap: 12px;
    }

    .sb-shop-title {
        max-width: none;
        font-size: clamp(2.2rem, 8.7vw, 2.9rem);
        line-height: 0.98;
    }

    .sb-shop-copy {
        max-width: 18ch;
        margin-top: 8px;
        font-size: 0.98rem;
        line-height: 1.48;
    }

    .sb-shop-layout {
        padding-top: 8px;
    }

    .sb-shop-results ul.products,
    .woocommerce-page .sb-shop-results ul.products,
    .woocommerce .sb-shop-results ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        align-items: start !important;
    }

    .sb-shop-results ul.products > li.product,
    .woocommerce-page .sb-shop-results ul.products > li.product,
    .woocommerce .sb-shop-results ul.products > li.product,
    .sb-shop-results ul.products > li.sb-product-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .sb-shop-results .sb-product-card {
        width: 100%;
        min-width: 0;
        border-radius: 22px;
    }

    .sb-shop-results .sb-product-card__media {
        aspect-ratio: 1 / 1.16;
        padding: 16px 14px 8px;
    }

    .sb-shop-results .sb-product-card__media img {
        max-height: 168px;
    }

    .sb-shop-results .sb-product-card__body {
        gap: 8px;
        padding: 0 14px 16px;
    }

    .sb-shop-results .sb-product-card__eyebrow-row {
        gap: 8px;
    }

    .sb-shop-results .sb-product-card__eyebrow,
    .sb-shop-results .sb-product-card__vintage {
        font-size: 0.54rem;
        letter-spacing: 0.11em;
    }

    .sb-shop-results .sb-product-card__title {
        font-size: clamp(1.06rem, 4.9vw, 1.42rem);
        line-height: 1.05;
        min-height: 2.1em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .sb-shop-results .sb-product-card__title a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .sb-shop-results .sb-product-card__subtitle {
        display: none !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .sb-shop-results .sb-product-card__details-row {
        display: grid;
        gap: 4px;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .sb-shop-results .sb-product-card__availability {
        gap: 6px;
        font-size: 0.78rem;
    }

    .sb-shop-results .sb-product-card__availability::before {
        width: 7px;
        height: 7px;
    }

    .sb-shop-results .sb-product-card__bottom-row {
        display: block;
        gap: 0;
        margin-top: 2px;
        padding-top: 0;
    }

    .sb-shop-results .sb-product-card__price {
        font-size: 0.98rem;
        line-height: 1;
    }
}


/* =========================================================
   SHOP MOBILE PHASE 7
   - tighter hero spacing
   - hide mobile counter again
   - proper filter toggle styling and compact collapsed bar
========================================================= */
@media (max-width: 640px) {
    .sb-shop-hero {
        padding-top: 0;
        padding-bottom: 8px;
    }

    .sb-shop-hero__grid {
        grid-template-columns: 1fr;
        gap: 8px;
        align-items: start;
    }

    .sb-shop-title {
        max-width: 11ch;
        font-size: clamp(2.45rem, 10.2vw, 3.2rem);
        line-height: 0.96;
    }

    .sb-shop-copy {
        max-width: 14ch;
        margin-top: 10px;
        font-size: 1.02rem;
        line-height: 1.45;
    }

    .sb-shop-stat {
        display: none !important;
    }

    .sb-shop-layout {
        padding-top: 0;
    }

    .sb-filter-shell {
        position: static;
        top: auto;
    }

    .sb-filter-form {
        gap: 12px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .sb-filter-head {
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        border: 1px solid rgba(229, 223, 215, 0.92);
        border-radius: 24px;
        background: rgba(255, 253, 249, 0.96);
        box-shadow: var(--sb-shadow-xs);
    }

    .sb-filter-head > div:first-child {
        min-width: 0;
        flex: 1 1 auto;
    }

    .sb-filter-title {
        display: none;
    }

    .sb-filter-head__actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 0 0 auto;
    }

    .sb-filter-toggle {
        appearance: none;
        -webkit-appearance: none;
        border: 1px solid rgba(206, 188, 158, 0.88);
        border-radius: 999px;
        background: rgba(255, 251, 245, 0.98);
        color: var(--sb-text);
        font: inherit;
        font-size: 0.98rem;
        font-weight: 700;
        line-height: 1;
        padding: 12px 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        white-space: nowrap;
        box-shadow: 0 1px 0 rgba(255,255,255,0.75) inset;
    }

    .sb-filter-toggle__icon {
        position: relative;
        display: inline-block;
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }

    .sb-filter-toggle__icon::before,
    .sb-filter-toggle__icon::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 12px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transform: translate(-50%, -50%);
    }

    .sb-filter-toggle__icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .sb-filter-toggle[aria-expanded="true"] .sb-filter-toggle__icon::after {
        opacity: 0;
    }

    .sb-filter-reset {
        font-size: 0.98rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .sb-filter-panel {
        padding: 18px 20px 20px;
        border: 1px solid rgba(229, 223, 215, 0.92);
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(241, 234, 225, 0.98) 100%);
        box-shadow: var(--sb-shadow-sm);
    }

    .sb-filter-form.is-mobile-collapsed .sb-filter-panel {
        display: none;
    }

    .sb-filter-grid {
        gap: 14px;
    }

    .sb-filter-field label {
        margin-bottom: 8px;
    }

    .sb-filter-actions {
        gap: 10px;
    }

    .sb-filter-hint {
        font-size: 0.8rem;
        line-height: 1.45;
    }
}

/* =========================================================
   SHOP MOBILE PHASE 8
   - match approved compact hero/filter bar direction
   - remove extra whitespace above filters
   - keep 2-column cards intact
========================================================= */
@media (max-width: 640px) {
    .sb-shop-hero {
        padding-top: 0;
        padding-bottom: 4px;
    }

    .sb-shop-hero .sb-eyebrow {
        display: none;
    }

    .sb-shop-hero__grid {
        gap: 6px;
    }

    .sb-shop-title {
        max-width: none;
        font-size: clamp(2rem, 8vw, 2.45rem);
        line-height: 0.95;
        letter-spacing: -0.01em;
    }

    .sb-shop-copy {
        display: none;
    }

    .sb-shop-layout {
        padding-top: 8px;
    }

    .sb-filter-form {
        gap: 10px;
    }

    .sb-filter-head {
        padding: 12px 14px;
        border-radius: 22px;
    }

    .sb-filter-head > div:first-child {
        display: none;
    }

    .sb-filter-head__actions {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .sb-filter-toggle {
        padding: 11px 16px;
        font-size: 0.96rem;
    }

    .sb-filter-reset {
        font-size: 0.96rem;
    }

    .sb-filter-panel {
        padding: 16px 14px 18px;
        border-radius: 22px;
    }
}


/* =========================================================
   SHOP MOBILE PHASE 9
   - one-line adaptive mobile shop title
   - tighter gap under mobile header
   - smaller gap between filter pill bar and product grid
========================================================= */
@media (max-width: 640px) {
    .post-type-archive-product .sb-section:first-child,
    .tax-sb_region .sb-section:first-child,
    .tax-sb_grape .sb-section:first-child,
    .tax-sb_winery .sb-section:first-child {
        padding-top: 16px;
    }

    .sb-shop-hero {
        padding-top: 0;
        padding-bottom: 0;
    }

    .sb-shop-hero__grid {
        gap: 2px;
    }

    .sb-shop-title {
        max-width: none;
        font-size: clamp(1.38rem, 6.3vw, 1.92rem);
        line-height: 0.98;
        letter-spacing: -0.025em;
        white-space: nowrap;
    }

    .sb-shop-layout {
        padding-top: 2px;
    }

    .sb-shop-layout__grid {
        gap: 12px;
    }

    .sb-filter-form {
        gap: 6px;
    }

    .sb-filter-head {
        padding: 10px 14px;
        border-radius: 20px;
    }
}



/* Sip ’n Bite checkout final cleanup — hide page title and stabilize layout */
body.woocommerce-checkout article.sb-page-card > .sb-eyebrow,
body.woocommerce-checkout article.sb-page-card > .entry-title,
body.woocommerce-checkout article.sb-page-card > h1.entry-title {
    display: none !important;
}

body.woocommerce-checkout article.sb-page-card,
body.woocommerce-checkout article.sb-card.sb-page-card {
    max-width: 1320px !important;
    padding-top: 28px !important;
}

body.woocommerce-checkout .sb-page-content > .woocommerce,
body.woocommerce-checkout article.sb-page-card > .woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.woocommerce-checkout form.sb-checkout-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    display: block !important;
}

body.woocommerce-checkout .sb-checkout-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.92fr) !important;
    gap: 28px 32px !important;
    align-items: start !important;
}

body.woocommerce-checkout .sb-checkout-left,
body.woocommerce-checkout .sb-checkout-right {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

body.woocommerce-checkout #customer_details.col2-set {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 18px !important;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #payment {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 16px !important;
    align-items: start !important;
}

body.woocommerce-checkout .woocommerce form .form-row {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    min-width: 0 !important;
}

body.woocommerce-checkout .woocommerce form .form-row-wide,
body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #billing_company_field,
body.woocommerce-checkout #billing_city_field,
body.woocommerce-checkout #billing_state_field,
body.woocommerce-checkout #billing_postcode_field,
body.woocommerce-checkout #billing_phone_field,
body.woocommerce-checkout #shipping_country_field,
body.woocommerce-checkout #shipping_address_1_field,
body.woocommerce-checkout #shipping_address_2_field,
body.woocommerce-checkout #shipping_company_field,
body.woocommerce-checkout #shipping_city_field,
body.woocommerce-checkout #shipping_state_field,
body.woocommerce-checkout #shipping_postcode_field,
body.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1 !important;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .woocommerce form .form-row textarea {
    width: 100% !important;
    max-width: none !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
}

body.woocommerce-checkout .woocommerce form .form-row textarea {
    min-height: 96px !important;
}

body.woocommerce-checkout #order_review_heading {
    margin: 0 0 12px !important;
}

body.woocommerce-checkout #order_review {
    border: 1px solid rgba(229, 223, 215, 0.92);
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.96);
    box-shadow: var(--sb-shadow-xs);
    padding: 18px;
}

body.woocommerce-checkout #payment {
    margin-top: 16px !important;
}

@media (max-width: 980px) {
    body.woocommerce-checkout article.sb-page-card,
    body.woocommerce-checkout article.sb-card.sb-page-card {
        padding-top: 24px !important;
    }

    body.woocommerce-checkout .sb-checkout-main {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   MOBILE POLISH — PHASE A
   Scope: header + homepage only
   Base: uploaded staging (4).zip authoritative stack
   Risk: low (CSS-only overrides)
========================================================= */

@media (max-width: 820px) {
    .sb-site-header {
        background: rgba(247, 243, 238, 0.94);
    }

    .sb-header-inner {
        min-height: 0;
        gap: 10px;
        padding: 10px 0 12px;
    }

    .sb-brand--mobile {
        gap: 10px;
    }

    .sb-brand--mobile .sb-brand-split__mark {
        width: clamp(60px, 15vw, 78px);
    }

    .sb-brand--mobile .sb-brand-split__title {
        font-size: clamp(1.92rem, 6.3vw, 2.34rem);
    }

    .sb-brand--mobile .sb-brand-split__sub {
        font-size: clamp(0.68rem, 2vw, 0.82rem);
        letter-spacing: 0.16em;
    }

    .sb-header-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .sb-header-utility {
        min-width: 0;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .sb-header-icon-link {
        width: 38px;
        height: 38px;
    }

    .sb-header-icon-link svg {
        width: 17px;
        height: 17px;
    }

    .sb-header-icon-link .sb-cart-count {
        right: -3px;
        top: -3px;
        min-width: 17px;
        height: 17px;
        font-size: 0.64rem;
    }

    .sb-lang-switcher {
        margin-left: auto;
        padding: 3px;
    }

    .sb-lang-switcher a {
        min-width: 40px;
        min-height: 32px;
        padding: 0 9px;
        font-size: 0.88rem;
    }

    .home .sb-home-hero--reset {
        padding-top: 18px;
        padding-bottom: 10px;
    }

    .home .sb-home-hero-reset__grid {
        gap: 16px;
    }

    .home .sb-home-hero-reset__title,
    body.sb-lang-bg.home .sb-home-hero-reset__title {
        margin-bottom: 12px;
        font-size: clamp(32px, 8.2vw, 42px);
    }

    .home .sb-home-hero-reset__copy {
        margin-bottom: 16px;
        font-size: 14.5px;
        line-height: 1.58;
    }

    .home .sb-home-hero-reset__actions {
        gap: 10px;
        margin-bottom: 0;
    }

    .home .sb-home-hero-reset__actions .sb-btn,
    .home .sb-home-section-actions .sb-btn {
        min-height: 48px;
        justify-content: center;
    }

    .home .sb-home-hero-reset__visual {
        gap: 12px;
    }

    .home .sb-home-hero-reset__media {
        max-width: 100%;
        border-radius: 22px;
        aspect-ratio: 16 / 17;
    }

    .home .sb-home-hero-reset__media img {
        object-position: 8% 42%;
    }

    .home .sb-home-hero-reset__panel {
        padding: 18px 18px 19px;
        border-radius: 20px;
    }

    .home .sb-home-hero-reset__panel-title {
        max-width: none;
        margin: 8px 0 9px;
        font-size: clamp(22px, 5vw, 28px);
    }

    .home .sb-home-hero-reset__panel-list {
        gap: 6px;
    }

    .home .sb-home-regions {
        padding-top: 6px;
        padding-bottom: 24px;
    }

    .home .sb-regions-module {
        padding: 22px 18px 16px;
        border-radius: 22px;
    }

    .home .sb-regions-module .sub {
        font-size: 14px;
        line-height: 1.58;
    }

    .home .map-helper {
        font-size: 11.5px;
    }

    .home .sb-home-section-head {
        margin-bottom: 24px;
    }

    .home .sb-home-featured {
        padding-top: 14px;
        padding-bottom: 40px;
    }

    .home .sb-home-featured-grid.products {
        gap: 18px;
    }

    .home .sb-home-featured .sb-product-card {
        border-radius: 22px;
    }

    .home .sb-home-featured .sb-product-card__body {
        padding: 16px 16px 18px;
        gap: 8px;
    }

    .home .sb-home-featured .sb-product-card__title {
        font-size: clamp(20px, 6.4vw, 28px) !important;
    }

    .home .sb-home-featured .sb-product-card__subtitle {
        font-size: 12.5px;
        line-height: 1.5;
    }

    .home .sb-home-section-actions {
        margin-top: 20px;
    }

    .home .sb-home-section-actions .sb-btn {
        width: 100%;
    }

    .home .sb-home-trust {
        padding-top: 26px;
        padding-bottom: 30px;
    }

    .home .sb-home-trust__grid {
        gap: 14px;
    }

    .home .sb-home-trust__card {
        padding: 18px 16px;
    }

    .home .sb-home-trust__card h3 {
        font-size: 21px;
    }
}

@media (max-width: 640px) {
    .sb-site-header .sb-header-inner {
        width: min(var(--sb-max), calc(100% - 24px));
        gap: 8px;
        padding: 8px 0 10px;
    }

    .sb-brand--mobile {
        gap: 8px;
    }

    .sb-brand--mobile .sb-brand-split__mark {
        width: clamp(54px, 16vw, 68px);
    }

    .sb-brand--mobile .sb-brand-split__title {
        font-size: clamp(1.72rem, 7vw, 2.04rem);
    }

    .sb-brand--mobile .sb-brand-split__sub {
        font-size: clamp(0.62rem, 2.1vw, 0.74rem);
    }

    .sb-header-actions {
        gap: 8px;
    }

    .sb-header-icon-link {
        width: 36px;
        height: 36px;
    }

    .sb-lang-switcher a {
        min-width: 38px;
        min-height: 30px;
        font-size: 0.84rem;
    }

    .home .sb-section {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .home .sb-home-hero--reset {
        padding-top: 14px;
        padding-bottom: 8px;
    }

    .home .sb-home-hero-reset__title,
    body.sb-lang-bg.home .sb-home-hero-reset__title {
        font-size: clamp(29px, 8.8vw, 36px);
        line-height: 1.02;
    }

    .home .sb-home-hero-reset__copy {
        font-size: 14px;
        line-height: 1.55;
    }

    .home .sb-home-hero-reset__actions .sb-btn,
    .home .sb-home-section-actions .sb-btn {
        min-height: 46px;
    }

    .home .sb-home-hero-reset__media {
        border-radius: 20px;
        aspect-ratio: 15 / 16;
    }

    .home .sb-home-hero-reset__panel {
        padding: 16px 16px 17px;
    }

    .home .sb-home-hero-reset__panel-title {
        font-size: clamp(21px, 7vw, 25px);
    }

    /* Phase EG3 — Mobile regions map label readability strong increase */
    .home .bg-map9 .label {
        font-size: 30px;
        line-height: 1;
        letter-spacing: -0.01em;
    }

    .home .map-actions {
        margin-top: 8px;
    }

    .home .sb-home-featured .sb-product-card__body {
        padding: 15px 14px 16px;
    }

    .home .sb-home-featured .sb-product-card__price {
        font-size: 18px;
    }

    .home .sb-home-trust__card h3 {
        font-size: 19px;
    }

    .home .sb-home-trust__card p {
        font-size: 13.5px;
        line-height: 1.58;
    }
}

/* =========================================================
   MOBILE POLISH — PHASE B
   Scope: shop archive + single product + checkout
   Base: latest re-baselined stack = uploaded staging (4).zip
         + approved/applied Phase A style.css replacement
   Risk: low (CSS-only overrides)
========================================================= */

@media (max-width: 700px) {
    /* Shop archive */
    .sb-shop-layout {
        padding-top: 0;
    }

    .sb-shop-layout__grid {
        gap: 10px;
    }

    .sb-filter-form {
        gap: 8px;
    }

    .sb-filter-head {
        padding: 10px 13px;
        border-radius: 20px;
    }

    .sb-filter-panel {
        padding: 14px 13px 16px;
        border-radius: 20px;
    }

    .sb-shop-results ul.products,
    .woocommerce-page .sb-shop-results ul.products,
    .woocommerce .sb-shop-results ul.products {
        gap: 12px !important;
    }

    .sb-shop-results .sb-product-card {
        border-radius: 20px;
    }

    .sb-shop-results .sb-product-card__media {
        padding: 14px 12px 8px;
    }

    .sb-shop-results .sb-product-card__media img {
        max-height: 160px;
    }

    .sb-shop-results .sb-product-card__body {
        gap: 7px;
        padding: 0 12px 14px;
    }

    .sb-shop-results .sb-product-card__eyebrow,
    .sb-shop-results .sb-product-card__vintage {
        font-size: 0.52rem;
        letter-spacing: 0.1em;
    }

    .sb-shop-results .sb-product-card__title {
        font-size: clamp(1rem, 4.7vw, 1.28rem);
        line-height: 1.12;
        min-height: 2.24em;
    }

    .sb-shop-results .sb-product-card__details-row {
        gap: 4px;
        font-size: 0.76rem;
        line-height: 1.32;
    }

    .sb-shop-results .sb-product-card__availability {
        font-size: 0.8rem;
    }

    .sb-shop-results .sb-product-card__price {
        font-size: 0.96rem;
    }

    /* Single product */
    .sb-product-hero {
        padding: 34px 0 40px;
    }

    .sb-product-hero-grid {
        gap: 18px;
    }

    .sb-product-image-card {
        padding: 16px;
        border-radius: 24px;
    }

    .sb-product-image-wrap {
        padding: 16px;
        border-radius: 20px;
    }

    .sb-product-title {
        margin-top: 4px;
        margin-bottom: 8px;
        font-size: clamp(1.84rem, 10vw, 2.34rem);
        line-height: 1.04;
    }

    .sb-product-subline {
        margin-bottom: 12px;
        font-size: 0.94rem;
        line-height: 1.5;
    }

    .sb-product-price {
        margin: 14px 0 14px;
        font-size: 1.42rem;
    }

    .sb-product-checks {
        gap: 8px;
        margin-bottom: 18px;
    }

    .sb-product-checks li {
        gap: 8px;
        font-size: 0.9rem;
        line-height: 1.42;
    }

    .sb-product-buybox {
        padding: 16px 16px 14px;
        border-radius: 20px;
    }

    .sb-product-buybox form.cart {
        gap: 10px;
    }

    .sb-product-microtrust {
        margin-top: 10px;
        font-size: 0.84rem;
        line-height: 1.42;
    }

    .sb-product-identity {
        margin-top: 18px;
    }

    .sb-product-id-item {
        padding: 12px 14px;
        border-radius: 16px;
    }

    .sb-product-id-label {
        font-size: 0.64rem;
    }

    .sb-product-id-value {
        margin-top: 6px;
        font-size: 0.94rem;
    }

    .sb-product-section,
    .sb-product-pairings,
    .sb-product-details-section,
    .sb-product-experience {
        padding: 50px 0;
    }

    .sb-product-section-title,
    .sb-product-experience h2 {
        margin-bottom: 14px;
    }

    .sb-product-lead,
    .sb-product-experience p,
    .sb-product-pairings-note,
    .sb-product-detail-body {
        font-size: 0.94rem;
        line-height: 1.56;
    }

    .sb-product-pair-grid,
    .sb-product-accordion {
        gap: 12px;
    }

    .sb-product-pair-card {
        padding: 14px;
        border-radius: 18px;
    }

    .sb-product-accordion details {
        border-radius: 18px;
    }

    .sb-product-accordion summary {
        gap: 14px;
        padding: 16px 16px;
    }

    .sb-product-detail-body {
        padding: 0 16px 16px;
    }

    /* Checkout */
    body.woocommerce-checkout article.sb-page-card,
    body.woocommerce-checkout article.sb-card.sb-page-card {
        padding: 18px !important;
        border-radius: 22px !important;
    }

    body.woocommerce-checkout .sb-checkout-main {
        gap: 18px !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields,
    body.woocommerce-checkout .woocommerce-shipping-fields,
    body.woocommerce-checkout .woocommerce-additional-fields,
    body.woocommerce-checkout #order_review,
    body.woocommerce-checkout #payment,
    body.woocommerce-checkout .sb-checkout-panel {
        padding: 14px !important;
        border-radius: 18px !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
        gap: 10px !important;
    }

    body.woocommerce-checkout .woocommerce form .form-row label {
        margin-bottom: 5px;
        font-size: 0.82rem;
    }

    body.woocommerce-checkout .woocommerce form .form-row input.input-text,
    body.woocommerce-checkout .woocommerce form .form-row select,
    body.woocommerce-checkout .woocommerce form .form-row textarea {
        min-height: 44px !important;
        padding: 10px 12px !important;
        font-size: 0.94rem;
    }

    body.woocommerce-checkout .woocommerce form .form-row textarea {
        min-height: 88px !important;
    }

    body.woocommerce-checkout #order_review_heading {
        margin: 0 0 8px !important;
        font-size: 0.86rem;
        letter-spacing: 0.14em;
    }

    body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
    body.woocommerce-checkout .woocommerce-checkout-review-order-table td,
    body.woocommerce-checkout .woocommerce table.shop_table th,
    body.woocommerce-checkout .woocommerce table.shop_table td {
        padding: 12px 10px !important;
        font-size: 0.88rem;
        vertical-align: top;
    }

    body.woocommerce-checkout .shop_table .shipping td label {
        font-size: 0.88rem;
        line-height: 1.45;
    }

    body.woocommerce-checkout .wc_payment_methods {
        gap: 10px;
    }

    body.woocommerce-checkout #payment ul.payment_methods {
        padding-bottom: 10px !important;
    }

    body.woocommerce-checkout #payment ul.payment_methods li {
        padding: 0 0 10px !important;
    }

    body.woocommerce-checkout #payment div.payment_box {
        margin-top: 10px !important;
        padding: 12px !important;
        border-radius: 14px !important;
        font-size: 0.84rem;
        line-height: 1.42;
    }

    body.woocommerce-checkout .woocommerce-privacy-policy-text,
    body.woocommerce-checkout .place-order .form-row label,
    body.woocommerce-checkout .woocommerce form .form-row label.checkbox,
    body.woocommerce-checkout #payment .form-row.place-order {
        font-size: 0.82rem;
        line-height: 1.42;
    }

    body.woocommerce-checkout #payment .form-row.place-order {
        padding-top: 10px !important;
    }

    body.woocommerce-checkout #payment #place_order,
    body.woocommerce-checkout #payment button[type="submit"] {
        min-height: 48px;
        padding: 12px 18px;
        font-size: 0.96rem;
    }

    body.woocommerce-checkout .sb-checkout-panel h3 {
        margin-bottom: 8px;
        font-size: 0.98rem;
    }

    body.woocommerce-checkout .sb-checkout-panel p,
    body.woocommerce-checkout .sb-checkout-help-list {
        margin: 0;
        font-size: 0.84rem;
        line-height: 1.48;
    }

    body.woocommerce-checkout .sb-checkout-help-list {
        display: grid;
        gap: 8px;
        padding-left: 18px;
    }
}


/* =========================
   Phase D — Single product mobile visual refine
   Base: latest approved stack after Phase A + Phase B + single-product cleanup
   ========================= */
@media (max-width: 820px) {
    body.single-product .sb-product-hero {
        padding: 24px 0 30px;
    }

    body.single-product .sb-product-hero-grid {
        gap: 14px;
    }

    body.single-product .sb-product-image-card {
        padding: 12px;
        border-radius: 22px;
    }

    body.single-product .sb-product-image-wrap {
        padding: 12px;
        border-radius: 18px;
    }

    body.single-product .sb-product-kicker {
        font-size: 0.54rem;
        letter-spacing: 0.12em;
    }

    body.single-product .sb-product-title {
        margin-top: 2px;
        margin-bottom: 6px;
        font-size: clamp(1.58rem, 8.6vw, 2.06rem);
        line-height: 1.03;
    }

    body.single-product .sb-product-subline {
        margin-bottom: 10px;
        font-size: 0.88rem;
        line-height: 1.42;
    }

    body.single-product .sb-product-price {
        margin: 10px 0 12px;
        font-size: 1.28rem;
    }

    body.single-product .sb-product-checks {
        gap: 6px;
        margin-bottom: 14px;
    }

    body.single-product .sb-product-checks li {
        gap: 7px;
        font-size: 0.84rem;
        line-height: 1.34;
    }

    body.single-product .sb-product-buybox {
        padding: 14px 14px 12px;
        border-radius: 18px;
    }

    body.single-product .sb-product-buybox form.cart {
        gap: 8px;
    }

    body.single-product .sb-product-buybox .single_add_to_cart_button {
        min-height: 46px;
        font-size: 0.94rem;
    }

    body.single-product .sb-product-microtrust {
        margin-top: 8px;
        font-size: 0.78rem;
        line-height: 1.36;
    }

    body.single-product .sb-product-identity {
        margin-top: 14px;
    }

    body.single-product .sb-product-id-grid {
        gap: 10px;
    }

    body.single-product .sb-product-id-item {
        padding: 10px 12px;
        border-radius: 14px;
    }

    body.single-product .sb-product-id-label {
        font-size: 0.62rem;
    }

    body.single-product .sb-product-id-value {
        margin-top: 4px;
        font-size: 0.92rem;
    }

    body.single-product .sb-product-section,
    body.single-product .sb-product-pairings,
    body.single-product .sb-product-details-section,
    body.single-product .sb-product-experience {
        padding: 38px 0;
    }

    body.single-product .sb-product-center {
        margin: 0 auto 20px;
    }

    body.single-product .sb-product-section-title,
    body.single-product .sb-product-experience h2 {
        margin-bottom: 10px;
        font-size: clamp(1.8rem, 8.4vw, 2.18rem);
    }

    body.single-product .sb-product-lead,
    body.single-product .sb-product-experience p,
    body.single-product .sb-product-pairings-note,
    body.single-product .sb-product-detail-body,
    body.single-product .sb-product-body,
    body.single-product .sb-product-body p {
        font-size: 0.92rem;
        line-height: 1.52;
    }

    body.single-product .sb-product-subsection-title {
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 1.32rem;
    }

    body.single-product .sb-product-bullets {
        gap: 8px;
    }

    body.single-product .sb-product-meta-row {
        gap: 8px 12px;
        margin-top: 16px;
        font-size: 0.82rem;
    }

    body.single-product .sb-product-taste-card {
        padding: 16px;
        border-radius: 20px;
    }

    body.single-product .sb-product-taste-top {
        gap: 10px;
        margin-bottom: 16px;
    }

    body.single-product .sb-product-taste-tagline {
        margin-top: 4px;
        font-size: 1.34rem;
        line-height: 1.04;
    }

    body.single-product .sb-product-taste-grid {
        gap: 16px;
    }

    body.single-product .sb-product-scales {
        gap: 14px;
    }

    body.single-product .sb-product-scale {
        gap: 8px;
    }

    body.single-product .sb-product-scale-name,
    body.single-product .sb-product-scale-descriptor {
        font-size: 0.84rem;
    }

    body.single-product .sb-product-scale-endpoints {
        gap: 8px;
        font-size: 0.72rem;
        line-height: 1.34;
    }

    body.single-product .sb-product-notes {
        gap: 10px;
    }

    body.single-product .sb-product-note-line {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    body.single-product .sb-product-pill-row {
        gap: 8px;
    }

    body.single-product .sb-product-taste-footer {
        gap: 10px 14px;
        margin-top: 16px;
        padding-top: 14px;
    }

    body.single-product .sb-product-pairing-recommendation {
        margin-top: 16px;
        padding-top: 16px;
    }

    body.single-product .sb-product-pairing-recommendation__label {
        margin-bottom: 8px;
        font-size: 0.72rem;
    }

    body.single-product .sb-product-pairing-recommendation__body {
        font-size: 0.9rem;
        line-height: 1.56;
    }

    body.single-product .sb-product-pair-grid {
        gap: 10px;
    }

    body.single-product .sb-product-pair-card {
        padding: 12px;
        border-radius: 16px;
    }

    body.single-product .sb-product-pair-img {
        margin-bottom: 10px;
        border-radius: 14px;
    }

    body.single-product .sb-product-pair-name {
        font-size: 0.9rem;
        line-height: 1.42;
        text-align: center;
    }

    body.single-product .sb-product-pair-copy {
        font-size: 0.8rem;
        line-height: 1.46;
        text-align: center;
    }

    body.single-product .sb-product-experience {
        padding: 34px 0;
    }

    body.single-product .sb-product-divider {
        margin: 18px auto;
    }

    body.single-product .sb-product-experience .sb-btn {
        width: min(100%, 320px);
    }
}

@media (max-width: 480px) {
    body.single-product .sb-product-hero {
        padding: 20px 0 26px;
    }

    body.single-product .sb-product-image-card {
        padding: 10px;
    }

    body.single-product .sb-product-image-wrap {
        padding: 10px;
    }

    body.single-product .sb-product-title {
        font-size: clamp(1.48rem, 8.2vw, 1.86rem);
    }

    body.single-product .sb-product-section,
    body.single-product .sb-product-pairings,
    body.single-product .sb-product-details-section,
    body.single-product .sb-product-experience {
        padding: 32px 0;
    }
}


/* Sip 'n Bite single product summary cleanup - phase E */
.sb-product-checks {
    gap: 8px;
    margin: 0 0 18px;
}

.sb-product-checks li {
    gap: 9px;
    line-height: 1.45;
}

.sb-product-buybox {
    padding: 18px 18px 16px;
}

.sb-product-buybox form.cart {
    gap: 12px;
}

@media (max-width: 767px) {
    body.single-product .sb-product-checks {
        gap: 5px;
        margin-bottom: 10px;
    }

    body.single-product .sb-product-checks li {
        gap: 6px;
        font-size: 0.83rem;
        line-height: 1.3;
    }

    body.single-product .sb-product-buybox {
        padding: 12px 12px 10px;
        border-radius: 17px;
    }

    body.single-product .sb-product-buybox form.cart {
        gap: 7px;
    }
}


/* Phase W2 — hide default Woo stock line inside single-product buybox */
body.single-product .sb-product-buybox .stock,
body.single-product .sb-product-buybox p.stock,
body.single-product .sb-product-buybox .woocommerce-variation-availability,
body.single-product .sb-product-buybox .woocommerce-variation-availability p {
    display: none !important;
}

body.single-product .sb-product-buybox form.cart {
    margin-top: 0 !important;
}

/* =========================
   Phase X — Single product purchase strip return
   Base: current accepted single-product base after stock-line removal
   Scope: desktop single product hero only
========================= */
@media (min-width: 981px) {
    body.single-product .sb-product-purchase-strip {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: center;
        column-gap: 22px;
        row-gap: 0;
        margin: 10px 0 14px;
    }

    body.single-product .sb-product-buybox {
        width: fit-content;
        max-width: none;
        min-width: 0;
        padding: 16px 18px;
        border-radius: 22px;
        justify-self: start;
    }

    body.single-product .sb-product-buybox form.cart {
        display: inline-flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

    body.single-product .sb-product-buybox .quantity,
    body.single-product .sb-product-buybox .single_add_to_cart_button {
        flex: 0 0 auto;
    }

    body.single-product .sb-product-buybox .quantity .qty {
        width: 76px;
        min-width: 76px;
        min-height: 46px;
        padding-inline: 10px;
    }

    body.single-product .sb-product-buybox .single_add_to_cart_button {
        min-height: 46px;
        padding-inline: 24px;
        white-space: nowrap;
    }

    body.single-product .sb-product-checks {
        margin: 0;
        gap: 10px;
        justify-self: start;
    }

    body.single-product .sb-product-checks li {
        align-items: center;
        gap: 10px;
        font-size: 0.98rem;
        line-height: 1.35;
    }

    body.single-product .sb-product-availability-note {
        margin-top: 10px;
        max-width: 760px;
    }
}

@media (max-width: 980px) {
    body.single-product .sb-product-purchase-strip {
        display: block;
    }
}


/* =========================
   Phase AB — Single product desktop visual polish on current base
   Base: rollback-authoritative style (18).css + approved current single-product layout
   Scope: desktop visual polish only
========================= */
@media (min-width: 981px) {
    body.single-product .sb-product-hero {
        padding: 44px 0 54px;
    }

    body.single-product .sb-product-hero-grid {
        grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
        gap: clamp(34px, 4.2vw, 54px);
        align-items: start;
    }

    body.single-product .sb-product-image-card {
        padding: 20px;
        border-radius: 28px;
    }

    body.single-product .sb-product-image-wrap {
        padding: 22px;
        aspect-ratio: 1 / 1.14;
        border-radius: 22px;
    }

    body.single-product .sb-product-title {
        margin-top: 8px;
        margin-bottom: 8px;
        font-size: clamp(2.95rem, 4.2vw, 4.15rem);
        line-height: 0.98;
    }

    body.single-product .sb-product-subline {
        max-width: 640px;
        margin-bottom: 14px;
        font-size: 1.02rem;
        line-height: 1.6;
    }

    body.single-product .sb-product-price {
        margin: 14px 0 16px;
        font-size: 1.52rem;
    }

    body.single-product .sb-product-purchase-strip {
        margin: 10px 0 14px;
        column-gap: 22px;
        align-items: center;
    }

    body.single-product .sb-product-buybox {
        padding: 16px 18px;
        border-radius: 22px;
    }

    body.single-product .sb-product-buybox form.cart {
        gap: 10px;
    }

    body.single-product .sb-product-buybox .quantity .qty {
        width: 76px;
        min-width: 76px;
        min-height: 46px;
        padding-inline: 10px;
    }

    body.single-product .sb-product-buybox .single_add_to_cart_button {
        min-height: 46px;
        padding-inline: 24px;
        white-space: nowrap;
    }

    body.single-product .sb-product-checks {
        gap: 10px;
        margin: 0;
    }

    body.single-product .sb-product-checks li {
        align-items: center;
        gap: 10px;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    body.single-product .sb-product-availability-note {
        margin-top: 10px;
        max-width: 760px;
        font-size: 0.94rem;
        line-height: 1.56;
    }

    body.single-product .sb-product-identity {
        margin-top: 22px;
    }

    body.single-product .sb-product-id-grid {
        gap: 12px;
    }

    body.single-product .sb-product-id-item {
        padding: 14px 16px;
        border-radius: 16px;
    }

    body.single-product .sb-product-id-label {
        font-size: 0.7rem;
    }

    body.single-product .sb-product-id-value {
        margin-top: 6px;
        font-size: 0.96rem;
        line-height: 1.45;
    }

    body.single-product .sb-product-section {
        padding: 58px 0;
    }

    body.single-product .sb-product-section-grid {
        grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
        gap: clamp(28px, 3.6vw, 44px);
    }

    body.single-product .sb-product-section-grid--event {
        grid-template-columns: 1fr;
    }

    body.single-product .sb-product-section-title {
        font-size: clamp(2.2rem, 3.3vw, 2.85rem);
        margin-bottom: 14px;
    }

    body.single-product .sb-product-lead {
        margin-bottom: 16px;
        font-size: 1.02rem;
        line-height: 1.7;
    }

    body.single-product .sb-product-subsection-title {
        margin-top: 22px;
        margin-bottom: 10px;
        font-size: 1.42rem;
    }

    body.single-product .sb-product-bullets {
        gap: 8px;
    }

    body.single-product .sb-product-meta-row {
        margin-top: 16px;
        gap: 8px 14px;
        font-size: 0.84rem;
    }

    body.single-product .sb-product-taste-card {
        padding: 22px;
        border-radius: 24px;
    }

    body.single-product .sb-product-taste-top {
        margin-bottom: 18px;
    }

    body.single-product .sb-product-taste-tagline {
        margin-top: 6px;
        font-size: 1.54rem;
    }

    body.single-product .sb-product-taste-grid {
        gap: 18px;
    }

    body.single-product .sb-product-scale-name,
    body.single-product .sb-product-scale-descriptor {
        font-size: 0.88rem;
    }

    body.single-product .sb-product-scale-endpoints {
        font-size: 0.76rem;
    }

    body.single-product .sb-product-note-line,
    body.single-product .sb-product-pairing-recommendation__body {
        font-size: 0.94rem;
        line-height: 1.56;
    }

    body.single-product .sb-product-taste-footer {
        margin-top: 18px;
        padding-top: 16px;
        gap: 10px 16px;
    }

    body.single-product .sb-product-pairings,
    body.single-product .sb-product-details-section {
        padding: 56px 0;
    }

    body.single-product .sb-product-center {
        margin: 0 auto 22px;
        max-width: 760px;
    }

    body.single-product .sb-product-pair-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
        gap: 16px;
        max-width: 900px;
        margin: 0 auto;
    }

    body.single-product .sb-product-pair-card {
        padding: 16px;
        border-radius: 20px;
    }

    body.single-product .sb-product-pair-img {
        margin-bottom: 12px;
    }

    body.single-product .sb-product-pair-name {
        font-size: 0.95rem;
        line-height: 1.46;
        text-align: center;
    }

    body.single-product .sb-product-pair-copy {
        font-size: 0.84rem;
        line-height: 1.48;
        text-align: center;
    }

    body.single-product .sb-product-experience {
        padding: 46px 0;
    }

    body.single-product .sb-product-experience h2 {
        margin-bottom: 8px;
    }

    body.single-product .sb-product-experience p {
        max-width: 620px;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    body.single-product .sb-product-divider {
        margin: 18px auto 20px;
    }
}

/* =========================
   Phase AC — Single product mobile inline buybox
   Base: approved Phase AB
   Scope: mobile single product only
========================= */
@media (max-width: 640px) {
    body.single-product .sb-product-buybox form.cart {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    body.single-product .sb-product-buybox .quantity {
        width: auto;
        flex: 0 0 auto;
    }

    body.single-product .sb-product-buybox .quantity .qty {
        width: 88px;
        min-width: 88px;
    }

    body.single-product .sb-product-buybox .single_add_to_cart_button {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* =========================
   Phase AD — Single product add-to-cart notice spacing fix
   Base: approved Phase AC
   Scope: single-product add-to-cart success notice only
========================= */
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
    position: relative;
    padding-left: 52px;
}

body.single-product .woocommerce-message::before,
body.single-product .woocommerce-info::before,
body.single-product .woocommerce-error::before {
    left: 20px;
    top: 22px;
}

body.single-product .woocommerce-message .button,
body.single-product .woocommerce-info .button,
body.single-product .woocommerce-error .button {
    margin-left: 16px;
}

@media (max-width: 640px) {
    body.single-product .woocommerce-message,
    body.single-product .woocommerce-info,
    body.single-product .woocommerce-error {
        padding-left: 48px;
        padding-right: 16px;
    }

    body.single-product .woocommerce-message::before,
    body.single-product .woocommerce-info::before,
    body.single-product .woocommerce-error::before {
        left: 18px;
        top: 20px;
    }

    body.single-product .woocommerce-message .button,
    body.single-product .woocommerce-info .button,
    body.single-product .woocommerce-error .button {
        margin-top: 12px;
        margin-left: 0;
    }
}

/* =========================
   Phase AE — Shop filter title vertical alignment fix
   Base: uploaded staging zip authoritative snapshot
   Scope: desktop shop filter card only
   Goal: lift “Открий твоето вино” upward without changing approved copy
========================= */
@media (min-width: 1025px) {
    .sb-filter-panel {
        margin-top: -10px;
    }

    .sb-filter-title {
        margin: 0 0 10px;
    }
}


/* =========================
   Phase AH — Single product add-to-cart notice vertical centering + compact height
   Base: latest approved stack including Phase AG
   Scope: single-product success/info/error notices + BG add-to-cart copy handled in sipnbite-core
========================= */
body.single-product .woocommerce-message,
body.single-product .woocommerce-info,
body.single-product .woocommerce-error {
    display: flex;
    align-items: center;
    gap: 14px 20px;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 14px;
    min-height: 0;
    line-height: 1.35;
}

body.single-product .woocommerce-message::before,
body.single-product .woocommerce-info::before,
body.single-product .woocommerce-error::before {
    top: 50%;
    transform: translateY(-50%);
}

body.single-product .woocommerce-message .button,
body.single-product .woocommerce-info .button,
body.single-product .woocommerce-error .button {
    order: 2;
    margin-left: auto;
    float: none;
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    body.single-product .woocommerce-message,
    body.single-product .woocommerce-info,
    body.single-product .woocommerce-error {
        gap: 12px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    body.single-product .woocommerce-message .button,
    body.single-product .woocommerce-info .button,
    body.single-product .woocommerce-error .button {
        margin-left: 0;
    }
}


/* =========================
   Phase AK — Cart coupon field width polish
   Scope: cart page only
========================= */
body.woocommerce-cart table.cart td.actions .coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.woocommerce-cart table.cart td.actions #coupon_code {
    width: 220px;
    min-width: 220px;
    margin: 0;
}

@media (max-width: 640px) {
    body.woocommerce-cart table.cart td.actions #coupon_code {
        width: 100%;
        min-width: 0;
    }
}

/* =========================
   Phase AM — Cart notice icon/text overlap fix
   Base: latest approved stack including Phase AL
   Scope: cart page notices only
========================= */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 64px;
    min-height: 76px;
    line-height: 1.35;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 640px) {
    body.woocommerce-cart .woocommerce-message,
    body.woocommerce-cart .woocommerce-info,
    body.woocommerce-cart .woocommerce-error {
        padding-left: 56px;
        min-height: 68px;
    }

    body.woocommerce-cart .woocommerce-message::before,
    body.woocommerce-cart .woocommerce-info::before,
    body.woocommerce-cart .woocommerce-error::before {
        left: 20px;
    }
}

/* =========================
   Phase AP — Cookie banner final UX + settings fix
   Base: latest approved stack including Phase AO + AN
   Scope: sipnbite-core consent banner only
========================= */
.sb-consent[hidden] {
    display: none !important;
}

.sb-consent {
    position: fixed;
    right: 18px;
    left: 18px;
    bottom: 18px;
    z-index: 9998;
    pointer-events: none;
}

.sb-consent__panel {
    pointer-events: auto;
    margin-left: auto;
    width: min(560px, 100%);
    padding: 24px 24px 22px;
    border: 1px solid rgba(197, 176, 137, 0.72);
    border-radius: 24px;
    background: rgba(250, 247, 241, 0.985);
    box-shadow: 0 18px 42px rgba(21, 18, 13, 0.16);
}

.sb-consent__title {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 0.98;
    color: var(--sb-text);
}

.sb-consent__text {
    margin: 0;
    color: var(--sb-text-soft);
    font-size: 0.98rem;
    line-height: 1.58;
}

.sb-consent__controls {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--sb-line);
}

.sb-consent__option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--sb-line);
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.78);
    color: var(--sb-text);
}

.sb-consent__option--locked {
    background: rgba(255, 253, 249, 0.92);
}

.sb-consent__option-copy {
    min-width: 0;
}

.sb-consent__option-title {
    margin: 0 0 4px;
    font-weight: 600;
    line-height: 1.3;
}

.sb-consent__option-text {
    margin: 0;
    color: var(--sb-text-soft);
    font-size: 0.93rem;
    line-height: 1.5;
}

.sb-consent__option input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
    accent-color: var(--sb-accent-deep);
}

.sb-consent__badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(197, 176, 137, 0.6);
    background: rgba(209, 178, 125, 0.14);
    color: var(--sb-accent-deep);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.sb-consent__policy-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--sb-accent-deep);
    font-size: 0.93rem;
    text-decoration: none;
}

.sb-consent__policy-link:hover {
    text-decoration: underline;
}

.sb-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.sb-consent__actions .sb-btn,
.sb-consent__actions button {
    min-height: 46px;
    padding: 0 18px;
}

.sb-consent__actions [data-sb-consent-accept-all],
.sb-consent__actions [data-sb-consent-reject] {
    flex: 1 1 240px;
}

.sb-consent__actions [data-sb-consent-save] {
    flex: 1 1 100%;
}

.sb-consent__actions [data-sb-consent-accept-all] {
    background: linear-gradient(180deg, #d1b27d 0%, #c29c60 100%);
    border: 1px solid var(--sb-accent-deep);
    color: #1d1811;
    box-shadow: 0 12px 24px rgba(176, 138, 75, 0.18);
}

.sb-consent__actions [data-sb-consent-reject],
.sb-consent__actions [data-sb-consent-save] {
    background: rgba(255, 253, 249, 0.82);
    border: 1px solid var(--sb-line-strong);
    color: var(--sb-text);
    box-shadow: none;
}

.sb-consent__actions [data-sb-consent-accept-all]:hover,
.sb-consent__actions [data-sb-consent-reject]:hover,
.sb-consent__actions [data-sb-consent-save]:hover {
    transform: translateY(-1px);
}

.sb-consent.is-customizing .sb-consent__panel {
    box-shadow: 0 20px 46px rgba(21, 18, 13, 0.2);
}

@media (max-width: 860px) {
    .sb-consent {
        right: 12px;
        left: 12px;
        bottom: 12px;
    }

    .sb-consent__panel {
        width: 100%;
        padding: 20px 18px 18px;
        border-radius: 22px;
    }

    .sb-consent__title {
        font-size: clamp(1.65rem, 7vw, 2.15rem);
    }

    .sb-consent__option {
        flex-direction: column;
    }

    .sb-consent__option input,
    .sb-consent__badge {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .sb-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .sb-consent__actions .sb-btn,
    .sb-consent__actions button {
        width: 100%;
    }
}


/* =========================
   Phase AQ — Cookie banner simplified two-action model
   Base: latest approved stack including Phase AP
========================= */
.sb-footer-links [data-sb-open-consent] {
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

.sb-consent.is-customizing .sb-consent__actions {
    margin-top: 16px;
}


/* =========================
   Phase AT — 18+ age gate activation + premium modal polish
   Base: latest approved stack including Phase AS
   Scope: age gate only
========================= */
html.sb-has-overlay,
html.sb-has-overlay body {
    overflow: hidden;
}

.sb-age-gate[hidden] {
    display: none !important;
}

.sb-age-gate {
    position: fixed;
    inset: 0;
    z-index: 10020;
}

.sb-age-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 16, 12, 0.56);
    backdrop-filter: blur(4px);
}

.sb-age-gate__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 32px));
    margin: min(10vh, 72px) auto 0;
    padding: 28px 28px 24px;
    border: 1px solid rgba(197, 176, 137, 0.72);
    border-radius: 28px;
    background: rgba(250, 247, 241, 0.985);
    box-shadow: 0 24px 60px rgba(21, 18, 13, 0.28);
    text-align: center;
}

.sb-age-gate__eyebrow {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    color: var(--sb-accent-deep);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: left;
}

.sb-age-gate__title {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.15rem, 4vw, 3.15rem);
    line-height: 0.96;
    color: var(--sb-text);
    text-align: center;
}

.sb-age-gate__title-bg,
.sb-age-gate__title-en {
    display: block;
    text-align: center;
}

.sb-age-gate__text {
    margin: 0;
    color: var(--sb-text-soft);
    font-size: 1rem;
    line-height: 1.65;
}

.sb-age-gate__marker {
    display: none;
}

.sb-age-gate__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.sb-age-gate__actions .sb-btn {
    min-height: 48px;
    padding: 0 20px;
}

.sb-age-gate__actions [data-sb-age-accept] {
    flex: 1 1 240px;
    background: linear-gradient(180deg, #d1b27d 0%, #c29c60 100%);
    border: 1px solid var(--sb-accent-deep);
    color: #1d1811;
    box-shadow: 0 12px 24px rgba(176, 138, 75, 0.18);
}

.sb-age-gate__actions [data-sb-age-reject] {
    flex: 1 1 200px;
    background: rgba(255, 253, 249, 0.82);
    border: 1px solid var(--sb-line-strong);
    color: var(--sb-text);
    box-shadow: none;
    text-decoration: none;
}

.sb-age-gate__actions [data-sb-age-accept]:hover,
.sb-age-gate__actions [data-sb-age-reject]:hover {
    transform: translateY(-1px);
}

.sb-age-gate__note {
    margin: 16px 0 0;
    color: var(--sb-text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .sb-age-gate__dialog {
        width: calc(100vw - 20px);
        margin-top: 10px;
        padding: 22px 18px 18px;
        border-radius: 22px;
    }

    .sb-age-gate__title {
        font-size: clamp(1.95rem, 9vw, 2.5rem);
    }

    .sb-age-gate__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .sb-age-gate__actions .sb-btn,
    .sb-age-gate__actions [data-sb-age-reject] {
        width: 100%;
    }
}


/* =========================================================
   PHASE AV — AGE GATE COPY POLISH
   Scope: bilingual 18+ popup title/text hierarchy only
   Base: Phase AU authoritative base
   Risk: low (CSS-only)
========================================================= */
.sb-age-gate__title {
    display: grid;
    gap: 6px;
}

.sb-age-gate__title-bg,
.sb-age-gate__title-en {
    display: block;
}

.sb-age-gate__title-en {
    font-size: 0.74em;
    line-height: 0.98;
}

.sb-age-gate__text--bg,
.sb-age-gate__text--en {
    display: block;
}

.sb-age-gate__text--en {
    margin-top: 6px;
    font-size: 0.94rem;
}


/* =========================================================
   PHASE BA — SHOP CARD ROW ALIGNMENT
   Scope: desktop shop product cards only
   Goal: lock winery/title/region-stock/price rows; keep subtitle as flexible centered area
   Base: Phase AZ authoritative base
   Risk: low (shop template + CSS only)
========================================================= */
@media (min-width: 821px) {
    .sb-shop-results .sb-product-card__body {
        display: grid;
        grid-template-rows: auto minmax(2.25em, auto) minmax(5.4em, 1fr) auto auto;
        align-content: stretch;
    }

    .sb-shop-results .sb-product-card__eyebrow-row {
        min-height: 1.1rem;
        align-items: flex-start;
    }

    .sb-shop-results .sb-product-card__title {
        min-height: 2.25em;
        margin: 0;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .sb-shop-results .sb-product-card__title a {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .sb-shop-results .sb-product-card__subtitle {
        display: flex;
        align-items: center;
        min-height: 5.4em;
        margin: 0;
    }

    .sb-shop-results .sb-product-card__subtitle.is-empty {
        min-height: 0;
    }

    .sb-shop-results .sb-product-card__details-row {
        min-height: 2.4em;
        align-items: flex-end;
        align-content: end;
        margin-top: 0;
    }

    .sb-shop-results .sb-product-card__bottom-row {
        min-height: 1.6em;
        align-items: end;
    }
}

/* =========================================================
   PHASE BB — SHOP 3-UP DESKTOP GRID
   Scope: desktop shop archive only
   Goal: show 3 wider cards per row and scale card proportions up cleanly
   Base: Phase BA authoritative base
   Risk: low (CSS-only, desktop shop only)
========================================================= */
@media (min-width: 1180px) {
    .sb-shop-results ul.products,
    .woocommerce-page .sb-shop-results ul.products,
    .woocommerce .sb-shop-results ul.products {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 22px !important;
        align-items: start !important;
    }

    .sb-shop-results ul.products > li.product,
    .woocommerce-page .sb-shop-results ul.products > li.product,
    .woocommerce .sb-shop-results ul.products > li.product,
    .sb-shop-results ul.products > li.sb-product-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .sb-shop-results .sb-product-card {
        width: 100%;
        min-width: 0;
        border-radius: 28px;
    }

    .sb-shop-results .sb-product-card__media {
        aspect-ratio: 4 / 4.55;
        padding: 26px 26px 12px;
    }

    .sb-shop-results .sb-product-card__media img {
        max-height: 292px;
    }

    .sb-shop-results .sb-product-card__body {
        gap: 13px;
        padding: 0 26px 26px;
    }

    .sb-shop-results .sb-product-card__eyebrow,
    .sb-shop-results .sb-product-card__vintage {
        font-size: 0.76rem;
        letter-spacing: 0.12em;
    }

    .sb-shop-results .sb-product-card__title {
        font-size: clamp(1.58rem, 1.55vw, 1.96rem);
        line-height: 1.05;
        min-height: 2.18em;
    }

    .sb-shop-results .sb-product-card__subtitle {
        font-size: 0.99rem;
        line-height: 1.52;
        min-height: 6.3em;
    }

    .sb-shop-results .sb-product-card__details-row {
        gap: 8px 14px;
        font-size: 0.98rem;
        line-height: 1.42;
        min-height: 2.65em;
    }

    .sb-shop-results .sb-product-card__availability {
        font-size: 0.98rem;
    }

    .sb-shop-results .sb-product-card__availability::before {
        width: 8px;
        height: 8px;
    }

    .sb-shop-results .sb-product-card__bottom-row {
        min-height: 1.8em;
    }

    .sb-shop-results .sb-product-card__price {
        font-size: 1.18rem;
        line-height: 1;
    }
}

/* =========================================================
   PHASE BC — SHOP CARD TITLE SIZE + REGION EMPHASIS
   Scope: desktop shop archive on top of Phase BB
   Goal: make wine name more prominent and bold the region line
   Risk: low (CSS-only, shop archive only)
========================================================= */
@media (min-width: 1180px) {
    .sb-shop-results .sb-product-card__title {
        font-size: clamp(1.74rem, 1.7vw, 2.08rem);
        line-height: 1.04;
    }

    .sb-shop-results .sb-product-card__details-row > span:first-child {
        font-weight: 700;
        color: #3b342d;
    }
}


/* =========================================================
   PHASE BE — SHOP TITLE FORCE ENLARGE
   Scope: desktop shop archive on top of Phase BC base
   Goal: visibly enlarge wine title with stronger selector specificity
   Risk: low (CSS-only, desktop shop only)
========================================================= */
@media (min-width: 1180px) {
    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title,
    .sb-shop-results .sb-product-card__title a {
        font-size: 1.9rem !important;
        line-height: 1.08 !important;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title {
        min-height: 2.6em !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}


/* =========================================================
   PHASE BF — SHOP TITLE ADAPTIVE SIZING
   Scope: desktop shop archive on top of Phase BE base
   Goal: keep default larger title size, but shrink long titles enough to fit cleanly
   Risk: low (1 template + CSS, shop archive only)
========================================================= */
@media (min-width: 1180px) {
    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title {
        font-size: var(--sb-shop-title-size, 1.9rem) !important;
        min-height: var(--sb-shop-title-min-height, 2.6em) !important;
        line-height: 1.08 !important;
    }

    .sb-shop-results .sb-product-card__title a {
        font-size: inherit !important;
        line-height: inherit !important;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .sb-shop-results .sb-product-card__title.is-title-medium,
    .sb-shop-results .sb-product-card__title.is-title-medium a {
        letter-spacing: -0.01em;
    }

    .sb-shop-results .sb-product-card__title.is-title-long,
    .sb-shop-results .sb-product-card__title.is-title-long a,
    .sb-shop-results .sb-product-card__title.is-title-xlong,
    .sb-shop-results .sb-product-card__title.is-title-xlong a {
        letter-spacing: -0.015em;
    }
}

/* =========================================================
   PHASE BG — SHOP REGION / STOCK VERTICAL STACK
   Scope: desktop shop archive on top of Phase BF base
   Goal: keep region and availability always one under another
   Risk: low (CSS-only, shop archive only)
========================================================= */
@media (min-width: 821px) {
    .sb-shop-results .sb-product-card__details-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        align-content: flex-start !important;
        gap: 0.3rem !important;
        min-height: 4.2em !important;
    }

    .sb-shop-results .sb-product-card__details-row > span:first-child {
        display: block;
        width: 100%;
    }

    .sb-shop-results .sb-product-card__availability {
        display: inline-flex;
        align-items: center;
        margin: 0;
        white-space: nowrap;
    }
}

@media (min-width: 1180px) {
    .sb-shop-results .sb-product-card__details-row {
        gap: 0.34rem !important;
        min-height: 4.5em !important;
    }
}


/* Phase BI - contact layout polish */
.sb-contact-hero {
    max-width: 820px;
    padding: clamp(24px, 3.1vw, 34px);
    gap: 10px;
}

.sb-contact-hero__lead {
    max-width: 700px;
}

.sb-contact-actions {
    margin-top: 2px;
}

.sb-contact-grid--primary {
    align-items: start;
}

.sb-contact-card--details,
.sb-contact-card--map {
    min-height: 0;
}

.sb-contact-card--details {
    padding-bottom: 24px;
}

.sb-contact-card--map {
    grid-template-rows: auto auto auto auto;
    gap: 10px;
}

.sb-contact-map-wrap {
    align-self: start;
}

.sb-contact-map {
    min-height: 228px;
}

.sb-contact-details {
    gap: 14px;
    margin-top: 12px;
}

.sb-contact-details__social-row {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 14px;
}

.sb-contact-details__social-row dt {
    margin: 0;
}

.sb-contact-details__social-row dd {
    justify-items: start;
}

.sb-contact-socials {
    gap: 12px;
    margin-top: 0;
}

.sb-contact-socials__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #6a2336 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
}

.sb-contact-socials__link svg {
    width: 24px;
    height: 24px;
    display: block;
}

.sb-contact-socials__link:hover {
    opacity: 0.85;
}

.sb-contact-grid--single {
    grid-template-columns: minmax(0, 560px);
    margin-top: 14px;
}

.sb-contact-card--list {
    padding-top: 24px;
    padding-bottom: 24px;
}

.sb-contact-card--list h2 {
    margin-bottom: 12px;
}

.sb-contact-list {
    font-size: 0.97rem;
    line-height: 1.6;
}

.sb-contact-list li + li {
    margin-top: 0.42em;
}

@media (max-width: 980px) {
    .sb-contact-hero {
        max-width: none;
    }

    .sb-contact-grid--single {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sb-contact-map {
        min-height: 220px;
    }

    .sb-contact-details__social-row {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    .sb-contact-socials__link {
        width: 30px !important;
        height: 30px !important;
    }

    .sb-contact-socials__link svg {
        width: 26px;
        height: 26px;
    }
}

/* Phase BJ - contact visual layout polish */
.sb-contact-page {
    padding-top: calc(var(--sb-space-10) - 12px);
}

.sb-contact-hero,
.sb-contact-grid--primary,
.sb-contact-grid--single {
    max-width: 860px;
    margin-inline: auto;
}

.sb-contact-hero {
    padding: clamp(22px, 2.6vw, 28px);
    gap: 8px;
}

.sb-contact-hero__lead {
    max-width: 640px;
}

.sb-contact-actions {
    gap: 10px;
    margin-top: 4px;
}

.sb-contact-grid {
    gap: 18px;
    margin-top: 18px;
}

.sb-contact-grid--primary {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    align-items: start;
}

.sb-contact-card {
    padding: 24px 24px 22px;
}

.sb-contact-card h2 {
    font-size: clamp(1.8rem, 2.4vw, 2.2rem);
    margin-bottom: 10px;
}

.sb-contact-card--details,
.sb-contact-card--map {
    min-height: 0;
}

.sb-contact-card--details {
    padding-bottom: 20px;
}

.sb-contact-details {
    gap: 12px;
    margin-top: 10px;
}

.sb-contact-details div {
    gap: 4px;
}

.sb-contact-details__social-row {
    margin-top: 2px;
}

.sb-contact-socials {
    gap: 10px;
}

.sb-contact-socials__link {
    width: 22px !important;
    height: 22px !important;
}

.sb-contact-socials__link svg {
    width: 20px;
    height: 20px;
}

.sb-contact-card--map {
    gap: 8px;
}

.sb-contact-map-wrap {
    border-radius: 16px;
}

.sb-contact-map {
    min-height: 206px;
}

.sb-contact-map-meta {
    gap: 6px 12px;
    font-size: 0.93rem;
}

.sb-contact-grid--single {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
    margin-top: 14px;
}

.sb-contact-card--list {
    padding: 22px 24px;
}

.sb-contact-card--list h2 {
    margin-bottom: 10px;
}

.sb-contact-list {
    font-size: 0.96rem;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .sb-contact-hero,
    .sb-contact-grid--primary,
    .sb-contact-grid--single {
        max-width: none;
    }

    .sb-contact-grid--single {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
}

/* Phase BK - contact fine tune */
.sb-contact-page {
    padding-top: calc(var(--sb-space-10) - 16px);
}

.sb-contact-hero,
.sb-contact-grid--primary,
.sb-contact-grid--single {
    max-width: 860px;
}

.sb-contact-hero {
    padding: 20px 26px 20px;
    gap: 6px;
}

.sb-contact-hero__lead {
    max-width: 700px;
    margin-bottom: 2px;
}

.sb-contact-actions {
    gap: 10px;
    margin-top: 2px;
}

.sb-contact-grid {
    gap: 16px;
    margin-top: 14px;
}

.sb-contact-grid--primary {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
}

.sb-contact-card {
    padding: 22px 24px 20px;
}

.sb-contact-card h2 {
    margin-bottom: 12px;
}

.sb-contact-details {
    gap: 11px;
}

.sb-contact-details__social-row {
    margin-top: 6px;
}

.sb-contact-socials {
    gap: 12px;
}

.sb-contact-socials__link {
    width: 20px !important;
    height: 20px !important;
}

.sb-contact-socials__link svg {
    width: 18px;
    height: 18px;
}

.sb-contact-card--map {
    padding-bottom: 18px;
}

.sb-contact-map {
    min-height: 198px;
}

.sb-contact-grid--single {
    grid-template-columns: minmax(0, 1fr);
    justify-content: start;
    margin-top: 10px;
}

.sb-contact-card--list {
    max-width: 620px;
    justify-self: start;
    padding: 20px 24px;
}

@media (max-width: 1024px) {
    .sb-contact-grid--single {
        grid-template-columns: minmax(0, 1fr);
    }

    .sb-contact-card--list {
        max-width: 100%;
    }
}

/* Phase BL - contact width and alignment polish */
.sb-contact-hero,
.sb-contact-grid--primary,
.sb-contact-grid--single {
    max-width: 980px;
    margin-inline: auto;
}

.sb-contact-hero {
    padding: 24px 28px;
}

.sb-contact-grid--primary {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.sb-contact-grid--primary > .sb-contact-card {
    height: 100%;
}

.sb-contact-card--details,
.sb-contact-card--map {
    display: flex;
    flex-direction: column;
}

.sb-contact-card--details {
    justify-content: flex-start;
}

.sb-contact-details {
    flex: 1 1 auto;
}

.sb-contact-card--map {
    gap: 10px;
}

.sb-contact-map-wrap {
    margin-top: auto;
}

.sb-contact-map {
    min-height: 210px;
}

.sb-contact-details__social-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.sb-contact-details__social-row dt,
.sb-contact-details__social-row dd {
    margin: 0;
}

.sb-contact-details__social-row dd {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.sb-contact-socials {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
}

.sb-contact-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 980px;
    margin-top: 16px;
}

.sb-contact-card--list {
    max-width: none;
    width: 100%;
    justify-self: stretch;
    padding: 24px 28px;
}

@media (max-width: 1024px) {
    .sb-contact-hero,
    .sb-contact-grid--primary,
    .sb-contact-grid--single {
        max-width: 100%;
    }
}

@media (max-width: 980px) {
    .sb-contact-grid--primary {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .sb-contact-grid--primary > .sb-contact-card {
        height: auto;
    }
}

@media (max-width: 640px) {
    .sb-contact-hero {
        padding: 22px 18px;
    }

    .sb-contact-card--list {
        padding: 22px 18px;
    }

    .sb-contact-details__social-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* Phase BM — contact socials inline polish */
.sb-contact-details__social-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

.sb-contact-details__social-row dt {
    flex: 0 0 auto;
}

.sb-contact-details__social-row dd {
    display: flex !important;
    flex: 0 0 auto;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0;
}

.sb-contact-socials {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 12px !important;
}

.sb-contact-socials__link {
    display: inline-flex !important;
    flex: 0 0 auto;
}

.sb-contact-map-meta a {
    font-size: 13px;
    line-height: 1.25;
    opacity: .8;
}

.sb-contact-map-meta a:hover {
    opacity: 1;
}

@media (max-width: 640px) {
    .sb-contact-details__social-row {
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .sb-contact-socials {
        gap: 10px !important;
    }
}

/* Phase BP — contact grid cohesion and tighter primary gap */
@media (min-width: 981px) {
    .sb-contact-page {
        --sb-contact-shell: min(860px, 100%);
    }

    .sb-contact-hero,
    .sb-contact-grid--primary,
    .sb-contact-grid--single {
        width: var(--sb-contact-shell) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .sb-contact-grid--primary {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 16px !important;
        align-items: stretch !important;
    }

    .sb-contact-grid--single {
        grid-template-columns: 1fr !important;
        margin-top: 16px !important;
    }

    .sb-contact-card--details,
    .sb-contact-card--map,
    .sb-contact-card--list {
        height: 100% !important;
    }

    .sb-contact-card--list {
        width: 100% !important;
    }

    .sb-contact-card--map {
        grid-template-rows: auto auto auto 1fr auto !important;
    }

    .sb-contact-map-wrap {
        margin-top: 6px !important;
    }

    .sb-contact-map {
        min-height: 210px !important;
    }

    .sb-contact-map-meta {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: start !important;
        gap: 8px 12px !important;
        margin-top: 4px !important;
    }

    .sb-contact-map-meta span {
        min-width: 0 !important;
        font-size: 0.92rem !important;
        line-height: 1.45 !important;
    }

    .sb-contact-map-meta a {
        justify-self: end !important;
        white-space: nowrap !important;
        font-size: 0.82rem !important;
        line-height: 1.3 !important;
        opacity: .78 !important;
    }

    .sb-contact-card--details .sb-contact-details {
        gap: 14px !important;
    }

    .sb-contact-card--details .sb-contact-details__social-row {
        margin-top: auto !important;
        padding-top: 6px !important;
    }
}


/* Phase BQ — contact centering and map simplification */
@media (min-width: 981px) {
    .sb-contact-page {
        --sb-contact-shell: min(900px, calc(100% - 72px)) !important;
    }

    .sb-contact-hero,
    .sb-contact-grid--primary,
    .sb-contact-grid--single {
        width: var(--sb-contact-shell) !important;
        max-width: var(--sb-contact-shell) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .sb-contact-grid--primary {
        gap: 12px !important;
    }

    .sb-contact-grid--single {
        margin-top: 12px !important;
    }

    .sb-contact-hero {
        padding: 26px 28px !important;
    }

    .sb-contact-card--details,
    .sb-contact-card--map,
    .sb-contact-card--list {
        padding: 26px 28px !important;
    }

    .sb-contact-card--details,
    .sb-contact-card--map {
        min-height: 0 !important;
    }

    .sb-contact-card--details h2,
    .sb-contact-card--map h2,
    .sb-contact-card--list h2 {
        margin-bottom: 12px !important;
    }

    .sb-contact-map {
        min-height: 196px !important;
    }

    .sb-contact-map-meta {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 0 !important;
        margin-top: 6px !important;
    }

    .sb-contact-map-meta a {
        margin-top: 0 !important;
        white-space: nowrap !important;
        font-size: 0.82rem !important;
        line-height: 1.3 !important;
        opacity: 0.74 !important;
    }

    .sb-contact-card--details .sb-contact-details {
        gap: 14px !important;
    }

    .sb-contact-card--details .sb-contact-details__social-row {
        display: grid !important;
        gap: 6px !important;
        align-items: center !important;
        margin-top: auto !important;
        padding-top: 2px !important;
    }

    .sb-contact-card--details .sb-contact-details__social-row dd {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .sb-contact-socials {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .sb-contact-socials__link {
        margin-top: 0 !important;
    }
}

/* Phase BR — contact final polish */
@media (min-width: 981px) {
    .sb-contact-page {
        padding-top: calc(var(--sb-space-10) - 12px) !important;
    }

    .sb-contact-hero,
    .sb-contact-grid--primary,
    .sb-contact-grid--single {
        width: min(920px, calc(100% - 64px)) !important;
        max-width: min(920px, calc(100% - 64px)) !important;
    }

    .sb-contact-hero {
        padding: 24px 28px !important;
        gap: 8px !important;
    }

    .sb-contact-hero__lead {
        max-width: 760px !important;
        line-height: 1.6 !important;
    }

    .sb-contact-actions {
        gap: 12px !important;
        margin-top: 4px !important;
    }

    .sb-contact-grid {
        margin-top: 10px !important;
        gap: 10px !important;
    }

    .sb-contact-grid--primary {
        gap: 10px !important;
        align-items: stretch !important;
    }

    .sb-contact-grid--single {
        margin-top: 10px !important;
    }

    .sb-contact-card--details,
    .sb-contact-card--map,
    .sb-contact-card--list {
        padding: 24px 26px !important;
        border-radius: 26px !important;
    }

    .sb-contact-card--details h2,
    .sb-contact-card--map h2,
    .sb-contact-card--list h2 {
        margin-bottom: 10px !important;
        line-height: 1.08 !important;
    }

    .sb-contact-card--details .sb-contact-details {
        gap: 13px !important;
    }

    .sb-contact-card--details .sb-contact-details dt {
        margin-bottom: 2px !important;
    }

    .sb-contact-card--details .sb-contact-details dd {
        line-height: 1.45 !important;
    }

    .sb-contact-card--details .sb-contact-details__social-row {
        padding-top: 6px !important;
    }

    .sb-contact-socials__link {
        opacity: .9 !important;
        transform: translateY(-1px);
    }

    .sb-contact-card--map {
        gap: 10px !important;
    }

    .sb-contact-card--map > p {
        max-width: 32ch !important;
        line-height: 1.55 !important;
    }

    .sb-contact-map-wrap {
        margin-top: 4px !important;
        border-radius: 18px !important;
    }

    .sb-contact-map {
        min-height: 188px !important;
    }

    .sb-contact-map-meta {
        margin-top: 4px !important;
        min-height: 18px !important;
    }

    .sb-contact-map-meta a {
        font-size: 0.8rem !important;
        opacity: 0.68 !important;
    }

    .sb-contact-card--list {
        min-height: 0 !important;
    }

    .sb-contact-card--list .sb-contact-list {
        line-height: 1.58 !important;
    }
}


/* Phase BS — contact single-column equal-width layout */
@media (min-width: 981px) {
    .sb-contact-page .sb-wrap {
        display: grid;
        justify-items: center;
    }

    .sb-contact-hero,
    .sb-contact-grid--primary,
    .sb-contact-grid--single {
        width: min(100%, 640px);
        max-width: 640px;
        margin-inline: auto;
    }

    .sb-contact-grid--primary,
    .sb-contact-grid--single {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .sb-contact-card--details,
    .sb-contact-card--map,
    .sb-contact-card--list {
        min-height: 0;
    }

    .sb-contact-card--map {
        grid-template-rows: auto auto auto auto;
    }

    .sb-contact-map {
        min-height: 260px;
    }
}


/* Phase BZ — About page WSET block width + black logo refinement */
.sb-about-card--credential {
    align-content: start;
}

.sb-about-credential {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.sb-about-credential__logo {
    display: block;
    width: 44px;
    height: auto;
    max-width: 44px;
    flex: 0 0 44px;
    object-fit: contain;
    opacity: 1;
    filter: none;
}

.sb-about-credential__label {
    display: inline-block;
    max-width: none;
    white-space: nowrap;
    line-height: 1.2;
    font-size: 12px;
}

@media (max-width: 768px) {
    .sb-about-credential {
        gap: 8px;
    }

    .sb-about-credential__logo {
        width: 40px;
        max-width: 40px;
        flex-basis: 40px;
    }

    .sb-about-credential__label {
        font-size: 11px;
        white-space: normal;
    }
}


/* Phase CC — About WSET block reorder + slightly larger logo */
.sb-about-card--credential {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sb-about-card--credential > h2 {
    order: 1;
    margin-bottom: 12px;
}

.sb-about-card--credential > .sb-about-credential {
    order: 2;
    margin-top: 0;
    margin-bottom: 18px;
}

.sb-about-card--credential > p {
    order: 3;
}

.sb-about-credential {
    width: 100%;
    max-width: 100%;
}

.sb-about-credential__logo {
    width: 50px;
    max-width: 50px;
    flex: 0 0 50px;
}

@media (max-width: 768px) {
    .sb-about-card--credential > h2 {
        margin-bottom: 10px;
    }

    .sb-about-card--credential > .sb-about-credential {
        margin-bottom: 16px;
    }

    .sb-about-credential__logo {
        width: 46px;
        max-width: 46px;
        flex-basis: 46px;
    }
}

/* Phase CD — About WSET pill label size increase */
.sb-about-credential__label {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .sb-about-credential__label {
        font-size: 12px;
        line-height: 1.15;
    }
}

/* Phase CE — About WSET pill label fill increase */
.sb-about-credential__label {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .sb-about-credential__label {
        font-size: 13px;
        line-height: 1.12;
    }
}

/* Phase CF — About WSET pill contrast correction */
.sb-about-credential {
    border-color: rgba(198, 164, 108, 0.34);
    background: rgba(198, 164, 108, 0.08);
    color: #5f4b39;
}

.sb-about-credential__logo {
    opacity: 1;
    filter: brightness(0) saturate(100%);
}

.sb-about-credential__label {
    color: #6b5642;
}


/* Phase CH — About WSET exact logo asset + slightly larger pill label */
.sb-about-credential__label {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.08;
}

@media (max-width: 768px) {
    .sb-about-credential__label {
        font-size: 13.5px;
        line-height: 1.12;
    }
}

/* Phase CI — About grid horizontal/vertical gap alignment */
.sb-about-grid--two {
    column-gap: 22px;
    row-gap: 22px;
}

@media (max-width: 900px) {
    .sb-about-grid--two {
        column-gap: 16px;
        row-gap: 16px;
    }
}

/* Phase CY/DA — order received customer address boxes desktop row alignment */
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--2,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses,
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns::before,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns::after,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--2::before,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--2::after,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses::before,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses::after,
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses::before,
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses::after {
    content: none;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column,
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses > .col-1,
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses > .col-2 {
    float: none;
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    margin: 0;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column:only-child,
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses > .col-1:only-child,
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses > .col-2:only-child {
    width: 100%;
    max-width: 100%;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column address,
body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses address {
    height: 100%;
}

@media (max-width: 768px) {
    body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns,
    body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--2,
    body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses,
    body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses {
        gap: 14px;
    }

    body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column,
    body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses > .col-1,
    body.woocommerce-order-received .woocommerce-customer-details .col2-set.addresses > .col-2 {
        width: 100%;
        max-width: 100%;
    }
}


/* =========================================================
   Phase DL — single product taste scales micro-polish
   Base: accepted pre-DK slider baseline + DI/DJ wording
   Goal: only subtle spacing/alignment cleanup, not a layout rewrite
========================================================= */
.sb-product-taste-grid {
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    gap: 18px;
}

.sb-product-scales {
    gap: 16px;
}

.sb-product-scale {
    gap: 8px;
}

.sb-product-scale-header {
    align-items: center;
}

.sb-product-scale-name,
.sb-product-scale-descriptor {
    line-height: 1.2;
}

.sb-product-scale-endpoints {
    gap: 8px;
    font-size: 0.8rem;
}

.sb-product-scale-endpoints span {
    white-space: nowrap;
}

.sb-product-notes {
    gap: 10px;
}

.sb-product-note-line {
    line-height: 1.6;
}

@media (max-width: 820px) {
    .sb-product-taste-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sb-product-scales {
        gap: 14px;
    }

    .sb-product-scale-endpoints {
        font-size: 0.76rem;
    }
}

/* =========================================================
   Phase DQ — mobile shop archive title hide
   Base: uploaded staging (10).zip authoritative base
   Goal: hide only the /shop/ H1 on mobile without affecting tax archives
========================================================= */
@media (max-width: 640px) {
    body.post-type-archive-product .sb-shop-hero .sb-shop-title {
        display: none;
    }

    body.post-type-archive-product .sb-shop-hero__grid {
        gap: 0;
    }
}

/* =========================================================
   Phase DR — single product availability note mobile downsize
   Base: Phase DQ accepted authoritative base
   Goal: significantly reduce the size of the quantity/contact note on mobile only
========================================================= */
@media (max-width: 640px) {
    body.single-product .sb-product-availability-note {
        font-size: 0.74rem;
        line-height: 1.42;
        margin-top: 8px;
        max-width: 100%;
    }
}

/* Phase DT3F — checkout notice icon spacing polish */
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-error {
    padding-left: 52px;
    position: relative;
}

.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before,
.woocommerce-checkout .woocommerce-error::before {
    left: 18px;
    top: 18px;
}

/* =========================================================
   Phase EE3 — Homepage hero mobile two-line enforcement (BG)
   Base: current authoritative base incl. EE2
   Scope: mobile-only BG homepage hero title tightening
   ========================================================= */
@media (max-width: 640px) {
    body.sb-lang-bg.home .sb-home-hero-reset__title {
        font-size: clamp(24px, 7.35vw, 30px);
        line-height: 1.04;
        letter-spacing: -0.022em;
        text-wrap: initial;
    }

    body.sb-lang-bg.home .sb-home-hero-reset__title-line {
        white-space: nowrap;
    }
}

@media (max-width: 430px) {
    body.sb-lang-bg.home .sb-home-hero-reset__title {
        font-size: clamp(23px, 7.1vw, 28px);
    }
}

/* =========================================================
   Phase EE3F — restore mobile regions block after EE3 test build
   Base: current staging file state after EE3 test build
   Scope: mobile-only home regions heading + hide subcopy
   ========================================================= */
@media (max-width: 767px) {
    .home .sb-regions-module .h2 {
        font-size: clamp(1.7rem, 7.2vw, 2.2rem);
        line-height: 0.98;
        letter-spacing: -0.012em;
        margin-bottom: 8px;
    }

    .home .sb-regions-module .sub {
        display: none;
    }
}


.home .sb-home-hero-reset__regions-mobile {
    display: none;
}

@media (max-width: 640px) {
    .home .sb-home-hero-reset__regions-mobile {
        display: block;
        width: 100%;
        margin: 2px 0 4px;
    }

    .home .sb-home-hero-reset__regions-mobile .sb-regions-module {
        margin: 0;
    }

    .home .sb-home-regions--desktop {
        display: none;
    }
}

/* =========================================================
   Phase EG4 — Mobile-only regions map scale-up inside hero flow
   Base: current staging file state after EG3 test build
   Scope: slightly enlarge the regions map (5–10%) only on mobile
   ========================================================= */
@media (max-width: 640px) {
    .home .sb-home-hero-reset__regions-mobile .sb-regions-module {
        padding-left: 14px;
        padding-right: 14px;
    }

    .home .sb-home-hero-reset__regions-mobile .bg-map9 {
        width: 112%;
        max-width: none;
        margin: 8px -6% 0;
    }
}


/* =========================================================
   Phase EG6 — BG mobile-only rose label refinement
   Base: current staging file state after EG5/EG3 test builds
   Scope: make Rose Valley & West Thracia smaller and 3-line only in BG mobile map
   ========================================================= */
.bg-map9 .label--rose-mobile {
    display: none;
}

@media (max-width: 640px) {
    body.sb-lang-bg.home .sb-home-hero-reset__regions-mobile .bg-map9 .label--rose-desktop {
        display: none;
    }

    body.sb-lang-bg.home .sb-home-hero-reset__regions-mobile .bg-map9 .label--rose-mobile {
        display: block;
        font-size: 24px;
        letter-spacing: -0.012em;
        transform: translateX(-6px);
    }
}


/* =========================================================
   Phase EG8 — BG mobile-only east label refinement
   Base: current homepage mobile map file state after the latest map refinements incl. EG7 test state
   Scope: make East Thracia & Sakar 3-line only in BG mobile duplicated map
   ========================================================= */
.bg-map9 .label--east-mobile {
    display: none;
}

@media (max-width: 640px) {
    body.sb-lang-bg.home .sb-home-hero-reset__regions-mobile .bg-map9 .label--east-desktop {
        display: none;
    }

    body.sb-lang-bg.home .sb-home-hero-reset__regions-mobile .bg-map9 .label--east-mobile {
        display: block;
        font-size: 30px;
        letter-spacing: -0.014em;
        transform: translate(-18px, 18px);
    }
}

/* =========================================================
   Phase EG12 — Mobile-only hide regions title in hero-inserted map block
   Base: current authoritative base incl. EG11
   Scope: hide "Пазарувай по винен регион" / "Shop by wine region" only on mobile
   ========================================================= */
@media (max-width: 640px) {
    .home .sb-home-hero-reset__regions-mobile .sb-regions-module .h2 {
        display: none;
    }
}

/* =========================================================
   HOMEPAGE FEATURED COPY — MOBILE SMALLER + HIGHER
   Phase EH
========================================================= */
@media (max-width: 640px) {
    .home .sb-home-featured .sb-home-section-head {
        margin-bottom: 18px;
    }

    .home .sb-home-featured .sb-home-section-title {
        margin-bottom: 8px;
    }

    .home .sb-home-featured .sb-home-section-copy {
        font-size: 0.96rem;
        line-height: 1.5;
        margin-top: -2px;
        max-width: none;
    }
}


/* =========================================================
   Phase EG13 — Mobile-only BG map label sizing for Northwest / North Central / Black Sea
   Base: current authoritative base incl. EH
   Scope: set only these three BG mobile labels to 30px in the hero-inserted regions map
   ========================================================= */
@media (max-width: 640px) {
    body.sb-lang-bg.home .sb-home-hero-reset__regions-mobile .bg-map9 .label--northwest,
    body.sb-lang-bg.home .sb-home-hero-reset__regions-mobile .bg-map9 .label--northcentral,
    body.sb-lang-bg.home .sb-home-hero-reset__regions-mobile .bg-map9 .label--blacksea {
        font-size: 30px;
    }
}


/* =========================================================
   Phase EG15 — Mobile-only tighten spacing above regions helper text further
   Base: current authoritative base incl. EG13 and EH, follow-up to EG14 test build
   Scope: make the top gap above the map helper smaller in the mobile hero-inserted regions block (BG + EN)
   ========================================================= */
@media (max-width: 640px) {
    .home .sb-home-hero-reset__regions-mobile .sb-regions-module {
        padding-bottom: 10px;
    }

    .home .sb-home-hero-reset__regions-mobile .map-helper {
        margin-top: -18px;
        margin-bottom: -2px;
        line-height: 1.22;
    }
}


/* Phase EI - contact page layout redesign */
.sb-contact-page {
    padding-top: calc(var(--sb-space-10) - 16px);
}

.sb-contact-wrap {
    display: grid;
    gap: clamp(18px, 2vw, 24px);
}

.sb-contact-intro {
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin-inline: auto;
}

.sb-contact-intro .sb-eyebrow {
    margin-bottom: 0;
}

.sb-contact-intro__lead {
    margin: 0;
    max-width: 720px;
    color: var(--sb-text-soft);
}

.sb-contact-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sb-contact-main {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.88fr);
    gap: clamp(18px, 2vw, 24px);
    align-items: stretch;
}

.sb-contact-panel {
    padding: clamp(24px, 3vw, 30px);
}

.sb-contact-panel--details {
    display: grid;
    align-content: start;
}

.sb-contact-panel--map {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 12px;
}

.sb-contact-panel__title {
    margin: 0;
    font-size: clamp(1.85rem, 2.7vw, 2.35rem);
}

.sb-contact-panel__text {
    margin: 0;
    color: var(--sb-text-soft);
}

.sb-contact-panel__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 26px;
    margin-top: 18px;
}

.sb-contact-group {
    display: grid;
    align-content: start;
    gap: 12px;
}

.sb-contact-group h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.sb-contact-group--social {
    grid-column: 1 / -1;
    padding-top: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.sb-contact-items {
    display: grid;
    gap: 14px;
}

.sb-contact-item {
    display: grid;
    gap: 6px;
}

.sb-contact-item__label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0, 0, 0, 0.42);
}

.sb-contact-item__value {
    display: grid;
    gap: 5px;
    margin: 0;
    color: var(--sb-text-color, #1f1a17);
}

.sb-contact-item__value,
.sb-contact-item__value a {
    font-size: 1rem;
    line-height: 1.55;
    text-decoration: none;
    color: var(--sb-text-color, #1f1a17);
}

.sb-contact-item__value.is-strong,
.sb-contact-item__value.is-strong a {
    font-size: clamp(1.05rem, 1.1vw, 1.15rem);
    font-weight: 600;
    color: var(--sb-text-color, #1f1a17);
}

.sb-contact-item__value a:hover {
    color: var(--accent-color);
}

.sb-contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sb-contact-socials__link {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 999px !important;
    background: rgba(195, 138, 55, 0.08) !important;
    color: var(--accent-color) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    margin-top: 0 !important;
}

.sb-contact-socials__link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.sb-contact-socials__link span {
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1;
}

.sb-contact-socials__link:hover {
    opacity: 0.88;
}

.sb-contact-map-wrap {
    margin-top: 2px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.03);
}

.sb-contact-map {
    display: block;
    width: 100%;
    min-height: 296px;
    border: 0;
}

.sb-contact-map-meta {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.sb-contact-map-meta a {
    margin-top: 0;
    color: var(--sb-accent-deep);
    font-weight: 600;
    text-decoration: none;
}

.sb-contact-helper {
    padding: clamp(22px, 2.8vw, 28px);
}

.sb-contact-helper__title {
    margin: 0 0 14px;
    font-size: clamp(1.45rem, 2.1vw, 1.9rem);
}

.sb-contact-helper__list {
    margin: 0;
    padding-left: 1.15em;
    color: var(--sb-text-soft);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
}

.sb-contact-helper__list li {
    margin: 0;
    break-inside: avoid;
}

@media (max-width: 980px) {
    .sb-contact-main {
        grid-template-columns: 1fr;
    }

    .sb-contact-intro {
        max-width: none;
    }
}

@media (max-width: 700px) {
    .sb-contact-panel__groups,
    .sb-contact-helper__list {
        grid-template-columns: 1fr;
    }

    .sb-contact-group--social {
        padding-top: 0;
        border-top: 0;
    }
}

@media (max-width: 640px) {
    .sb-contact-page {
        padding-top: calc(var(--sb-space-8) - 12px);
    }

    .sb-contact-wrap {
        gap: 16px;
    }

    .sb-contact-intro {
        gap: 12px;
    }

    .sb-contact-intro__lead {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .sb-contact-intro__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .sb-contact-intro__actions .sb-btn {
        width: min(100%, 360px);
        justify-content: center;
        text-align: center;
        padding-left: 18px;
        padding-right: 18px;
    }

    .sb-contact-panel,
    .sb-contact-helper {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .sb-contact-panel__title {
        font-size: clamp(1.7rem, 5.9vw, 2.1rem);
    }

    .sb-contact-map {
        min-height: 240px;
    }

    .sb-contact-socials__link {
        width: 100% !important;
        justify-content: center;
    }

    .sb-contact-helper__title {
        font-size: clamp(1.35rem, 5.2vw, 1.7rem);
        margin-bottom: 12px;
    }

    .sb-contact-helper__list {
        gap: 8px;
        font-size: 0.98rem;
        line-height: 1.6;
    }
}


/* =========================
   Phase EL — Contact Page Ground-Up Redesign
   Base: uploaded staging (12).zip authoritative stack
   ========================= */
.sb-contact-sheet-page {
    padding-top: 56px;
}

.sb-contact-sheet-wrap {
    max-width: 1100px;
}

.sb-contact-sheet {
    padding: clamp(28px, 3.4vw, 44px);
    border-radius: 34px;
    background: rgba(255, 252, 247, 0.88);
    box-shadow: 0 18px 44px rgba(58, 40, 20, 0.06);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sb-contact-sheet__top {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
    gap: clamp(28px, 3.4vw, 52px);
    align-items: start;
}

.sb-contact-sheet__primary {
    min-width: 0;
}

.sb-contact-sheet__eyebrow {
    margin-bottom: 14px;
}

.sb-contact-sheet__title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--sb-ink);
}

.sb-contact-sheet__lead {
    max-width: 60ch;
    margin: 18px 0 0;
    font-size: clamp(0.83rem, 1.18vw, 0.93rem);
    line-height: 1.75;
    color: rgba(43, 36, 30, 0.82);
}


.sb-contact-sheet__lead-desktop {
    display: inline;
}

.sb-contact-sheet__lead-mobile {
    display: none;
}

.sb-contact-sheet__eyebrow,
.sb-contact-sheet__lead,
.sb-contact-sheet__action,
.sb-contact-sheet__tips,
.sb-contact-sheet__tips-text,
.sb-contact-sheet__visit-note,
.sb-contact-sheet__meta-label,
.sb-contact-sheet__meta-value,
.sb-contact-sheet__social-link,
.sb-contact-sheet__map-text,
.sb-contact-sheet__map-link {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sb-contact-sheet__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.sb-contact-sheet__action {
    min-height: 50px;
}

.sb-contact-sheet__tips {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(181, 154, 109, 0.2);
}

.sb-contact-sheet__tips-title,
.sb-contact-sheet__visit-title,
.sb-contact-sheet__map-title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.3rem, 1.7vw, 1.7rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--sb-ink);
}

.sb-contact-sheet__tips-title {
    font-size: clamp(1.18rem, 1.45vw, 1.45rem);
}

.sb-contact-sheet__tips-list {
    margin: 14px 0 0;
    padding-left: 1.15rem;
    columns: 2;
    column-gap: 34px;
    color: rgba(43, 36, 30, 0.84);
}

.sb-contact-sheet__tips-list li {
    break-inside: avoid;
    margin: 0 0 10px;
    line-height: 1.7;
}

.sb-contact-sheet__tips-text {
    margin: 0;
    max-width: 58ch;
    font-size: 0.75rem;
    line-height: 1.6;
    color: rgba(43, 36, 30, 0.82);
}

.sb-contact-sheet__visit {
    padding: clamp(22px, 2.4vw, 30px);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 252, 247, 0.86));
    border: 1px solid rgba(181, 154, 109, 0.16);
}

.sb-contact-sheet__visit-note {
    margin: 14px 0 0;
    font-size: 0.8rem;
    line-height: 1.68;
    color: rgba(43, 36, 30, 0.8);
}

.sb-contact-sheet__meta {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.sb-contact-sheet__meta-item {
    display: grid;
    gap: 6px;
}

.sb-contact-sheet__meta-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(181, 154, 109, 0.9);
}

.sb-contact-sheet__meta-value {
    display: grid;
    gap: 4px;
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--sb-ink);
}

.sb-contact-sheet__meta-item--social {
    padding-top: 16px;
    border-top: 1px solid rgba(181, 154, 109, 0.16);
}

.sb-contact-sheet__socials {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sb-contact-sheet__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(181, 154, 109, 0.2);
    background: rgba(255, 252, 247, 0.88);
    color: var(--sb-ink);
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.sb-contact-sheet__social-link svg {
    width: 17px;
    height: 17px;
}

.sb-contact-sheet__social-link:hover {
    transform: translateY(-1px);
    border-color: rgba(181, 154, 109, 0.38);
    background: rgba(211, 176, 110, 0.12);
}

.sb-contact-sheet__map-band {
    display: grid;
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(24px, 3vw, 40px);
    margin-top: clamp(30px, 4vw, 42px);
    padding-top: clamp(26px, 3.2vw, 34px);
    border-top: 1px solid rgba(181, 154, 109, 0.22);
    align-items: center;
}

.sb-contact-sheet__map-text {
    margin: 14px 0 0;
    line-height: 1.72;
    color: rgba(43, 36, 30, 0.8);
}

.sb-contact-sheet__map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-weight: 700;
    color: var(--sb-accent);
    text-decoration: none;
}

.sb-contact-sheet__map-link:hover {
    text-decoration: underline;
}

.sb-contact-sheet__map-frame {
    min-width: 0;
}

.sb-contact-sheet__map {
    display: block;
    width: 100%;
    height: clamp(300px, 34vw, 380px);
    border: 0;
    border-radius: 26px;
    box-shadow: inset 0 0 0 1px rgba(181, 154, 109, 0.16);
}

@media (max-width: 980px) {
    .sb-contact-sheet__top,
    .sb-contact-sheet__map-band {
        grid-template-columns: 1fr;
    }

    .sb-contact-sheet__visit {
        padding: 22px;
    }

    .sb-contact-sheet__tips-list {
        columns: 1;
    }

    .sb-contact-sheet__map {
        height: 340px;
    }
}

@media (max-width: 640px) {
    body.page:not(.home) .sb-contact-page.sb-contact-sheet-page.sb-section:first-child {
        padding-top: 24px;
    }

    .sb-contact-sheet-page {
        padding-top: 0;
    }

    .sb-contact-sheet-wrap {
        width: min(100%, calc(100% - 28px));
    }

    .sb-contact-sheet {
        padding: 22px 18px 20px;
        border-radius: 26px;
    }

    .sb-contact-sheet__title {
        font-size: 2rem;
    }

    .sb-contact-sheet__lead {
        margin-top: 14px;
        font-size: 0.81rem;
        line-height: 1.72;
    }

    .sb-contact-sheet__lead-desktop {
        display: none;
    }

    .sb-contact-sheet__lead-mobile {
        display: inline;
    }

    .sb-contact-sheet__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sb-contact-sheet__action {
        width: 100%;
        justify-content: center;
    }

    .sb-contact-sheet__tips {
        margin-top: 26px;
        padding-top: 18px;
    }

    .sb-contact-sheet__tips-title,
    .sb-contact-sheet__visit-title,
    .sb-contact-sheet__map-title {
        font-size: 1.3rem;
    }

    .sb-contact-sheet__visit {
        padding: 18px;
        border-radius: 22px;
    }

    .sb-contact-sheet__meta {
        gap: 16px;
        margin-top: 20px;
    }

    .sb-contact-sheet__map-band {
        gap: 18px;
        margin-top: 26px;
        padding-top: 22px;
    }

    .sb-contact-sheet__map {
        height: 260px;
        border-radius: 20px;
    }
}


/* =========================
   Phase FC — Degustacii Mobile Cleanup Round 2
========================= */
@media (max-width: 640px) {
    body.page-template-default .sb-tastings-page,
    body.page .sb-tastings-page {
        padding-top: 8px;
    }

    .sb-tastings-hero {
        padding: 18px 18px 16px;
    }

    .sb-tastings-hero__title {
        font-size: clamp(1.82rem, 7.2vw, 2.08rem);
        line-height: 0.95;
        max-width: none;
        width: 100%;
        text-wrap: balance;
    }

    .sb-tastings-hero__copy {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .sb-tastings-hero__copy.is-soft {
        display: none;
    }

    .sb-tastings-preview {
        margin-top: 18px;
    }

    .sb-home-section-head {
        margin-bottom: 20px;
    }

    .sb-home-section-copy {
        font-size: 0.93rem;
        line-height: 1.55;
    }

    .sb-tastings-preview .sb-home-section-head {
        gap: 3px;
        margin-bottom: 10px;
    }

    .sb-tastings-preview .sb-home-section-head h2 {
        display: none;
    }

    .sb-tastings-event-grid {
        gap: 16px;
    }

    .sb-tastings-event-card__image {
        aspect-ratio: auto;
        min-height: 200px;
    }

    .sb-tastings-event-card__body {
        gap: 7px;
        padding: 16px 16px 14px;
    }

    .sb-tastings-event-card h3 {
        margin-bottom: 4px;
        font-size: clamp(1.38rem, 5.5vw, 1.66rem);
        line-height: 1.04;
    }

    .sb-tastings-event-card__price {
        font-size: 0.94rem;
    }

    .sb-tastings-event-card .sb-btn {
        margin-top: 10px;
        min-height: 44px;
    }

    .sb-home-section-actions {
        margin-top: 16px;
    }

    .sb-home-section-actions .sb-btn {
        min-width: 180px;
        min-height: 44px;
        padding-inline: 18px;
        font-size: 0.92rem;
    }

    .sb-tastings-grid {
        margin-top: 20px;
        gap: 14px;
    }

    .sb-tastings-grid__card,
    .sb-tastings-faq {
        padding: 16px 16px 14px;
    }

    .sb-tastings-grid__card h3,
    .sb-tastings-faq h2 {
        margin-bottom: 8px;
        font-size: clamp(1.34rem, 5.4vw, 1.6rem);
        line-height: 1.05;
    }

    .sb-tastings-grid__card p,
    .sb-tastings-faq p {
        font-size: 0.93rem;
        line-height: 1.56;
    }

    .sb-tastings-grid__card.is-featured {
        background: linear-gradient(180deg, rgba(198, 164, 108, 0.08), rgba(255,255,255,0.92));
    }
}

/* =========================
   Phase FD — Degustacii Mobile Header Gap Tighten
========================= */
@media (max-width: 640px) {
    body.page:not(.home) .sb-tastings-page.sb-section:first-child {
        padding-top: 16px;
    }

    .sb-tastings-page {
        padding-top: 0;
    }
}


/* =========================
   Phase FI — Degustacii Accordions Compact Polish
========================= */
.sb-tastings-accordion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 22px;
}

.sb-tastings-accordion {
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
}

.sb-tastings-accordion.is-featured {
    background: linear-gradient(180deg, rgba(198, 164, 108, 0.08), rgba(255,255,255,0.96));
}

.sb-tastings-accordion__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
}

.sb-tastings-accordion__summary::-webkit-details-marker {
    display: none;
}

.sb-tastings-accordion__title-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

.sb-tastings-accordion__title {
    display: block;
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.22rem, 2vw, 1.5rem);
    line-height: 1.06;
    color: var(--sb-text);
}

.sb-tastings-accordion__teaser {
    display: none;
}

.sb-tastings-accordion__toggle {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(31,31,31,0.1);
    background: rgba(255,255,255,0.86);
    margin-top: 0;
}

.sb-tastings-accordion__toggle::before,
.sb-tastings-accordion__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 1.5px;
    background: var(--sb-text);
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.sb-tastings-accordion__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.sb-tastings-accordion[open] .sb-tastings-accordion__toggle::after {
    opacity: 0;
}

.sb-tastings-accordion__body {
    padding: 0 18px 16px;
    display: grid;
    gap: 10px;
}

.sb-tastings-accordion__body p,
.sb-tastings-accordion__copy {
    margin: 0;
    color: var(--sb-text-soft);
    font-size: 0.95rem;
    line-height: 1.52;
}

.sb-tastings-accordion__cta {
    justify-self: flex-start;
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.88rem;
}

@media (min-width: 1025px) {
    .sb-tastings-accordion-grid {
        align-items: stretch;
    }

    .sb-tastings-accordion__summary {
        padding: 14px 16px;
        gap: 10px;
    }

    .sb-tastings-accordion__title {
        font-size: clamp(1.05rem, 1.45vw, 1.24rem);
        line-height: 1.04;
    }

    .sb-tastings-accordion__toggle {
        flex: 0 0 26px;
        width: 26px;
        height: 26px;
    }

    .sb-tastings-accordion__toggle::before,
    .sb-tastings-accordion__toggle::after {
        width: 10px;
    }

    .sb-tastings-accordion__body {
        padding: 0 16px 14px;
        gap: 8px;
    }

    .sb-tastings-accordion__body p,
    .sb-tastings-accordion__copy {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .sb-tastings-accordion__cta {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 0.84rem;
    }
}

@media (max-width: 1200px) {
    .sb-tastings-accordion-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sb-tastings-accordion-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 14px;
        margin-bottom: 18px;
    }

    .sb-tastings-accordion {
        border-radius: 20px;
    }

    .sb-tastings-accordion__summary {
        padding: 14px 16px;
        gap: 10px;
    }

    .sb-tastings-accordion__title {
        font-size: clamp(1.1rem, 4.2vw, 1.24rem);
    }

    .sb-tastings-accordion__toggle {
        flex-basis: 24px;
        width: 24px;
        height: 24px;
    }

    .sb-tastings-accordion__toggle::before,
    .sb-tastings-accordion__toggle::after {
        width: 9px;
    }

    .sb-tastings-accordion__body {
        padding: 0 16px 14px;
        gap: 10px;
    }

    .sb-tastings-accordion__body p,
    .sb-tastings-accordion__copy {
        font-size: 0.9rem;
        line-height: 1.48;
    }

    .sb-tastings-accordion__cta {
        min-height: 36px;
        padding: 8px 14px;
        font-size: 0.88rem;
    }
}

/* =========================
   Phase FN — Degustacii Accordion Actual Height Fix
========================= */
body.page:not(.home) details.sb-card.sb-tastings-accordion {
    padding: 0;
}

body.page:not(.home) details.sb-card.sb-tastings-accordion[open] {
    padding: 0;
}

@media (max-width: 640px) {
    body.page:not(.home) details.sb-card.sb-tastings-accordion {
        padding: 0;
        border-radius: 22px;
    }

    .sb-tastings-accordion-grid {
        gap: 12px;
        margin-top: 14px;
        margin-bottom: 18px;
    }

    .sb-tastings-accordion__summary {
        min-height: 0;
        padding: 16px 18px;
        gap: 12px;
        align-items: center;
    }

    .sb-tastings-accordion__title {
        font-size: clamp(1.2rem, 4.55vw, 1.34rem);
        line-height: 1.08;
    }

    .sb-tastings-accordion__toggle {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
    }

    .sb-tastings-accordion__toggle::before,
    .sb-tastings-accordion__toggle::after {
        width: 10px;
    }

    .sb-tastings-accordion__body {
        padding: 0 18px 18px;
        gap: 10px;
    }

    .sb-tastings-accordion__body p,
    .sb-tastings-accordion__copy {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .sb-tastings-accordion__cta {
        min-height: 36px;
        padding: 8px 14px;
        font-size: 0.86rem;
    }
}


/* =========================
   Phase FW — Degustacii Hero Max-Width Release
========================= */
@media (min-width: 641px) {
    body.page:not(.home) .sb-tastings-page > article.sb-card.sb-tastings-hero,
    body.page:not(.home) .sb-tastings-page > article.sb-tastings-hero {
        max-width: none;
        width: 100%;
    }
}

/* =========================
   Phase FX — Degustacii desktop hero actual width + subnav removal
========================= */
@media (min-width: 641px) {
    .sb-tastings-subnav {
        display: none !important;
    }

    body.page:not(.home) .sb-tastings-page .sb-wrap > article.sb-card.sb-tastings-hero,
    body.page:not(.home) .sb-tastings-page .sb-wrap > article.sb-tastings-hero {
        max-width: none;
        width: 100%;
    }

    .sb-tastings-hero__copy,
    .sb-tastings-hero__copy.is-soft {
        max-width: none;
        width: 100%;
    }
}

/* =========================================================
   Phase IC — single product info boxes 3x2 desktop layout
   Base: Phase IB accepted current style file state
   Scope: desktop single product identity grid only
========================================================= */
@media (min-width: 1025px) {
    body.single-product .sb-product-id-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* =========================
   Phase IG — Shop/archive add-to-cart notice icon spacing fix
   Base: approved Phase IF
   Scope: product archive/shop notices only
========================= */
body.post-type-archive-product .woocommerce-message,
body.post-type-archive-product .woocommerce-info,
body.post-type-archive-product .woocommerce-error,
body.tax-product_cat .woocommerce-message,
body.tax-product_cat .woocommerce-info,
body.tax-product_cat .woocommerce-error,
body.tax-product_tag .woocommerce-message,
body.tax-product_tag .woocommerce-info,
body.tax-product_tag .woocommerce-error {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px 20px;
    flex-wrap: wrap;
    padding-left: 64px;
    min-height: 76px;
    line-height: 1.35;
}

body.post-type-archive-product .woocommerce-message::before,
body.post-type-archive-product .woocommerce-info::before,
body.post-type-archive-product .woocommerce-error::before,
body.tax-product_cat .woocommerce-message::before,
body.tax-product_cat .woocommerce-info::before,
body.tax-product_cat .woocommerce-error::before,
body.tax-product_tag .woocommerce-message::before,
body.tax-product_tag .woocommerce-info::before,
body.tax-product_tag .woocommerce-error::before {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

body.post-type-archive-product .woocommerce-message .button,
body.post-type-archive-product .woocommerce-info .button,
body.post-type-archive-product .woocommerce-error .button,
body.tax-product_cat .woocommerce-message .button,
body.tax-product_cat .woocommerce-info .button,
body.tax-product_cat .woocommerce-error .button,
body.tax-product_tag .woocommerce-message .button,
body.tax-product_tag .woocommerce-info .button,
body.tax-product_tag .woocommerce-error .button {
    order: 2;
    margin-left: auto;
    float: none;
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    body.post-type-archive-product .woocommerce-message,
    body.post-type-archive-product .woocommerce-info,
    body.post-type-archive-product .woocommerce-error,
    body.tax-product_cat .woocommerce-message,
    body.tax-product_cat .woocommerce-info,
    body.tax-product_cat .woocommerce-error,
    body.tax-product_tag .woocommerce-message,
    body.tax-product_tag .woocommerce-info,
    body.tax-product_tag .woocommerce-error {
        padding-left: 56px;
        min-height: 68px;
        gap: 12px;
    }

    body.post-type-archive-product .woocommerce-message::before,
    body.post-type-archive-product .woocommerce-info::before,
    body.post-type-archive-product .woocommerce-error::before,
    body.tax-product_cat .woocommerce-message::before,
    body.tax-product_cat .woocommerce-info::before,
    body.tax-product_cat .woocommerce-error::before,
    body.tax-product_tag .woocommerce-message::before,
    body.tax-product_tag .woocommerce-info::before,
    body.tax-product_tag .woocommerce-error::before {
        left: 20px;
    }

    body.post-type-archive-product .woocommerce-message .button,
    body.post-type-archive-product .woocommerce-info .button,
    body.post-type-archive-product .woocommerce-error .button,
    body.tax-product_cat .woocommerce-message .button,
    body.tax-product_cat .woocommerce-info .button,
    body.tax-product_cat .woocommerce-error .button,
    body.tax-product_tag .woocommerce-message .button,
    body.tax-product_tag .woocommerce-info .button,
    body.tax-product_tag .woocommerce-error .button {
        margin-left: 0;
    }
}

/* =========================
   Phase IJ — Shop price row another 10 percent tighter
   Base: current live Phase IF + compact-fit state shown by user
   Scope: shop/archive product cards only
   Goal: reduce price typography another ~10% so it sits on one line with the cart icon more comfortably
========================= */
.sb-shop-results .sb-product-card__price,
.sb-shop-results .sb-product-card__price .amount,
.sb-shop-results .sb-product-card__price .sb-dual-price {
    white-space: nowrap;
}

@media (max-width: 1279px) {
    .sb-shop-results .sb-product-card__bottom-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 10px;
    }

    .sb-shop-results .sb-product-card__price {
        min-width: 0;
        font-size: clamp(0.83rem, 1.53vw, 0.95rem);
        line-height: 1;
    }

    .sb-shop-results .sb-product-card__cart-slot {
        justify-self: end;
        flex-wrap: nowrap;
    }
}

@media (max-width: 640px) {
    .sb-shop-results .sb-product-card__price {
        font-size: 0.81rem;
    }

    .sb-shop-results .sb-product-card__cart-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .sb-shop-results .sb-product-card__cart-icon-svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 420px) {
    .sb-shop-results .sb-product-card__price {
        font-size: 0.77rem;
    }
}

/* =========================
   Phase IK — Shop price + cart icon vertical alignment refinement
   Base: current shop-card state after the compact price refinements shown by user
   Scope: shop/archive product cards only
   Goal: visually align the one-line price row with the cart icon more cleanly
========================= */
.sb-shop-results .sb-product-card__bottom-row {
    align-items: center;
}

.sb-shop-results .sb-product-card__price {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
}

.sb-shop-results .sb-product-card__cart-slot {
    align-self: center;
}

@media (max-width: 640px) {
    .sb-shop-results .sb-product-card__price {
        min-height: 42px;
    }
}

/* =========================
   Phase IM — Shop dual price stacked layout
   Base: approved Phase IK
   Scope: shop/archive product cards only
   Goal: display EUR and BGN prices on separate lines while keeping the cart icon aligned cleanly
========================= */
.sb-shop-results .sb-product-card__bottom-row {
    align-items: flex-end;
    gap: 14px;
}

.sb-shop-results .sb-product-card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: auto;
    white-space: normal;
    line-height: 1.08;
    flex: 1 1 auto;
}

.sb-shop-results .sb-product-card__price .amount {
    display: block;
    line-height: 1.05;
    white-space: nowrap;
}

.sb-shop-results .sb-product-card__price .sb-dual-price {
    display: block;
    margin-top: 3px;
    line-height: 1.05;
    white-space: nowrap;
    margin-left: 0;
}

.sb-shop-results .sb-product-card__cart-slot {
    align-self: flex-end;
}

@media (max-width: 640px) {
    .sb-shop-results .sb-product-card__bottom-row {
        gap: 12px;
    }

    .sb-shop-results .sb-product-card__price .sb-dual-price {
        margin-top: 2px;
    }
}

/* =========================
   Phase IU — Cart disclaimer max-width refinement
   Base: latest approved stack through Phase IS, with live-applied Phase IT disclaimer
   Scope: cart disclaimer box only
========================= */
body.woocommerce-cart .cart_totals .sb-cart-restock-note {
    display: block;
    width: fit-content;
    max-width: min(100%, 520px);
    min-height: 0;
    margin-top: 24px;
    padding: 22px 24px;
    line-height: 1.55;
}

body.woocommerce-cart .cart_totals .sb-cart-restock-note::before {
    display: none;
}

body.woocommerce-cart .cart_totals .sb-cart-restock-note a {
    font-weight: 600;
}

@media (max-width: 640px) {
    body.woocommerce-cart .cart_totals .sb-cart-restock-note {
        width: auto;
        max-width: 100%;
        padding: 20px 22px;
    }
}

/* =========================
   Phase IV — Cart totals sidebar max-width refinement
   Base: latest approved stack through Phase IS, with live-applied cart disclaimer refinements
   Scope: cart totals card wrapper only
========================= */
body.woocommerce-cart .cart-collaterals {
    display: flex;
    justify-content: flex-end;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: 0;
}

@media (max-width: 768px) {
    body.woocommerce-cart .cart-collaterals {
        display: block;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals {
        max-width: 100%;
    }
}

/* Phase JU — About page regression recovery row spacing */
.sb-about-page .sb-about-grid--two + .sb-about-grid--two {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .sb-about-page .sb-about-grid--two + .sb-about-grid--two {
        margin-top: 18px;
    }
}

/* =========================
   Phase IP — My Account addresses overview refinement
   Scope: addresses overview cards only (desktop/mobile) + safer CTA/title alignment
========================= */
.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 18px;
    align-items: stretch;
}

.woocommerce-account .woocommerce-Addresses::before,
.woocommerce-account .woocommerce-Addresses::after,
.woocommerce-account .woocommerce-Addresses > .col-1::before,
.woocommerce-account .woocommerce-Addresses > .col-1::after,
.woocommerce-account .woocommerce-Addresses > .col-2::before,
.woocommerce-account .woocommerce-Addresses > .col-2::after {
    display: none !important;
}

.woocommerce-account .woocommerce-Addresses > .col-1,
.woocommerce-account .woocommerce-Addresses > .col-2 {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    min-width: 0;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 24px;
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 0;
    border: 0;
    flex-wrap: wrap;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h3,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title h3 {
    margin: 0;
    flex: 1 1 220px;
    min-width: 0;
    font-size: clamp(1.3rem, 1.9vw, 1.68rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title .edit,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address > .edit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(198, 164, 108, 0.28);
    border-radius: 999px;
    background: rgba(198, 164, 108, 0.12);
    color: var(--sb-text);
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    white-space: normal;
    text-align: center;
}

.woocommerce-account .woocommerce-Addresses address {
    margin: 0;
    color: var(--sb-text-soft);
    font-style: normal;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.woocommerce-account .woocommerce-Addresses address + .edit,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address > .edit {
    align-self: flex-start;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .woocommerce-account .woocommerce-Addresses .woocommerce-Address {
        padding: 20px;
    }

    .woocommerce-account .woocommerce-Addresses .woocommerce-Address-title,
    .woocommerce-account .woocommerce-Addresses .woocommerce-Address-title.title {
        flex-direction: column;
        align-items: flex-start;
    }

    .woocommerce-account .woocommerce-Addresses .woocommerce-Address-title .edit,
    .woocommerce-account .woocommerce-Addresses .woocommerce-Address > .edit {
        width: 100%;
        justify-content: center;
    }
}


/* =========================
   Phase IQ — My Account notice icon spacing fix
   Scope: my-account notice boxes only
   Goal: prevent Woo notice/status icons from overlapping notice copy
========================= */
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
    position: relative;
    padding-left: 54px;
    line-height: 1.58;
}

.woocommerce-account .woocommerce-info::before,
.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-error::before,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info::before,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error::before {
    left: 18px;
    top: 18px;
    margin-top: 0;
}

.woocommerce-account .woocommerce-info a,
.woocommerce-account .woocommerce-message a,
.woocommerce-account .woocommerce-error a {
    font-weight: 600;
}

@media (max-width: 640px) {
    .woocommerce-account .woocommerce-info,
    .woocommerce-account .woocommerce-message,
    .woocommerce-account .woocommerce-error,
    .woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
    .woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
    .woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
        padding-left: 50px;
    }

    .woocommerce-account .woocommerce-info::before,
    .woocommerce-account .woocommerce-message::before,
    .woocommerce-account .woocommerce-error::before,
    .woocommerce-account .woocommerce-notices-wrapper .woocommerce-info::before,
    .woocommerce-account .woocommerce-notices-wrapper .woocommerce-message::before,
    .woocommerce-account .woocommerce-notices-wrapper .woocommerce-error::before {
        left: 16px;
        top: 16px;
    }
}

/* =========================
   Phase IS — Cart inline note alignment recovery
   Base: approved Phase IR
   Scope: cart coupon/actions row only
   Goal: keep the larger-quantity note as a clean full-width line under the coupon controls
========================= */
body.woocommerce-cart table.cart td.actions {
    vertical-align: top;
}

body.woocommerce-cart table.cart td.actions > :not(.coupon):not(.button):not(button):not(input):not(a.button):not(.restore-item) {
    display: block !important;
    clear: both;
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 0 !important;
    text-align: left !important;
    line-height: 1.55;
}

body.woocommerce-cart table.cart td.actions > :not(.coupon):not(.button):not(button):not(input):not(a.button):not(.restore-item)::before {
    display: none !important;
}

body.woocommerce-cart table.cart td.actions > :not(.coupon):not(.button):not(button):not(input):not(a.button):not(.restore-item) a {
    font-weight: 600;
}

@media (max-width: 640px) {
    body.woocommerce-cart table.cart td.actions > :not(.coupon):not(.button):not(button):not(input):not(a.button):not(.restore-item) {
        margin-top: 12px !important;
        line-height: 1.5;
    }
}

/* =========================
   Phase IT — Cart actions + totals width recovery
   Base: approved Phase IR + current Phase IS live state
   Scope: cart page only
   Goal: keep Update Cart beside the coupon controls on the left, and return cart totals to full width
========================= */
body.woocommerce-cart table.cart td.actions {
    text-align: left;
}

body.woocommerce-cart table.cart td.actions .coupon {
    float: left !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 !important;
}

body.woocommerce-cart table.cart td.actions > button[name="update_cart"],
body.woocommerce-cart table.cart td.actions > input[name="update_cart"],
body.woocommerce-cart table.cart td.actions > .button[name="update_cart"] {
    float: left !important;
    clear: none !important;
    margin: 0 0 0 10px !important;
}

body.woocommerce-cart table.cart td.actions > :not(.coupon):not(.button):not(button):not(input):not(a.button):not(.restore-item) {
    clear: both !important;
}

body.woocommerce-cart .cart-collaterals {
    display: block !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 24px 0 0 !important;
}

@media (max-width: 640px) {
    body.woocommerce-cart table.cart td.actions .coupon {
        display: flex;
        width: 100%;
        gap: 10px;
    }

    body.woocommerce-cart table.cart td.actions > button[name="update_cart"],
    body.woocommerce-cart table.cart td.actions > input[name="update_cart"],
    body.woocommerce-cart table.cart td.actions > .button[name="update_cart"] {
        margin: 0 !important;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals {
        margin-top: 20px !important;
    }
}


/* =========================
   Phase JF — Cart actions markup-based right alignment
   Base: approved Phase JD
   Scope: cart page only
   Goal: keep coupon + apply on the left and Update Cart hard-right on the same desktop row
========================= */
body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row {
    display: block !important;
    width: 100% !important;
}

body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main {
    float: none !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main #coupon_code {
    width: 180px;
    min-width: 180px;
    margin: 0;
}

body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main .sb-cart-actions-update {
    margin-left: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main .sb-cart-actions-update button[name="update_cart"],
body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main .sb-cart-actions-update input[name="update_cart"],
body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main .sb-cart-actions-update .button[name="update_cart"] {
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    white-space: nowrap;
}

body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .sb-cart-actions-update--standalone {
    display: flex;
    justify-content: flex-end;
    margin: 0 !important;
}

@media (max-width: 640px) {
    body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main {
        flex-wrap: wrap;
    }

    body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main #coupon_code {
        width: 100%;
        min-width: 0;
    }

    body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main .sb-cart-actions-update {
        margin-left: 0;
        width: 100%;
    }

    body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main .sb-cart-actions-update button[name="update_cart"],
    body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main .sb-cart-actions-update input[name="update_cart"],
    body.woocommerce-cart table.cart td.actions > .sb-cart-actions-row .coupon.sb-cart-actions-main .sb-cart-actions-update .button[name="update_cart"] {
        width: 100%;
    }
}


/* =========================
   Phase JK — Shop medium-width responsive bridge
   Base: _public_html (2).zip + Phase JI + Phase JJ
   Scope: shop archive / filters only
   Goal: fix small-laptop + foldable shop layout without disturbing approved large-desktop and mobile states
========================= */
@media (min-width: 641px) and (max-width: 1180px),
       (min-width: 821px) and (max-height: 860px) {
    .sb-shop-hero {
        padding-bottom: 24px;
    }

    .sb-shop-hero__grid {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 20px;
        align-items: end;
    }

    .sb-shop-title {
        max-width: 12ch;
        font-size: clamp(2.9rem, 4.4vw, 3.45rem);
        line-height: 0.96;
    }

    .sb-shop-copy {
        max-width: 44ch;
        margin-top: 10px;
        font-size: 1rem;
        line-height: 1.45;
    }

    .sb-shop-stat {
        min-width: 154px;
        padding: 18px 20px;
        border-radius: 22px;
    }

    .sb-shop-stat__value {
        font-size: clamp(2rem, 3vw, 2.55rem);
    }

    .sb-shop-layout {
        padding-top: 12px;
    }

    .sb-shop-layout__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sb-filter-shell {
        position: static;
        top: auto;
    }

    .sb-filter-form {
        gap: 12px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .sb-filter-head {
        align-items: center;
        gap: 14px;
        padding: 16px 20px;
        border: 1px solid rgba(229, 223, 215, 0.92);
        border-radius: 24px;
        background: rgba(255, 253, 249, 0.96);
        box-shadow: var(--sb-shadow-xs);
    }

    .sb-filter-head > div:first-child {
        display: none;
    }

    .sb-filter-head__actions {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .sb-filter-head__actions .sb-filter-toggle {
        appearance: none;
        -webkit-appearance: none;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 18px;
        border: 1px solid rgba(206, 188, 158, 0.88);
        border-radius: 999px;
        background: rgba(255, 251, 245, 0.98);
        color: var(--sb-text);
        font: inherit;
        font-size: 0.98rem;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
        box-shadow: 0 1px 0 rgba(255,255,255,0.75) inset;
    }

    .sb-filter-toggle__icon {
        position: relative;
        display: inline-block;
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }

    .sb-filter-toggle__icon::before,
    .sb-filter-toggle__icon::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 12px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transform: translate(-50%, -50%);
    }

    .sb-filter-toggle__icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .sb-filter-toggle[aria-expanded="true"] .sb-filter-toggle__icon::after {
        opacity: 0;
    }

    .sb-filter-reset {
        font-size: 0.95rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .sb-filter-panel {
        padding: 20px;
        border: 1px solid rgba(229, 223, 215, 0.92);
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(241, 234, 225, 0.98) 100%);
        box-shadow: var(--sb-shadow-sm);
        max-height: min(70vh, 640px);
        overflow: auto;
        scrollbar-gutter: stable both-edges;
    }

    .sb-filter-form.is-mobile-collapsed .sb-filter-panel {
        display: none;
    }

    .sb-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 18px;
    }

    .sb-filter-field--price {
        grid-column: 1 / -1;
    }

    .sb-filter-actions {
        position: sticky;
        bottom: 0;
        padding-top: 14px;
        background: linear-gradient(180deg, rgba(241, 234, 225, 0) 0%, rgba(241, 234, 225, 0.94) 26%, rgba(241, 234, 225, 0.98) 100%);
    }
}

@media (min-width: 641px) and (max-width: 980px) {
    .sb-shop-hero__grid {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start;
    }

    .sb-shop-stat {
        display: none;
    }

    .sb-shop-title {
        max-width: none;
        font-size: clamp(2.45rem, 6.1vw, 3.05rem);
    }

    .sb-shop-copy {
        max-width: 32ch;
    }

    .sb-filter-grid {
        grid-template-columns: 1fr;
    }

    .sb-shop-results ul.products,
    .woocommerce-page .sb-shop-results ul.products,
    .woocommerce .sb-shop-results ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        align-items: start !important;
    }

    .sb-shop-results ul.products > li.product,
    .woocommerce-page .sb-shop-results ul.products > li.product,
    .woocommerce .sb-shop-results ul.products > li.product,
    .sb-shop-results ul.products > li.sb-product-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }
}

/* =========================
   Phase JL — Shop hero compaction for small laptops / short screens
   Base: _public_html (2).zip + Phase JI + Phase JJ + Phase JK
   Scope: shop archive hero only
   Goal: reduce oversized hero height on 15-inch laptops and similar medium/short-height screens
========================= */
@media (min-width: 981px) and (max-width: 1500px),
       (min-width: 821px) and (max-height: 860px) {
    body.post-type-archive-product .sb-section:first-child,
    body.tax-sb_region .sb-section:first-child,
    body.tax-sb_grape .sb-section:first-child,
    body.tax-sb_winery .sb-section:first-child {
        padding-top: clamp(26px, 4vw, 44px);
    }

    .sb-shop-hero {
        padding-bottom: 14px;
    }

    .sb-shop-hero__grid {
        gap: 18px;
        align-items: center;
    }

    .sb-shop-title {
        max-width: 16ch;
        font-size: clamp(2.45rem, 3.8vw, 3.15rem);
        line-height: 0.95;
    }

    .sb-shop-copy {
        max-width: 42ch;
        margin-top: 8px;
        font-size: 0.98rem;
        line-height: 1.42;
    }

    .sb-shop-stat {
        min-width: 150px;
        padding: 16px 18px;
        border-radius: 22px;
    }

    .sb-shop-stat__value {
        font-size: clamp(1.95rem, 2.9vw, 2.5rem);
    }

    .sb-shop-stat__label {
        margin-top: 6px;
        font-size: 0.86rem;
    }

    .sb-shop-layout {
        padding-top: 4px;
    }
}

/* =========================
   Phase JM — Shop hero one-line tightening
   Base: _public_html (2).zip + Phase JI + Phase JJ + Phase JK + Phase JL
   Scope: shop archive hero only
   Goal: reduce top whitespace and allow the shop title to sit on one line on 15-inch laptop widths without disturbing large desktop or mobile
========================= */
@media (min-width: 1200px) and (max-width: 1500px),
       (min-width: 1200px) and (max-height: 860px) {
    body.post-type-archive-product .sb-section:first-child,
    body.tax-sb_region .sb-section:first-child,
    body.tax-sb_grape .sb-section:first-child,
    body.tax-sb_winery .sb-section:first-child {
        padding-top: clamp(14px, 2.1vw, 24px);
    }

    .sb-shop-hero {
        padding-bottom: 10px;
    }

    .sb-shop-hero__grid {
        gap: 16px;
        align-items: center;
    }

    .sb-shop-title {
        max-width: none;
        font-size: clamp(2.15rem, 3.1vw, 2.85rem);
        line-height: 0.94;
        letter-spacing: -0.01em;
    }

    .sb-shop-copy {
        margin-top: 6px;
    }

    .sb-shop-stat {
        min-width: 140px;
        padding: 14px 16px;
    }

    .sb-shop-stat__value {
        font-size: clamp(1.8rem, 2.5vw, 2.25rem);
    }

    .sb-shop-stat__label {
        margin-top: 4px;
        font-size: 0.82rem;
    }

    .sb-shop-layout {
        padding-top: 0;
    }
}


body.woocommerce-checkout.sb-checkout-events-only .woocommerce-additional-fields > h3 {
    display: none;
}

body.woocommerce-checkout.sb-checkout-events-only .woocommerce-additional-fields {
    margin-top: 0;
}


/* =========================
   Phase JR — Mobile homepage overflow containment
   Base: uploaded style.css + current accepted stack through Phase JQ
   Scope: home hero / duplicated mobile regions block only
========================= */
@media (max-width: 640px) {
    body.home {
        overflow-x: hidden;
    }

    .home .sb-wrap,
    .home .sb-home-hero-reset,
    .home .sb-home-hero-reset__grid,
    .home .sb-home-hero-reset__content,
    .home .sb-home-hero-reset__visual,
    .home .sb-home-hero-reset__regions-mobile,
    .home .sb-home-hero-reset__media,
    .home .sb-home-hero-reset__panel,
    .home .sb-home-hero-reset__actions,
    .home .sb-home-regions--desktop .sb-regions-module {
        max-width: 100%;
        min-width: 0;
    }

    .home .sb-home-hero-reset__content,
    .home .sb-home-hero-reset__visual,
    .home .sb-home-hero-reset__regions-mobile {
        overflow-x: hidden;
    }

    .home .sb-home-hero-reset__actions {
        align-items: stretch;
    }

    .home .sb-home-hero-reset__actions > * {
        max-width: 100%;
    }

    .home .sb-home-hero-reset__actions .sb-btn,
    .home .sb-home-hero-reset__visual .sb-card,
    .home .sb-home-hero-reset__regions-mobile .sb-regions-module {
        width: 100%;
        max-width: 100%;
    }

    .home .sb-home-hero-reset__regions-mobile .sb-regions-module {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home .sb-home-hero-reset__regions-mobile .bg-map9 {
        width: 100%;
        max-width: 100%;
        margin: 8px 0 0;
    }

    .home .sb-home-hero-reset__media img {
        width: 100%;
    }
}


/* =========================
   Phase JS — Tastings medium-width card bridge
   Scope: tastings hub accordion cards on foldables / small tablets
========================= */
@media (min-width: 641px) and (max-width: 980px) {
    .sb-tastings-accordion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 16px;
        margin-bottom: 20px;
    }

    .sb-tastings-accordion {
        border-radius: 22px;
    }

    .sb-tastings-accordion__summary {
        min-height: 0;
        padding: 16px 18px;
        gap: 12px;
        align-items: center;
    }

    .sb-tastings-accordion__title {
        font-size: clamp(1.18rem, 2.35vw, 1.38rem);
        line-height: 1.08;
    }

    .sb-tastings-accordion__body {
        padding: 0 18px 18px;
        gap: 10px;
    }

    .sb-tastings-accordion__body p,
    .sb-tastings-accordion__copy {
        font-size: 0.92rem;
        line-height: 1.48;
    }

    .sb-tastings-accordion__cta {
        min-height: 36px;
        padding: 8px 14px;
        font-size: 0.86rem;
    }
}

@media (min-width: 641px) and (max-width: 760px) {
    .sb-tastings-accordion-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Phase JW — Degustacii hub hero tighten for 15-inch laptops
   Base: _public_html (5).zip + u927663316_prod (6).sql + Phase JU + Phase JV
   Scope: /degustacii/ hero density only, without touching accordion/card behavior
========================= */
@media (min-width: 1025px) and (max-width: 1680px) {
    .sb-tastings-page .sb-wrap > .sb-tastings-hero:not(.is-compact) {
        padding: 32px 40px 30px;
    }

    .sb-tastings-page .sb-tastings-hero:not(.is-compact) .sb-tastings-hero__title {
        margin-bottom: 18px;
        font-size: clamp(2.85rem, 3.7vw, 3.5rem);
        line-height: 0.96;
    }

    .sb-tastings-page .sb-tastings-hero:not(.is-compact) .sb-tastings-hero__copy {
        max-width: 1080px;
        font-size: 1.02rem;
        line-height: 1.5;
    }

    .sb-tastings-page .sb-tastings-hero:not(.is-compact) .sb-tastings-hero__copy.is-soft {
        margin-top: 10px;
    }
}

/* =========================
   Phase JX — Degustacii hub top-gap minimize on 15-inch laptops
   Base: _public_html (5).zip + u927663316_prod (6).sql + Phase JU + Phase JV + Phase JW
   Scope: /degustacii/ top spacing above the non-compact hero only
========================= */
@media (min-width: 1025px) and (max-width: 1680px) {
    body.page-id-35 .sb-tastings-page.sb-section:first-child {
        padding-top: 32px;
    }

    body.page-id-35 .sb-tastings-page {
        padding-top: 0;
    }
}

/* =========================
   Phase KA — Shop 4-up laptop grid
   Base: _public_html (5).zip + u927663316_prod (6).sql + Phase JU + Phase JV + Phase JW + Phase JX
   Scope: shop / region / winery / grape archive cards on laptop desktop widths
   Goal: override old 3-up desktop lock and fit 4 wines per row on 15-inch screens with proportionally smaller cards
========================= */
@media (min-width: 1280px) and (max-width: 1720px) {
    .sb-shop-results ul.products,
    .woocommerce-page .sb-shop-results ul.products,
    .woocommerce .sb-shop-results ul.products {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
        align-items: start !important;
    }

    .sb-shop-results ul.products > li.product,
    .woocommerce-page .sb-shop-results ul.products > li.product,
    .woocommerce .sb-shop-results ul.products > li.product,
    .sb-shop-results ul.products > li.sb-product-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .sb-shop-results .sb-product-card {
        width: 100%;
        min-width: 0;
        border-radius: 24px;
    }

    .sb-shop-results .sb-product-card__media {
        aspect-ratio: 1 / 1.08;
        padding: 18px 18px 8px;
    }

    .sb-shop-results .sb-product-card__media img {
        max-height: 220px;
    }

    .sb-shop-results .sb-product-card__body {
        gap: 8px;
        padding: 0 18px 18px;
    }

    .sb-shop-results .sb-product-card__eyebrow-row {
        gap: 8px;
    }

    .sb-shop-results .sb-product-card__eyebrow,
    .sb-shop-results .sb-product-card__vintage {
        font-size: 0.68rem;
        letter-spacing: 0.11em;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title,
    .sb-shop-results .sb-product-card__title a {
        font-size: clamp(1.34rem, 1.32vw, 1.58rem) !important;
        line-height: 1.07 !important;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title {
        min-height: 2.34em !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .sb-shop-results .sb-product-card__subtitle {
        min-height: 4.35em;
        max-height: 4.35em;
        font-size: 0.88rem;
        line-height: 1.45;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .sb-shop-results .sb-product-card__details-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        align-content: flex-start !important;
        gap: 0.22rem !important;
        min-height: 3.25em !important;
        font-size: 0.84rem;
        line-height: 1.34;
    }

    .sb-shop-results .sb-product-card__availability {
        font-size: 0.84rem;
        gap: 6px;
    }

    .sb-shop-results .sb-product-card__availability::before {
        width: 7px;
        height: 7px;
    }

    .sb-shop-results .sb-product-card__bottom-row {
        min-height: 1.5em;
        gap: 8px;
        padding-top: 0;
    }

    .sb-shop-results .sb-product-card__price {
        font-size: 1.04rem;
        line-height: 1.02;
    }

    .sb-shop-results .sb-product-card__cart-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .sb-shop-results .sb-product-card__cart-icon-svg {
        width: 16px;
        height: 16px;
    }
}

/* =========================
   Phase KE — Folded / narrow-medium shop card box compaction
   Base: _public_html (5).zip + u927663316_prod (6).sql + Phase JU + Phase JV + Phase JW + Phase JX + Phase KA
   Scope: shop / region / grape / winery listing cards only on 641px–760px
   Goal: keep the current medium-width layout direction, but make the card boxes materially smaller without turning the bottle treatment into the main thing being visibly shrunk
========================= */
@media (min-width: 641px) and (max-width: 760px) {
    .sb-shop-results ul.products,
    .woocommerce-page .sb-shop-results ul.products,
    .woocommerce .sb-shop-results ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: start !important;
    }

    .sb-shop-results ul.products > li.product,
    .woocommerce-page .sb-shop-results ul.products > li.product,
    .woocommerce .sb-shop-results ul.products > li.product,
    .sb-shop-results ul.products > li.sb-product-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .sb-shop-results .sb-product-card {
        width: 100%;
        min-width: 0;
        border-radius: 20px;
    }

    .sb-shop-results .sb-product-card__media {
        aspect-ratio: 1 / 0.94;
        padding: 10px 10px 2px;
    }

    .sb-shop-results .sb-product-card__media img {
        max-height: 156px;
    }

    .sb-shop-results .sb-product-card__body {
        gap: 7px;
        padding: 0 12px 12px;
    }

    .sb-shop-results .sb-product-card__eyebrow-row {
        gap: 6px;
    }

    .sb-shop-results .sb-product-card__eyebrow,
    .sb-shop-results .sb-product-card__vintage {
        font-size: 0.58rem;
        letter-spacing: 0.1em;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title,
    .sb-shop-results .sb-product-card__title a {
        font-size: clamp(1.08rem, 2.05vw, 1.24rem) !important;
        line-height: 1.06 !important;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title {
        min-height: 2.16em !important;
        margin: 0 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .sb-shop-results .sb-product-card__title a {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
    }

    .sb-shop-results .sb-product-card__subtitle {
        display: none !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .sb-shop-results .sb-product-card__details-row {
        display: grid !important;
        gap: 3px !important;
        min-height: 0 !important;
        font-size: 0.72rem;
        line-height: 1.24;
    }

    .sb-shop-results .sb-product-card__details-row > span:first-child {
        font-weight: 700;
        color: #3b342d;
    }

    .sb-shop-results .sb-product-card__availability {
        gap: 5px;
        font-size: 0.74rem;
    }

    .sb-shop-results .sb-product-card__availability::before {
        width: 6px;
        height: 6px;
    }

    .sb-shop-results .sb-product-card__bottom-row {
        min-height: 0 !important;
        gap: 6px;
        padding-top: 0;
        margin-top: 0;
    }

    .sb-shop-results .sb-product-card__price {
        font-size: 0.92rem;
        line-height: 1;
    }

    .sb-shop-results .sb-product-card__cart-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .sb-shop-results .sb-product-card__cart-icon-svg {
        width: 14px;
        height: 14px;
    }
}


/* =========================
   Phase KL — Shop responsive reset
   Base: _public_html (6).zip + u927663316_prod (7).sql
   Scope: shop / region / grape / winery archives only
   Goal: replace stacked medium-width experiments with a clean responsive progression from foldable to 15-inch laptop
========================= */

@media (min-width: 641px) and (max-width: 1279px) {
    body.post-type-archive-product .sb-section:first-child,
    body.tax-sb_region .sb-section:first-child,
    body.tax-sb_grape .sb-section:first-child,
    body.tax-sb_winery .sb-section:first-child {
        padding-top: clamp(20px, 3.2vw, 34px);
    }

    .sb-shop-hero {
        padding-bottom: 16px;
    }

    .sb-shop-hero__grid {
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: start;
    }

    .sb-shop-stat {
        display: none;
    }

    .sb-shop-copy {
        display: block;
        margin-top: 8px;
        max-width: 34ch;
    }

    .sb-shop-layout {
        padding-top: 8px;
    }

    .sb-shop-layout__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sb-filter-shell {
        position: static;
        top: auto;
    }

    .sb-filter-form {
        gap: 10px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .sb-filter-head {
        align-items: center;
        gap: 12px;
        padding: 14px 18px;
        border: 1px solid rgba(229, 223, 215, 0.92);
        border-radius: 24px;
        background: rgba(255, 253, 249, 0.96);
        box-shadow: var(--sb-shadow-xs);
    }

    .sb-filter-head > div:first-child {
        display: none;
    }

    .sb-filter-head__actions {
        width: 100%;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
    }

    .sb-filter-head__actions .sb-filter-toggle {
        appearance: none;
        -webkit-appearance: none;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 18px;
        border: 1px solid rgba(206, 188, 158, 0.88);
        border-radius: 999px;
        background: rgba(255, 251, 245, 0.98);
        color: var(--sb-text);
        font: inherit;
        font-size: 0.98rem;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap;
        box-shadow: 0 1px 0 rgba(255,255,255,0.75) inset;
    }

    .sb-filter-toggle__icon {
        position: relative;
        display: inline-block;
        width: 12px;
        height: 12px;
        flex: 0 0 12px;
    }

    .sb-filter-toggle__icon::before,
    .sb-filter-toggle__icon::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 12px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transform: translate(-50%, -50%);
    }

    .sb-filter-toggle__icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .sb-filter-toggle[aria-expanded="true"] .sb-filter-toggle__icon::after {
        opacity: 0;
    }

    .sb-filter-reset {
        font-size: 0.96rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .sb-filter-panel {
        padding: 18px;
        border: 1px solid rgba(229, 223, 215, 0.92);
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(241, 234, 225, 0.98) 100%);
        box-shadow: var(--sb-shadow-sm);
    }

    .sb-filter-form.is-mobile-collapsed .sb-filter-panel {
        display: none;
    }

    .sb-filter-grid {
        gap: 14px 16px;
    }

    .sb-filter-field label {
        margin-bottom: 8px;
    }

    .sb-filter-actions {
        gap: 10px;
        padding-top: 4px;
    }

    .sb-filter-hint {
        font-size: 0.82rem;
        line-height: 1.45;
    }
}

@media (min-width: 641px) and (max-width: 760px) {
    .sb-shop-title {
        max-width: none;
        font-size: clamp(2.2rem, 5.7vw, 2.7rem);
        line-height: 0.96;
        letter-spacing: -0.012em;
    }

    .sb-shop-copy {
        max-width: 24ch;
        font-size: 0.99rem;
        line-height: 1.42;
    }

    .sb-filter-grid {
        grid-template-columns: 1fr;
    }

    .sb-shop-results ul.products,
    .woocommerce-page .sb-shop-results ul.products,
    .woocommerce .sb-shop-results ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        align-items: start !important;
    }

    .sb-shop-results ul.products > li.product,
    .woocommerce-page .sb-shop-results ul.products > li.product,
    .woocommerce .sb-shop-results ul.products > li.product,
    .sb-shop-results ul.products > li.sb-product-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .sb-shop-results .sb-product-card {
        width: 100%;
        min-width: 0;
        border-radius: 22px;
    }

    .sb-shop-results .sb-product-card__media {
        aspect-ratio: 1 / 0.88;
        padding: 14px 14px 4px;
    }

    .sb-shop-results .sb-product-card__media img {
        max-height: 196px;
    }

    .sb-shop-results .sb-product-card__body {
        gap: 7px;
        padding: 0 14px 14px;
    }

    .sb-shop-results .sb-product-card__eyebrow-row {
        gap: 6px;
    }

    .sb-shop-results .sb-product-card__eyebrow,
    .sb-shop-results .sb-product-card__vintage {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title,
    .sb-shop-results .sb-product-card__title a {
        font-size: clamp(1.16rem, 2.1vw, 1.32rem) !important;
        line-height: 1.08 !important;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title {
        min-height: 2.28em !important;
        margin: 0 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    .sb-shop-results .sb-product-card__title a {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
    }

    .sb-shop-results .sb-product-card__subtitle {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
        min-height: 2.72em !important;
        max-height: 2.72em !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0.82rem !important;
        line-height: 1.36 !important;
    }

    .sb-shop-results .sb-product-card__details-row {
        display: grid !important;
        gap: 3px !important;
        min-height: 0 !important;
        font-size: 0.74rem;
        line-height: 1.24;
    }

    .sb-shop-results .sb-product-card__details-row > span:first-child {
        font-weight: 700;
        color: #3b342d;
    }

    .sb-shop-results .sb-product-card__availability {
        gap: 5px;
        font-size: 0.75rem;
    }

    .sb-shop-results .sb-product-card__availability::before {
        width: 6px;
        height: 6px;
    }

    .sb-shop-results .sb-product-card__bottom-row {
        min-height: 0 !important;
        gap: 6px;
        padding-top: 0;
        margin-top: 0;
    }

    .sb-shop-results .sb-product-card__price {
        font-size: 1rem;
        line-height: 1.02;
    }

    .sb-shop-results .sb-product-card__cart-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .sb-shop-results .sb-product-card__cart-icon-svg {
        width: 14px;
        height: 14px;
    }
}

@media (min-width: 761px) and (max-width: 980px) {
    .sb-shop-title {
        max-width: none;
        font-size: clamp(2.35rem, 4.8vw, 2.95rem);
        line-height: 0.96;
    }

    .sb-shop-copy {
        max-width: 30ch;
        font-size: 1rem;
        line-height: 1.44;
    }

    .sb-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sb-shop-results ul.products,
    .woocommerce-page .sb-shop-results ul.products,
    .woocommerce .sb-shop-results ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
        align-items: start !important;
    }

    .sb-shop-results .sb-product-card {
        width: 100%;
        min-width: 0;
        border-radius: 24px;
    }

    .sb-shop-results .sb-product-card__media {
        aspect-ratio: 1 / 0.95;
        padding: 18px 18px 6px;
    }

    .sb-shop-results .sb-product-card__media img {
        max-height: 228px;
    }

    .sb-shop-results .sb-product-card__body {
        gap: 8px;
        padding: 0 18px 18px;
    }

    .sb-shop-results .sb-product-card__eyebrow,
    .sb-shop-results .sb-product-card__vintage {
        font-size: 0.68rem;
        letter-spacing: 0.11em;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title,
    .sb-shop-results .sb-product-card__title a {
        font-size: clamp(1.34rem, 2vw, 1.5rem) !important;
        line-height: 1.08 !important;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title {
        min-height: 2.24em !important;
        margin: 0 !important;
    }

    .sb-shop-results .sb-product-card__subtitle {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
        min-height: 2.86em !important;
        max-height: 2.86em !important;
        font-size: 0.88rem !important;
        line-height: 1.43 !important;
    }

    .sb-shop-results .sb-product-card__details-row {
        display: grid !important;
        gap: 4px !important;
        min-height: 0 !important;
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .sb-shop-results .sb-product-card__details-row > span:first-child {
        font-weight: 700;
        color: #3b342d;
    }

    .sb-shop-results .sb-product-card__availability {
        font-size: 0.82rem;
    }

    .sb-shop-results .sb-product-card__bottom-row {
        min-height: 0 !important;
        gap: 8px;
        padding-top: 0;
    }

    .sb-shop-results .sb-product-card__price {
        font-size: 1.08rem;
        line-height: 1.02;
    }
}

@media (min-width: 981px) and (max-width: 1279px) {
    .sb-shop-title {
        max-width: none;
        font-size: clamp(2.5rem, 4vw, 3.15rem);
        line-height: 0.95;
    }

    .sb-shop-copy {
        max-width: 38ch;
        font-size: 1rem;
        line-height: 1.45;
    }

    .sb-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sb-shop-results ul.products,
    .woocommerce-page .sb-shop-results ul.products,
    .woocommerce .sb-shop-results ul.products {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
        align-items: start !important;
    }

    .sb-shop-results ul.products > li.product,
    .woocommerce-page .sb-shop-results ul.products > li.product,
    .woocommerce .sb-shop-results ul.products > li.product,
    .sb-shop-results ul.products > li.sb-product-card {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .sb-shop-results .sb-product-card {
        width: 100%;
        min-width: 0;
        border-radius: 24px;
    }

    .sb-shop-results .sb-product-card__media {
        aspect-ratio: 1 / 1.02;
        padding: 18px 18px 6px;
    }

    .sb-shop-results .sb-product-card__media img {
        max-height: 238px;
    }

    .sb-shop-results .sb-product-card__body {
        gap: 8px;
        padding: 0 18px 18px;
    }

    .sb-shop-results .sb-product-card__eyebrow,
    .sb-shop-results .sb-product-card__vintage {
        font-size: 0.68rem;
        letter-spacing: 0.11em;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title,
    .sb-shop-results .sb-product-card__title a {
        font-size: clamp(1.38rem, 1.65vw, 1.58rem) !important;
        line-height: 1.08 !important;
    }

    .sb-shop-results .sb-product-card__title.woocommerce-loop-product__title,
    .sb-shop-results h2.sb-product-card__title,
    .sb-shop-results .sb-product-card__title {
        min-height: 2.28em !important;
        margin: 0 !important;
    }

    .sb-shop-results .sb-product-card__subtitle {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
        min-height: 2.86em !important;
        max-height: 2.86em !important;
        font-size: 0.89rem !important;
        line-height: 1.43 !important;
    }

    .sb-shop-results .sb-product-card__details-row {
        display: grid !important;
        gap: 4px !important;
        min-height: 0 !important;
        font-size: 0.83rem;
        line-height: 1.31;
    }

    .sb-shop-results .sb-product-card__details-row > span:first-child {
        font-weight: 700;
        color: #3b342d;
    }

    .sb-shop-results .sb-product-card__availability {
        font-size: 0.83rem;
    }

    .sb-shop-results .sb-product-card__bottom-row {
        min-height: 0 !important;
        gap: 8px;
        padding-top: 0;
    }

    .sb-shop-results .sb-product-card__price {
        font-size: 1.08rem;
        line-height: 1.02;
    }

    .sb-shop-results .sb-product-card__cart-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .sb-shop-results .sb-product-card__cart-icon-svg {
        width: 16px;
        height: 16px;
    }
}


/* =========================
   Phase KM — Folded shop copy + filter actions alignment
   Base: _public_html (6).zip + u927663316_prod (7).sql + Phase KL
   Scope: shop / region / grape / winery archives only
========================= */
@media (min-width: 641px) and (max-width: 760px) {
    .sb-shop-copy {
        max-width: none;
        font-size: 0.94rem;
        line-height: 1.28;
        white-space: nowrap;
    }

    .sb-filter-head__actions {
        justify-content: space-between;
    }

    .sb-filter-reset {
        margin-left: auto;
        text-align: right;
    }
}

/* =========================
   Phase KO — Mobile homepage BG hero title containment
   Base: _public_html (8).zip + u927663316_prod (9).sql
   Scope: BG homepage hero title on mobile only
   Reason: later mobile rule forced each title line to nowrap; on narrow screens the first BG line can overflow/clip.
========================= */
@media (max-width: 640px) {
    body.sb-lang-bg.home .sb-home-hero-reset__title {
        max-width: 100%;
        font-size: clamp(22px, 6.6vw, 28px);
        line-height: 1.08;
        letter-spacing: -0.018em;
        overflow: visible;
        text-wrap: balance;
    }

    body.sb-lang-bg.home .sb-home-hero-reset__title-line {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
        text-wrap: balance;
    }
}

@media (max-width: 430px) {
    body.sb-lang-bg.home .sb-home-hero-reset__title {
        font-size: clamp(21px, 6.4vw, 27px);
    }
}

/* =========================
   Phase KS — Mid-tier Device Optimization (Tablets & Foldables) - Part 1
   Base: Phase KO + current accepted stack
   Scope: Single product hero, featured grids, and home layouts on 768px - 1200px
========================= */

/* 1. Shop / Featured Grids on Landscape Tablets (981px - 1200px) -> 3 columns */
@media (min-width: 981px) and (max-width: 1200px) {
    .sb-home-featured-grid,
    .sb-home-trust__grid,
    .sb-product-pair-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* 2. Shop / Featured Grids on Portrait Tablets (768px - 980px) -> 2 columns */
@media (min-width: 768px) and (max-width: 980px) {
    .sb-home-featured-grid,
    .sb-home-trust__grid,
    .sb-product-pair-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* 3. Single Product & Home Grids on Tablets (768px - 1024px) -> keep 2 columns instead of 1 */
@media (min-width: 768px) and (max-width: 1024px) {
    body.single-product .sb-product-hero-grid {
        grid-template-columns: minmax(300px, 0.45fr) minmax(0, 0.55fr) !important;
        gap: 32px !important;
    }

    body.single-product .sb-product-section-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr) !important;
        gap: 28px !important;
    }

    /* Event product description should stay single column */
    body.single-product .sb-product-section-grid--event {
        grid-template-columns: 1fr !important;
    }

    /* Home Layouts */
    .sb-home-hero__grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 24px !important;
    }

    .sb-home-experience__grid {
        grid-template-columns: 1fr 1.2fr !important;
        gap: 32px !important;
        align-items: center !important;
    }

    /* Image padding adjustments */
    body.single-product .sb-product-image-card {
        padding: 16px !important;
    }

    /* Structural padding adjustments for single product */
    body.single-product .sb-product-hero {
        padding: 32px 0 44px !important;
    }

    body.single-product .sb-product-section {
        padding: 44px 0 !important;
    }
}

/* 4. Fix Single Product Hero gap between 1025px and 1200px (13-inch laptops / Landscape iPad Pro) */
@media (min-width: 1025px) and (max-width: 1200px) {
    body.single-product .sb-product-hero-grid {
        grid-template-columns: minmax(340px, 0.48fr) minmax(0, 0.52fr) !important;
        gap: 40px !important;
    }
}

/* =========================
   Phase KS — Mid-tier Device Optimization (Tablets & Foldables) - Part 2
   Base: Phase KS Part 1
   Scope: Header navigation stacking and cart/checkout tables on 768px - 1024px
========================= */

@media (min-width: 768px) and (max-width: 1024px) {
    /* 1. Force header to stack to prevent overlap on iPad portrait/landscape */
    .sb-header-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 18px 0 !important;
        min-height: auto !important;
    }

    .sb-header-actions {
        width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 16px !important;
    }

    .sb-site-nav {
        order: 3 !important;
        width: 100% !important;
    }

    .sb-menu {
        flex-wrap: wrap !important;
        gap: 16px !important;
    }

    /* 2. Cart & Checkout Tables - enforce block display to prevent squishing */
    body.woocommerce-cart .woocommerce table.shop_table,
    body.woocommerce-checkout .woocommerce table.shop_table,
    body.woocommerce-cart .woocommerce table.shop_table tbody,
    body.woocommerce-checkout .woocommerce table.shop_table tbody,
    body.woocommerce-cart .woocommerce table.shop_table tr,
    body.woocommerce-checkout .woocommerce table.shop_table tr,
    body.woocommerce-cart .woocommerce table.shop_table td,
    body.woocommerce-checkout .woocommerce table.shop_table td,
    body.woocommerce-cart .woocommerce table.shop_table th,
    body.woocommerce-checkout .woocommerce table.shop_table th {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    body.woocommerce-cart .woocommerce table.shop_table thead,
    body.woocommerce-checkout .woocommerce table.shop_table thead {
        display: none !important;
    }

    body.woocommerce-cart .woocommerce table.shop_table tr,
    body.woocommerce-checkout .woocommerce table.shop_table tr {
        border-bottom: 2px solid rgba(229, 223, 215, 0.78);
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    body.woocommerce-cart .woocommerce table.shop_table td,
    body.woocommerce-checkout .woocommerce table.shop_table td {
        border: none !important;
        padding: 8px 0 !important;
        text-align: right !important;
        position: relative;
    }

    body.woocommerce-cart .woocommerce table.shop_table td::before,
    body.woocommerce-checkout .woocommerce table.shop_table td::before {
        content: attr(data-title) ": ";
        font-weight: 700;
        float: left;
        color: var(--sb-muted);
    }

    body.woocommerce-cart .cart-collaterals .cart_totals {
        width: 100% !important;
        float: none !important;
    }
}

/* =========================
   Phase KS — Mid-tier Device Optimization (Tablets & Foldables) - Part 3
   Scope: Single product event layout on desktop (Fixing left-alignment regression)
========================= */

@media (min-width: 1025px) {
    /* Enforce 1 column, max-width, and centering for event description grids */
    body.single-product .sb-product-section-grid.sb-product-section-grid--event {
        grid-template-columns: 1fr !important;
        max-width: 800px !important;
        margin: 0 auto !important;
        display: block !important; /* Force block to ensure margin: 0 auto works reliably */
    }
    
    /* Ensure content inside doesn't stretch weirdly */
    body.single-product .sb-product-section-grid--event .sb-product-editorial {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* =========================
   Phase KS — Mid-tier Device Optimization (Tablets & Foldables) - Part 4
   Scope: Fully isolated event description layout class to prevent grid overrides
========================= */
.sb-event-description-layout {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}
.sb-event-description-layout .sb-product-editorial {
    width: 100%;
    margin: 0 auto;
}
