/* =========================================================================
   1. CALCULATOR STYLES (Organic Modern - Universal 1:1 Match)
   ========================================================================= */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap&subset=latin,latin-ext');

/* Main Wrapper */
.pp-calculator-module {
    margin-bottom: 2rem;
    font-family: var(--font-body);
    color: var(--color-dark);
    box-sizing: border-box;
}

.pp-calculator-module * {
    box-sizing: border-box;
}

/* --- THEME OVERRIDES --- */
.single-product .product-summary .quantity,
.single-product .summary .quantity,
.single-product .entry-summary .quantity,
.single-product .ux-quantity,
.single-product .quantity.buttons_added {
    display: none !important;
}

.single-product form.cart button.single_add_to_cart_button:not(.pp-uni-main-btn) {
    display: none !important;
}

.woocommerce-cart .quantity,
.woocommerce-mini-cart .quantity {
    display: block !important;
}

/* Card Container */
.pp-calculator-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-precision);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 12px;
}

/* --- HEADER --- */
.pp-acc-header {
    margin-bottom: 10px;
}

.pp-acc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.pp-acc-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pp-acc-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.pp-acc-stars svg {
    width: 14px;
    height: 14px;
    color: #fbbf24;
    fill: currentColor;
}

.pp-acc-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

@media (max-width: 767px) {
    .pp-acc-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.pp-acc-title-col {
    flex: 1;
}

.pp-acc-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    margin: 0 0 8px 0;
    letter-spacing: var(--ls-tight);
}

.pp-acc-specs {
    font-size: 13px;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.pp-sep {
    color: #cbd5e1;
}

.pp-acc-price-col {
    text-align: right;
    min-width: 140px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .pp-acc-price-col {
        text-align: left;
        min-width: 0;
        margin-top: 4px;
    }
}

.pp-acc-price-main {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
    letter-spacing: -1px;
}

.pp-acc-price-sub {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    font-weight: 500;
}

.pp-acc-price-main span.woocommerce-Price-amount {
    font-size: 1.75rem !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

/* --- TABS --- */
.pp-tabs-segmented {
    padding: 4px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.pp-tab-grad-box {
    display: flex;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2px;
    transition: all 0.3s ease;
}

.pp-tab-trigger {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pp-tab-trigger:hover {
    color: #1e293b;
    background: #f1f5f9;
}

.pp-tab-trigger.active {
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Pulsing Dot */
.pp-pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* --- CALCULATOR BODY --- */
.pp-calc-body {
    padding: 12px 20px 0 20px;
}

.pp-acc-input-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-bottom: 8px;
    padding-left: 4px;
}

.pp-input-clean-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 12px;
    margin-bottom: 24px;
}

.pp-clean-btn {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    border-radius: 12px;
    color: #64748b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.pp-clean-btn:active {
    transform: scale(0.92);
}

.pp-clean-btn:hover {
    border-color: #cbd5e1;
    color: #0f172a;
    background: #f8fafc;
}

.pp-clean-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.pp-input-gray-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    height: 100%;
    border: 1px solid transparent;
}

.pp-clean-input {
    width: 140px;
    text-align: center;
    border: none !important;
    background: transparent !important;
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

.pp-clean-input::-webkit-outer-spin-button,
.pp-clean-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pp-clean-unit {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 8px;
    padding: 5px;
}

/* Specific input overrides */
.pp-clean-input {
    height: 38px !important;
    font-size: 1.5rem !important;
}

.pp-clean-btn {
    width: 38px !important;
    height: 38px !important;
}

.pp-input-gray-box {
    height: 38px !important;
}

.pp-input-clean-row {
    gap: 6px !important;
    margin-bottom: 4px !important;
    height: 44px !important;
}

/* --- DARK SUMMARY (Container) --- */
.pp-summary-dark {
    background: #0f172a;
    color: white;
    padding: 24px;
    position: relative;
    border-top: 1px solid #1e293b;
}

@media (max-width: 480px) {
    .pp-summary-dark {
        padding: 16px;
    }
}

/* Summary Row Top */
.pp-summary-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pp-sum-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.pp-sum-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pp-sum-icon-box svg {
    width: 24px;
    height: 24px;
}

.pp-sum-text-col {
    display: flex;
    flex-direction: column;
    min-width: 160px;
}

.pp-sum-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 4px;
}

.pp-sum-value {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: white;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pp-sum-value strong {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

/* Waste Toggle */
.pp-waste-1to1-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    cursor: pointer;
}

.pp-waste-1to1-group:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pp-waste-text-col {
    text-align: right;
}

.pp-waste-highlight {
    font-size: 11px;
    font-weight: 800;
    color: #fbbf24 !important;
    text-transform: uppercase;
}

.pp-waste-sub {
    font-size: 10px;
    color: #94a3b8;
}

.pp-waste-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #64748b;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.pp-waste-checkbox:hover {
    border-color: #94a3b8;
}

.pp-waste-checkbox.active {
    background: #10b981;
    border-color: #10b981;
}

.pp-waste-checkbox.active::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Waste Toggle - Increased Hit Area for Mobile */
.pp-waste-1to1-group {
    min-height: 44px;
    /* Touch target refinement */
}

/* =========================================================================
   UNIVERSAL 1:1 LAYOUT (Desktop & Mobile) - THE FIX
   ========================================================================= */

.pp-uni-bottom-row {
    display: flex !important;
    gap: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 24px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    justify-content: space-between !important;
}

/* Price Box - Fixed Width 160px for Stability */
.pp-uni-price-box {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 0 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;

    /* Strict dimensions */
    flex: 0 0 160px !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    height: 48px !important;
    min-height: 48px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin-right: 0 !important;
}

.pp-uni-price-box .pp-sum-label {
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
}

.pp-uni-final-price {
    font-family: 'Manrope', sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: white !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Button Container - Fills Remaining Space */
.pp-uni-trigger-atc {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    height: 48px !important;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-precision) !important;
}

/* Adding to Cart Button - Forced Green */
button.pp-uni-main-btn,
.pp-uni-trigger-atc.button {
    width: 100% !important;
    max-width: none !important;
    font-size: 14px !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
    height: 100% !important;
    min-height: 48px !important;
    background-color: var(--color-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-precision) !important;
    /* Matches screenshot */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    opacity: 1 !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2) !important;
    margin: 0 !important;
    line-height: normal !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

button.pp-uni-main-btn::after,
.pp-uni-trigger-atc.button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    transition: 0.5s;
}

button.pp-uni-main-btn:hover::after,
.pp-uni-trigger-atc.button:hover::after {
    left: 100%;
}

button.pp-uni-main-btn:active {
    transform: scale(0.97);
}

button.pp-uni-main-btn:hover,
.pp-uni-trigger-atc.button:hover {
    background-color: var(--color-primary-hover) !important;
    opacity: 1 !important;
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.3) !important;
}

button.pp-uni-main-btn svg,
.pp-uni-trigger-atc svg {
    width: 20px !important;
    height: 20px !important;
    pointer-events: none;
}

/* Loading State for ATC Button */
.pp-uni-trigger-atc.loading {
    color: transparent !important;
    position: relative;
    pointer-events: none;
}

.pp-uni-trigger-atc.loading svg {
    opacity: 0 !important;
}

.pp-uni-trigger-atc.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: pp-spin 0.8s linear infinite;
}

@keyframes pp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer Section */
.pp-1to1-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pp-1to1-footer svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    color: #10b981;
}

/* --- MOBILE STICKY BAR (Redesigned 1:1) --- */
.pp-mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    /* Pure White */
    z-index: 9999;
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    border-top: 1px solid #f1f5f9;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.pp-mobile-sticky-bar.visible {
    transform: translateY(0);
}

/* Expandable Sheet (Hidden by default) */
.pp-sticky-sheet {
    max-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.pp-mobile-sticky-bar.expanded .pp-sticky-sheet {
    max-height: 85vh;
}

.pp-sheet-handle {
    width: 40px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 12px auto 8px auto;
}

.pp-sheet-header {
    background: #fff;
    padding: 4px 20px 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.pp-sheet-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

.pp-sheet-content {
    padding: 0 0 20px 0;
}

.pp-sheet-list {
    list-style: none;
    margin: 0;
    padding: 0 20px;
}

.pp-sheet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

.pp-sheet-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    padding-right: 12px;
}

.pp-sheet-qty {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

/* Sections & Cross-sell */
.pp-sheet-section {
    padding: 24px 20px 0 20px;
}

.pp-sheet-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.pp-section-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

.pp-section-badge {
    background: #fffbeb;
    color: #b45309;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.pp-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Cross-sell Card */
.pp-cross-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.pp-cross-card.active {
    border-color: #10b981;
    background: #f0fdf4;
}

.pp-cross-name {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    line-height: 1.3;
}

.pp-cross-price {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    margin-top: auto;
}

/* Tooltip / Hint Button */
.pp-sticky-tooltip {
    position: absolute;
    bottom: 80px;
    right: 16px;
    background: #0f172a;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: bounce-in 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    pointer-events: none;
}

.pp-sticky-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 32px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #0f172a;
}

@keyframes bounce-in {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Main Content Row */
.pp-sticky-inner {
    padding: 10px 16px 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    position: relative;
    /* Height adjusts automatically */
}

/* Drag Handle */
.pp-sticky-drag-handle {
    width: 36px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    margin: 0 auto;
    cursor: pointer;
    transition: background 0.2s;
}

.pp-sticky-drag-handle:hover {
    background: #94a3b8;
}

/* Controls Container */
.pp-sticky-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Quantity Stepper */
.pp-sticky-qty {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.pp-qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #475569;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    padding: 0;
}

.pp-qty-btn:active {
    transform: scale(0.92);
    background: #f8fafc;
}

.pp-qty-display {
    width: 36px !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    font-family: 'Inter', sans-serif !important;
    color: #0f172a !important;
    background: transparent !important;
    border: none !important;
    -moz-appearance: textfield !important;
    pointer-events: none !important;
    padding: 0 !important;
    height: auto !important;
    box-shadow: none !important;
}

.pp-qty-display::-webkit-outer-spin-button,
.pp-qty-display::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Merged CTA Button */
.pp-merged-cta {
    flex: 1 1 auto;
    height: 48px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    width: 100% !important;
}

.pp-merged-cta:active {
    transform: translateY(2px) scale(0.98) !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3) !important;
}

.pp-sticky-btn-price {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.pp-sticky-btn-price .amount {
    color: #fff !important;
    font-weight: 800 !important;
}

.pp-sticky-btn-sep {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin: 0 8px;
    flex-shrink: 0;
}

.pp-sticky-btn-text {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    pointer-events: none;
}

.pp-sticky-btn-text svg {
    margin: 0;
}

/* --- FREE SHIPPING BAR INTEGRATION --- */
/* Push the global shipping bar above the sticky Add to Cart bar on Mobile */
@media (max-width: 849px) {
    body.single-product .pp-global-shipping-bar {
        bottom: 84px !important;
        transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body.single-product.is-sticky-bar-hidden .pp-global-shipping-bar {
        bottom: 0 !important;
    }
}

/* =========================================
   MOBILE OVERRIDES (Static Summary Widths)
   ========================================= */
@media (max-width: 480px) {

    /* Force Single Line */
    .pp-uni-bottom-row {
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .pp-uni-price-box {
        flex: 0 0 125px !important;
        width: auto !important;
        min-width: 125px !important;
        margin-right: 0 !important;
        padding: 0 8px !important;
    }

    .pp-uni-trigger-atc {
        flex: 1 1 auto !important;
        width: auto !important;
    }

    .pp-uni-final-price {
        font-size: 20px !important;
    }

    .pp-atc-text {
        font-size: 12px !important;
    }

    .pp-atc-icon-box {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
    }


    /* Hide Unwanted Arrows near Contact Box */
    .pp-contact-box::before,
    .pp-contact-box::after,
    .pp-essentials-list+div::before,
    .pp-essentials-list+div::after {
        display: none !important;
        content: none !important;
    }
}

/* Close @media (max-width: 480px) */

/* =========================================================================
   PRODUCT GALLERY ZOOM (Listing)
   ========================================================================= */
.pp-zoom-pos {
    position: absolute !important;
    z-index: 30 !important;
    padding: 8px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(4px);
    border-radius: 50% !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
}

.pp-zoom-pos:hover {
    color: #059669 !important;
    background-color: #fff !important;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.pp-card-image,
.pp-loop-gallery-wrapper {
    position: relative !important;
    overflow: hidden !important;
}

.pp-gallery-zoom.pp-zoom-pos {
    position: absolute !important;
    z-index: 30 !important;
    padding: 0 !important;
    background-color: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    top: auto !important;
    bottom: 12px !important;
    right: 12px !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
}

.pp-gallery-zoom.pp-zoom-pos svg {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
}

.pp-gallery-zoom.pp-zoom-pos:hover {
    color: #059669 !important;
    transform: scale(1.1) !important;
}

/* DESKTOP SPECIFIC (Hover Effect) */
@media (min-width: 1024px) {
    .pp-gallery-zoom.pp-zoom-pos {
        opacity: 0 !important;
        bottom: 12px !important;
        right: 12px !important;
    }

    .pp-product-card:hover .pp-gallery-zoom.pp-zoom-pos,
    .group\/gallery:hover .pp-gallery-zoom.pp-zoom-pos {
        opacity: 1 !important;
    }
}

/* MOBILE SPECIFIC */
@media (max-width: 1023px) {
    .pp-gallery-zoom.pp-zoom-pos {
        opacity: 1 !important;
        bottom: 15px !important;
        right: 15px !important;
        width: 32px !important;
        height: 32px !important;
    }
}

.pp-mobile-sticky {
    display: flex !important;
}