/**
 * VITSA PDP — ref PDP_4899 layout
 * Loaded on product detail pages only. Overrides Farmart defaults.
 */
 
/* Global CTA colors used across PDP buttons */
:root {
    --vitsa-cta: #367C2B;
    --vitsa-cta-hover: #2F5E27;
}

body.vitsa-pdp-ref {
    background: #fff;
}

/* ── Reset Farmart product-detail defaults ── */
body.vitsa-pdp-ref .product-detail-container .cart-form {
    border-bottom: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

body.vitsa-pdp-ref .product-detail-container .product-details-content {
    border-left: 0 !important;
    padding-left: 0 !important;
}

body.vitsa-pdp-ref .product-detail-container .product-details .product-price ins {
    font-size: inherit;
}

body.vitsa-pdp-ref .product-detail-container .product-button .add-to-cart-button {
    flex: unset;
    margin-right: 0;
}

body.vitsa-pdp-ref #sticky-add-to-cart,
body.vitsa-pdp-ref .sticky-atc-wrap {
    display: none !important;
}

/* Hide elements not in ref design */
body.vitsa-pdp-ref .vitsa-product__brand,
body.vitsa-pdp-ref .vitsa-product__tax-note,
body.vitsa-pdp-ref .product-meta-sold-by,
body.vitsa-pdp-ref .vitsa-product__flash-sale,
body.vitsa-pdp-ref .vitsa-product__summary-pay-divider {
    display: none !important;
}

/* ── Page shell ── */
body.vitsa-pdp-ref .vitsa-product__inner {
    padding-top: 1.25rem;
    padding-bottom: 0;
}

/* Breadcrumb — Home / Shop / Category / Product (underlined trail) */
body.vitsa-pdp-ref .vitsa-product__breadcrumb,
.vitsa-pdp .vitsa-product__breadcrumb {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0 1rem;
    font-size: 12px;
    line-height: 1.45;
    color: hsl(150, 8%, 42%);
}

body.vitsa-pdp-ref .vitsa-product__breadcrumb a,
.vitsa-pdp .vitsa-product__breadcrumb a {
    color: hsl(150, 8%, 42%);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    font-size: 12px;
}

body.vitsa-pdp-ref .vitsa-product__breadcrumb a:hover,
.vitsa-pdp .vitsa-product__breadcrumb a:hover {
    color: var(--primary-color, #6eb12e);
    text-decoration: underline;
}

body.vitsa-pdp-ref .vitsa-product__breadcrumb .vitsa-shop__slug-sep,
.vitsa-pdp .vitsa-product__breadcrumb .vitsa-shop__slug-sep {
    padding: 0 0.35rem;
    color: hsl(150, 8%, 42%);
    font-size: 12px;
}

body.vitsa-pdp-ref .vitsa-product__breadcrumb .vitsa-shop__slug-current,
.vitsa-pdp .vitsa-product__breadcrumb .vitsa-shop__slug-current {
    font-weight: 500;
    color: hsl(150, 15%, 12%);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

body.vitsa-pdp-ref .vitsa-product__hero.product-detail-container {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ── Hero grid ── */
body.vitsa-pdp-ref .vitsa-product__hero-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    margin: 0 !important;
}

@media (min-width: 992px) {
    body.vitsa-pdp-ref .vitsa-product__hero-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2.5rem;
        align-items: stretch;
    }

    body.vitsa-pdp-ref .vitsa-product__gallery-col {
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }

    body.vitsa-pdp-ref .vitsa-product__gallery-col .vitsa-pdp-gallery,
    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-wrapper {
        flex: 1 1 auto;
        min-height: 0;
    }

    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images {
        flex: 1 1 auto;
        display: flex !important;
        flex-direction: column;
        min-height: 22rem;
    }

    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images .slick-list,
    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images .slick-track,
    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images .slick-slide,
    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images a {
        flex: 1 1 auto;
        min-height: 100% !important;
        height: 100% !important;
    }

    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images img {
        max-height: 100% !important;
        max-width: 100% !important;
    }

    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails,
    body.vitsa-pdp-ref .vitsa-product__gallery-col .vitsa-pdp-gallery__thumbs {
        flex-shrink: 0;
    }
}

body.vitsa-pdp-ref .vitsa-product__gallery-col {
    max-width: 100%;
    margin-inline: auto;
}

@media (min-width: 992px) {
    body.vitsa-pdp-ref .vitsa-product__gallery-col {
        margin-inline: 0;
    }
}

body.vitsa-pdp-ref .vitsa-product__hero-row > [class*='col-'] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
}

/* ── Gallery ── */
body.vitsa-pdp-ref .vitsa-product__gallery-col .vitsa-pdp-gallery,
body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.875rem;
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images {
    min-height: 18rem;
    border: 1px solid hsl(150, 12%, 90%);
    border-radius: 0.75rem;
    background: #fff;
}

@media (min-width: 992px) {
    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images {
        min-height: 22rem;
    }
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images .slick-list,
body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images .slick-track,
body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images .slick-slide,
body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images a {
    min-height: 18rem !important;
    height: auto !important;
}

@media (min-width: 992px) {
    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images .slick-list,
    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images .slick-track,
    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images .slick-slide,
    body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images a {
        min-height: 22rem !important;
        height: 100% !important;
    }
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images a {
    padding: 0.75rem;
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-images img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 16rem !important;
    object-fit: contain !important;
    object-position: center center;
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails,
body.vitsa-pdp-ref .vitsa-product__gallery-col .vitsa-pdp-gallery__thumbs {
    min-height: 4.5rem;
    margin: 0 !important;
    padding: 0 2.25rem !important;
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails:not(.slick-initialized) {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 0.625rem;
    padding: 0 !important;
    width: 100% !important;
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails:not(.slick-initialized) > .vitsa-gallery-thumb-box {
    flex: 0 0 4.375rem !important;
    width: 4.375rem !important;
    min-width: 4.375rem !important;
    max-width: 4.375rem !important;
    height: 4.375rem !important;
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails .slick-slide {
    width: 4.375rem !important;
    height: 4.375rem !important;
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails:not(.slick-initialized) > div:not(.vitsa-gallery-thumb-box),
body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails .slick-slide > div:not(.vitsa-gallery-thumb-box) {
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .vitsa-gallery-thumb-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 4.375rem !important;
    height: 4.375rem !important;
    aspect-ratio: 1 / 1 !important;
    flex: 0 0 4.375rem !important;
    border: 1px solid hsl(150, 10%, 82%) !important;
    border-radius: 0.375rem !important;
    background: #fff !important;
    padding: 0.35rem !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .vitsa-gallery-thumb-box.is-active,
body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails .slick-slide.slick-current .vitsa-gallery-thumb-box,
body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails .slick-current .vitsa-gallery-thumb-box,
body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails:not(.slick-initialized) > .vitsa-gallery-thumb-box:first-child {
    border: 1px solid #6eb12e !important;
}

body.vitsa-pdp-ref .vitsa-product__gallery-col .vitsa-gallery-thumb-box img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border: 0 !important;
    background: transparent !important;
}

/* Override core ecommerce thumb img border — active state lives on the box */
body.vitsa-pdp-ref .vitsa-product__gallery-col .bb-product-gallery-thumbnails .slick-slide.slick-current img {
    border-color: transparent !important;
}

/* Active thumb — highest priority; survives Slick wrapper resets */
body.vitsa-pdp-ref [data-vitsa-pdp-gallery] .bb-product-gallery-thumbnails .vitsa-gallery-thumb-box.is-active,
body.vitsa-pdp-ref [data-vitsa-pdp-gallery] .bb-product-gallery-thumbnails .slick-slide.slick-current > .vitsa-gallery-thumb-box,
body.vitsa-pdp-ref [data-vitsa-pdp-gallery] .bb-product-gallery-thumbnails .slick-slide.slick-current .vitsa-gallery-thumb-box {
    border: 1px solid #6eb12e !important;
}

/* ── Summary column ── */
body.vitsa-pdp-ref .vitsa-product__summary {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0;
    font-size: 1rem;
    line-height: 1.45;
}

body.vitsa-pdp-ref .vitsa-product__title-row {
    gap: 0.625rem;
    margin-bottom: 0.125rem;
}

body.vitsa-pdp-ref .vitsa-product__title-row .product_title.entry-title {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.4;
    color: hsl(150, 15%, 12%);
}

@media (min-width: 992px) {
    body.vitsa-pdp-ref .vitsa-product__title-row .product_title.entry-title {
        font-size: 18px !important;
    }
}

body.vitsa-pdp-ref .vitsa-product__title-actions {
    display: flex !important;
    flex-direction: column !important;
    flex-shrink: 0;
    align-items: center !important;
    gap: 0.375rem !important;
}

body.vitsa-pdp-ref .vitsa-product__wishlist-btn {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 !important;
}

body.vitsa-pdp-ref .vitsa-product__compare-btn {
    margin: 0;
    flex-shrink: 0;
}

body.vitsa-pdp-ref .vitsa-product__compare-btn .compare {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 !important;
    border: 1px solid hsl(150, 12%, 90%);
    border-radius: 999px;
    background: #fff;
    color: hsl(150, 8%, 42%);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

body.vitsa-pdp-ref .vitsa-product__compare-btn .compare .svg-icon,
body.vitsa-pdp-ref .vitsa-product__compare-btn .compare .vitsa-compare-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.vitsa-pdp-ref .vitsa-product__compare-btn .compare .svg-icon svg,
body.vitsa-pdp-ref .vitsa-product__compare-btn .compare svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: none;
    stroke: currentColor;
}

body.vitsa-pdp-ref .vitsa-product__compare-btn .compare:hover {
    color: var(--vitsa-cta, #367C2B);
    border-color: hsl(150, 12%, 82%);
    background: hsl(150, 20%, 98%);
}

body.vitsa-pdp-ref .vitsa-product__sku {
    margin: 0;
    font-size: 0.8125rem;
    color: hsl(150, 8%, 42%);
}

body.vitsa-pdp-ref .vitsa-product__sku-label {
    font-weight: 500;
    color: hsl(150, 15%, 12%);
}

body.vitsa-pdp-ref .vitsa-product__rating {
    margin: 0.125rem 0 0;
}

body.vitsa-pdp-ref .vitsa-product__rating .star-rating-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

body.vitsa-pdp-ref .vitsa-product__rating .star-rating {
    width: 4.5rem;
    height: 0.875rem;
}

body.vitsa-pdp-ref .vitsa-product__rating .star-count {
    font-size: 0.8125rem;
    color: hsl(150, 8%, 42%);
    margin: 0 !important;
}

/* Price row */
body.vitsa-pdp-ref .vitsa-product__price.product-price {
    gap: 0.5rem 0.625rem;
    margin: 0 0 0.25rem;
}

body.vitsa-pdp-ref .vitsa-product__price ins .amount,
body.vitsa-pdp-ref .vitsa-product__price ins .bb-product-price-text {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #6eb12e !important;
}

body.vitsa-pdp-ref .vitsa-product__price del .amount,
body.vitsa-pdp-ref .vitsa-product__price del .bb-product-price-text-old {
    font-size: 1.0625rem !important;
    color: hsl(150, 8%, 42%) !important;
}

body.vitsa-pdp-ref .vitsa-product__price .product-price-discount {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 0.25rem;
    background: hsl(0, 85%, 96%);
    color: hsl(0, 85%, 55%);
    text-transform: uppercase;
}

/* Cart actions — stacked qty / Add to cart / Buy Now (ref PDP) */
body.vitsa-pdp-ref .vitsa-product__cart-form {
    --vitsa-pdp-cart-actions-width: 11.25rem;
    margin-top: 0;
}

body.vitsa-pdp-ref .vitsa-product__actions.product-button {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: var(--vitsa-pdp-cart-actions-width);
    max-width: 100%;
    margin-bottom: 0;
}

body.vitsa-pdp-ref .vitsa-product__actions .quantity {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

body.vitsa-pdp-ref .vitsa-product__actions .quantity .label-quantity {
    display: none !important;
}

body.vitsa-pdp-ref .vitsa-product__actions .qty-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 2.875rem;
    border: 1px solid hsl(150, 12%, 88%);
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
}

body.vitsa-pdp-ref .vitsa-product__actions .qty-box .svg-icon.decrease,
body.vitsa-pdp-ref .vitsa-product__actions .qty-box .svg-icon.increase {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 100%;
    flex-shrink: 0;
    cursor: pointer;
    color: hsl(150, 15%, 12%);
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
}

body.vitsa-pdp-ref .vitsa-product__actions .qty-box .svg-icon.decrease svg,
body.vitsa-pdp-ref .vitsa-product__actions .qty-box .svg-icon.increase svg {
    width: 0.75rem;
    height: 0.75rem;
    fill: currentColor;
}

body.vitsa-pdp-ref .vitsa-product__actions .qty-box .qty {
    flex: 1 1 auto;
    width: auto;
    height: 100%;
    min-height: 0;
    border: 0;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    padding: 0;
    -moz-appearance: textfield;
}

body.vitsa-pdp-ref .vitsa-product__actions .qty-box .qty::-webkit-outer-spin-button,
body.vitsa-pdp-ref .vitsa-product__actions .qty-box .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

body.vitsa-pdp-ref .vitsa-product__add-cart {
    width: 100%;
    max-width: 100%;
    flex: none;
    min-height: 2.875rem;
    padding: 0 1rem;
    border: 0 !important;
    border-radius: 0.5rem;
    background: var(--vitsa-cta, #367C2B) !important;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none !important;
    box-shadow: none !important;
}

body.vitsa-pdp-ref .vitsa-product__add-cart:hover:not(.disabled) {
    background: var(--vitsa-cta-hover, #2F5E27) !important;
    color: #fff !important;
}

body.vitsa-pdp-ref .vitsa-product__add-cart .svg-icon {
    display: none !important;
}

body.vitsa-pdp-ref .vitsa-product__buy-now,
body.vitsa-pdp-ref .vitsa-product__buy-now--pdp {
    display: block;
    width: var(--vitsa-pdp-cart-actions-width, 11.25rem);
    max-width: 100%;
    min-height: 2.875rem;
    margin-top: 0.625rem;
    padding: 0 1rem;
    border: 1px solid var(--vitsa-cta, #367C2B) !important;
    border-radius: 0.5rem;
    background: #fff !important;
    color: var(--vitsa-cta, #367C2B) !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.vitsa-pdp-ref .vitsa-product__buy-now:hover:not(.disabled),
body.vitsa-pdp-ref .vitsa-product__buy-now--pdp:hover:not(.disabled) {
    background: var(--vitsa-cta-hover, #2F5E27) !important;
    border-color: var(--vitsa-cta-hover, #2F5E27) !important;
    color: #fff !important;
}

/* Ensure PDP buttons are always updated (even without vitsa-pdp-ref body class) */
.vitsa-product__add-cart {
    background: var(--vitsa-cta, #367C2B) !important;
    border-color: var(--vitsa-cta, #367C2B) !important;
    color: #fff !important;
}

.vitsa-product__add-cart:hover:not(.disabled),
.vitsa-product__add-cart:focus-visible:not(.disabled) {
    background: var(--vitsa-cta-hover, #2F5E27) !important;
    border-color: var(--vitsa-cta-hover, #2F5E27) !important;
    color: #fff !important;
}

.vitsa-product__buy-now,
.vitsa-product__buy-now--pdp {
    background: #fff !important;
    border-color: var(--vitsa-cta, #367C2B) !important;
    color: var(--vitsa-cta, #367C2B) !important;
}

.vitsa-product__buy-now:hover:not(.disabled),
.vitsa-product__buy-now--pdp:hover:not(.disabled),
.vitsa-product__buy-now:focus-visible:not(.disabled),
.vitsa-product__buy-now--pdp:focus-visible:not(.disabled) {
    background: var(--vitsa-cta-hover, #2F5E27) !important;
    border-color: var(--vitsa-cta-hover, #2F5E27) !important;
    color: #fff !important;
}

/* Payment + share */
body.vitsa-pdp-ref .vitsa-product__cart-form .payment-summary,
body.vitsa-pdp-ref .payment-summary {
    margin-top: 0.75rem;
    padding: 1.25rem;
    border: 1px solid hsl(150, 12%, 90%) !important;
    border-radius: 0.625rem;
    background: #fff !important;
    box-shadow: none !important;
}

body.vitsa-pdp-ref .vitsa-product__summary .vitsa-product__pay--summary {
    margin-top: 0.75rem;
    padding: 1.25rem;
    border: 1px solid hsl(150, 12%, 90%) !important;
    border-radius: 0.625rem;
    background: #fff !important;
    box-shadow: none !important;
}

body.vitsa-pdp-ref .vitsa-product__pay--summary .vitsa-product__pay-align {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.vitsa-pdp-ref .vitsa-product__pay-title {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    color: hsl(150, 15%, 12%);
    text-align: left;
    width: 100%;
    max-width: 100%;
    line-height: 1.25rem;
}

body.vitsa-pdp-ref .vitsa-product__pay-badges {
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    gap: 0.625rem;
    width: 100%;
    align-items: center;
}

body.vitsa-pdp-ref .vitsa-product__summary .vitsa-product__pay--summary .vitsa-product__pay-badge {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 1.75rem !important;
    min-height: 1.75rem !important;
    max-height: 1.75rem !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: content-box !important;
}

body.vitsa-pdp-ref .vitsa-product__summary .vitsa-product__pay--summary .vitsa-product__pay-badge img,
body.vitsa-pdp-ref .vitsa-product__summary .vitsa-product__pay--summary .vitsa-product__pay-badge svg {
    display: block !important;
    width: auto !important;
    height: 1.75rem !important;
    max-width: none !important;
    max-height: 1.75rem !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
    border: 0 !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.vitsa-pdp-ref .vitsa-product__summary .vitsa-product__share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    padding-top: 0 !important;
    border-top: 0 !important;
    gap: 0.5rem;
}

body.vitsa-pdp-ref .vitsa-product__share-label {
    font-size: 0.8125rem;
    color: hsl(150, 8%, 42%);
    white-space: nowrap;
}

body.vitsa-pdp-ref .vitsa-product__share-list {
    margin: 0;
    padding: 0;
    list-style: none !important;
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4375rem;
}

body.vitsa-pdp-ref .vitsa-product__share-list > li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

body.vitsa-pdp-ref .vitsa-product__share-link {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    text-decoration: none;
}

body.vitsa-pdp-ref .vitsa-product__share-link:hover {
    opacity: 0.88;
    transform: none;
}

body.vitsa-pdp-ref .vitsa-product__share-link--telegram { background-color: #26A5E4 !important; color: #fff !important; }
body.vitsa-pdp-ref .vitsa-product__share-link--email { background-color: #CB1717 !important; color: #fff !important; }

/* ── Product information section — white merged layout ── */
body.vitsa-pdp-ref .vitsa-product__post-related {
    margin-top: 2.5rem;
    padding: 2.5rem 0 0;
    background: #fff !important;
}

body.vitsa-pdp-ref .vitsa-product__details {
    padding-top: 0;
    padding-bottom: 2.5rem;
    background: transparent;
}

body.vitsa-pdp-ref .vitsa-product__info-card--tabs {
    background: #fff !important;
    border: 1px solid hsl(150, 12%, 90%) !important;
    border-radius: 0.75rem !important;
    box-shadow: none !important;
    overflow: hidden;
}

body.vitsa-pdp-ref .vitsa-product__details-head {
    text-align: center;
    margin-bottom: 1.75rem;
}

body.vitsa-pdp-ref .vitsa-product__details-head-title {
    font-size: 1.625rem;
    font-weight: 600;
}

body.vitsa-pdp-ref .vitsa-product__details-head-accent {
    width: 2.75rem;
    height: 0.2rem;
    margin-top: 0.625rem;
    background: #6eb12e;
}

/* Tabs */
body.vitsa-pdp-ref .vitsa-product__tabs--card {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab-list {
    margin: 0;
    padding: 0 1.25rem;
    list-style: none !important;
    display: flex !important;
    align-items: stretch;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    background: #fff !important;
    border-bottom: 1px solid hsl(150, 12%, 90%) !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab-list > li {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: block;
}

body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab-list::-webkit-scrollbar {
    display: none;
}

body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: hsl(150, 8%, 42%);
    white-space: nowrap;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    margin: 0 0 -1px;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab:hover {
    color: hsl(150, 15%, 12%);
}

body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab.is-active {
    color: #6eb12e;
    font-weight: 600;
    border-bottom-color: #6eb12e;
    background: #fff;
}

body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab-panel {
    display: none;
    padding: 1.5rem 1.75rem 1.75rem;
    background: #fff !important;
}

body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab-panel.is-active {
    display: block;
}

@media (min-width: 992px) {
    body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab-panel {
        padding: 1.75rem 2rem 2rem;
    }
}

@media (max-width: 767px) {
    body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab-list {
        justify-content: flex-start;
        padding: 0 0.75rem;
    }

    body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab {
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
    }

    body.vitsa-pdp-ref .vitsa-product__tabs--card .vitsa-product__tab-panel {
        padding: 1.25rem 1rem 1.5rem;
    }
}

/* Description 3-column grid — always */
body.vitsa-pdp-ref .vitsa-product__desc-grid {
    display: grid;
    gap: 1.25rem 2rem;
    grid-template-columns: minmax(0, 1fr);
    background: transparent;
}

body.vitsa-pdp-ref .vitsa-product__desc-col {
    background: transparent;
}

body.vitsa-pdp-ref .vitsa-product__desc-col-title {
    margin: 0 0 0.875rem;
    padding: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    background: transparent;
    border-radius: 0;
}

@media (min-width: 768px) {
    body.vitsa-pdp-ref .vitsa-product__desc-grid,
    body.vitsa-pdp-ref .vitsa-product__desc-grid--cols-3,
    body.vitsa-pdp-ref .vitsa-product__desc-grid--cols-2 {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 1.5rem 2.5rem;
        align-items: start;
    }

    body.vitsa-pdp-ref .vitsa-product__desc-col--features,
    body.vitsa-pdp-ref .vitsa-product__desc-col--shipping {
        padding-left: 0;
        border-left: 0;
    }
}

body.vitsa-pdp-ref .vitsa-product__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}

body.vitsa-pdp-ref .vitsa-product__feature-icon {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.1rem;
    color: #6eb12e;
}

body.vitsa-pdp-ref .vitsa-product__feature-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

body.vitsa-pdp-ref .vitsa-product__feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

body.vitsa-pdp-ref .vitsa-product__feature-label {
    font-size: 0.8125rem;
    font-weight: 600;
}

body.vitsa-pdp-ref .vitsa-product__feature-sub {
    font-size: 0.75rem;
}

body.vitsa-pdp-ref .vitsa-product__shipping-list li,
body.vitsa-pdp-ref .vitsa-product__shipping-item {
    border: 0 !important;
    border-bottom: 0 !important;
    border-top: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}

body.vitsa-pdp-ref .vitsa-product__desc-aside-block--shipping:not(:first-child) {
    border-top: 0 !important;
}

body.vitsa-pdp-ref .vitsa-product__shipping-item {
    font-size: 0.8125rem;
    padding-bottom: 0.375rem;
    margin-bottom: 0.375rem;
    border-bottom: 0 !important;
}

/* Related products */
body.vitsa-pdp-ref .vitsa-product__related {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    background: #fff !important;
}

body.vitsa-pdp-ref .vitsa-product__related .vitsa-product-grid-section {
    padding: 2rem 0 1.5rem;
    background: #fff !important;
    border-top: 0 !important;
}

body.vitsa-pdp-ref .vitsa-product__related .vitsa-best-deals__title {
    font-size: 1.375rem;
    font-weight: 600;
    text-align: center;
}

/* Keep stacked cart actions on mobile (overrides vitsa-product-card.css) */
@media (max-width: 767px) {
    body.vitsa-pdp-ref .vitsa-product__actions.product-button {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.vitsa-pdp-ref .vitsa-product__actions.product-button .quantity {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    body.vitsa-pdp-ref .vitsa-product__actions.product-button .vitsa-product__add-cart {
        width: 100% !important;
        flex: none !important;
        min-width: 0 !important;
    }
}

/* Product reviews — edit/delete actions */
body.vitsa-pdp-ref .review-item__actions {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

body.vitsa-pdp-ref .review-item__actions .edit-review-btn,
body.vitsa-pdp-ref .review-item__actions .delete-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    opacity: 0.8;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
}

body.vitsa-pdp-ref .review-item__actions .edit-review-btn {
    color: #367c2b !important;
}

body.vitsa-pdp-ref .review-item__actions .edit-review-btn:hover {
    opacity: 1;
    color: #2f5e27 !important;
}

body.vitsa-pdp-ref .review-item__actions .delete-review-btn {
    color: #dc3545 !important;
}

body.vitsa-pdp-ref .review-item__actions .delete-review-btn:hover {
    opacity: 1;
    color: #b02a37 !important;
}

body.vitsa-pdp-ref .review-item.current-customer-review {
    background-color: rgba(54, 124, 43, 0.05);
    border: 1px solid rgba(54, 124, 43, 0.15);
    border-radius: 0.375rem;
    padding: 1rem;
    position: relative;
}

body.vitsa-pdp-ref .review-item.current-customer-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #367c2b;
    border-radius: 0.375rem 0 0 0.375rem;
}

/* Review cards — testimonial style */
body.vitsa-pdp-ref .vitsa-review-list .vitsa-review-cards {
    max-height: none;
    overflow: visible;
    display: block;
    padding-right: 0;
}

body.vitsa-pdp-ref .vitsa-review-cards__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.35rem 0.15rem 0.85rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

body.vitsa-pdp-ref .vitsa-review-cards__track::-webkit-scrollbar {
    height: 6px;
}

body.vitsa-pdp-ref .vitsa-review-cards__track::-webkit-scrollbar-thumb {
    background: rgba(54, 124, 43, 0.35);
    border-radius: 999px;
}

body.vitsa-pdp-ref .vitsa-review-card {
    flex: 0 0 min(17.5rem, 78vw);
    width: min(17.5rem, 78vw);
    min-height: 13.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid rgba(20, 32, 26, 0.08);
    border-radius: 0.85rem;
    box-shadow: 0 8px 24px rgba(20, 32, 26, 0.08);
    margin: 0 !important;
    padding: 1.15rem 1.2rem !important;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

body.vitsa-pdp-ref .vitsa-review-card--own {
    border-color: rgba(54, 124, 43, 0.22);
    box-shadow: 0 8px 24px rgba(54, 124, 43, 0.1);
}

body.vitsa-pdp-ref .vitsa-review-card--own::before {
    display: none;
}

body.vitsa-pdp-ref .vitsa-review-card.is-pending {
    opacity: 0.8;
}

body.vitsa-pdp-ref .vitsa-review-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

body.vitsa-pdp-ref .vitsa-review-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #e8eee9;
}

body.vitsa-pdp-ref .vitsa-review-card__identity {
    flex: 1;
    min-width: 0;
}

body.vitsa-pdp-ref .vitsa-review-card__name {
    font-weight: 700;
    color: #14201a;
    font-size: 1rem;
    line-height: 1.25;
    margin: 0;
}

body.vitsa-pdp-ref .vitsa-review-card__role {
    margin-top: 0.15rem;
    font-size: 0.8125rem;
    color: #8a948e;
    line-height: 1.3;
}

body.vitsa-pdp-ref .vitsa-review-card__actions {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

body.vitsa-pdp-ref .vitsa-review-card__body {
    flex: 1;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.55;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.vitsa-pdp-ref .vitsa-review-card__images .review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

body.vitsa-pdp-ref .vitsa-review-card__images img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: cover;
    border-radius: 0.35rem;
}

body.vitsa-pdp-ref .vitsa-review-card__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

body.vitsa-pdp-ref .vitsa-review-card__rating {
    line-height: 1;
}

body.vitsa-pdp-ref .vitsa-review-card__rating svg,
body.vitsa-pdp-ref .vitsa-review-card__rating .ecommerce-icon,
body.vitsa-pdp-ref .vitsa-review-card__rating img {
    width: 0.95rem !important;
    height: 0.95rem !important;
}

body.vitsa-pdp-ref .vitsa-review-card__reply {
    margin-top: 0.15rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(20, 32, 26, 0.08);
}

body.vitsa-pdp-ref .vitsa-review-card__reply-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #367c2b;
    margin-bottom: 0.2rem;
}

body.vitsa-pdp-ref .vitsa-review-card__reply-text {
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.45;
}

body.vitsa-pdp-ref .vitsa-review-cards__pagination {
    margin-top: 0.35rem;
    padding-top: 0.25rem;
}

@media (min-width: 992px) {
    body.vitsa-pdp-ref .vitsa-review-card {
        flex-basis: calc((100% - 2rem) / 3);
        width: calc((100% - 2rem) / 3);
        max-width: 19rem;
    }
}

@media (min-width: 1200px) {
    body.vitsa-pdp-ref .vitsa-review-card {
        flex-basis: calc((100% - 3rem) / 4);
        width: calc((100% - 3rem) / 4);
        max-width: 18rem;
    }
}

body.vitsa-pdp-ref .product-review-controls,
body.vitsa-pdp-ref .review-search-container,
body.vitsa-pdp-ref .review-filter-container,
body.vitsa-pdp-ref .review-sort-container {
    display: none !important;
}

body.vitsa-pdp-ref .product-review-form-wrap.is-disabled {
    opacity: 0.65;
    pointer-events: none;
}

body.vitsa-pdp-ref .product-review-form-wrap.is-disabled .form-rating-stars label {
    cursor: default;
}

/* Ensure PDP rating stars/textarea always render even if plugin CSS 404s */
body.vitsa-pdp-ref .product-review-container .form-rating-stars {
    display: inline-flex !important;
    flex-direction: row-reverse;
    float: none;
    visibility: visible !important;
}

body.vitsa-pdp-ref .product-review-container .form-rating-stars > label {
    float: none;
    color: #c5cdd4;
    cursor: pointer;
    line-height: 1;
    margin-inline-start: 2px;
}

body.vitsa-pdp-ref .product-review-container .form-rating-stars > label svg,
body.vitsa-pdp-ref .product-review-container .form-rating-stars .vitsa-star-icon {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}

body.vitsa-pdp-ref .product-review-container .form-rating-stars .btn-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

body.vitsa-pdp-ref .product-review-container .form-rating-stars > input:checked ~ label,
body.vitsa-pdp-ref .product-review-container .form-rating-stars:not(:checked) > label:hover,
body.vitsa-pdp-ref .product-review-container .form-rating-stars:not(:checked) > label:hover ~ label {
    color: #fab528;
}

body.vitsa-pdp-ref .product-review-container textarea.form-control {
    display: block !important;
    min-height: 8rem;
    visibility: visible !important;
    opacity: 1 !important;
}

body.vitsa-pdp-ref .product-review-container .edit-own-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #367c2b;
    border-color: #367c2b;
}

body.vitsa-pdp-ref .product-review-container .edit-own-review-btn:hover {
    color: #fff;
    background: #367c2b;
    border-color: #367c2b;
}

/* Review CTA — white label on brand green (theme primary button color is often black) */
body.vitsa-pdp-ref .product-review-container [data-review-submit].btn-primary,
body.vitsa-pdp-ref .product-review-container button[type="submit"].btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.55rem 1.25rem;
    border: 1px solid #367c2b !important;
    border-radius: 0.5rem;
    background: #367c2b !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(54, 124, 43, 0.22);
}

body.vitsa-pdp-ref .product-review-container [data-review-submit].btn-primary:hover:not(:disabled),
body.vitsa-pdp-ref .product-review-container [data-review-submit].btn-primary:focus:not(:disabled),
body.vitsa-pdp-ref .product-review-container button[type="submit"].btn-primary:hover:not(:disabled),
body.vitsa-pdp-ref .product-review-container button[type="submit"].btn-primary:focus:not(:disabled) {
    background: #2f5e27 !important;
    border-color: #2f5e27 !important;
    color: #fff !important;
}

body.vitsa-pdp-ref .product-review-container [data-review-submit].btn-primary:disabled,
body.vitsa-pdp-ref .product-review-container button[type="submit"].btn-primary:disabled {
    background: #367c2b !important;
    border-color: #367c2b !important;
    color: #fff !important;
    opacity: 0.55;
}

body.vitsa-pdp-ref .product-review-container .cancel-edit-review-btn {
    min-height: 2.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
}
