﻿.product-page {
    padding-top: 28px;
    padding-bottom: 72px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #1E3A2B;
    font-size: 14px;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.product-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 32px;
    align-items: start;
    margin-top: 20px;
}

.product-gallery,
.product-panel {
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(30, 58, 43, 0.1);
    box-shadow: 0 16px 40px rgba(30, 58, 43, 0.06);
}

.product-gallery {
    --product-gallery-gutter: 24px;
    padding: 0;
    align-self: start;
    max-width: 560px;
    overflow: hidden;
}

.product-image-wrap {
    position: relative;
}

.product-main-image-stage {
    position: relative;
    overflow: hidden;
    border-radius: 7px 7px 0 0;
    background: var(--brand-accent);
    touch-action: pan-y;
}

.product-main-image-stage:focus-visible {
    outline: 3px solid #A8C8A0;
    outline-offset: 3px;
}

.product-main-media {
    width: 100%;
}

.product-main-image,
.product-main-video {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: #FFFFFF;
}

.product-main-video {
    background: #102A1D;
}

/* Detail photos retain their native orientation. Preview/card cropping must not
   turn a square or portrait original into a landscape crop on the product page. */
html body .product-page #product-detail .product-main-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

html body .product-page #product-detail :is(.product-main-image-stage, .product-main-media) {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
}

html body .product-page #product-detail .product-gallery-thumbnail img {
    object-fit: contain !important;
}

.product-main-image[data-product-zoom-open] {
    cursor: zoom-in;
}

.product-image-zoom-button {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    min-height: 36px;
    padding: 7px 11px;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 6px;
    background: rgba(15, 34, 24, 0.82);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.product-image-zoom-button:hover,
.product-image-zoom-button:focus-visible {
    background: #FFFFFF;
    color: #1E3A2B;
}

.product-image-zoom-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html.product-image-viewer-open,
body.product-image-viewer-open {
    overflow: hidden;
}

.product-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 4000;
    overflow: hidden;
    background: rgba(5, 12, 8, 0.96);
    color: #FFFFFF;
}

.product-image-viewer[hidden] {
    display: none;
}

.product-image-viewer-toolbar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 4;
    display: flex;
    min-height: 64px;
    padding: max(10px, env(safe-area-inset-top)) 16px 10px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(to bottom, rgba(5, 12, 8, 0.9), rgba(5, 12, 8, 0));
}

.product-image-viewer-toolbar > span {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.product-image-viewer-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-image-viewer-controls button,
.product-image-viewer-close {
    display: inline-grid;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font: inherit;
    font-size: 22px;
    font-weight: 700;
}

.product-image-viewer-controls [data-product-viewer-reset] {
    min-width: 66px;
    font-size: 12px;
}

.product-image-viewer-close {
    margin-left: 5px;
    font-size: 28px;
    font-weight: 400;
}

.product-image-viewer-controls button:hover,
.product-image-viewer-controls button:focus-visible,
.product-image-viewer-nav:hover,
.product-image-viewer-nav:focus-visible {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.22);
}

.product-image-viewer-viewport {
    position: absolute;
    inset: 66px 70px 48px;
    display: grid;
    overflow: hidden;
    place-items: center;
    outline: none;
    cursor: zoom-in;
    touch-action: none;
}

.product-image-viewer-viewport.is-zoomed {
    cursor: grab;
}

.product-image-viewer-viewport img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center;
    transition: transform 0.12s ease-out;
    will-change: transform;
}

.product-image-viewer-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 48px;
    height: 64px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transform: translateY(-50%);
}

.product-image-viewer-nav[hidden] {
    display: none;
}

.product-image-viewer-nav--prev {
    left: 12px;
}

.product-image-viewer-nav--next {
    right: 12px;
}

.product-image-viewer-nav span {
    width: 14px;
    height: 14px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.product-image-viewer-nav--prev span {
    transform: rotate(-135deg);
}

.product-image-viewer-nav--next span {
    transform: rotate(45deg);
}

.product-image-viewer-hint {
    position: absolute;
    right: 16px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 16px;
    z-index: 3;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    pointer-events: none;
}

.product-detail-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 46px;
    height: 68px;
    place-items: center;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.82);
    color: #1E3A2B;
    transform: translateY(-50%);
    transition: background-color 0.18s ease;
}

.product-detail-gallery-nav:hover {
    background: #FFFFFF;
}

.product-detail-gallery-nav--prev {
    left: 0;
    border-radius: 0 7px 7px 0;
}

.product-detail-gallery-nav--next {
    right: 0;
    border-radius: 7px 0 0 7px;
}

.product-detail-gallery-nav span {
    width: 13px;
    height: 13px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.product-detail-gallery-nav--prev span {
    transform: rotate(-135deg);
}

.product-detail-gallery-nav--next span {
    transform: rotate(45deg);
}

.product-detail-gallery-count {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 5px 8px;
    border-radius: 4px;
    background: rgba(15, 34, 24, 0.76);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.product-gallery-thumbnails {
    display: grid;
    grid-auto-columns: 76px;
    grid-auto-flow: column;
    gap: 8px;
    margin: 10px var(--product-gallery-gutter) 0;
    padding-bottom: 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.product-gallery-thumbnail {
    width: 76px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    background: var(--brand-accent);
    opacity: 0.72;
    transition: border-color 0.18s ease, opacity 0.18s ease;
}

.product-gallery-thumbnail:hover,
.product-gallery-thumbnail.is-active {
    border-color: #1E3A2B;
    opacity: 1;
}

.product-gallery-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #FFFFFF;
}

.product-gallery-thumbnail.has-video {
    display: grid;
    aspect-ratio: 3 / 4;
    place-content: center;
    gap: 4px;
    color: #FFFFFF;
    background: #183F2C;
}

.product-gallery-video-icon {
    font-size: 22px;
    line-height: 1;
}

.product-gallery-thumbnail.has-video small {
    font-size: 10px;
    font-weight: 800;
}

.product-primary-btn[href] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.product-gallery-favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1E3A2B;
    box-shadow: 0 10px 24px rgba(30, 58, 43, 0.18);
    font-size: 30px;
    line-height: 1;
    transition: transform 0.18s ease, background 0.18s ease;
}

.product-gallery-favorite:hover,
.product-gallery-favorite.is-active {
    transform: translateY(-1px);
    background: #A8C8A0;
}

.product-gallery-description {
    margin: 20px var(--product-gallery-gutter) 0;
    padding-bottom: var(--product-gallery-gutter);
    padding-top: 20px;
    border-top: 1px solid rgba(30, 58, 43, 0.1);
    color: #1E3A2B;
}

.product-gallery-description h2 {
    margin-bottom: 10px;
    color: #1E3A2B;
    font-size: 24px;
    line-height: 1.15;
}

.product-gallery-description p {
    color: rgba(30, 58, 43, 0.78);
    font-size: 16px;
    line-height: 1.65;
}

.product-gallery-description-body {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.product-gallery-description.is-collapsed .product-gallery-description-body {
    display: none;
}

.product-description-more-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 0 22px;
    border-radius: 8px;
    background: #1E3A2B;
    color: #FFFFFF;
    font-weight: 800;
}

.product-description-more-btn:hover {
    background: #A8C8A0;
    color: #1E3A2B;
}

.product-panel {
    padding: 28px;
}

.product-panel h1 {
    color: #1E3A2B;
    font-size: 38px;
    line-height: 1.1;
    margin: 14px 0 12px;
}

.product-panel .product-badge-group {
    position: static;
    margin-bottom: 12px;
}

.product-lead {
    max-width: 640px;
    margin: 0 0 20px;
    color: rgba(30, 58, 43, 0.76);
    font-size: 17px;
    line-height: 1.55;
}

.product-variant-switcher {
    display: grid;
    gap: 10px;
    margin: 14px 0 8px;
}

.product-variant-switcher > span {
    color: rgba(30, 58, 43, 0.72);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-variant-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-variant-options button {
    display: grid;
    gap: 3px;
    min-height: 64px;
    align-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(30, 58, 43, 0.18);
    border-radius: 8px;
    background: #FFFFFF;
    color: #1E3A2B;
    text-align: left;
}

.product-variant-options button.is-active,
.product-variant-options button:hover {
    border-color: #1E3A2B;
    background: #1E3A2B;
    color: #FFFFFF;
}

.product-variant-options strong {
    font-size: 18px;
}

.product-variant-options small {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.78;
}

.product-price-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin: 24px 0;
}

.product-price-row .price-main {
    color: #1E3A2B;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.product-price-row .price-main [data-product-price] {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.product-price-row .price-main .product-price-amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    white-space: nowrap;
}

@media (max-width: 768px) {
    html body .product-page #product-detail .product-purchase {
        padding: 20px 16px !important;
    }

    html body .product-page #product-detail .product-purchase h1 {
        margin: 16px 0 0 !important;
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    html body .product-page #product-detail .product-variant-switcher {
        margin: 16px 0 0 !important;
    }

    html body .product-page #product-detail .product-price-row {
        flex-wrap: wrap;
        align-items: baseline;
        gap: 8px 12px !important;
        margin: 20px 0 0 !important;
        padding-top: 16px;
        border-top: 1px solid #dce4dd;
    }

    html body .product-page #product-detail .product-price-row .price-main {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px 8px;
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    html body .product-page #product-detail .product-price-amount,
    html body .product-page #product-detail [data-product-price] {
        font-size: inherit !important;
        line-height: inherit !important;
    }

    html body .product-page #product-detail [data-product-unit] {
        font-size: 16px !important;
        font-weight: 400;
        line-height: 1.3 !important;
        color: #58695f;
    }

    html body .product-page #product-detail .product-actions {
        margin: 20px 0 0 !important;
        gap: 10px !important;
    }
}

.product-price-row .price-main [data-product-unit] {
    color: #1E3A2B;
    font-size: 16px;
    font-weight: 700;
}

.wholesale-detail-stock {
    color: #1E3A2B;
    font-size: 14px;
    font-weight: 800;
}

.wholesale-detail-pricing {
    display: grid;
    gap: 14px;
    margin: 24px 0 18px;
    padding: 20px;
    border: 1px solid rgba(30, 58, 43, 0.16);
    border-radius: 8px;
    background: var(--brand-accent-wash);
}

.wholesale-detail-pricing-title {
    color: rgba(30, 58, 43, 0.68);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.wholesale-detail-price-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.wholesale-detail-price-tiers > span {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.wholesale-detail-price-tiers small,
.wholesale-detail-order-rule span,
.wholesale-detail-order-rule small {
    color: rgba(30, 58, 43, 0.66);
    font-size: 12px;
    font-weight: 800;
}

.wholesale-detail-price-tiers small {
    display: inline-flex;
    width: max-content;
    min-height: 30px;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(30, 58, 43, 0.14);
    border-radius: 5px;
    background: #DDEAD9;
    color: #1E3A2B;
    font-weight: 900;
    line-height: 1;
}

.wholesale-detail-price-tiers strong,
.wholesale-detail-single-price strong {
    color: #1E3A2B;
    font-size: 24px;
    line-height: 1.12;
}

.wholesale-detail-price-tiers em,
.wholesale-detail-single-price em {
    color: rgba(30, 58, 43, 0.68);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.wholesale-detail-single-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.wholesale-detail-order-rule {
    display: grid;
    gap: 4px;
    margin-bottom: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(30, 58, 43, 0.12);
}

.wholesale-detail-order-rule strong {
    color: #1E3A2B;
    font-size: 24px;
    line-height: 1.1;
}

.product-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
}

.product-primary-btn,
.product-favorite-detail-btn,
.product-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    min-height: 54px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.product-primary-btn {
    background: #1E3A2B;
    color: #FFFFFF;
}

.product-layout--wholesale .product-primary-btn.is-selected {
    background: #A8C8A0;
    color: #173D2B;
}

.product-primary-btn:hover,
.product-secondary-btn:hover {
    background: #A8C8A0;
    color: #1E3A2B;
}

.product-secondary-btn {
    background: var(--brand-accent);
    color: #1E3A2B;
}

.product-favorite-detail-btn {
    border: 1px solid rgba(30, 58, 43, 0.16);
    background: #FFFFFF;
    color: #1E3A2B;
}

.product-favorite-detail-btn.is-active {
    border-color: #1E3A2B;
    background: #A8C8A0;
}

.product-section-card {
    padding: 24px;
    border-radius: 8px;
    background: var(--brand-accent);
    margin-top: 20px;
}

.product-section-card h3 {
    margin-bottom: 14px;
    color: #1E3A2B;
}

.product-favorite-strip {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 4px 0 16px;
    border-bottom: 1px solid rgba(30, 58, 43, 0.1);
    color: rgba(30, 58, 43, 0.68);
    font-size: 20px;
    font-weight: 700;
}

.product-favorite-strip span:first-child {
    font-size: 30px;
    line-height: 1;
}

.product-favorite-strip:hover,
.product-favorite-strip.is-active {
    color: #1E3A2B;
}

.product-stock-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 4px 0 8px;
}

.product-stock-line {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: rgba(30, 58, 43, 0.72);
    font-size: 18px;
    font-weight: 700;
}

.stock-meter {
    display: inline-flex;
    gap: 3px;
}

.stock-meter i {
    width: 25px;
    height: 15px;
    border-radius: 999px;
    background: #A8C8A0;
}

.product-stock-line--low-stock {
    color: #8A6500;
}

.product-stock-line--low-stock .stock-meter i {
    background: #D8AC32;
}

.product-stock-line--out-stock {
    color: #A13831;
}

.product-stock-line--out-stock .stock-meter i {
    background: #B4443B;
}

.product-preorder-badge--detail {
    font-size: 13px;
}

.product-brew-section {
    padding: 24px;
    border: 1px solid rgba(30, 58, 43, 0.2);
    background: #FFFFFF;
}

.product-brew-section h3 {
    margin-bottom: 20px;
    color: #1E3A2B;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brew-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.brew-method-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    padding: 22px;
    border: 1.5px solid rgba(30, 58, 43, 0.28);
    border-radius: 8px;
    background: #FFFFFF;
}

.brew-method-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 86px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(30, 58, 43, 0.12);
}

.brew-method-icon {
    flex: 0 0 112px;
    width: 112px;
    height: 80px;
    color: #1E3A2B;
}

.brew-method-icon svg,
.brew-metric-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
}

.brew-method-icon .brew-vessel-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brew-method-volume {
    min-width: 0;
    text-align: right;
}

.brew-method-volume span {
    display: block;
    margin-bottom: 4px;
    color: rgba(30, 58, 43, 0.64);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.brew-method-volume strong {
    color: #1E3A2B;
    font-size: 24px;
    line-height: 1;
}

.brew-method-card h4 {
    color: #1E3A2B;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
    text-align: left;
}

.brew-method-metrics {
    display: grid;
    gap: 12px;
}

.brew-metric {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 13px;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding-top: 12px;
    border-top: 1px solid rgba(30, 58, 43, 0.09);
    color: #1E3A2B;
    text-align: left;
}

.brew-method-metrics .brew-metric:first-child {
    padding-top: 0;
    border-top: 0;
}

.brew-metric-icon {
    width: 32px;
    height: 32px;
    color: rgba(30, 58, 43, 0.76);
}

.brew-metric strong {
    display: block;
    color: #1E3A2B;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.05;
}

.brew-metric span:not(.brew-metric-icon) {
    display: block;
    margin-top: 5px;
    color: rgba(30, 58, 43, 0.72);
    font-size: 13px;
    line-height: 1.25;
}

.product-description-block {
    margin-top: 22px;
    border-top: 1px solid rgba(30, 58, 43, 0.12);
    border-bottom: 1px solid rgba(30, 58, 43, 0.12);
    background: #FFFFFF;
}

.product-description-head {
    display: flex;
    width: 100%;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #1E3A2B;
    font-size: 24px;
    font-weight: 900;
    text-align: left;
}

.product-description-arrow {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-accent);
    color: #1E3A2B;
    line-height: 1;
    transition: transform 0.2s ease;
}

.product-description-block.is-collapsed .product-description-arrow {
    transform: rotate(180deg);
}

.product-description-body {
    display: grid;
    gap: 16px;
    padding: 14px 0 26px;
    color: #1E3A2B;
    font-size: 18px;
    line-height: 1.75;
}

.product-description-block.is-collapsed .product-description-body {
    display: none;
}

.product-taste-section {
    background: #FFFFFF;
}

.product-taste-section h3 {
    margin-bottom: 18px;
    color: #1E3A2B;
    font-size: 30px;
    font-weight: 800;
}

.taste-list {
    display: grid;
    gap: 14px;
}

.taste-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    color: rgba(30, 58, 43, 0.72);
}

.taste-row-label {
    min-width: 0;
    font-size: 20px;
    line-height: 1.25;
}

.taste-row-dots {
    display: inline-flex;
    gap: 8px;
    flex-shrink: 0;
}

.taste-row-dots span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(30, 58, 43, 0.1);
}

.taste-row-dots span.is-active {
    background: #A8C8A0;
}

.brew-method-icon .brew-vessel-icon {
    fill: currentColor !important;
    stroke: none !important;
}

.brew-method-icon .brew-vessel-icon path {
    fill: currentColor !important;
    stroke: none !important;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fact-card {
    padding: 16px;
    border-radius: 8px;
    background: #FFFFFF;
}

.fact-card span {
    display: block;
    margin-bottom: 6px;
    color: #1E3A2B;
    font-size: 13px;
}

.product-teapot-section {
    background: var(--brand-accent);
}

.teapot-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.section-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: rgba(30, 58, 43, 0.7);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-teapot-section h3 {
    margin: 0;
    color: #1E3A2B;
    font-size: 30px;
    line-height: 1.12;
}

.teapot-volume-pill {
    display: inline-flex;
    min-width: 112px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 999px;
    background: #1E3A2B;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 900;
    white-space: nowrap;
}

.teapot-detail-copy {
    display: grid;
    gap: 12px;
    color: rgba(30, 58, 43, 0.82);
    font-size: 16px;
    line-height: 1.7;
}

.teapot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.teapot-tags span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #FFFFFF;
    color: #1E3A2B;
    font-weight: 800;
}

.teapot-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.teapot-feature-card {
    min-height: 92px;
    padding: 16px;
    border: 1px solid rgba(30, 58, 43, 0.1);
    border-radius: 8px;
    background: #FFFFFF;
}

.teapot-feature-card span {
    display: block;
    margin-bottom: 7px;
    color: rgba(30, 58, 43, 0.68);
    font-size: 13px;
}

.teapot-feature-card strong {
    display: block;
    color: #1E3A2B;
    font-size: 16px;
    line-height: 1.35;
}

.product-related {
    margin-top: 52px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 24px;
}

.section-head a {
    color: #1E3A2B;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .product-page {
        padding-top: 18px;
    }

    .product-gallery {
        --product-gallery-gutter: 16px;
        padding: 0;
    }

    .product-panel {
        padding: 20px 16px;
    }

    .product-panel h1 {
        font-size: 32px;
    }

    .wholesale-detail-price-tiers {
        grid-template-columns: 1fr;
    }

    .wholesale-detail-pricing {
        padding: 16px;
    }

    .product-actions,
    .section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .teapot-section-head {
        flex-direction: column;
    }

    .product-teapot-section h3 {
        font-size: 26px;
    }

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

    .product-primary-btn,
    .product-favorite-detail-btn,
    .product-secondary-btn {
        width: 100%;
    }

    .product-favorite-strip {
        font-size: 18px;
    }

    .product-gallery-favorite {
        width: 48px;
        height: 48px;
        font-size: 26px;
    }

    .product-detail-gallery-nav {
        width: 40px;
        height: 58px;
    }

    .product-detail-gallery-count {
        right: 10px;
        bottom: 10px;
    }

    .product-image-zoom-button {
        bottom: 8px;
        left: 8px;
        min-height: 32px;
        padding: 6px 8px;
        font-size: 10px;
    }

    .product-image-zoom-button svg {
        width: 15px;
        height: 15px;
    }

    .product-image-viewer-toolbar {
        min-height: 58px;
        padding-right: 8px;
        padding-left: 10px;
        gap: 8px;
    }

    .product-image-viewer-controls {
        gap: 4px;
    }

    .product-image-viewer-controls button,
    .product-image-viewer-close {
        min-width: 38px;
        height: 38px;
        padding: 0 6px;
    }

    .product-image-viewer-controls [data-product-viewer-reset] {
        min-width: 56px;
    }

    .product-image-viewer-close {
        margin-left: 1px;
    }

    .product-image-viewer-viewport {
        inset: 60px 8px 64px;
    }

    .product-image-viewer-nav {
        top: auto;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: 44px;
        height: 44px;
        transform: none;
    }

    .product-image-viewer-nav--prev {
        left: 10px;
    }

    .product-image-viewer-nav--next {
        right: 10px;
    }

    .product-image-viewer-hint {
        right: 62px;
        bottom: max(16px, calc(env(safe-area-inset-bottom) + 6px));
        left: 62px;
        font-size: 10px;
    }

    .product-gallery-thumbnails {
        grid-auto-columns: 60px;
        gap: 6px;
    }

    .product-gallery-thumbnail {
        width: 60px;
    }

    .product-variant-options {
        grid-template-columns: 1fr;
    }

    .product-brew-section {
        padding: 20px;
    }

    .brew-method-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .brew-method-card {
        min-height: 0;
        padding: 20px;
    }

    .brew-method-icon {
        flex-basis: 116px;
        width: 116px;
        height: 82px;
    }

    .brew-method-card h4 {
        font-size: 22px;
    }

    .brew-metric {
        grid-template-columns: 28px 1fr;
        gap: 9px;
    }

    .brew-metric strong {
        font-size: 22px;
    }

    .brew-metric span:not(.brew-metric-icon) {
        font-size: 13px;
    }

    .product-taste-section h3 {
        font-size: 26px;
    }

    .taste-row-label {
        font-size: 18px;
    }

    .taste-row-dots {
        gap: 6px;
    }

    .taste-row-dots span {
        width: 16px;
        height: 16px;
    }
}

/* contact-icons-unified-v2 */
.contact-card__icon,
.contact-method__icon,
.contact-channel__icon,
.contact-icon,
.contacts-page .contact-card [class*="icon"],
.contact-page .contact-card [class*="icon"],
.contacts-section .contact-card [class*="icon"],
.contact-section .contact-card [class*="icon"],
.contact-card > [class*="icon"]:first-child {
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--color-primary, var(--green-dark, #183f2c)) !important;
  border: 1px solid var(--color-primary, var(--green-dark, #183f2c)) !important;
  color: var(--color-white, #fff) !important;
  box-shadow: 0 12px 26px rgba(24, 63, 44, 0.16) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
}

.contact-card__icon svg,
.contact-method__icon svg,
.contact-channel__icon svg,
.contact-icon svg,
.contacts-page .contact-card [class*="icon"] svg,
.contact-page .contact-card [class*="icon"] svg,
.contacts-section .contact-card [class*="icon"] svg,
.contact-section .contact-card [class*="icon"] svg,
.contact-card > [class*="icon"]:first-child svg {
  width: 26px !important;
  height: 26px !important;
  color: currentColor !important;
  stroke: currentColor !important;
}

.contact-card__icon svg *:not([fill="none"]),
.contact-method__icon svg *:not([fill="none"]),
.contact-channel__icon svg *:not([fill="none"]),
.contact-icon svg *:not([fill="none"]),
.contacts-page .contact-card [class*="icon"] svg *:not([fill="none"]),
.contact-page .contact-card [class*="icon"] svg *:not([fill="none"]),
.contacts-section .contact-card [class*="icon"] svg *:not([fill="none"]),
.contact-section .contact-card [class*="icon"] svg *:not([fill="none"]),
.contact-card > [class*="icon"]:first-child svg *:not([fill="none"]) {
  fill: currentColor !important;
}

.contact-card__icon img,
.contact-method__icon img,
.contact-channel__icon img,
.contact-icon img,
.contacts-page .contact-card [class*="icon"] img,
.contact-page .contact-card [class*="icon"] img,
.contacts-section .contact-card [class*="icon"] img,
.contact-section .contact-card [class*="icon"] img,
.contact-card > [class*="icon"]:first-child img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

/* contact-icons-unified-v3 */
.contact-card__icon,
.contact-method__icon,
.contact-channel__icon,
.contact-icon,
.contacts-page .contact-card [class*="icon"],
.contact-page .contact-card [class*="icon"],
.contacts-section .contact-card [class*="icon"],
.contact-section .contact-card [class*="icon"],
.contact-card > [class*="icon"]:first-child {
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--color-primary, var(--green-dark, #183f2c)) !important;
  border: 1px solid var(--color-primary, var(--green-dark, #183f2c)) !important;
  color: var(--color-white, #fff) !important;
  box-shadow: 0 12px 26px rgba(24, 63, 44, 0.16) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
}

.contact-card__icon svg,
.contact-method__icon svg,
.contact-channel__icon svg,
.contact-icon svg,
.contacts-page .contact-card [class*="icon"] svg,
.contact-page .contact-card [class*="icon"] svg,
.contacts-section .contact-card [class*="icon"] svg,
.contact-section .contact-card [class*="icon"] svg {
  width: 26px !important;
  height: 26px !important;
  color: currentColor !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.2 !important;
}

.contact-card__icon img,
.contact-method__icon img,
.contact-channel__icon img,
.contact-icon img,
.contacts-page .contact-card [class*="icon"] img,
.contact-page .contact-card [class*="icon"] img,
.contacts-section .contact-card [class*="icon"] img,
.contact-section .contact-card [class*="icon"] img {
  width: 27px !important;
  height: 27px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

.contact-card__icon::before,
.contact-method__icon::before,
.contact-channel__icon::before,
.contact-icon::before,
.contacts-page .contact-card [class*="icon"]::before,
.contact-page .contact-card [class*="icon"]::before,
.contacts-section .contact-card [class*="icon"]::before,
.contact-section .contact-card [class*="icon"]::before {
  color: currentColor !important;
}

/* contact-icons-unified-v4 */
.contact-card [class*="icon"],
.contact-card [class*="logo"],
.contacts-card [class*="icon"],
.contacts-card [class*="logo"],
.contact-method [class*="icon"],
.contact-method [class*="logo"],
.contacts-method [class*="icon"],
.contacts-method [class*="logo"],
.contacts-grid [class*="icon"],
.contacts-grid [class*="logo"],
.contacts-list [class*="icon"],
.contacts-list [class*="logo"],
.contact-links [class*="icon"],
.contact-links [class*="logo"] {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    border-radius: 999px !important;
    display: inline-grid !important;
    place-items: center !important;
    background: #1b4330 !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 14px 28px rgba(27, 67, 48, 0.16) !important;
    overflow: hidden !important;
}

.contact-card [class*="icon"]::before,
.contact-card [class*="icon"]::after,
.contact-card [class*="logo"]::before,
.contact-card [class*="logo"]::after,
.contacts-card [class*="icon"]::before,
.contacts-card [class*="icon"]::after,
.contacts-card [class*="logo"]::before,
.contacts-card [class*="logo"]::after,
.contact-method [class*="icon"]::before,
.contact-method [class*="icon"]::after,
.contact-method [class*="logo"]::before,
.contact-method [class*="logo"]::after,
.contacts-method [class*="icon"]::before,
.contacts-method [class*="icon"]::after,
.contacts-method [class*="logo"]::before,
.contacts-method [class*="logo"]::after {
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.contact-card [class*="icon"] svg,
.contact-card [class*="logo"] svg,
.contacts-card [class*="icon"] svg,
.contacts-card [class*="logo"] svg,
.contact-method [class*="icon"] svg,
.contact-method [class*="logo"] svg,
.contacts-method [class*="icon"] svg,
.contacts-method [class*="logo"] svg,
.contacts-grid [class*="icon"] svg,
.contacts-grid [class*="logo"] svg,
.contacts-list [class*="icon"] svg,
.contacts-list [class*="logo"] svg,
.contact-links [class*="icon"] svg,
.contact-links [class*="logo"] svg {
    width: 28px !important;
    height: 28px !important;
    color: #ffffff !important;
    stroke: currentColor !important;
}

.contact-card [class*="icon"] svg [stroke],
.contact-card [class*="logo"] svg [stroke],
.contacts-card [class*="icon"] svg [stroke],
.contacts-card [class*="logo"] svg [stroke],
.contact-method [class*="icon"] svg [stroke],
.contact-method [class*="logo"] svg [stroke],
.contacts-method [class*="icon"] svg [stroke],
.contacts-method [class*="logo"] svg [stroke],
.contacts-grid [class*="icon"] svg [stroke],
.contacts-grid [class*="logo"] svg [stroke],
.contacts-list [class*="icon"] svg [stroke],
.contacts-list [class*="logo"] svg [stroke],
.contact-links [class*="icon"] svg [stroke],
.contact-links [class*="logo"] svg [stroke] {
    stroke: currentColor !important;
}

.contact-card [class*="icon"] svg [fill]:not([fill="none"]),
.contact-card [class*="logo"] svg [fill]:not([fill="none"]),
.contacts-card [class*="icon"] svg [fill]:not([fill="none"]),
.contacts-card [class*="logo"] svg [fill]:not([fill="none"]),
.contact-method [class*="icon"] svg [fill]:not([fill="none"]),
.contact-method [class*="logo"] svg [fill]:not([fill="none"]),
.contacts-method [class*="icon"] svg [fill]:not([fill="none"]),
.contacts-method [class*="logo"] svg [fill]:not([fill="none"]),
.contacts-grid [class*="icon"] svg [fill]:not([fill="none"]),
.contacts-grid [class*="logo"] svg [fill]:not([fill="none"]),
.contacts-list [class*="icon"] svg [fill]:not([fill="none"]),
.contacts-list [class*="logo"] svg [fill]:not([fill="none"]),
.contact-links [class*="icon"] svg [fill]:not([fill="none"]),
.contact-links [class*="logo"] svg [fill]:not([fill="none"]) {
    fill: currentColor !important;
}

.contact-card [class*="icon"] img,
.contact-card [class*="logo"] img,
.contacts-card [class*="icon"] img,
.contacts-card [class*="logo"] img,
.contact-method [class*="icon"] img,
.contact-method [class*="logo"] img,
.contacts-method [class*="icon"] img,
.contacts-method [class*="logo"] img,
.contacts-grid [class*="icon"] img,
.contacts-grid [class*="logo"] img,
.contacts-list [class*="icon"] img,
.contacts-list [class*="logo"] img,
.contact-links [class*="icon"] img,
.contact-links [class*="logo"] img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
    mix-blend-mode: normal !important;
}
/* end-contact-icons-unified-v4 */

/* Wholesale conditions remain readable without competing with the price. */
.wholesale-buyer-note {
    padding: 12px 14px;
    border: 1px solid #d9e3d8;
    border-radius: 12px;
    background: #f4f7f1;
    color: #1c3a2c;
    font-size: 14px;
    line-height: 1.5;
}
.product-brew-guide { margin-top: 18px; line-height: 1.6; }
.product-expert-note {
    margin-top: 24px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid #d9dfdb;
    border-radius: 12px;
    background: #f6f8f3;
    color: #1d3c2f;
    min-width: 0;
    overflow-wrap: anywhere;
}
.product-expert-note h3 { margin: 0 0 16px; font-size: 18px; }
.product-expert-note-text { margin: 0; white-space: pre-wrap; line-height: 1.65; font-size: 16px; }
.product-expert-note-author { margin: 18px 0 0; font-weight: 700; font-size: 15px; }
