/* =========================================
   SINGLE PRODUCT PAGE
   ========================================= */

/* --- Product Description (Prose) --- */
.product-description.prose {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: #4B5563;
    /* gray-600 */
    max-width: 800px;
}

.product-description.prose h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #111827;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F3F4F6;
}

.product-description.prose h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #1F2937;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-left: 14px;
    border-left: 3px solid #C5A065;
    line-height: 1.4;
}

.product-description.prose p {
    margin-bottom: 20px;
}

.product-description.prose strong {
    color: #111827;
    font-weight: 700;
}

.product-description.prose ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.product-description.prose li {
    margin-bottom: 8px;
    padding-left: 4px;
}

/* --- Gallery Slider (Desktop & Mobile) --- */
.pp-gallery-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
}

.pp-gallery-slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar */
}

.pp-slider-arrow {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    opacity: 0;
    /* Hidden by default on desktop */
}

/* Show arrows on hover (Desktop) */
@media (min-width: 1024px) {
    .product-gallery:hover .pp-slider-arrow {
        opacity: 1;
    }
}

.pp-slider-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.pp-slider-arrow.pp-prev {
    left: 10px;
}

.pp-slider-arrow.pp-next {
    right: 10px;
}

/* Image Zoom Trigger */
.pp-zoom-trigger {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.2s;
    cursor: pointer;
    z-index: 20;
}

@media (min-width: 1024px) {
    .product-gallery:hover .pp-zoom-trigger {
        opacity: 1;
    }
}

/* --- Reviews Section --- */
#reviews {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #F3F4F6;
    margin-top: 40px;
}

#reviews h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commentlist li {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F3F4F6;
}

.comment_container {
    display: flex;
    gap: 20px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F9FAFB;
}

.comment-text {
    flex: 1;
}

.star-rating {
    color: #F59E0B;
    /* amber-500 */
    font-size: 14px;
    margin-bottom: 8px;
}

.meta {
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 8px;
    display: block;
}

.description {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
}

/* =========================================
   MIGRATED FROM style.css
   ========================================= */

/* --- Description Prose + Specs Icons (lines 1026-1333) --- */
/* =========================================
   PRODUCT DESCRIPTION PROSE
   ========================================= */

.product-description.prose {
    font-size: 15px;
    line-height: 1.85;
    color: #4b5563;
    letter-spacing: -0.01em;
}

/* --- Headings --- */
.product-description.prose h2 {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f3f4f6;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.product-description.prose h2:first-child {
    margin-top: 0;
}

.product-description.prose h3 {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2rem 0 0.75rem;
    padding-left: 14px;
    border-left: 3px solid #C5A065;
    line-height: 1.4;
}

.product-description.prose h4 {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    margin: 1.5rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* --- Paragraphs --- */
.product-description.prose p {
    margin: 0 0 1.25rem;
    color: #4b5563;
}

.product-description.prose>p:first-child,
.product-description.prose>p:first-of-type {
    font-size: 16px;
    color: #374151;
    font-weight: 500;
    line-height: 1.8;
}

/* --- Strong / Bold --- */
.product-description.pp-safety-nudge strong {
    font-weight: 700;
    color: #14532d;
}

/* Specs Icons Grid */
/* Specs Icons Grid */
.pp-specs-icons-row {
    display: flex;
    flex-wrap: nowrap;
    /* Force one line */
    overflow-x: auto;
    /* Scroll if needed on very small screens */
    gap: 8px;
    /* Reduced gap */
    margin-top: 20px;
    margin-bottom: 5px;
    border-top: 1px solid #f3f3f3;
    padding-top: 15px;
    scrollbar-width: none;
    /* Hide scrollbar */
}

.pp-specs-icons-row::-webkit-scrollbar {
    display: none;
}

.pp-spec-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    /* Tighter gap */
    text-align: center;
    color: #555;
    flex: 0 0 auto;
    /* Allow shrinking? No, keep size and scroll if needed */
    min-width: 48px;
    /* Ensure click target size */
}

.pp-spec-icon-item small {
    font-size: 9px;
    /* Slightly smaller text */
    line-height: 1.1;
    max-width: 60px;
    /* Keep constraint */
    display: block;
}

.pp-spec-icon-item svg {
    display: block;
    margin: 0 auto;
}

/* --- Lists --- */
.product-description.prose ul,
.product-description.prose ol {
    margin: 1rem 0 1.5rem;
    padding-left: 0;
    list-style: none;
}

.product-description.prose ul li {
    position: relative;
    padding: 0.6rem 0 0.6rem 28px;
    border-bottom: 1px solid #f9fafb;
    line-height: 1.7;
}

.product-description.prose ul li:last-child {
    border-bottom: none;
}

.product-description.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #C5A065, #d4b682);
    border-radius: 2px;
    rotate: 45deg;
}

.product-description.prose ol {
    counter-reset: prose-counter;
    padding-left: 0;
}

.product-description.prose ol li {
    position: relative;
    padding: 0.6rem 0 0.6rem 36px;
    border-bottom: 1px solid #f9fafb;
    line-height: 1.7;
    counter-increment: prose-counter;
}

.product-description.prose ol li:last-child {
    border-bottom: none;
}

.product-description.prose ol li::before {
    content: counter(prose-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #f8f5f0;
    border: 1px solid #e8e0d4;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #C5A065;
    line-height: 24px;
    text-align: center;
}

/* --- Blockquotes --- */
.product-description.prose blockquote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fefce8, #fffbeb);
    border-left: 4px solid #C5A065;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #92400e;
}

.product-description.prose blockquote p {
    margin: 0;
    color: inherit;
}

/* --- Horizontal Rules --- */
.product-description.prose hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
    margin: 2rem 0;
}

/* --- Links --- */
.product-description.prose a {
    color: #C5A065;
    text-decoration: underline;
    text-decoration-color: rgba(197, 160, 101, 0.3);
    text-underline-offset: 3px;
    font-weight: 600;
    transition: all 0.2s;
}

.product-description.prose a:hover {
    color: #a8864e;
    text-decoration-color: #C5A065;
}

/* --- Tables --- */
.product-description.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 14px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.product-description.prose th {
    background: #f9fafb;
    font-weight: 700;
    color: #1a1a1a;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid #e5e7eb;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-description.prose td {
    padding: 10px 16px;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.product-description.prose tr:last-child td {
    border-bottom: none;
}

.product-description.prose tr:hover td {
    background: #fafafa;
}

/* --- Images inside desc --- */
.product-description.prose img {
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    height: auto;
}

/* --- Code --- */
.product-description.prose code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #c2410c;
    font-weight: 600;
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
    .product-description.prose {
        font-size: 14px;
        line-height: 1.75;
    }

    .product-description.prose h2 {
        font-size: 1.3rem;
        margin: 2rem 0 0.75rem;
    }

    .product-description.prose h3 {
        font-size: 1.05rem;
    }

    .product-description.prose>p:first-child,
    .product-description.prose>p:first-of-type {
        font-size: 15px;
    }
}



/* --- Standard Quantity Input (lines 741-828) --- */
/* --- STANDARD QUANTITY INPUT (Non-Calculator) --- */
form.cart {
    display: flex;
    gap: 15px;
    align-items: stretch;
    /* Aligns heights */
    flex-wrap: wrap;
}

/* Hide native quantity container if it clashes, use our wrapper */
.pp-std-qty-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    height: 50px;
    /* Match standard button height */
    width: 140px;
    background: #fff;
    flex-shrink: 0;
}

.pp-qty-btn {
    width: 40px;
    height: 100%;
    background: #f9fafb;
    border: none;
    color: #6b7280;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-qty-btn:hover {
    background: #f3f4f6;
    color: var(--pp-primary);
}

.pp-std-qty-wrapper input[type="number"] {
    width: 60px;
    border: none;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    height: 100%;
    margin: 0;
    padding: 0;
    -moz-appearance: textfield;
    appearance: none;
    appearance: none;
}

.pp-std-qty-wrapper input[type="number"]::-webkit-outer-spin-button,
.pp-std-qty-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ensure Add to Cart button matches height */
button.single_add_to_cart_button {
    height: 50px !important;
    border-radius: 12px !important;
    padding: 0 30px !important;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    form.cart {
        flex-direction: row;
        align-items: center;
    }

    .pp-std-qty-wrapper {
        flex: 1;
        max-width: 120px;
    }

    button.single_add_to_cart_button {
        flex: 2;
    }
}

/* --- Mobile Specs Scroll (lines 3047-3090) --- */
/* =========================================================================
   25. MOBILE SPECS SCROLL (Horizontal Scroll for Icons)
   ========================================================================= */
@media (max-width: 767px) {
    .pp-specs-icons-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 5px;
        /* Space for scrollbar */
        padding-right: 15px;
        /* End padding */
        width: 100%;
    }

    /* Hide scrollbar for cleaner look */
    .pp-specs-icons-row::-webkit-scrollbar {
        display: none;
    }

    .pp-spec-icon-item {
        flex: 0 0 auto !important;
        /* Don't shrink */
        width: auto !important;
        max-width: none !important;
        text-align: center;
    }

    .pp-spec-icon-item .inline-flex {
        display: inline-flex;
        margin-bottom: 4px;
    }

    .pp-spec-icon-item small {
        display: block;
        white-space: nowrap;
        font-size: 10px;
        line-height: 1.2;
    }
}


/* --- Design System Refinements (lines 4676-5817) --- */
/* =========================================
   DESIGN SYSTEM REFINEMENTS (2025)
   ========================================= */

/* --- HEADER INFO (Title, Rating, Badge) --- */
.pp-ref-top-info {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
    /* Separator inside card */
}

.pp-ref-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pp-ref-badge {
    background-color: #ECFDF5;
    /* emerald-50 */
    color: #047857;
    /* emerald-700 */
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 10px;
    border-radius: 6px;
    line-height: 1;
}

.pp-ref-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    /* slate-600 */
}

.pp-ref-rating .score {
    color: #1E293B;
    /* slate-800 */
    font-weight: 800;
}

.pp-ref-rating .count {
    color: #94A3B8;
    /* slate-400 */
    font-weight: 500;
}

.pp-ref-title {
    font-family: 'Manrope', sans-serif;
    font-size: 26px;
    /* 24-30px range */
    font-weight: 800;
    color: #0F172A;
    /* slate-900 */
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Mobile Title Adjustment */
@media (max-width: 768px) {
    .pp-ref-title {
        font-size: 22px;
    }
}

/* --- TECH STRIP (Specs) --- */
.pp-ref-specs-strip {
    background-color: #F8FAFC;
    /* slate-50 */
    border: 1px solid #E2E8F0;
    /* slate-200 */
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pp-specs-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94A3B8;
    /* slate-400 */
    letter-spacing: 0.05em;
}

.pp-specs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pp-spec-box {
    width: 40px;
    height: 40px;
    /* Standard Touch Target */
    background: #ffffff;
    border: 1px solid #F1F5F9;
    /* slate-100 */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, border-color 0.2s;
    color: #334155;
    /* slate-700 */
}

.pp-spec-box:hover {
    transform: translateY(-1px);
    border-color: #cbd5e1;
    color: #0f172a;
}

/* --- PACK INFO TEXT --- */
.pp-pack-info-text {
    font-size: 12px;
    color: #64748B;
    /* slate-500 */
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
}

/* --- LINT FIXES --- */
input[type=number] {
    -moz-appearance: textfield;
    appearance: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* =========================================
   VISUAL REFINEMENT: COMPACT & SEPARATE (Phase 2)
   ========================================= */

/* 1. MODULE WRAPPER (Transparent) */
.pp-calculator-module {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 30px;
    max-width: 100%;
    /* Ensure it fits column */
}

/* 2. TECH STRIP SEPARATE */
.pp-separate-box {
    margin-bottom: 12px;
    /* Compact space between Strip and Card */
    background-color: #F8FAFC;
    /* slate-50 */
    border: 1px solid #E2E8F0;
    /* slate-200 */
    border-radius: 12px;
    padding: 8px 16px;
    /* Tighter padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Safety */
    gap: 12px;
    flex-direction: row;
    /* Force row */
}

.pp-specs-wrapper-full {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* Compact Icons */
}

/* Specific overrides for separate strip icons */
.pp-separate-box .pp-spec-box {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border: 1px solid #F1F5F9;
    box-shadow: none;
    /* Flatter look */
}

.pp-delivery-badge-abs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* 3. CALCULATOR CARD (White Box) */
.pp-calculator-card {
    background: #ffffff;
    border: 1px solid #F1F5F9;
    /* slate-100 */
    border-radius: 16px;
    /* Slightly more rounded */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

/* 4. GREY INPUT BAR (Compact) */
.pp-input-bar-grey {
    background-color: #F8FAFC;
    /* slate-50 */
    border: 1px solid #E2E8F0;
    /* slate-200 */
    border: 1px solid #E2E8F0;
    /* slate-200 */
    border-radius: 8px;
    /* Slightly tighter radius 1:1 */
    height: 54px;
    /* Compact height */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    margin-bottom: 10px;
    /* Compact spacing */
    position: relative;
}

.pp-input-bar-grey .pp-input-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    color: #94A3B8;
    /* slate-400 */
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.pp-input-bar-grey .pp-input-btn:hover {
    background: #F1F5F9;
    /* slate-100 */
    color: #1E293B;
    /* slate-800 */
}

.pp-input-bar-grey input.pp-main-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    /* Prominent */
    font-weight: 700;
    color: #1E293B;
    /* slate-800 */
    padding: 0;
    margin: 0;
    height: 100%;
    outline: none;
    /* No focus outline */
}

.pp-input-bar-grey .pp-unit-group-simple {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pp-unit-label {
    font-size: 16px;
    font-weight: 600;
    color: #64748B;
    /* slate-500 */
    text-transform: lowercase;
    /* as per design e.g. "mb" */
}

/* 5. EXPERT TOGGLE (Compact) */
.pp-expert-toggle {
    background-color: #ECFDF5;
    /* emerald-50 */
    border: 1px solid #A7F3D0;
    /* emerald-200 */
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 10px;
}

/* Ensure standard styles apply inside card */
.pp-calc-body {
    padding: 16px;
    /* Compact internal padding */
}

@media (max-width: 600px) {
    .pp-calc-body {
        padding: 16px;
    }
}

/* =========================================
   PHASE 3: STRICT DESIGN SYSTEM INTEGRATION
   ========================================= */

/* --- TECH STRIP (Provided CSS) --- */
.tech-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: #F8FAFC;
    /* Slate-50 */
    border: 1px solid #E2E8F0;
    /* Slate-200 */
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.tech-icons-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-icon-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    /* Desktop size */
    height: 40px;
    border-radius: 6px;
    color: #94A3B8;
    /* Slate-400 */
    transition: all 0.2s ease;
    cursor: help;
}

.tech-icon-box svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

/* Hover Effects */
.tech-icon-box:hover {
    background-color: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

/* Specific Icon Colors on Hover */
.tech-icon-box.heat:hover {
    color: #D97706;
}

/* Amber */
.tech-icon-box.water:hover {
    color: #2563EB;
}

/* Blue */
.tech-icon-box.shield:hover {
    color: #059669;
}

/* Emerald */

/* Tooltip */
.tech-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 12px;
    background-color: #1E293B;
    /* Slate-800 */
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    font-weight: 500;
    z-index: 10;
    transition: opacity 0.2s;
    pointer-events: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tech-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -4px;
    border-width: 4px;
    border-style: solid;
    border-color: #1E293B transparent transparent transparent;
}

.tech-icon-box:hover .tech-tooltip {
    visibility: visible;
    opacity: 1;
}

.tech-label {
    font-size: 10px;
    color: #94A3B8;
    font-weight: 500;
    margin-left: 4px;
}

/* Right Side - Logistics */
.tech-logistics {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 16px;
    border-left: 1px solid #E2E8F0;
}

.logistics-text {
    text-align: right;
    line-height: 1;
}

.log-main {
    font-size: 10px;
    font-weight: 700;
    color: #0F172A;
    /* Slate-900 */
    display: block;
}

.log-sub {
    font-size: 9px;
    font-weight: 500;
    color: #64748B;
    /* Slate-500 */
    margin-top: 4px;
    display: block;
}

.pulsing-dot {
    position: relative;
    width: 12px;
    height: 12px;
    display: flex;
}

.ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #34D399;
    opacity: 0.75;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dot {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #10B981;
    border: 1px solid #fff;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .tech-icon-box {
        width: 36px;
        height: 36px;
    }

    .tech-label {
        display: none;
    }
}

/* --- STRICT OVERRIDES (Input Size) --- */
.pp-input-bar-grey input.pp-main-input {
    font-size: 24px !important;
    /* STRICT: 2XL / 24px */
}

/* Ensure Dark Summary matches */
.pp-summary-dark {
    background-color: #0F172A !important;
    color: #fff;
    border-radius: 12px;
    /* Ensure rounded corners */
}

/* GREEN CTA BUTTON (Emerald 600) */
.pp-summary-dark button.single_add_to_cart_button,
button.single_add_to_cart_button.pp-green-cta {
    background-color: #059669 !important;
    /* Emerald 600 */
    border-color: #059669 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    transition: all 0.3s ease !important;
    width: 100%;
    /* Full width in container */
    display: flex;
    /* Flex already handled by JS content */
    align-items: center;
    justify-content: space-between;
    /* Space out icon+text and price */
}

.pp-summary-dark button.single_add_to_cart_button:hover {
    background-color: #047857 !important;
    /* Emerald 700 */
    border-color: #047857 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* COMPACT TABS (Retry) */
.pp-tabs-wrapper {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
}

.pp-tab-trigger {
    flex: 1;
    text-align: center;
    padding: 10px;
    /* Compact padding */
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
    background: #fff;
}

.pp-tab-trigger:hover {
    background: #f8fafc;
    color: #334155;
}

.pp-tab-trigger.active {
    color: #059669;
    /* Emerald 600 Text */
    border-bottom: 2px solid #059669;
    /* Emerald Border */
    background: #ecfdf5;
    /* Emerald 50 BG */
}

/* =========================================
   1:1 DESIGN REPLICATION (Compact Waste Toggle)
   ========================================= */
.pp-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 8px 16px;
    /* Top/Side/Bottom */
    position: relative;
}

.pp-compact-waste-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: transparent;
    border: 1px solid #10B981;
    /* Emerald 500 */
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    color: #10B981;
    transition: all 0.2s;
    user-select: none;
}

.pp-compact-waste-btn:hover {
    background: rgba(16, 185, 129, 0.1);
}

.pp-compact-waste-btn.active {
    background: #10B981;
    color: #fff;
}

.pp-compact-waste-btn .pp-waste-icon {
    display: none;
    /* Hide check until active? sticky logic might differ */
}

.pp-compact-waste-btn.active .pp-waste-icon {
    display: flex;
}

/* Hide old large toggle if present */
.pp-expert-toggle {
    display: none;
}

/* Adjust Summary Details Layout */
.pp-summary-details {
    display: flex;
    flex-direction: column;
}

.pp-summary-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94A3B8;
    margin-bottom: 2px;
}

.pp-summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: baseline;
}

.pp-card-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
    /* Let clicks pass through gaps */
}

.pp-card-icon {
    pointer-events: auto;
    /* Enable tooltips/hover */
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #334155;
    transition: transform 0.2s;
    cursor: help;
}

.pp-card-icon:hover {
    transform: scale(1.15);
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.pp-card-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2px;
}

/* =========================================
   COMPACT TABS (Final Polish)
   ========================================= */
.pp-tabs-wrapper {
    display: flex;
    border-bottom: 1px solid #f1f5f9;
}

.pp-tab-trigger {
    flex: 1;
    text-align: center;
    padding: 10px;
    /* Compact padding */
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
    background: #fff;
}

.pp-tab-trigger:hover {
    background: #f8fafc;
    color: #334155;
}

.pp-tab-trigger.active {
    color: #059669;
    /* Emerald Text */
    border-bottom: 2px solid #059669;
    /* Emerald Border */
    background: #ecfdf5;
    /* Emerald Light BG */
}

.pp-card-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2px;
}

/* =========================================
   1:1 PIXEL PERFECT REPLICATION
   ========================================= */

/* --- 1. Header (Title Left, Price Right) --- */
.pp-1to1-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px 12px;
}

.pp-1to1-title {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: #1e293b;
    margin: 0;
}

.pp-1to1-tags {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.pp-tag-gray,
.pp-tag-text {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
}

.pp-1to1-price-col {
    text-align: right;
}

.pp-1to1-price-main {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
}

.pp-1to1-price-main bdi {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
}

.pp-1to1-price-sub {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

/* --- 2. Availability --- */
.pp-1to1-avail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px 16px;
    font-size: 12px;
}

.pp-avail-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #059669;
    /* Emerald 600 */
    font-weight: 600;
}

.pp-dot-green {
    width: 8px;
    height: 8px;
    background-color: #059669;
    border-radius: 50%;
}

.pp-ship-text {
    color: #64748b;
}

.pp-ship-text strong {
    color: #1e293b;
}

/* --- 3. Tabs (Segmented Control) --- */
.pp-tabs-segmented {
    padding: 0 24px 8px;
}

.pp-tab-grad-box {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    display: flex;
}

.pp-tab-trigger {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.pp-tab-trigger.active {
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* --- 4. Inputs (Clean Floating) --- */
.pp-input-clean-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    /* No border, maybe underline? */
    padding: 10px 0;
}

.pp-clean-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
}

.pp-clean-btn:hover {
    border-color: #cbd5e1;
    color: #1e293b;
}

.pp-input-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pp-clean-input {
    width: 60px;
    /* Adaptive? */
    border: none;
    background: transparent;
    font-size: 28px !important;
    /* Large */
    font-weight: 700;
    color: #1e293b;
    text-align: right;
    padding: 0;
    margin: 0;
    height: auto;
    /* Remove outline */
    outline: none !important;
    box-shadow: none !important;
}

/* Hide spin buttons */
.pp-clean-input::-webkit-outer-spin-button,
.pp-clean-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pp-clean-unit {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

/* --- 5. Summary Dark Box --- */
.pp-summary-dark {
    background: #0f172a;
    /* Slate 900 */
    border-radius: 0 0 12px 12px;
    padding: 20px;
    margin-top: 0;
}

.pp-summary-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.pp-sum-left {
    display: flex;
    gap: 12px;
}

.pp-sum-icon-box {
    padding-top: 4px;
    /* Align with text */
}

.pp-sum-text-col {
    display: flex;
    flex-direction: column;
}

.pp-sum-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #64748b;
    /* Slate 500 */
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.pp-sum-value {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
}

.pp-sum-value strong {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.pp-sum-sub {
    color: #475569;
}

/* Waste Toggle 1:1 */
.pp-waste-1to1-group {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    /* Right aligned */
}

.pp-waste-text-col {
    text-align: right;
}

.pp-waste-highlight {
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24 !important;
}

.pp-waste-sub {
    font-size: 10px;
    color: #64748b;
}

.pp-waste-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #334155;
    /* Slate 700 */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.pp-waste-checkbox.active {
    background: #059669;
    /* Emerald 600 */
    border-color: #059669;
}

/* Add checkmark via pseudo or icon? */
.pp-waste-checkbox.active::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* Footer Icons */
.pp-1to1-footer {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    font-size: 11px;
    color: #64748b;
}

.pp-1to1-footer span {
    display: flex;
    align-items: center;
}

/* =========================================
   USER REFINEMENTS (Width, Price Layout)
   ========================================= */

/* 1. Widen Product Page Layout to 1400px */
.product-container .row,
.product-page .row {
    max-width: 1400px !important;
}

/* 2. Visual Separation (Title <-> Price) */
.pp-1to1-price-col {
    position: relative;
    padding-left: 24px;
    margin-left: 12px;
}

/* Add a vertical divider */
.pp-1to1-price-col::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    /* Partial height */
    width: 1px;
    background-color: #e2e8f0;
    /* Slate 200 */
}

/* 3. Inline Unit Styling */
.pp-1to1-price-main {
    display: flex;
    align-items: baseline;
    /* Align text bottom */
    justify-content: flex-end;
    /* Right align flex children */
    gap: 4px;
    flex-wrap: wrap;
    /* Allow wrap for small screens if needed */
}

/* Ensure WooCommerce Price doesn't break flex */
.pp-1to1-price-main .woocommerce-Price-amount {
    line-height: 1;
}

.pp-unit-inline {
    font-size: 14px;
    /* Smaller than price */
    font-weight: 600;
    color: #64748b;
    /* Slate 500 */
    align-self: baseline;
}

/* Secondary Price (szt) below */
.pp-1to1-price-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
    text-align: right;
}

/* =========================================
   USER REQUEST: LISTING MAGNIFYING GLASS
   ========================================= */

/* Move Quick View / Image Tools to Bottom Right */
.product-small .box-image .image-tools {
    top: auto !important;
    bottom: 10px !important;
    right: 10px !important;
    left: auto !important;
    margin: 0 !important;
    /* Ensure z-index is above image but below other overlays if any, 
       but typically it needs to be high to be clickable */
    z-index: 20;
}

/* Style the button if needed to fit the corner better? 
   Default Flatsome circle or square is fine. 
   Just position is requested. */

/* --- Sticky UI Elements (lines 6130-6381) --- */


/* =========================================
   STICKY UI ELEMENTS (Mobile Bar & Desktop Col)
   ========================================= */

/* Mobile Sticky Bar */
/* ===================================================================
   MOBILE STICKY BAR
   =================================================================== */
.pp-mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 990;
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pp-mobile-sticky-bar.visible {
    transform: translateY(0);
}

/* --- Expandable Sheet --- */
.pp-sticky-sheet {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 16px;
    background: #f8fafc;
    border-bottom: 1px solid transparent;
}

.pp-mobile-sticky-bar.expanded .pp-sticky-sheet {
    max-height: 300px;
    padding: 12px 16px;
    border-bottom-color: #e2e8f0;
}

.pp-sheet-header {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.pp-sheet-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pp-sheet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}

.pp-sheet-item:last-child {
    border-bottom: none;
}

.pp-sheet-name {
    color: #334155;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.pp-sheet-qty {
    color: #64748b;
    font-weight: 700;
    font-size: 12px;
}

.pp-sheet-savings {
    margin-top: 8px;
    padding: 8px 12px;
    background: #ecfdf5;
    border-radius: 8px;
    font-size: 12px;
    color: #059669;
    font-weight: 600;
}

/* --- Visible Bar Content --- */
.pp-sticky-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
}

.pp-sticky-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pp-sticky-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pp-sticky-value {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

/* Arrow rotation */
.pp-mobile-sticky-bar.expanded .pp-sticky-label svg {
    transform: rotate(180deg);
}

/* --- Actions --- */
.pp-sticky-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pp-sticky-quantity {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    height: 44px;
    padding: 2px;
}

.pp-sticky-quantity button {
    width: 34px;
    height: 100%;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.pp-sticky-quantity button:active {
    background: #e2e8f0;
    border-radius: 8px;
}

.pp-sticky-quantity input {
    width: 32px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    padding: 0;
    -moz-appearance: textfield;
}

.pp-sticky-quantity input::-webkit-outer-spin-button,
.pp-sticky-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pp-sticky-atc-btn {
    height: 44px;
    width: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 12px;
    font-size: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    background: #059669;
    color: #fff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.pp-sticky-atc-btn:active {
    transform: scale(0.95);
}

.pp-sticky-atc-btn svg {
    width: 22px;
    height: 22px;
}

/* Hide text label on mobile sticky ATC */
.pp-sticky-atc-btn .pp-atc-text {
    display: none;
}

/* === HIDE DESKTOP WRAPPER ON MOBILE ===
   Mobile uses .pp-mobile-wrapper.show-for-small instead.
   Hide the entire desktop right-column wrapper to prevent duplicate ATC. */
@media (max-width: 849px) {
    .pp-desktop-wrapper {
        display: none !important;
    }
}

/* === DESKTOP: HIDE MOBILE STICKY === */
@media (min-width: 850px) {
    .pp-mobile-sticky-bar {
        display: none !important;
    }

    .pp-desktop-sticky-wrapper {
        position: sticky;
        top: 110px;
        z-index: 20;
    }
}

/* =========================================
   ODSTĘP GALERIA <-> INFORMACJE O PRODUKCIE
   ========================================= */
.product-gallery {
    margin-bottom: 30px !important;
}

@media (min-width: 850px) {
    .product-gallery {
        margin-bottom: 40px !important;
        padding-right: 30px !important;
    }
}

/* =========================================
   MODERN PRODUCT REVIEWS SECTION
   ========================================= */

.pp-reviews-wrapper {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #f1f5f9;
}

.pp-reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .pp-reviews-grid {
        grid-template-columns: 350px 1fr;
    }
}

/* --- Left Column: Summary --- */
.pp-reviews-summary-card {
    position: sticky;
    top: 130px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
}

.pp-summary-score-big {
    font-size: 4rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 0.75rem;
    font-family: 'Manrope', sans-serif;
    letter-spacing: -2px;
}

.pp-summary-stars {
    margin-bottom: 0.75rem;
}

.pp-summary-count {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Rating Bars */
.pp-rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.pp-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #475569;
}

.pp-bar-label {
    width: 80px;
    font-weight: 600;
    white-space: nowrap;
    color: #64748b;
}

.pp-bar-track {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
}

.pp-bar-fill {
    height: 100%;
    background: #C5A065;
    border-radius: 99px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pp-bar-count {
    width: 24px;
    text-align: right;
    font-weight: 700;
    color: #94a3b8;
    font-size: 0.75rem;
}

/* Action Button */
.pp-add-review-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #1e293b;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.pp-add-review-btn:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3);
}

/* --- Right Column: List --- */
.pp-reviews-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.pp-reviews-list-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.pp-reviews-filter select {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.625rem 2.75rem 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    background-color: #f8fafc;
    background-position: right 0.875rem center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    appearance: none;
    appearance: none;
    transition: all 0.2s;
}

.pp-reviews-filter select:hover {
    border-color: #cbd5e1;
    background-color: #f1f5f9;
}

/* Review Cards */
.pp-review-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.pp-review-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02);
}

.pp-review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.pp-reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pp-reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 99px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #C5A065;
    border: 1px solid #f1f5f9;
    font-size: 0.875rem;
}

.pp-reviewer-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.pp-review-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #059669;
    font-weight: 800;
    margin-top: 0.5rem;
    background: #ecfdf5;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    border: 1px solid #d1fae5;
}

.pp-review-date {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 500;
}

.pp-review-content {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* --- Modal Wrapper --- */
.pp-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
}

.pp-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.pp-modal-container {
    background: #fff;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 32px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.pp-modal-overlay.is-active .pp-modal-container {
    transform: scale(1) translateY(0);
}

.pp-modal-header {
    padding: 2rem 2.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.pp-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f8fafc;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
}

.pp-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.pp-modal-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
}

.pp-form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.pp-form-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Star Rating Interaction */
.comment-form-rating {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid #f1f5f9;
}

.pp-stars-input {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.pp-star-item {
    cursor: pointer;
    font-size: 2.5rem;
    color: #e2e8f0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pp-star-item:hover {
    transform: scale(1.2);
}

/* Review Form Detail UI */
.pp-modal-body .comment-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.pp-modal-body input[type="text"],
.pp-modal-body input[type="email"],
.pp-modal-body textarea {
    width: 100%;
    background: #fff;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    color: #1e293b;
    transition: all 0.3s;
    font-family: inherit;
}

.pp-modal-body input:focus,
.pp-modal-body textarea:focus {
    border-color: #C5A065;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(197, 160, 101, 0.1);
    outline: none;
}

.pp-modal-body .form-submit {
    margin-top: 1rem;
}

.pp-modal-body .submit {
    width: 100%;
    padding: 1.25rem;
    background: #1e293b;
    color: #fff;
    border-radius: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    border: none;
}

.pp-modal-body .submit:hover {
    background: #C5A065;
    box-shadow: 0 10px 15px -3px rgba(197, 160, 101, 0.4);
    transform: translateY(-2px);
}

/* Mobile Tweak for Stars */
@media (max-width: 768px) {
    .pp-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .pp-modal-container {
        max-height: 85vh;
        border-radius: 32px 32px 0 0;
        transform: translateY(100%);
    }

    .pp-modal-overlay.is-active .pp-modal-container {
        transform: translateY(0);
    }

    .pp-modal-body {
        padding: 1.5rem;
    }

    .pp-reviews-summary-card {
        position: static;
        padding: 1.5rem;
    }

    .pp-review-card {
        padding: 1.5rem;
    }

}

/* =========================================================================
   FINAL ESSENTIALS SECTION FIX (Global & High Specificity)
   Resolves: Massive Icons, Header Alignment, Button Consistency
   ========================================================================= */

/* Parent container specificity to override theme defaults */
.product-container .pp-essentials-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-container .pp-essentials-trigger {
    padding: 14px 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid transparent;
    transition: background 0.2s;
}

.product-container .pp-essentials-trigger:hover {
    background: #f1f5f9;
}

/* Expansion Logic: Hover (Desktop) */
@media (min-width: 1025px) {
    .product-container .pp-essentials-box:hover .pp-essentials-body {
        max-height: 2000px;
        opacity: 1;
        border-top: 1px solid #f1f5f9;
        visibility: visible;
    }

    .product-container .pp-essentials-box:hover .pp-chevron {
        transform: rotate(180deg);
        color: #10b981 !important;
        /* Brand Green */
    }
}

/* 🚨 ICON FIX: FORCE SIZE ON ALL DEVICES 🚨 */
.product-container .pp-essentials-box svg.pp-header-icon,
.product-container .pp-essentials-box .pp-essentials-trigger svg:not(.pp-chevron) {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    color: #94a3b8 !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

.product-container .pp-essentials-box .pp-chevron {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    color: #cbd5e1 !important;
    transition: transform 0.3s;
    flex-shrink: 0 !important;
}

.pp-essentials-box.is-open .pp-chevron {
    transform: rotate(180deg);
    color: #10b981 !important;
    /* Brand Green */
}

.product-container .pp-essentials-title {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.product-container .pp-recommended-badge {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    background: #ecfdf5 !important;
    /* Light Green */
    color: #059669 !important;
    /* Dark Green */
    border: 1px solid #a7f3d0 !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    line-height: 1 !important;
    margin-right: 8px !important;
}

/* Expansion Logic */
.pp-essentials-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pp-essentials-box.is-open .pp-essentials-body {
    max-height: 2000px;
    opacity: 1;
    border-top: 1px solid #f1f5f9;
}

/* Items Grid Fix */
.pp-essentials-body-inner {
    padding: 16px;
}

.pp-essentials-body-inner .row-small {
    margin-left: -6px !important;
    margin-right: -6px !important;
}

.js-cs-item {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 12px;
    height: 100%;
    transition: all 0.3s;
}

.js-cs-item:hover {
    border-color: #10b981;
    /* Brand Green */
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.pp-cs-item-thumb img {
    width: 44px !important;
    height: 44px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}

.pp-cs-item-title {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.3 !important;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 4px !important;
}

.pp-cs-item-price {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #10b981 !important;
    /* Brand Green */
}

/* QTY & ADD TO CART BUTTONS */
.pp-cs-qty-selector {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    height: 32px;
    margin-top: 12px;
    overflow: hidden;
}

.pp-cs-qty-btn {
    width: 28px !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.pp-cs-qty-btn:hover {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}

.pp-cs-qty-input {
    width: 32px !important;
    background: transparent !important;
    border: none !important;
    text-align: center !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    padding: 0 !important;
}

.pp-cs-add-btn {
    height: 32px !important;
    min-width: 32px !important;
    background: #10b981 !important;
    color: #fff !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
    margin-left: 8px !important;
    flex: 1;
}

.pp-cs-add-btn:hover {
    background: #10b981 !important;
    /* Brand Green */
    transform: translateY(-1px);
}

.pp-cs-add-btn svg {
    width: 14px !important;
    height: 14px !important;
}

/* =========================================
   INSPIRATIONS MODAL STYLES
   ========================================= */
.pp-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pp-modal.active {
    opacity: 1;
    visibility: visible;
}

.pp-modal-content {
    background: #111;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.pp-modal-image-area {
    flex: 1;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pp-modal-sidebar {
    width: 350px;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #eee;
}

.pp-sidebar-header {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.pp-sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.pp-products-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9f9f9;
    scroll-behavior: smooth;
}

.pp-hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #C5A065;
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.pp-hotspot:hover,
.pp-hotspot.active {
    transform: translate(-50%, -50%) scale(1.4);
    background: #fff;
    border-color: #C5A065;
    z-index: 15;
}

.pp-prod-card {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none !important;
}

.pp-prod-card.active {
    border-color: #C5A065;
    background: #fffcf5;
    box-shadow: 0 8px 20px rgba(197, 160, 101, 0.2);
    transform: translateY(-2px);
}

.pp-prod-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pp-prod-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: #eee;
}

.pp-prod-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pp-prod-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 5px;
}

.pp-prod-price {
    color: #C5A065;
    font-weight: 700;
    font-size: 0.95rem;
}

.pp-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    color: #1a1a1a;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.pp-close-btn:hover {
    transform: scale(1.1);
    background: #f0f0f0;
}

@media (max-width: 1024px) {
    .pp-modal-content {
        flex-direction: column;
        height: 100vh;
        width: 100%;
        border-radius: 0;
    }

    .pp-modal-sidebar {
        width: 100%;
        height: 45%;
        order: 2;
    }

    .pp-modal-image-area {
        order: 1;
        height: 55%;
    }

    .pp-close-btn {
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
}