/* ==========================================================================
   ENTERPRISE PRODUCT DETAILS PAGE (PDP) STYLES — RaRa Deals v3.0
   Premium Marketplace | 3-Column Grid | Enterprise UI
   ========================================================================== */

/* ── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
    /* Spacing System (8-point) */
    --sp-1: 8px;
    --sp-2: 12px;
    --sp-3: 16px;
    --sp-4: 20px;
    --sp-5: 24px;
    --sp-6: 32px;
    --sp-7: 48px;

    /* PDP Grid */
    --pdp-max-width: 1440px;
    --pdp-padding: 24px;
    --pdp-gap: 20px;
    --col-left: 31%;
    --col-center: 44%;
    --col-right: 25%;

    /* Gallery */
    --gallery-thumb-size: 68px;
    --gallery-thumb-gap: 10px;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-card: 0 2px 12px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 8px 28px rgba(15, 23, 42, 0.10);
    --shadow-btn: 0 4px 14px rgba(109, 40, 217, 0.22);
}

/* ── PAGE WRAPPER ───────────────────────────────────────────────────────── */
.rara-pdp {
    background-color: #F5F6FA !important;
    color: var(--rara-text);
    font-family: var(--font-body);
    padding: 0 0 80px 0;
}

/* Remove Astra layout overrides for single product */
body.single-product #primary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}
body.single-product #content .ast-container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
body.single-product .rara-container {
    max-width: var(--pdp-max-width) !important;
    width: 100% !important;
    margin-inline: auto !important;
    padding-inline: var(--pdp-padding) !important;
    box-sizing: border-box !important;
}

/* ── BREADCRUMBS ────────────────────────────────────────────────────────── */
.rara-product-breadcrumbs {
    padding: 16px 0 12px 0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--rara-muted) !important;
    margin-bottom: 12px !important;
}
.rara-product-breadcrumbs a {
    color: var(--rara-muted) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.15s ease;
}
.rara-product-breadcrumbs a:hover { color: var(--rara-primary) !important; }
.rara-product-breadcrumbs span:last-child {
    font-weight: 700 !important;
    color: var(--rara-text) !important;
}

/* ── THREE-COLUMN GRID ──────────────────────────────────────────────────── */
.rara-pdp-grid {
    display: grid;
    grid-template-columns: var(--col-left) var(--col-center) var(--col-right);
    gap: var(--pdp-gap);
    align-items: start;
    margin-bottom: 48px;
    width: 100%;
}
.rara-pdp-col-left,
.rara-pdp-col-center,
.rara-pdp-col-right {
    min-width: 0;
    box-sizing: border-box;
}
.rara-pdp-col-left > *:first-child,
.rara-pdp-col-center > *:first-child,
.rara-pdp-col-right > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ── SHARED CARD PANEL ──────────────────────────────────────────────────── */
.rara-pdp-card {
    background: #ffffff;
    border: 1px solid var(--rara-border);
    border-radius: 16px;
    padding: var(--sp-5);
    margin-bottom: var(--sp-5);
    box-shadow: var(--shadow-card);
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}
.rara-pdp-card:hover { box-shadow: var(--shadow-hover); }

/* ── STICKY RIGHT SIDEBAR ───────────────────────────────────────────────── */
.rara-pdp-col-right {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    z-index: 10;
    scrollbar-width: thin;
    scrollbar-color: var(--rara-border) transparent;
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}
.rara-pdp-col-right::-webkit-scrollbar { width: 4px; }
.rara-pdp-col-right::-webkit-scrollbar-thumb {
    background: var(--rara-border);
    border-radius: 3px;
}

/* ── 1. GALLERY CONTAINER ───────────────────────────────────────────────── */
.rara-pdp-gallery-container {
    width: 100%;
}
.rara-pdp-gallery {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    margin-bottom: 16px;
}

/* Thumbnail Strip — Vertical Left */
.rara-pdp-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: var(--gallery-thumb-gap);
    width: var(--gallery-thumb-size);
    flex-shrink: 0;
    min-height: 0;
}
.rara-pdp-gallery__thumb {
    width: var(--gallery-thumb-size);
    height: var(--gallery-thumb-size);
    min-height: var(--gallery-thumb-size);
    border: 2px solid var(--rara-border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #F5F5F8;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Ensure visible even for placeholder images */
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}
.rara-pdp-gallery__thumb:hover,
.rara-pdp-gallery__thumb--active {
    border-color: var(--rara-primary);
    box-shadow: 0 0 0 2px rgba(109,40,217,0.15);
}
.rara-pdp-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* Main Image Panel */
.rara-pdp-gallery__main-wrap {
    flex: 1;
    position: relative;
    border: 1.5px solid var(--rara-border);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    min-height: 280px; /* prevent collapse if image fails to load */
}
.rara-pdp-gallery__main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.rara-pdp-gallery__main-wrap:hover .rara-pdp-gallery__main {
    transform: scale(1.04);
}

/* Lens / Zoom Overlay */
.rara-pdp-gallery__zoom {
    position: absolute;
    inset: 0;
    background-size: 200%;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 5;
}
.rara-pdp-gallery__main-wrap:hover .rara-pdp-gallery__zoom { opacity: 1; }

/* Discount & Savings Badge — Top-Left */
.rara-pdp-gallery__discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
    z-index: 6;
}
.rara-pdp-gallery__discount-percent {
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 8px;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}
.rara-pdp-gallery__discount-save {
    background: #0f172a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* Gallery Dots Indicator (Mobile) */
.rara-pdp-gallery__dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 10px 0 6px 0;
}
.rara-pdp-gallery__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.rara-pdp-gallery__dot--active {
    background: #7c3aed;
    width: 20px;
    border-radius: 10px;
}

/* Zoom Icon — Top-Right (always visible, no hover-only) */
.rara-pdp-gallery__zoom-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rara-muted);
    z-index: 6;
    opacity: 1; /* always visible */
    transition: all 0.2s ease;
    cursor: zoom-in;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.rara-pdp-gallery__main-wrap:hover .rara-pdp-gallery__zoom-icon {
    background: rgba(255,255,255,1);
    color: var(--rara-primary);
}

/* Image Counter — Bottom-Right */
.rara-pdp-gallery__counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.65);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 6;
    pointer-events: none;
}

/* Trust Badges Row Below Gallery */
.rara-pdp-gallery__trust-row {
    display: flex;
    gap: 0;
    border: 1px solid var(--rara-border);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow-card);
}
.rara-pdp-gallery__trust-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    border-right: 1px solid var(--rara-border);
    font-size: 11px;
    color: var(--rara-text-sec);
    transition: background 0.15s ease;
}
.rara-pdp-gallery__trust-item:last-child { border-right: none; }
.rara-pdp-gallery__trust-item:hover { background: #f9f9ff; }
.rara-pdp-gallery__trust-item svg {
    color: var(--rara-primary);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}
.rara-pdp-gallery__trust-text { display: flex; flex-direction: column; gap: 1px; }
.rara-pdp-gallery__trust-text strong {
    font-weight: 700;
    color: var(--rara-text);
    font-size: 11px;
    line-height: 1.2;
}
.rara-pdp-gallery__trust-text span {
    font-size: 10px;
    color: var(--rara-muted);
}

/* Lightbox Modal */
/* ── Premium Enterprise E-Commerce Image Lightbox Viewer ──────────────────── */
.rara-pdp-lightbox {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147483647 !important; /* Maximum possible integer z-index in CSS */
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(6, 7, 12, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.rara-pdp-lightbox--open {
    display: flex !important;
    opacity: 1 !important;
}

.rara-pdp-lightbox__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Header Controls Bar */
.rara-pdp-lightbox__header {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 20;
    position: relative;
    pointer-events: auto;
}

.rara-pdp-lightbox__counter {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 99px;
    padding: 6px 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    user-select: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.rara-pdp-lightbox__header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 72px; /* Leaves space for the fixed floating close button */
}

.rara-pdp-lightbox__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
    padding: 0;
}

.rara-pdp-lightbox__btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.06);
}

.rara-pdp-lightbox__btn:active {
    transform: scale(0.95);
}

/* ── Close Button (Top-Right Fixed Floating Circle - Guaranteed 100% Visible) ── */
.rara-pdp-lightbox__close {
    position: fixed !important;
    top: 20px !important;
    right: 24px !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
    color: #111111 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 2147483647 !important; /* Maximum possible integer z-index in CSS */
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    padding: 0 !important;
}

.rara-pdp-lightbox__close:hover {
    background: #7C3AED !important;
    border-color: #7C3AED !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(90deg) !important;
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.5) !important;
}

.rara-pdp-lightbox__close:active {
    transform: scale(0.95) rotate(90deg) !important;
}

/* Viewport Stage & Main Display Image */
.rara-pdp-lightbox__viewport {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    z-index: 10;
}

.rara-pdp-lightbox__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: zoom-in;
    user-select: none;
}

.rara-pdp-lightbox__stage--zoomed {
    cursor: grab;
}

.rara-pdp-lightbox__stage--dragging {
    cursor: grabbing !important;
    transition: none !important;
}

.rara-pdp-lightbox__img {
    max-width: 70vw !important;
    max-height: 65vh !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.7)) !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    transition: transform 0.25s ease, opacity 0.2s ease !important;
    will-change: transform;
    margin: auto !important;
}

/* Spinner Loader */
.rara-pdp-lightbox__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    display: none;
}

.rara-pdp-lightbox__spinner-ring {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: raraLightboxSpin 0.8s linear infinite;
}

@keyframes raraLightboxSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Side Navigation Arrows */
.rara-pdp-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    outline: none;
    padding: 0;
}

.rara-pdp-lightbox__nav--prev { left: 24px; }
.rara-pdp-lightbox__nav--next { right: 24px; }

.rara-pdp-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.08);
}

.rara-pdp-lightbox__nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Footer Thumbnail Navigation Strip */
.rara-pdp-lightbox__footer {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    padding: 10px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.rara-pdp-lightbox__thumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 8px;
}

.rara-pdp-lightbox__thumbs::-webkit-scrollbar {
    display: none !important;
}

.rara-pdp-lightbox__thumb {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #000000;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    padding: 0;
    outline: none;
}

.rara-pdp-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.rara-pdp-lightbox__thumb:hover {
    opacity: 0.9;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.rara-pdp-lightbox__thumb--active {
    border-color: #7C3AED !important;
    opacity: 1 !important;
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.6) !important;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .rara-pdp-lightbox__img {
        max-width: 95vw;
        max-height: 80vh;
    }
    .rara-pdp-lightbox__nav--prev { left: 16px; }
    .rara-pdp-lightbox__nav--next { right: 16px; }
}

@media (max-width: 768px) {
    .rara-pdp-lightbox__header {
        height: 56px;
        padding: 0 16px;
    }
    .rara-pdp-lightbox__img {
        max-width: 100vw;
        max-height: 82vh;
        border-radius: 0;
    }
    .rara-pdp-lightbox__nav {
        width: 44px;
        height: 44px;
    }
    .rara-pdp-lightbox__nav--prev { left: 10px; }
    .rara-pdp-lightbox__nav--next { right: 10px; }
    .rara-pdp-lightbox__footer {
        height: 72px;
        padding: 6px 12px;
    }
    .rara-pdp-lightbox__thumb {
        width: 46px;
        height: 46px;
        border-radius: 8px;
    }
}

/* ── 2. STICKY NAV BAR ──────────────────────────────────────────────────── */
.rara-pdp-nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rara-border);
    z-index: 100;
    margin-bottom: 24px;
    display: flex;
    gap: 32px;
    padding: 14px 0;
}
.rara-pdp-nav__link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--rara-muted);
    text-decoration: none !important;
    position: relative;
    padding-bottom: 10px;
    transition: color 0.18s ease;
}
.rara-pdp-nav__link:hover,
.rara-pdp-nav__link--active { color: var(--rara-primary); }
.rara-pdp-nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--rara-primary);
    border-radius: 2px;
}

/* ── 3. PRODUCT HEADER BLOCK ────────────────────────────────────────────── */
.rara-pdp-header-block {
    margin-bottom: var(--sp-3);
}

/* Brand + Official Store Badge Row */
.rara-pdp-brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.rara-pdp-brand-lbl {
    font-size: 13px;
    font-weight: 500;
    color: var(--rara-muted);
}
.rara-pdp-brand-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--rara-primary);
    text-decoration: none;
}
.rara-pdp-brand-val:hover { text-decoration: underline; }
.rara-pdp-official-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1D4ED8;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}
.rara-pdp-official-badge svg { width: 10px; height: 10px; }

/* SKU Row */
.rara-pdp-sku-row {
    font-size: 11px;
    color: var(--rara-muted);
    margin-bottom: 8px;
}
.rara-pdp-sku-val {
    font-weight: 600;
    color: var(--rara-text-sec);
}

/* Product Title */
.rara-pdp-title {
    font-family: var(--font-heading) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    color: var(--rara-text) !important;
    margin: 0 0 12px 0 !important;
}

/* Category Path */
.rara-pdp-category-path {
    font-size: 11px;
    font-weight: 600;
    color: var(--rara-muted);
    margin-bottom: 6px;
}
.rara-pdp-category-path a {
    color: var(--rara-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}
.rara-pdp-category-path a:hover { color: var(--rara-primary); }

/* ── 4. META ROW (Ratings / Reviews / Sold) ─────────────────────────────── */
.rara-pdp-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--rara-muted);
    border-bottom: 1px solid var(--rara-border);
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.rara-pdp-meta-item { display: flex; align-items: center; gap: 5px; }
.rara-pdp-rating-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    color: #F59E0B;
    font-size: 13px;
}
.rara-pdp-rating-val { font-weight: 700; color: var(--rara-text); }
.rara-pdp-review-count { font-weight: 600; }
.rara-pdp-sold-count { font-weight: 600; }
.rara-pdp-meta-bullet { color: var(--rara-border); font-size: 10px; }

/* ── 5. PRICING BLOCK ───────────────────────────────────────────────────── */
.rara-pdp-pricing-block {
    margin-bottom: var(--sp-4);
}

/* Flash Deal Bar */
.rara-pdp-flash-promo-bar {
    margin-bottom: 12px;
}
.rara-pdp-flash-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.rara-pdp-flash-timer-wrap {
    background: linear-gradient(135deg, #991b1b, #7f1d1d);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239,68,68,0.2);
}
.rara-pdp-flash-timer-lbl {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.rara-pdp-timer {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #F59E0B;
}

/* Price Row */
.rara-pdp-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.rara-pdp-price--sale {
    font-family: var(--font-heading) !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    color: var(--rara-primary) !important;
    line-height: 1 !important;
}
.rara-pdp-price--regular {
    font-size: 16px !important;
    color: var(--rara-muted) !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}
.rara-pdp-price--discount {
    background: #FEE2E2 !important;
    color: #EF4444 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    align-self: center;
}
.rara-pdp-save {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #16A34A;
    margin-top: 4px;
}
.rara-pdp-lowest-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #16A34A;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 8px;
}

/* ── 6. VARIATION SWATCHES ──────────────────────────────────────────────── */
.rara-pdp-variations { margin-bottom: 16px; }
.rara-pdp-variation-row { margin-bottom: 12px; }
.rara-pdp-variation-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--rara-text);
    margin-bottom: 8px;
    display: block;
}
.rara-pdp-variation-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.rara-pdp-variation-btn {
    background: #ffffff;
    border: 1.5px solid var(--rara-border);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--rara-text-sec);
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1;
}
.rara-pdp-variation-btn:hover {
    border-color: var(--rara-primary);
    color: var(--rara-primary);
}
.rara-pdp-variation-btn--active {
    background: var(--rara-primary);
    border-color: var(--rara-primary);
    color: #ffffff;
}

/* ── 7. QUANTITY STEPPER ────────────────────────────────────────────────── */
.rara-pdp-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.rara-pdp-qty-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--rara-text);
    flex-shrink: 0;
}
.rara-pdp-qty-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--rara-border);
    border-radius: 10px;
    overflow: hidden;
    height: 44px;
}
.rara-pdp-qty-btn {
    width: 40px;
    height: 100%;
    background: #FAFAFC;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--rara-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease;
}
.rara-pdp-qty-btn:hover { background: #F0EDFF; color: var(--rara-primary); }
.rara-pdp-qty-input {
    width: 48px;
    height: 100%;
    border: none !important;
    border-left: 1px solid var(--rara-border) !important;
    border-right: 1px solid var(--rara-border) !important;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--rara-text);
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff;
}

/* ── 8. PURCHASE ACTION BUTTONS ─────────────────────────────────────────── */
.rara-pdp-actions-block { width: 100%; }
.rara-pdp-wc-form-wrapper { width: 100%; }

/* WooCommerce Cart Form — Row Layout */
form.cart,
.woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 16px !important;
}
form.cart .variations,
form.cart .single_variation_wrap {
    flex: 1 1 100% !important;
    width: 100% !important;
}

/* ── Enterprise Rounded Rectangle Variations Box Styling ── */
body.single-product table.variations,
body.single-product form.variations_form table.variations,
body.single-product .rara-pdp-wc-form-wrapper table.variations {
    display: table !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.single-product table.variations td.label {
    padding: 12px 16px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #374151 !important;
    background: #f3f4f6 !important;
    border-right: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
    vertical-align: middle !important;
    width: 30% !important;
    white-space: nowrap !important;
}

body.single-product table.variations td.value {
    padding: 10px 16px !important;
    border-bottom: 1px solid #e5e7eb !important;
    vertical-align: middle !important;
}

body.single-product table.variations tr:last-child td.label,
body.single-product table.variations tr:last-child td.value {
    border-bottom: none !important;
}

body.single-product table.variations select {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    font-size: 14px !important;
    color: #1f2937 !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

body.single-product table.variations select:focus {
    border-color: var(--rara-primary, #6d28d9) !important;
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.15) !important;
}

form.cart .quantity { display: none !important; }


/* Add to Cart — Purple Primary */
form.cart .single_add_to_cart_button,
form.cart button[type="submit"] {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    height: 52px !important;
    font-family: var(--font-heading) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    background: var(--rara-primary) !important;
    border: none !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: var(--shadow-btn) !important;
    white-space: nowrap !important;
    padding: 0 20px !important;
}
form.cart .single_add_to_cart_button:hover {
    background: var(--rara-secondary) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(109,40,217,0.32) !important;
}

/* Buy Now — Red/Coral */
.rara-pdp-btn--buy {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    height: 52px !important;
    font-family: var(--font-heading) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    background: #FFF5F5 !important;
    border: 1.5px solid #FCA5A5 !important;
    color: #EF4444 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
    padding: 0 20px !important;
}
.rara-pdp-btn--buy svg { flex-shrink: 0; width: 16px; height: 16px; stroke: currentColor; }
.rara-pdp-btn--buy:hover {
    background: #FEE2E2 !important;
    border-color: #EF4444 !important;
    transform: translateY(-1px) !important;
}

/* Wishlist — Compact Square Icon Button */
.rara-pdp-actions-extras { display: none !important; }
.rara-pdp-wishlist-action-btn {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid var(--rara-border) !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    color: var(--rara-muted) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}
.rara-pdp-wishlist-action-btn:hover {
    border-color: var(--rara-primary) !important;
    color: var(--rara-primary) !important;
    background: #FAF7FF !important;
}
.rara-pdp-wishlist-action-btn.rara-card__wishlist-btn--active {
    background: #F3E8FF !important;
    border-color: var(--rara-primary) !important;
    color: var(--rara-primary) !important;
}
.rara-pdp-wishlist-action-btn.rara-card__wishlist-btn--active svg {
    fill: var(--rara-primary) !important;
}

/* ── 9. SHARE BUTTONS ───────────────────────────────────────────────────── */
.rara-pdp-share-block {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--rara-border);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.rara-pdp-share-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--rara-muted);
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rara-pdp-share-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}
.rara-pdp-share-btn {
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 20px;
    border: 1.5px solid var(--rara-border);
    background: #ffffff;
    color: var(--rara-text-sec);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    line-height: 1;
    white-space: nowrap;
}
.rara-pdp-share-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
/* Copy Link */
.rara-pdp-share-btn--copy {
    border-color: #7c3aed;
    color: #7c3aed;
    background: #faf7ff;
}
.rara-pdp-share-btn--copy:hover {
    background: #7c3aed;
    color: #ffffff;
}
/* Facebook */
.rara-pdp-share-btn--facebook { border-color: #1877F2; color: #1877F2; }
.rara-pdp-share-btn--facebook:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
/* WhatsApp */
.rara-pdp-share-btn--whatsapp { border-color: #25D366; color: #25D366; }
.rara-pdp-share-btn--whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
/* X (Twitter) */
.rara-pdp-share-btn--x { border-color: #000000; color: #000000; }
.rara-pdp-share-btn--x:hover { background: #000000; color: #fff; border-color: #000000; }
/* Threads */
.rara-pdp-share-btn--threads { border-color: #101010; color: #101010; }
.rara-pdp-share-btn--threads:hover { background: #101010; color: #fff; border-color: #101010; }
/* Instagram */
.rara-pdp-share-btn--instagram { border-color: #E1306C; color: #E1306C; }
.rara-pdp-share-btn--instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; border-color: #E1306C; }
/* Email */
.rara-pdp-share-btn--email { border-color: #EA4335; color: #EA4335; }
.rara-pdp-share-btn--email:hover { background: #EA4335; color: #fff; border-color: #EA4335; }
/* SMS / Message */
.rara-pdp-share-btn--sms { border-color: #34C759; color: #34C759; }
.rara-pdp-share-btn--sms:hover { background: #34C759; color: #fff; border-color: #34C759; }


/* ── 10. PRODUCT HIGHLIGHTS ─────────────────────────────────────────────── */
.rara-pdp-highlights-wrap {
    background: #ffffff;
    border: 1px solid var(--rara-border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-card);
    margin-top: 20px;
}
.rara-pdp-highlights-title {
    font-family: var(--font-heading) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--rara-text) !important;
    margin: 0 0 12px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid var(--rara-border) !important;
}
.rara-pdp-highlights-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
}
.rara-pdp-highlight-bullet {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rara-text-sec);
    line-height: 1.4;
}
.rara-pdp-highlight-check {
    color: #16A34A;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── 11. PREMIUM TABS (Description/Specs/Reviews/Q&A) ──────────────────── */

/* Full-width wrapper rendered below the 3-column grid */
.rara-pdp-tabs-fullwidth {
    width: 100%;
    margin-bottom: 32px;
}
.rara-pdp-tabs-fullwidth .rara-pdp-tabs-container {
    margin-top: 0;
    border-radius: 16px;
}

.rara-pdp-tabs-container {
    margin-top: 24px;
    background: #ffffff;
    border: 1px solid var(--rara-border);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.rara-pdp-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--rara-border);
    background: #FAFAFC;
    overflow-x: auto;
    scrollbar-width: none;
}
.rara-pdp-tabs-nav::-webkit-scrollbar { display: none; }
.rara-pdp-tab-btn {
    padding: 14px 22px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--rara-muted);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color 0.18s ease;
    flex-shrink: 0;
}
.rara-pdp-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--rara-primary);
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform 0.22s ease;
}
.rara-pdp-tab-btn:hover { color: var(--rara-primary); }
.rara-pdp-tab-btn.active { color: var(--rara-primary); }
.rara-pdp-tab-btn.active::after { transform: scaleX(1); }
.rara-pdp-tab-count {
    display: inline-block;
    background: var(--rara-border);
    color: var(--rara-muted);
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
}
.rara-pdp-tab-btn.active .rara-pdp-tab-count {
    background: #EDE9FE;
    color: var(--rara-primary);
}
.rara-pdp-tab-panel {
    display: none;
    padding: 24px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--rara-text-sec);
    min-height: 120px;
}
.rara-pdp-tab-panel.active { display: block; }
.rara-pdp-tab-panel h2,
.rara-pdp-tab-panel h3 {
    font-family: var(--font-heading);
    color: var(--rara-text);
    margin-top: 20px;
    margin-bottom: 8px;
}

/* Accordion (kept for backwards compatibility in Q&A/reviews loaded AJAX) */
.rara-pdp-accordion { margin-top: 0; }
.rara-pdp-accordion-item {
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.rara-pdp-accordion-header {
    padding: 0 !important;
    font-family: var(--font-heading) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--rara-text) !important;
    cursor: pointer !important;
    list-style: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.rara-pdp-accordion-header::-webkit-details-marker { display: none; }
.rara-pdp-accordion-icon::after {
    content: '\25BC';
    font-size: 10px;
    color: var(--rara-muted);
    transition: transform 0.22s ease;
    display: inline-block;
}
details[open] .rara-pdp-accordion-icon::after { transform: rotate(180deg); }
.rara-pdp-accordion-content {
    padding: 12px 0 0 0 !important;
    background: transparent !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    color: var(--rara-text-sec) !important;
}

/* Loading skeleton */
.rara-pdp-accordion-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    font-weight: 600;
    color: var(--rara-muted);
    font-size: 13px;
}
.rara-pdp-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--rara-border);
    border-top-color: var(--rara-primary);
    border-radius: 50%;
    animation: rara-spin 0.6s linear infinite;
    flex-shrink: 0;
}
@keyframes rara-spin { to { transform: rotate(360deg); } }

/* ── 12. SPECIFICATIONS TABLE ───────────────────────────────────────────── */
.rara-pdp-specs__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.rara-pdp-specs__row {
    border-bottom: 1px solid var(--rara-border);
    transition: background 0.15s ease;
}
.rara-pdp-specs__row:nth-child(even) { background: #F8FAFC; }
.rara-pdp-specs__row:hover { background: #FAF7FF; }
.rara-pdp-specs__label {
    width: 32%;
    padding: 11px 14px;
    font-weight: 700;
    color: var(--rara-text-sec);
    text-align: left;
    vertical-align: top;
}
.rara-pdp-specs__value {
    padding: 11px 14px;
    color: var(--rara-text);
}

/* ── 13. STOCK ──────────────────────────────────────────────────────────── */
.rara-pdp-stock-sku-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.rara-pdp-stock-status {
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
}
.rara-pdp-stock--instock { background: #DCFCE7; color: #15803D; }
.rara-pdp-stock--outofstock { background: #FEE2E2; color: #B91C1C; }
.rara-pdp-sku { color: var(--rara-muted); font-weight: 500; }

/* ── 14. DELIVERY CARD ──────────────────────────────────────────────────── */
.rara-pdp-delivery-card {
    background: #ffffff !important;
    border: 1px solid var(--rara-border) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: var(--shadow-card) !important;
    margin-bottom: 0 !important;
}
.rara-pdp-delivery__title-main {
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--rara-text) !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid var(--rara-border) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rara-pdp-delivery__title-main svg { color: var(--rara-primary); }
.rara-pdp-delivery__selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    background: #FAFAFC;
    border: 1px solid var(--rara-border);
    border-radius: 10px;
    padding: 0 12px;
}
.rara-pdp-delivery__icon { color: var(--rara-primary); flex-shrink: 0; }
.rara-pdp-delivery__select {
    flex: 1;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--rara-text);
    outline: none;
    cursor: pointer;
}
.rara-pdp-delivery__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.rara-pdp-delivery__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #F1F3F7;
}
.rara-pdp-delivery__item:last-child { border-bottom: none; padding-bottom: 0; }
.rara-pdp-delivery__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
}
.rara-pdp-delivery__lbl {
    font-size: 12px;
    color: var(--rara-muted);
    font-weight: 600;
    flex-shrink: 0;
    line-height: 1.4;
}
.rara-pdp-delivery__val {
    font-size: 13px;
    color: var(--rara-text);
    font-weight: 700;
    text-align: right;
    line-height: 1.4;
}

/* ── 15. SELLER CARD ────────────────────────────────────────────────────── */
.rara-pdp-seller {
    background: #ffffff !important;
    border: 1px solid var(--rara-border) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: var(--shadow-card) !important;
    margin-bottom: 0 !important;
}
.rara-pdp-seller__title-main {
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--rara-text) !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid var(--rara-border) !important;
}
.rara-pdp-seller__header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 14px;
}
.rara-pdp-seller__logo-wrap,
.rara-pdp-seller__logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    min-height: 48px;
    max-height: 48px;
    flex: 0 0 48px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid var(--rara-border);
    object-fit: cover;
    aspect-ratio: 1 / 1;
}
.rara-pdp-seller__header-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.rara-pdp-seller__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--rara-text);
    text-decoration: none !important;
    transition: color 0.2s ease;
    line-height: 1.2;
}
.rara-pdp-seller__name:hover { color: var(--rara-primary); }
.rara-pdp-seller__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #16A34A;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    padding: 2px 8px;
    border-radius: 20px;
}
.rara-pdp-seller__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rara-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}
.rara-pdp-seller__stats > div {
    background: #FAFAFC;
    padding: 12px 8px;
    text-align: center;
}
.rara-pdp-seller__stat-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--rara-text);
    line-height: 1;
    margin-bottom: 3px;
}
.rara-pdp-seller__stat-lbl {
    font-size: 10px;
    color: var(--rara-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.rara-pdp-seller__details-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 12px;
}
.rara-pdp-seller__detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #F5F5F5;
}
.rara-pdp-seller__detail-row:last-child { border-bottom: none; }
.rara-pdp-seller__detail-row span { color: var(--rara-muted); font-weight: 500; }
.rara-pdp-seller__detail-row strong { color: var(--rara-text); }
.rara-pdp-seller__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.rara-pdp-seller__btn {
    height: 42px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.rara-pdp-seller__btn svg { width: 14px; height: 14px; }
.rara-pdp-seller__btn--visit {
    background: #ffffff;
    border: 1.5px solid var(--rara-border);
    color: var(--rara-text-sec);
}
.rara-pdp-seller__btn--visit:hover {
    border-color: var(--rara-primary);
    color: var(--rara-primary);
    background: #FAF7FF;
}
.rara-pdp-seller__btn--chat {
    background: #EDE9FE;
    border: 1.5px solid #DDD6FE;
    color: var(--rara-primary);
}
.rara-pdp-seller__btn--chat:hover {
    background: var(--rara-primary);
    color: #ffffff;
    border-color: var(--rara-primary);
}

/* ── 16. FLASH DEAL / STOCK ─────────────────────────────────────────────── */
.rara-pdp-stock-progress {
    height: 7px;
    background: #F1F5F9;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 6px;
    width: 130px;
}
.rara-pdp-stock-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #F59E0B, #EF4444);
    border-radius: 4px;
}

/* ── 17. REVIEWS ────────────────────────────────────────────────────────── */
.rara-pdp-reviews-summary {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    margin-bottom: 32px;
    align-items: center;
}
.rara-pdp-reviews-avg {
    text-align: center;
    background: #FAFAFC;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--rara-border);
}
.rara-pdp-reviews-score {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 900;
    color: var(--rara-text);
    line-height: 1;
    margin-bottom: 8px;
}
.rara-pdp-reviews-stars-row {
    display: flex;
    justify-content: center;
    color: #F59E0B;
    margin-bottom: 4px;
}
.rara-pdp-reviews-total { font-size: 11px; color: var(--rara-muted); }
.rara-pdp-reviews-bars { display: flex; flex-direction: column; gap: 7px; }
.rara-pdp-reviews-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--rara-muted);
}
.rara-pdp-reviews-bar-lbl { width: 45px; text-align: right; font-weight: 600; }
.rara-pdp-reviews-bar-track {
    flex: 1;
    height: 7px;
    background: var(--rara-border);
    border-radius: 4px;
    overflow: hidden;
}
.rara-pdp-reviews-bar-fill { height: 100%; background: #F59E0B; border-radius: 4px; }
.rara-pdp-reviews-bar-val { width: 36px; font-weight: 600; }
.rara-pdp-reviews-list { display: flex; flex-direction: column; gap: 18px; }
.rara-pdp-review-card {
    border-bottom: 1px solid var(--rara-border);
    padding-bottom: 18px;
}
.rara-pdp-review-card:last-child { border-bottom: none; padding-bottom: 0; }
.rara-pdp-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.rara-pdp-review-author { font-weight: 700; font-size: 13px; color: var(--rara-text); }
.rara-pdp-review-stars { color: #F59E0B; display: flex; gap: 2px; }
.rara-pdp-review-verified {
    font-size: 10px;
    font-weight: 700;
    color: #16A34A;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    padding: 1px 7px;
    border-radius: 4px;
    margin-left: 6px;
}
.rara-pdp-review-meta { font-size: 10px; color: var(--rara-muted); margin-top: 3px; }
.rara-pdp-review-content { font-size: 13px; line-height: 1.6; color: var(--rara-text-sec); }

/* ── 18. Q&A ────────────────────────────────────────────────────────────── */
.rara-pdp-qa-search { position: relative; margin-bottom: 20px; }
.rara-pdp-qa-input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--rara-border);
    border-radius: 8px;
    padding: 0 14px 0 42px;
    font-size: 13px;
    color: var(--rara-text);
    background: #ffffff;
    outline: none;
    transition: border-color 0.18s ease;
}
.rara-pdp-qa-input:focus { border-color: var(--rara-primary); }
.rara-pdp-qa-search-icon {
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    color: var(--rara-muted);
}
.rara-pdp-qa-list { display: flex; flex-direction: column; gap: 18px; }
.rara-pdp-qa-item {
    border-bottom: 1px solid var(--rara-border);
    padding-bottom: 18px;
}
.rara-pdp-qa-item:last-child { border-bottom: none; padding-bottom: 0; }
.rara-pdp-qa-q,
.rara-pdp-qa-a { display: flex; gap: 10px; }
.rara-pdp-qa-q { margin-bottom: 10px; }
.rara-pdp-qa-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.rara-pdp-qa-badge--q { background: #FEE2E2; color: #EF4444; }
.rara-pdp-qa-badge--a { background: #EDE9FE; color: var(--rara-primary); }
.rara-pdp-qa-body { line-height: 1.5; font-size: 13px; }
.rara-pdp-qa-author { font-weight: 700; color: var(--rara-text); }
.rara-pdp-qa-text { color: var(--rara-text-sec); margin-top: 2px; }
.rara-pdp-qa-date { font-size: 10px; color: var(--rara-muted); margin-top: 3px; }

/* ── 19. SKELETON LOADER ────────────────────────────────────────────────── */
.rara-skeleton {
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: raraSkeletonShimmer 1.5s infinite;
    border-radius: 6px;
}
@keyframes raraSkeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── 20. MOBILE STICKY BAR ──────────────────────────────────────────────── */
.rara-pdp-mobile-bar {
    display: none;
}

/* ── 21. HIDE YITH AUTO-INJECTIONS ─────────────────────────────────────── */
.single-product .yith-wcwl-add-to-wishlist { display: none !important; }

/* ── 22. RESPONSIVE — TABLET (768px–1024px) ─────────────────────────────── */
@media (max-width: 1024px) and (min-width: 768px) {
    :root {
        --col-left: calc(42% - 12px);
        --col-center: calc(58% - 12px);
    }
    .rara-pdp-grid {
        grid-template-columns: var(--col-left) var(--col-center) !important;
        grid-template-areas:
            "left center"
            "right right" !important;
        gap: 20px !important;
    }
    .rara-pdp-col-left { grid-area: left !important; }
    .rara-pdp-col-center { grid-area: center !important; }
    .rara-pdp-col-right {
        grid-area: right !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }
    .rara-pdp-gallery { max-width: 100%; }
}

/* ── 23. RESPONSIVE — MOBILE (<991px) ───────────────────────────────────── */
@media (max-width: 991px) {
    /* 0. Mobile Top Back Navigation Header */
    .rara-pdp-mobile-top-nav {
        display: flex !important;
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 52px !important;
        z-index: 99998 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-bottom: 1px solid #e2e8f0 !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        margin-bottom: 6px !important;
    }

    .rara-pdp-mobile-top-nav__btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        color: #0f172a !important;
        display: grid !important;
        place-items: center !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin: 0 !important;
        text-decoration: none !important;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
        transition: all 0.2s ease !important;
        position: relative !important;
    }

    .rara-pdp-mobile-top-nav__btn:active {
        transform: scale(0.94) !important;
        background: #f8fafc !important;
    }

    .rara-pdp-mobile-top-nav__title {
        flex: 1 !important;
        margin: 0 10px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: center !important;
    }

    .rara-pdp-mobile-top-nav__actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .rara-pdp-mobile-top-nav__badge {
        position: absolute !important;
        top: -3px !important;
        right: -3px !important;
        background: #ef4444 !important;
        color: #ffffff !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        min-width: 18px !important;
        height: 18px !important;
        border-radius: 9px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 4px !important;
        line-height: 1 !important;
        border: 1.5px solid #ffffff !important;
    }

    /* 0. Collapse Top Empty Whitespace between Header and Product Card */
    body.single-product #content,
    body.single-product .site-content,
    body.single-product #primary,
    body.single-product #main {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body.single-product .rara-pdp {
        padding-top: 4px !important;
        padding-bottom: 80px !important;
        margin-top: 0 !important;
        background-color: #f8fafc !important;
    }

    body.single-product .rara-container {
        padding-inline: 8px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hide Mobile Breadcrumbs, Astra Breadcrumb Wrappers & Top Floating Wishlist Cards */
    body.single-product .rara-product-breadcrumbs,
    body.single-product .woocommerce-breadcrumb,
    body.single-product .ast-breadcrumbs-wrapper,
    body.single-product .rara-pdp-wishlist-card,
    body.single-product .rara-pdp-wishlist-action-btn-wrap {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
        line-height: 0 !important;
        overflow: hidden !important;
    }

    /* Single Column Grid & Compact Gaps */
    .rara-pdp-grid {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "left"
            "center"
            "right" !important;
        gap: 8px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        margin-bottom: 24px !important;
    }

    .rara-pdp-col-left { grid-area: left !important; }
    .rara-pdp-col-center { grid-area: center !important; }
    .rara-pdp-col-right {
        grid-area: right !important;
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
    }

    /* 4. Compact Shared Card Panels */
    .rara-pdp-card,
    .rara-pdp-gallery-container {
        border-radius: 12px !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
        background: #ffffff !important;
        border: 1px solid #f1f5f9 !important;
    }

    /* 5. Product Gallery Hero & Responsive Layout */
    .rara-pdp-gallery {
        display: flex !important;
        flex-direction: column !important;
        max-width: 100% !important;
        gap: 8px !important;
    }

    .rara-pdp-gallery__main-wrap {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        max-height: 380px !important;
        border-radius: 16px !important;
        background: #ffffff !important;
        overflow: hidden !important;
        margin-bottom: 0 !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
        border: 1px solid #f1f5f9 !important;
        position: relative !important;
    }

    .rara-pdp-gallery__main {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        border-radius: 16px !important;
    }

    /* Floating Glass Zoom Button (Top-Right) */
    .rara-pdp-gallery__zoom-icon {
        top: 12px !important;
        right: 12px !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.88) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.6) !important;
        color: #0f172a !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    }

    .rara-pdp-gallery__dots {
        display: flex !important;
    }

    .rara-pdp-gallery__thumbs {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        overflow-x: auto !important;
        padding: 4px 0 8px 0 !important;
        scrollbar-width: none !important;
        gap: 10px !important;
        box-sizing: border-box !important;
    }
    .rara-pdp-gallery__thumbs::-webkit-scrollbar { display: none !important; }
    .rara-pdp-gallery__thumb {
        flex: 0 0 60px !important;
        width: 60px !important;
        height: 60px !important;
        border-radius: 12px !important;
        border: 2px solid #e2e8f0 !important;
        background: #ffffff !important;
        overflow: hidden !important;
        transition: all 0.2s ease !important;
    }
    .rara-pdp-gallery__thumb.rara-pdp-gallery__thumb--active {
        border-color: #7c3aed !important;
        box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2) !important;
    }

    /* Hide Trust/Feature Card Below Image on Mobile (Replaced by Image Gallery) */
    body.single-product .rara-pdp-gallery__trust-row {
        display: none !important;
    }

    /* 6. Typography & Compact Info Flow */
    .rara-pdp-title {
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
        color: #0f172a !important;
    }

    .rara-pdp-price--sale {
        font-size: 22px !important;
        font-weight: 800 !important;
        color: #6d28d9 !important;
    }

    .rara-pdp-highlights-list {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    /* CRITICAL FIX #1: Remove upper duplicate Add to Cart & Buy Now buttons on mobile */
    body.single-product #rara-buy-now-btn,
    body.single-product .rara-desktop-only-btn,
    body.single-product .rara-pdp-btn--buy:not(.rara-pdp-mobile-bar__btn--buy),
    body.single-product button.single_add_to_cart_button,
    body.single-product .rara-pdp-wc-form-wrapper button.single_add_to_cart_button,
    body.single-product .rara-pdp-wc-form-wrapper .rara-buy-now-button,
    body.single-product .rara-pdp-wc-form-wrapper .rara-pdp-actions,
    body.single-product .rara-pdp-extras,
    body.single-product .rara-pdp-purchase-actions {
        display: none !important;
    }

    /* Quantity Stepper Selector (44px Compact Target Height) */
    body.single-product .rara-pdp-qty-row {
        margin-bottom: 12px !important;
        gap: 10px !important;
        display: flex !important;
        align-items: center !important;
    }
    body.single-product .rara-pdp-qty-stepper {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        border-radius: 12px !important;
        border: 1.5px solid #cbd5e1 !important;
        overflow: hidden !important;
        display: inline-flex !important;
    }
    body.single-product .rara-pdp-qty-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        background: #f8fafc !important;
        border: none !important;
        color: #0f172a !important;
        cursor: pointer !important;
        display: grid !important;
        place-items: center !important;
    }
    body.single-product .rara-pdp-qty-input {
        height: 44px !important;
        width: 48px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-align: center !important;
        border: none !important;
        background: #ffffff !important;
        color: #0f172a !important;
    }

    /* 7. Bottom Sticky Action Bar */
    body.single-product .rara-mobile-nav {
        display: none !important;
    }

    /* Hide overlapping inline wishlist icon on mobile */
    .rara-pdp-wishlist-action-btn,
    .rara-pdp-wishlist-card,
    .rara-pdp-wishlist-action-btn-wrap {
        display: none !important;
    }

    /* 7. Bottom Sticky Action Bar Grid: [ 1st Wishlist 56px ] [ 2nd Add to Cart 1fr ] [ 3rd Buy Now 1fr ] */
    .rara-pdp-mobile-bar {
        display: grid !important;
        grid-template-columns: 56px 1fr 1fr !important;
        gap: 8px !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 999999 !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        padding: 10px 12px !important;
        padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
        box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.12) !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .rara-pdp-mobile-bar__info,
    .rara-pdp-mobile-bar__actions {
        display: none !important;
    }

    /* 1st Column: Wishlist Square Button (56px x 52px, 14px radius) */
    .rara-pdp-mobile-bar__wishlist-btn {
        width: 56px !important;
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        border-radius: 14px !important;
        border: 1.5px solid #cbd5e1 !important;
        background: #ffffff !important;
        color: #475569 !important;
        display: grid !important;
        place-items: center !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
        box-shadow: none !important;
        transition: all 0.2s ease !important;
        box-sizing: border-box !important;
    }

    .rara-pdp-mobile-bar__wishlist-btn.rara-card__wishlist-btn--active {
        background: #fef2f2 !important;
        border-color: #ef4444 !important;
        color: #ef4444 !important;
    }

    .rara-pdp-mobile-bar__wishlist-btn:active {
        transform: scale(0.96) !important;
    }

    /* Common Base Style for Add to Cart & Buy Now Buttons (52px Height, 14px Radius) */
    .rara-pdp-mobile-bar .rara-pdp-mobile-bar__btn {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        border-radius: 14px !important;
        font-family: 'Poppins', system-ui, -apple-system, sans-serif !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 12px !important;
        transition: all 0.2s ease !important;
    }

    .rara-pdp-mobile-bar .rara-pdp-mobile-bar__btn svg {
        flex-shrink: 0 !important;
    }

    /* 2nd Column: Add to Cart (Outline Purple, 52px height, 14px radius, 14px 600 font) */
    .rara-pdp-mobile-bar__btn--cart {
        background: #ffffff !important;
        color: #9333ea !important;
        border: 1.5px solid #a855f7 !important;
    }

    .rara-pdp-mobile-bar__btn--cart:active {
        background: #faf5ff !important;
        transform: scale(0.98) !important;
    }

    /* 3rd Column: Buy Now (Solid Purple, 52px height, 14px radius, 14px 600 font) */
    .rara-pdp-mobile-bar__btn--buy {
        background: #9333ea !important;
        color: #ffffff !important;
        border: 1.5px solid #a855f7 !important;
        box-shadow: 0 4px 14px rgba(147, 51, 234, 0.28) !important;
    }

    .rara-pdp-mobile-bar__btn--buy:active {
        background: #7e22ce !important;
        transform: scale(0.98) !important;
    }

    /* 8. Delivery & Seller Cards Compact */
    .rara-pdp-seller__actions { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
    .rara-pdp-gallery__trust-row { flex-direction: column !important; gap: 6px !important; }
    .rara-pdp-gallery__trust-item { border-right: none !important; border-bottom: 1px solid #f1f5f9 !important; padding: 6px 0 !important; }
    .rara-pdp-gallery__trust-item:last-child { border-bottom: none !important; }
    .rara-pdp-reviews-summary { grid-template-columns: 1fr !important; }
}

/* ── 24. MISC UTILITIES ─────────────────────────────────────────────────── */
.rara-pdp-brand-name-wrap { display: none; } /* replaced by rara-pdp-brand-row */

/* ── 25. RELATED & SELLER PRODUCTS SLIDER TRACK ───────────────────────── */
.rara-pdp-related-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.rara-pdp-related-track::-webkit-scrollbar {
    height: 5px;
}
.rara-pdp-related-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
.rara-pdp-related-item {
    flex: 0 0 calc(20% - 12.8px);
    width: calc(20% - 12.8px);
    min-width: 200px;
    scroll-snap-align: start;
}
@media (max-width: 1024px) {
    .rara-pdp-related-item {
        flex: 0 0 calc(33.333% - 10.7px);
        width: calc(33.333% - 10.7px);
        min-width: 180px;
    }
}
@media (max-width: 640px) {
    .rara-pdp-related-item {
        flex: 0 0 calc(50% - 8px);
        width: calc(50% - 8px);
        min-width: 150px;
    }
}

/* ── SELLER FOLLOW BUTTON ────────────────────────────────────────────────── */
.rara-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border: 1.5px solid;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}
.rara-follow-btn__icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}
/* Default: Follow state */
.rara-follow-btn--follow {
    background: #7c3aed;
    color: #ffffff;
    border-color: #7c3aed;
}
.rara-follow-btn--follow:hover {
    background: #6d28d9;
    border-color: #6d28d9;
    transform: scale(1.03);
}
/* Active: Following state */
.rara-follow-btn--following {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #16a34a;
}
.rara-follow-btn--following:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #dc2626;
}
.rara-follow-btn--following:hover .rara-follow-btn__label::before {
    content: 'Unfollow';
    position: absolute;
}
/* Disabled state while AJAX is running */
.rara-follow-btn:disabled {
    pointer-events: none;
}

/* ── FOLLOW TOAST NOTIFICATION ───────────────────────────────────────────── */
.rara-follow-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 99999;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    max-width: 380px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.rara-follow-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.rara-follow-toast--success {
    background: #0f172a;
    color: #ffffff;
    border-left: 4px solid #22c55e;
}
.rara-follow-toast--info {
    background: #0f172a;
    color: #ffffff;
    border-left: 4px solid #94a3b8;
}

/* ── PDP Add To Cart AJAX Feedback States ── */
.single_add_to_cart_button.rara-pdp-btn--loading {
    background: #5b21b6 !important;
    color: transparent !important;
    position: relative !important;
    pointer-events: none !important;
}
.single_add_to_cart_button.rara-pdp-btn--loading::after {
    content: "" !important;
    position: absolute !important;
    top: calc(50% - 8px) !important;
    left: calc(50% - 8px) !important;
    width: 16px !important;
    height: 16px !important;
    border: 2px solid #ffffff !important;
    border-top-color: transparent !important;
    border-radius: 50% !important;
    animation: rara-spin-atc-pdp 0.6s linear infinite !important;
}
.single_add_to_cart_button.rara-pdp-btn--added {
    background: #10b981 !important; /* Premium Green */
    color: #ffffff !important;
    border-color: #10b981 !important;
}
@keyframes rara-spin-atc-pdp {
    to { transform: rotate(360deg); }
}

