/* ── Product Single Page Styles ── */

/* Scoped green palette */
.single-product {
    --sz-green: #3A5F3F;
    --sz-green-light: #4A6B3F;
    --sz-dark: #1E3F2A;
    --sz-cream: #F9F7F2;
    --sz-sage: #DDE6DA;
    --sz-sage-light: #E9EFE9;
    --sz-mint: #E6F3EC;
    --sz-radius: 14px;
    --sz-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --sz-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ── Container ── */
.shop-zen-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 24px;
}


/* ── Breadcrumbs ── */
.shop-zen-breadcrumb {
    background: var(--sz-cream);
    border-bottom: 1px solid #E5E7EB;
    padding: 18px 0;
    font-family: var(--font-display);
}

.shop-zen-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    flex-wrap: wrap;
    letter-spacing: 0;
    text-transform: none;
}

.shop-zen-breadcrumb-link {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.shop-zen-breadcrumb-link:hover {
    color: var(--sz-dark);
}

.shop-zen-breadcrumb-sep {
    display: inline;
    margin: 0 8px;
    opacity: 0.6;
    color: #6B7280;
}

.shop-zen-breadcrumb-current {
    color: #1F2937;
    font-weight: 600;
}


/* ── Main Product Section ── */
.shop-zen-pdp-main {
    background: #fff;
    font-family: var(--font-display);
}

.shop-zen-pdp-container {
    padding-top: 32px;
    padding-bottom: 40px;
}


.shop-zen-pdp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}


/* ── Image Gallery ── */
.shop-zen-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Thumbnails */
.shop-zen-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0;
}

.shop-zen-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.shop-zen-thumb-btn {
    flex-shrink: 0;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    background: #F8F8F6;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.shop-zen-thumb-btn:hover {
    opacity: 0.9;
}

.shop-zen-thumb-btn.active {
    border: 2px solid var(--sz-dark);
}

.shop-zen-thumb-btn:not(.active) {
    opacity: 0.7;
}

.shop-zen-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Image */
.shop-zen-gallery-main {
    position: relative;
    border-radius: var(--sz-radius);
    overflow: hidden;
    background: #F8F8F6;
    border: 1px solid #E5E7EB;
    aspect-ratio: 1 / 1;
    cursor: zoom-in;
}

.shop-zen-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

/* Product Badge */
.shop-zen-pdp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 4px 7px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.shop-zen-badge-bestseller {
    background: var(--sz-dark);
    color: #fff;
}

.shop-zen-badge-sale {
    background: var(--sz-dark);
    color: #fff;
}

.shop-zen-badge-new {
    background: var(--sz-green);
    color: #fff;
}


/* ── Product Info ── */
.shop-zen-pdp-info {
    display: flex;
    flex-direction: column;
}

/* Product Tag */
.shop-zen-pdp-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sz-green);
    background: var(--sz-mint);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #C8E6D5;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Category + Stock pills row */
.shop-zen-pdp-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.shop-zen-pdp-pill {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 999px;
    line-height: 1;
}

.shop-zen-pdp-cat-pill {
    color: var(--sz-green);
    background: var(--sz-mint);
    border: 1px solid #C8E6D5;
}

.shop-zen-pdp-stock-pill {
    color: #065F46;
    background: #D1FAE5;
    border: 1px solid #A7F3D0;
}

.shop-zen-pdp-stock-pill.out-of-stock {
    color: #991B1B;
    background: #FEE2E2;
    border-color: #FECACA;
}

.shop-zen-pdp-brand {
    font-size: 11px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    font-weight: 600;
}

.shop-zen-pdp-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    line-height: 1.1;
    color: #1A202C;
}


/* ── Rating ── */
.shop-zen-pdp-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.shop-zen-rating-stars {
    display: flex;
    gap: 1px;
}

.shop-zen-star-filled {
    color: #F59E0B;
    font-size: 15px;
}

.shop-zen-star-filled svg {
    fill: #F59E0B;
}

.shop-zen-star-empty {
    color: #e5e7eb;
    font-size: 15px;
}

.shop-zen-star-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.shop-zen-star-icon svg {
    display: block;
}

.shop-zen-rating-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--sz-green);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.shop-zen-rating-link:hover {
    color: var(--sz-dark);
}

.shop-zen-rating-num {
    font-size: 13px;
    font-weight: 700;
    color: #6B7280;
}

.shop-zen-rating-divider {
    color: #E5E7EB;
    font-size: 14px;
}


/* ── Price Block ── */
.shop-zen-pdp-price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    font-family: var(--font-sans);
}

.shop-zen-price-current {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 800;
    color: var(--sz-dark);
    letter-spacing: -0.02em;
}

.shop-zen-price-current ins {
    text-decoration: none;
}

.shop-zen-price-current .woocommerce-Price-amount {
    color: var(--sz-dark);
}

.shop-zen-price-original {
    font-size: 16px;
    color: #9CA3AF;
    font-weight: 600;
    text-decoration: line-through;
    margin-left: 4px;
}

.shop-zen-price-save {
    font-size: 14px;
    font-weight: 600;
    color: var(--sz-green);
}

.shop-zen-price-note {
    font-size: 13px;
    color: #6B7280;
    font-weight: 600;
    width: 100%;
    margin-top: 2px;
}


/* ── Description ── */
.shop-zen-pdp-desc {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 100%;
    font-weight: 500;
}


/* ── Option Groups (Color / Size) ── */
.shop-zen-option-group {
    margin-bottom: 18px;
}

.shop-zen-option-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #1F2937;
    margin-bottom: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shop-zen-option-value {
    font-weight: 400;
    color: var(--brand-muted, #9C9792);
}

/* ── Swatch Tooltips ── */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--brand-dark, #1C1C1C);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}

[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--brand-dark, #1C1C1C);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

[data-tooltip]:hover::before {
    opacity: 1;
}

/* Color Options */
.shop-zen-color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-zen-color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: transform 0.15s ease;
    border: 2px solid var(--border, #E8E4DF);
    padding: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-zen-color-swatch:hover {
    transform: scale(1.1);
}

.shop-zen-color-swatch.active {
    box-shadow: 0 0 0 2px var(--bg-primary, #FBF9F6), 0 0 0 4px var(--brand-dark, #1C1C1C);
    border-color: var(--brand-dark, #1C1C1C);
}

.shop-zen-color-swatch.oos {
    opacity: 0.3;
    cursor: not-allowed;
}

.shop-zen-swatch-inner {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-zen-color-swatch--light .shop-zen-swatch-inner {
    border: 1px solid var(--border, #E8E4DF);
}

/* Size Options - Pill shaped */
.shop-zen-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-zen-size-btn {
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid #E5E7EB;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #1F2937;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

.shop-zen-size-btn:hover {
    border-color: var(--sz-dark);
}

.shop-zen-size-btn.active {
    background: var(--sz-dark);
    color: #fff;
    border-color: var(--sz-dark);
    font-weight: 700;
}

.shop-zen-size-btn.oos {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Size Guide Button */
.shop-zen-size-guide-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--accent, #B8977E);
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 12px;
    transition: opacity 0.2s ease;
    font-family: var(--font-display);
}

.shop-zen-size-guide-btn:hover {
    opacity: 0.7;
}

.shop-zen-size-guide-btn svg {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}


/* ── Purchase Row ── */
.shop-zen-pdp-purchase {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* Quantity Selector */
.shop-zen-qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.shop-zen-qty-btn {
    width: 40px;
    height: 46px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F2937;
    transition: all 0.2s ease;
    padding: 0;
}

.shop-zen-qty-btn:hover {
    background: #F3F4F6;
}

.shop-zen-qty-input {
    width: 40px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    color: #1F2937;
    padding: 0;
    -moz-appearance: textfield;
    outline: none;
}

.shop-zen-qty-input::-webkit-inner-spin-button,
.shop-zen-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button */
.shop-zen-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    height: 46px;
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 999px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid #0f2316;
    font-family: var(--font-display);
    background: var(--sz-dark);
    color: #fff;
    box-shadow: 0 4px 14px rgba(30, 63, 42, 0.22);
    flex-shrink: 0;
}

.shop-zen-add-to-cart:hover {
    background: #163322;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(30, 63, 42, 0.28);
}

.shop-zen-add-to-cart svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Wishlist Button */
.shop-zen-wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 46px;
    border-radius: 999px;
    border: 1.5px solid var(--sz-dark);
    background: transparent;
    cursor: pointer;
    color: #1F2937;
    transition: all 0.2s ease;
    flex-shrink: 0;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-left: 0;
}

.shop-zen-wishlist-btn:hover {
    background: var(--sz-dark);
    color: #fff;
}

.shop-zen-wishlist-btn.active svg {
    color: #E11D48;
    fill: #E11D48;
}

.shop-zen-wishlist-btn svg {
    width: 18px;
    height: 18px;
    transition: color 0.2s ease;
}


/* ── Product Meta ── */
.shop-zen-product-meta {
    border-top: 1px solid #E5E7EB;
    padding-top: 16px;
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #6B7280;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.shop-zen-product-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}


/* ── Trust Signals ── */
.shop-zen-trust-signals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px;
    background: var(--sz-sage-light);
    border-radius: 12px;
    border: 1px solid #D1E7D6;
}
.shop-zen-product-meta .shop-zen-trust-signals {
    width: 100%;
    flex: 0 0 100%;
    margin-bottom: 14px;
    margin-top: 4px;
}

.shop-zen-trust-item {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-zen-trust-item:not(:last-child) {
    border-right: none;
}

.shop-zen-trust-item svg {
    color: var(--sz-green);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #F4F7F3;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 6px;
    box-sizing: border-box;
}

.shop-zen-trust-item p {
    font-size: 12px;
    font-weight: 600;
    color: #1F2937;
    margin: 0;
}


/* ── Tabs ── */
.shop-zen-product-tabs {
    margin: 32px 0 0;
}

.shop-zen-tab-headers {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid #E5E7EB;
    padding: 0;
}

.shop-zen-tab-header {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #6B7280;
    cursor: pointer;
    padding: 12px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    font-weight: 600;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    font-family: var(--font-display);
    margin-bottom: -1px;
}

.shop-zen-tab-header.active-tab {
    color: var(--sz-dark);
    border-bottom-color: var(--sz-dark);
    font-weight: 700;
}

.shop-zen-tab-header:hover {
    color: var(--sz-dark);
}

.shop-zen-tab-panel {
    padding: 24px 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.8;
    display: none;
    max-width: 760px;
}

.shop-zen-tab-panel.active-panel {
    display: block;
}

.shop-zen-tab-panel p {
    margin-bottom: 8px;
}

.shop-zen-tab-panel p:last-child {
    margin-bottom: 0;
}

.shop-zen-tab-panel strong {
    color: #111827;
}

.shop-zen-tab-panel ul,
.shop-zen-tab-panel ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 12px 0;
    padding: 0;
}

.shop-zen-tab-panel ul li {
    display: flex;
    gap: 10px;
}

.shop-zen-tab-panel ul li::before {
    content: '✓';
    color: var(--sz-green);
    font-weight: 700;
}

/* ── Additional Information (WooCommerce attributes table) ── */
.shop-zen-additional-info table.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.shop-zen-additional-info table.woocommerce-product-attributes tr {
    border-bottom: 1px solid #E5E7EB;
}

.shop-zen-additional-info table.woocommerce-product-attributes tr:last-child {
    border-bottom: none;
}

.shop-zen-additional-info table.woocommerce-product-attributes th,
.shop-zen-additional-info table.woocommerce-product-attributes td {
    padding: 14px 0;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.6;
}

.shop-zen-additional-info table.woocommerce-product-attributes th {
    width: 220px;
    max-width: 40%;
    color: #6B7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: var(--font-display);
}

.shop-zen-additional-info table.woocommerce-product-attributes td {
    color: #111827;
}

.shop-zen-additional-info table.woocommerce-product-attributes td p {
    margin: 0;
}

@media (max-width: 600px) {
    .shop-zen-additional-info table.woocommerce-product-attributes,
    .shop-zen-additional-info table.woocommerce-product-attributes tbody,
    .shop-zen-additional-info table.woocommerce-product-attributes tr,
    .shop-zen-additional-info table.woocommerce-product-attributes th,
    .shop-zen-additional-info table.woocommerce-product-attributes td {
        display: block;
        width: 100%;
    }

    .shop-zen-additional-info table.woocommerce-product-attributes th {
        padding-bottom: 2px;
        max-width: none;
    }
}

.shop-zen-accordion {
    border-top: 1px solid var(--border-light, #F0EDE9);
}

.shop-zen-accordion-item {
    border-bottom: 1px solid var(--border-light, #F0EDE9);
}

.shop-zen-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-dark, #1C1C1C);
    font-family: var(--font-display);
    transition: color 0.2s ease;
}

.shop-zen-accordion-trigger:hover {
    color: var(--accent, #B8977E);
}

.shop-zen-acc-icon {
    display: inline-flex;
    align-items: center;
    color: var(--brand-muted, #9C9792);
    transition: transform 0.2s ease;
}

.shop-zen-acc-icon svg {
    display: block;
}

.shop-zen-accordion-item.open .shop-zen-acc-icon {
    transform: rotate(180deg);
}

.shop-zen-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.shop-zen-accordion-item.open .shop-zen-accordion-content {
    max-height: 500px;
}

.shop-zen-accordion-text {
    padding-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary, #6B6560);
    line-height: 1.8;
}

.shop-zen-accordion-text ul {
    list-style: disc;
    list-style-position: inside;
    margin: 0;
    padding: 0;
}

.shop-zen-accordion-text li {
    margin-bottom: 4px;
}

.shop-zen-accordion-text p {
    margin-bottom: 8px;
}

.shop-zen-accordion-text p:last-child {
    margin-bottom: 0;
}

.shop-zen-accordion-text strong {
    color: var(--brand-dark, #1C1C1C);
}


/* ── Variation Price Display ── */
.shop-zen-variation-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 8px;
    padding: 14px 18px;
    background: var(--bg-white, #FFFFFF);
    border-radius: 8px;
    border: 1px solid var(--border-light, #F0EDE9);
    animation: shop-zenFadeInPrice 0.3s ease;
}

@keyframes shop-zenFadeInPrice {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.shop-zen-variation-price-current {
    font-size: 20px;
    font-weight: 600;
    color: var(--brand-dark, #1C1C1C);
}

.shop-zen-variation-price-current ins {
    text-decoration: none;
}

.shop-zen-variation-price-original {
    font-size: 14px;
    color: var(--brand-muted, #9C9792);
    text-decoration: line-through;
}

.shop-zen-variation-price-save {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-secondary, #C4614E);
}


/* ── Reviews Section ── */
.shop-zen-reviews-section {
    background: #fff;
    border-top: 1px solid #E5E7EB;
    padding: 40px 0;
}

/* Reviews rendered inside the Reviews tab panel. */
.shop-zen-reviews-panel {
    max-width: none;
    padding: 32px 0 8px;
}

.shop-zen-reviews-anchor {
    display: block;
    position: relative;
    top: -90px;
    visibility: hidden;
}


.shop-zen-reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}


/* Review Summary (Left) */
.shop-zen-reviews-summary {
    width: 100%;
    flex-shrink: 0;
}


.shop-zen-reviews-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: #1A202C;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.shop-zen-reviews-score {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.shop-zen-reviews-big-number {
    font-family: var(--font-sans);
    font-size: 36px;
    font-weight: 800;
    color: var(--sz-dark);
    line-height: 1;
}

.shop-zen-reviews-out-of {
    font-size: 14px;
    color: #6B7280;
}

.shop-zen-reviews-stars {
    display: flex;
    gap: 1px;
    margin-bottom: 4px;
}

.shop-zen-reviews-based-on {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 24px;
}

/* Rating Bars */
.shop-zen-rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.shop-zen-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-zen-bar-label {
    font-size: 12px;
    color: #6B7280;
    width: 16px;
    text-align: right;
}

.shop-zen-bar-track {
    flex: 1;
    height: 8px;
    background: #EFEFE9;
    border-radius: 100px;
    overflow: hidden;
}

.shop-zen-bar-fill {
    height: 100%;
    background: var(--sz-green);
    border-radius: 100px;
    transition: width 1s ease;
}

.shop-zen-bar-count {
    font-size: 12px;
    color: #6B7280;
    width: 32px;
    text-align: right;
}

/* Write Review Button */
.shop-zen-write-review-btn {
    width: 100%;
    padding: 11px;
    border-radius: 999px;
    border: 1.5px solid var(--sz-dark);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--sz-dark);
    font-family: var(--font-display);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.shop-zen-write-review-btn:hover {
    background: var(--sz-dark);
    color: #fff;
}


/* ── Review Cards (Right) ── */
.shop-zen-reviews-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shop-zen-review-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.shop-zen-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.shop-zen-review-stars {
    display: flex;
    gap: 1px;
    margin-bottom: 4px;
}

.shop-zen-review-stars svg {
    width: 15px;
    height: 15px;
}

.shop-zen-review-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.shop-zen-review-verified {
    font-size: 10px;
    font-family: var(--font-display);
    color: #3B82F6;
    background: #E6F0F8;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.shop-zen-review-text {
    font-size: 15px;
    color: #374151;
    line-height: 1.55;
    margin-bottom: 16px;
    font-style: italic;
}

.shop-zen-review-stars svg {
    fill: #F59E0B;
}

.shop-zen-review-stars .shop-zen-star-empty svg {
    fill: #e5e7eb;
}

.shop-zen-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-zen-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-secondary, #F3EFEA);
    flex-shrink: 0;
}

.shop-zen-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.shop-zen-author-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-dark, #1C1C1C);
    margin: 0;
}

.shop-zen-author-meta {
    font-size: 10px;
    color: var(--brand-muted, #9C9792);
    margin: 0;
}

.shop-zen-no-reviews {
    font-size: 14px;
    color: var(--brand-muted, #9C9792);
    text-align: center;
    padding: 40px 0;
}

/* Load More Reviews */
.shop-zen-load-more-reviews {
    display: block;
    margin: 32px auto 0;
    padding: 11px 28px;
    border: 1.5px solid var(--sz-dark);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--sz-dark);
    font-family: var(--font-display);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.shop-zen-load-more-reviews:hover {
    border-color: var(--sz-dark);
    background: var(--sz-dark);
    color: #fff;
}


/* ── Review Modal ── */
.shop-zen-review-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.shop-zen-review-modal.active {
    display: flex;
}

.shop-zen-review-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.shop-zen-review-modal-content {
    position: relative;
    background: var(--bg-white, #FFFFFF);
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: shop-zenModalSlideIn 0.3s ease;
    margin: 20px;
}

@keyframes shop-zenModalSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.shop-zen-review-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted, #9C9792);
    transition: color 0.2s ease;
}

.shop-zen-review-modal-close:hover {
    color: var(--brand-dark, #1C1C1C);
}

.shop-zen-review-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.shop-zen-review-modal-header h3 {
    font-family: var(--font-display, 'Playfair Display', serif);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--brand-dark, #1C1C1C);
}

.shop-zen-review-modal-header p {
    font-size: 14px;
    color: var(--brand-muted, #9C9792);
}

/* Review Form */
.shop-zen-form-group {
    margin-bottom: 20px;
}

.shop-zen-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--brand-dark, #1C1C1C);
}

.shop-zen-form-group input,
.shop-zen-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border, #E8E4DF);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-display);
    transition: all 0.2s ease;
    outline: none;
    background: transparent;
    color: var(--brand-dark, #1C1C1C);
    box-sizing: border-box;
}

.shop-zen-form-group input:focus,
.shop-zen-form-group textarea:focus {
    border-color: var(--sz-green);
    box-shadow: 0 0 0 2px rgba(58, 95, 63, 0.2);
}

.shop-zen-form-group input::placeholder,
.shop-zen-form-group textarea::placeholder {
    color: var(--brand-muted, #9C9792);
}

.shop-zen-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.shop-zen-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Star Rating Input */
.shop-zen-star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
}

.shop-zen-star-rating-input .star {
    cursor: pointer;
    transition: transform 0.15s ease;
}

.shop-zen-star-rating-input .star:hover,
.shop-zen-star-rating-input .star.active {
    transform: scale(1.15);
}

.shop-zen-star-rating-input .star svg {
    width: 28px;
    height: 28px;
    display: block;
    color: #e5e7eb;
    transition: color 0.15s ease;
}

.shop-zen-star-rating-input .star.active svg {
    color: #F59E0B;
    fill: #F59E0B;
}

.shop-zen-submit-review {
    width: 100%;
    padding: 13px;
    background: var(--sz-dark);
    color: #fff;
    border: 1px solid #0f2316;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    font-family: var(--font-display);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.shop-zen-submit-review:hover {
    background: #163322;
    transform: translateY(-1px);
}

.shop-zen-submit-review:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

@keyframes shop-zen-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* ── Related Products Section ── */
.shop-zen-related-section {
    background: #FCFCFB;
    background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
    background-size: 16px 16px;
    border-top: 1px solid #F0EFEA;
    border-bottom: 1px solid #F0EFEA;
    padding: 32px 0;
    font-family: var(--font-display);
}


.shop-zen-related-title {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    color: #1A202C;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.shop-zen-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}


/* Related Product Card */
.shop-zen-related-card {
    position: relative;
    background: #fff;
    border-radius: var(--sz-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #E5E7EB;
    box-shadow: var(--sz-shadow);
    text-decoration: none;
}

.shop-zen-related-card:hover {
    box-shadow: var(--sz-shadow-lg);
    transform: translateY(-3px);
}

.shop-zen-related-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 3;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 4px 7px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-zen-related-badge.shop-zen-badge-sale {
    background: var(--sz-dark);
    color: #fff;
}

.shop-zen-related-badge.shop-zen-badge-new {
    background: var(--sz-green);
    color: #fff;
}

.shop-zen-related-img {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #F8F8F6;
}

.shop-zen-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shop-zen-related-card:hover .shop-zen-related-img img {
    transform: scale(1.06);
}

.shop-zen-related-info {
    padding: 10px 11px 13px;
}

.shop-zen-related-brand {
    font-size: 10px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.shop-zen-related-name {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.shop-zen-related-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--sz-dark);
    display: block;
    margin-bottom: 8px;
}

.shop-zen-related-price del {
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 600;
    text-decoration: line-through;
    margin-right: 6px;
}

.shop-zen-related-price ins {
    text-decoration: none;
}

.shop-zen-related-colors {
    display: flex;
    gap: 4px;
}

.shop-zen-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--border, #E8E4DF);
}


/* ── Lightbox ── */
.shop-zen-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.shop-zen-lightbox.active {
    display: flex;
}

.shop-zen-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    transition: background 0.2s ease;
}

.shop-zen-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.shop-zen-lightbox img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px;
}


/* ── Scroll Top Button ── */
.shop-zen-scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--brand-dark, #1C1C1C);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 999;
    border: none;
    opacity: 0;
    pointer-events: none;
}

.shop-zen-scroll-top.visible {
    opacity: 0.8;
    pointer-events: auto;
}

.shop-zen-scroll-top:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.shop-zen-scroll-top svg {
    width: 18px;
    height: 18px;
}


/* ── WooCommerce Overrides ── */
.single-product .woocommerce-product-gallery {
    display: none !important;
}

.single-product .summary {
    display: none !important;
}

.single-product .woocommerce-tabs {
    display: none !important;
}

.single-product div.product .woocommerce-breadcrumb {
    display: none;
}

.single-product div.product .product_title {
    display: none;
}

.single-product div.product .price {
    display: none;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error {
    margin-bottom: 24px;
}

.single-product .woocommerce-message::before,
.single-product .woocommerce-info::before,
.single-product .woocommerce-error::before {
    display: none;
}


/* ── Responsive ── */


/**
====================================================================
  Responsive Styles
====================================================================
*/

@media (min-width: 1024px) {
    .shop-zen-container {
        padding: 0 24px;
    }

    .shop-zen-pdp-container {
        padding-top: 32px;
        padding-bottom: 40px;
    }

    .shop-zen-pdp-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
    }

    .shop-zen-reviews-section {
        padding: 48px 0;
    }

    .shop-zen-reviews-grid {
        flex-direction: row;
        gap: 48px;
        align-items: flex-start;
    }

    .shop-zen-reviews-summary {
        width: 320px;
        position: sticky;
        top: 96px;
    }

    .shop-zen-related-section {
        padding: 32px 0;
    }

    .shop-zen-related-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .shop-zen-container {
        padding: 0 16px;
    }
}

@media (max-width: 1024px) {
    .shop-zen-pdp-grid {
        gap: 40px;
    }

    .shop-zen-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .shop-zen-pdp-grid {
        gap: 30px;
    }

    .shop-zen-pdp-title {
        font-size: 28px;
    }

    .shop-zen-pdp-purchase {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-zen-add-to-cart {
        max-width: 100%;
    }

    .shop-zen-wishlist-btn {
        margin-left: 0;
    }

    .shop-zen-reviews-grid {
        flex-direction: column;
    }

    .shop-zen-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .shop-zen-related-name {
        font-size: 12px;
    }

    .shop-zen-related-price {
        font-size: 12px;
    }

    .shop-zen-form-row {
        grid-template-columns: 1fr;
    }

    .shop-zen-product-meta {
        flex-direction: column;
        gap: 8px;
    }

    .shop-zen-tab-headers {
        gap: 20px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .shop-zen-tab-headers::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .shop-zen-related-grid {
        grid-template-columns: 1fr;
    }
}
