/**
 * BeezWoo Product Enhancements - Premium CSS 2026
 *
 * Ultra-modern styling for product enhancement features
 * GPU-optimized animations, accessibility-first design
 *
 * @package BeezWoo
 * @since 3.2.0
 */

/* ==========================================================================
   CSS Custom Properties - Design Tokens
   ========================================================================== */

:root {
    /* Fit Scale Colors */
    --beezwoo-fit-very-slim: #FF6B6B;
    --beezwoo-fit-slim: #FFA07A;
    --beezwoo-fit-regular: #4ECDC4;
    --beezwoo-fit-comfort: #45B7D1;
    --beezwoo-fit-oversize: #96CEB4;
    --beezwoo-fit-very-oversize: #9B59B6;

    /* Social Brand Colors */
    --beezwoo-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --beezwoo-instagram-solid: #E4405F;
    --beezwoo-tiktok: #000000;
    --beezwoo-tiktok-accent: #00F2EA;
    --beezwoo-facebook: #1877F2;
    --beezwoo-youtube: #FF0000;
    --beezwoo-pinterest: #E60023;

    /* Sustainability Colors */
    --beezwoo-eco-green: #2ECC71;
    --beezwoo-eco-blue: #3498DB;
    --beezwoo-eco-earth: #8B4513;
    --beezwoo-eco-gold: #F1C40F;

    /* Premium Effects */
    --beezwoo-glass-bg: rgba(255, 255, 255, 0.1);
    --beezwoo-glass-border: rgba(255, 255, 255, 0.2);
    --beezwoo-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --beezwoo-shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
    --beezwoo-shadow-glow: 0 0 30px rgba(78, 205, 196, 0.3);

    /* Animation Timings */
    --beezwoo-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --beezwoo-ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --beezwoo-ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --beezwoo-duration-fast: 0.2s;
    --beezwoo-duration-normal: 0.3s;
    --beezwoo-duration-slow: 0.5s;
}

/* ==========================================================================
   FIT/VESTIBILITA - Premium Luxury Design V2 (2026)
   ========================================================================== */

/* -------------------------------------------------------------------------
   FIT V2 - Premium Visual Scale (Main Implementation)
   Based on high-end fashion e-commerce design patterns
   LiteSpeed Cache compatible, GPU-optimized animations
   ------------------------------------------------------------------------- */

.beezwoo-fit-v2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: #FAFAFA;
    border-radius: 16px;
    padding: 28px 32px;
    margin: 20px 0;
    will-change: transform;
    contain: layout style;
}

/* Full Width Option - Stays within container */
.beezwoo-fit--full-width .beezwoo-fit-v2 {
    width: 100%;
    max-width: none;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
}

/* Header Layout */
.beezwoo-fit-v2__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

/* Title Label */
.beezwoo-fit-v2__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #4A5568;
    margin: 0;
}

/* Value Display - Terracotta/Rose Gold */
.beezwoo-fit-v2__value {
    font-size: 18px;
    font-weight: 600;
    color: #C9A090;
    letter-spacing: 0.5px;
}

/* Scale Container */
.beezwoo-fit-v2__scale {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px 0;
}

/* Endpoint Labels */
.beezwoo-fit-v2__endpoint {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #A0AEC0;
    flex-shrink: 0;
    min-width: 60px;
}

.beezwoo-fit-v2__endpoint--left {
    text-align: right;
}

.beezwoo-fit-v2__endpoint--right {
    text-align: left;
}

/* Dots Container */
.beezwoo-fit-v2__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1;
    max-width: 280px;
}

/* Individual Dot - Base State */
.beezwoo-fit-v2__dot {
    border-radius: 50%;
    background-color: #E8DDD8;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    transform-origin: center center;
}

/* Filled dots (before active) */
.beezwoo-fit-v2__dot--filled {
    background-color: #D4B8AD;
}

/* Active dot - Main highlight with glow */
.beezwoo-fit-v2__dot--active {
    background-color: #C9A090;
    box-shadow: 0 0 0 8px rgba(201, 160, 144, 0.2);
    transform: scale(1);
}

/* Hover effects for interactivity */
.beezwoo-fit-v2__dot:hover {
    transform: scale(1.15);
}

.beezwoo-fit-v2__dot--active:hover {
    box-shadow: 0 0 0 10px rgba(201, 160, 144, 0.25);
    transform: scale(1.05);
}

/* Description */
.beezwoo-fit-v2__description {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #EDF2F7;
    font-size: 13px;
    line-height: 1.6;
    color: #718096;
    text-align: center;
}

/* -------------------------------------------------------------------------
   Animation on scroll into view
   ------------------------------------------------------------------------- */
.beezwoo-fit-v2__dot {
    opacity: 0;
    animation: beezwooFitDotAppear 0.5s ease-out forwards;
}

.beezwoo-fit-v2__dot:nth-child(1) { animation-delay: 0.05s; }
.beezwoo-fit-v2__dot:nth-child(2) { animation-delay: 0.1s; }
.beezwoo-fit-v2__dot:nth-child(3) { animation-delay: 0.15s; }
.beezwoo-fit-v2__dot:nth-child(4) { animation-delay: 0.2s; }
.beezwoo-fit-v2__dot:nth-child(5) { animation-delay: 0.25s; }
.beezwoo-fit-v2__dot:nth-child(6) { animation-delay: 0.3s; }
.beezwoo-fit-v2__dot:nth-child(7) { animation-delay: 0.35s; }

@keyframes beezwooFitDotAppear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Active dot special animation */
.beezwoo-fit-v2__dot--active {
    animation: beezwooFitDotActive 0.6s ease-out forwards;
}

@keyframes beezwooFitDotActive {
    0% {
        opacity: 0;
        transform: scale(0.5);
        box-shadow: 0 0 0 0 rgba(201, 160, 144, 0);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(201, 160, 144, 0.2);
    }
}

/* -------------------------------------------------------------------------
   Responsive Design
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .beezwoo-fit-v2 {
        padding: 20px 24px;
        border-radius: 12px;
    }

    .beezwoo-fit-v2__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
    }

    .beezwoo-fit-v2__value {
        font-size: 16px;
    }

    .beezwoo-fit-v2__scale {
        gap: 10px;
    }

    .beezwoo-fit-v2__endpoint {
        font-size: 9px;
        min-width: 45px;
        letter-spacing: 1px;
    }

    .beezwoo-fit-v2__dots {
        gap: 8px;
        max-width: 220px;
    }

    .beezwoo-fit--full-width .beezwoo-fit-v2 {
        padding: 20px 24px;
    }
}

@media (max-width: 480px) {
    .beezwoo-fit-v2 {
        padding: 16px 20px;
    }

    .beezwoo-fit-v2__scale {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .beezwoo-fit-v2__endpoint {
        min-width: 35px;
        font-size: 8px;
    }

    .beezwoo-fit-v2__dots {
        gap: 6px;
        max-width: 180px;
    }
}

/* -------------------------------------------------------------------------
   Dark Mode Support - DISABLED for Fit V2 (keep light theme always)
   The fit scale should remain light for better visibility on fashion sites
   ------------------------------------------------------------------------- */
/*
@media (prefers-color-scheme: dark) {
    .beezwoo-fit-v2 {
        background: #1A202C;
    }
    -- Dark mode disabled to keep consistent light appearance --
}
*/

/* -------------------------------------------------------------------------
   Reduced Motion Support (Accessibility)
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .beezwoo-fit-v2__dot {
        animation: none;
        opacity: 1;
        transition: none;
    }

    .beezwoo-fit-v2__dot--active {
        animation: none;
    }
}

/* -------------------------------------------------------------------------
   Print Styles
   ------------------------------------------------------------------------- */
@media print {
    .beezwoo-fit-v2 {
        background: #fff;
        border: 1px solid #ddd;
        box-shadow: none;
    }

    .beezwoo-fit-v2__dot--active {
        box-shadow: none;
        border: 2px solid #C9A090;
    }
}

/* -------------------------------------------------------------------------
   Legacy V1 Support (Backwards Compatibility)
   ------------------------------------------------------------------------- */

/* Main Container */
.beezwoo-fit {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 20px 24px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 16px 0 !important;
}

/* V2 nested inside main container - reset parent styles */
.beezwoo-fit--scale:has(.beezwoo-fit-v2) {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.beezwoo-fit:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-1px);
}

/* Header - Clean & Minimal */
.beezwoo-fit__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #e9ecef !important;
}

.beezwoo-fit__label {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #6c757d;
    margin: 0 !important;
}

.beezwoo-fit__value {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #212529;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scale - Premium Horizontal Layout */
.beezwoo-fit__scale {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.beezwoo-fit__scale-label {
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #adb5bd;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.beezwoo-fit__scale-label--left {
    text-align: left !important;
}

.beezwoo-fit__scale-label--right {
    text-align: right !important;
}

/* Scale Bar - Elegant Dots */
.beezwoo-fit__scale-bar {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex: 1 !important;
    padding: 8px 16px !important;
    background: #f8f9fa !important;
    border-radius: 50px !important;
    position: relative !important;
}

/* Gradient background for active dots */
.beezwoo-fit__scale-bar::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    width: calc(100% - 32px);
    background: linear-gradient(90deg, #e9ecef 0%, #e9ecef 100%);
    z-index: 0;
}

.beezwoo-fit__scale-dot {
    width: 14px !important;
    height: 14px !important;
    border-radius: 50% !important;
    background: #fff;
    border: 2px solid #dee2e6;
    position: relative !important;
    z-index: 1 !important;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.beezwoo-fit__scale-dot:hover {
    transform: scale(1.2);
}

.beezwoo-fit__scale-dot.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1),
                0 2px 8px rgba(102, 126, 234, 0.3);
    transform: scale(1.15);
}

/* Note - Subtle & Helpful */
.beezwoo-fit__note {
    margin-top: 16px !important;
    padding: 12px 16px !important;
    background: rgba(102, 126, 234, 0.05) !important;
    border-left: 3px solid #667eea !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #495057 !important;
}

/* Badge Style - Minimal & Clean */
.beezwoo-fit__badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.3) !important;
}

/* Detailed Style */
.beezwoo-fit__detailed {
    padding: 16px !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
}

.beezwoo-fit__detailed-label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #212529; /* Rimosso !important */
    margin-bottom: 8px !important;
}

.beezwoo-fit__detailed-desc {
    font-size: 13px !important;
    color: #6c757d; /* Rimosso !important */
    line-height: 1.6 !important;
}

/* Minimal Style - SUPER CLEAN inline on one line */
.beezwoo-fit--minimal {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 8px 0 !important;
}

.beezwoo-fit--minimal .beezwoo-fit__value {
    display: inline !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: inherit;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.beezwoo-fit--minimal .beezwoo-fit__label {
    display: inline !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: inherit;
    margin-right: 4px !important;
}

/* Hide other elements in minimal mode */
.beezwoo-fit--minimal .beezwoo-fit__header,
.beezwoo-fit--minimal .beezwoo-fit__scale,
.beezwoo-fit--minimal .beezwoo-fit__note {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .beezwoo-fit {
        padding: 16px 20px !important;
    }

    .beezwoo-fit__scale {
        gap: 8px !important;
    }

    .beezwoo-fit__scale-label {
        font-size: 9px !important;
    }

    .beezwoo-fit__scale-bar {
        padding: 6px 12px !important;
    }

    .beezwoo-fit__scale-dot {
        width: 12px !important;
        height: 12px !important;
    }
}

/* Dark Mode Support - DISABLED for legacy fit classes (keep light theme always)
@media (prefers-color-scheme: dark) {
    .beezwoo-fit {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
        border-color: #404040 !important;
    }

    .beezwoo-fit__header {
        border-bottom-color: #404040 !important;
    }

    .beezwoo-fit__label {
        color: #adb5bd !important;
    }

    .beezwoo-fit__scale-bar {
        background: #1a1a1a !important;
    }

    .beezwoo-fit__note {
        background: rgba(102, 126, 234, 0.15) !important;
        color: #e9ecef !important;
    }
}
*/

/* OLD CLASSES - Keep for compatibility */
.beezwoo-fit-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.beezwoo-fit-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin: 0;
}

/* Scale Style */
.beezwoo-fit-scale {
    display: flex;
    align-items: center;
    gap: 8px;
}

.beezwoo-fit-scale-track {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 30px;
    position: relative;
}

.beezwoo-fit-scale-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
    position: relative;
}

.beezwoo-fit-scale-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: transparent;
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
}

.beezwoo-fit-scale-dot.active {
    transform: scale(1.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.beezwoo-fit-scale-dot.active::before {
    background: currentColor;
    opacity: 0.2;
    animation: beezwoo-pulse 2s infinite;
}

/* Fit Color Classes */
.beezwoo-fit-scale-dot[data-fit="very-slim"].active,
.beezwoo-fit-badge[data-fit="very-slim"] {
    background: var(--beezwoo-fit-very-slim);
    color: var(--beezwoo-fit-very-slim);
}

.beezwoo-fit-scale-dot[data-fit="slim"].active,
.beezwoo-fit-badge[data-fit="slim"] {
    background: var(--beezwoo-fit-slim);
    color: var(--beezwoo-fit-slim);
}

.beezwoo-fit-scale-dot[data-fit="regular"].active,
.beezwoo-fit-badge[data-fit="regular"] {
    background: var(--beezwoo-fit-regular);
    color: var(--beezwoo-fit-regular);
}

.beezwoo-fit-scale-dot[data-fit="comfort"].active,
.beezwoo-fit-badge[data-fit="comfort"] {
    background: var(--beezwoo-fit-comfort);
    color: var(--beezwoo-fit-comfort);
}

.beezwoo-fit-scale-dot[data-fit="oversize"].active,
.beezwoo-fit-badge[data-fit="oversize"] {
    background: var(--beezwoo-fit-oversize);
    color: var(--beezwoo-fit-oversize);
}

.beezwoo-fit-scale-dot[data-fit="very-oversize"].active,
.beezwoo-fit-badge[data-fit="very-oversize"] {
    background: var(--beezwoo-fit-very-oversize);
    color: var(--beezwoo-fit-very-oversize);
}

.beezwoo-fit-scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 4px;
}

.beezwoo-fit-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-left: 12px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 20px;
    box-shadow: var(--beezwoo-shadow-soft);
}

/* Badge Style */
.beezwoo-fit-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--beezwoo-shadow-soft);
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
}

.beezwoo-fit-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--beezwoo-shadow-hover);
}

.beezwoo-fit-badge svg,
.beezwoo-fit-badge .fit-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Detailed Style */
.beezwoo-fit-detailed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: var(--beezwoo-shadow-soft);
}

.beezwoo-fit-detailed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.beezwoo-fit-detailed-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.beezwoo-fit-detailed-value {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
}

.beezwoo-fit-detailed-scale {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
}

.beezwoo-fit-detailed-scale .scale-segment {
    flex: 1;
    height: 8px;
    background: #e8e8e8;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
}

.beezwoo-fit-detailed-scale .scale-segment.active {
    background: currentColor;
    transform: scaleY(1.3);
}

.beezwoo-fit-detailed-scale .scale-segment::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    transform: translateX(-100%);
}

.beezwoo-fit-detailed-scale .scale-segment.active::after {
    animation: beezwoo-shimmer 2s infinite;
}

.beezwoo-fit-description {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 3px solid currentColor;
}

/* Minimal Style */
.beezwoo-fit-minimal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.beezwoo-fit-minimal .fit-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.beezwoo-fit-minimal .fit-text {
    font-weight: 500;
}

/* ==========================================================================
   SOCIAL CONTENT - Icons & Buttons
   ========================================================================== */

.beezwoo-social-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.beezwoo-social-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin: 0;
}

/* Icons Display */
.beezwoo-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.beezwoo-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
    position: relative;
}

.beezwoo-social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
    position: relative;
    z-index: 1;
}

/* Icon Style Variants */
.beezwoo-social-icon.style-filled {
    color: #fff;
}

.beezwoo-social-icon.style-filled.platform-instagram {
    background: var(--beezwoo-instagram);
}

.beezwoo-social-icon.style-filled.platform-tiktok {
    background: var(--beezwoo-tiktok);
}

.beezwoo-social-icon.style-filled.platform-facebook {
    background: var(--beezwoo-facebook);
}

.beezwoo-social-icon.style-filled.platform-youtube {
    background: var(--beezwoo-youtube);
}

.beezwoo-social-icon.style-filled.platform-pinterest {
    background: var(--beezwoo-pinterest);
}

.beezwoo-social-icon.style-outline {
    background: transparent;
    border: 2px solid currentColor;
}

.beezwoo-social-icon.style-outline.platform-instagram {
    color: var(--beezwoo-instagram-solid);
}

.beezwoo-social-icon.style-outline.platform-tiktok {
    color: var(--beezwoo-tiktok);
}

.beezwoo-social-icon.style-outline.platform-facebook {
    color: var(--beezwoo-facebook);
}

.beezwoo-social-icon.style-outline.platform-youtube {
    color: var(--beezwoo-youtube);
}

.beezwoo-social-icon.style-outline.platform-pinterest {
    color: var(--beezwoo-pinterest);
}

/* Minimal Style - Clean icons with brand colors, no backgrounds */
.beezwoo-social-icon.style-minimal {
    background: transparent;
    width: auto;
    height: auto;
}

.beezwoo-social-icon.style-minimal svg {
    width: 20px;
    height: 20px;
}

.beezwoo-social-icon.style-minimal.platform-instagram {
    color: var(--beezwoo-instagram-solid, #E4405F);
}

.beezwoo-social-icon.style-minimal.platform-tiktok {
    color: var(--beezwoo-tiktok, #000000);
}

.beezwoo-social-icon.style-minimal.platform-facebook {
    color: var(--beezwoo-facebook, #1877F2);
}

.beezwoo-social-icon.style-minimal.platform-youtube {
    color: var(--beezwoo-youtube, #FF0000);
}

.beezwoo-social-icon.style-minimal.platform-pinterest {
    color: var(--beezwoo-pinterest, #E60023);
}

.beezwoo-social-icon.style-minimal:hover {
    opacity: 0.7;
}

/* Thumbnail Support for Social Icons */
.beezwoo-social-icon.has-thumbnail {
    width: 72px !important;
    height: 72px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    padding: 0 !important;
}

.beezwoo-social-icon.has-thumbnail.style-minimal,
.beezwoo-social-icon.has-thumbnail.style-filled,
.beezwoo-social-icon.has-thumbnail.style-outline {
    background: #f5f5f5 !important;
    color: inherit !important;
}

.beezwoo-social__thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.beezwoo-social__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Platform badge - small icon in corner */
.beezwoo-social__overlay {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    opacity: 1;
    transition: transform 0.2s ease;
}

.beezwoo-social__overlay svg {
    width: 12px;
    height: 12px;
}

/* Platform colors for badge */
.beezwoo-social-icon.platform-instagram .beezwoo-social__overlay svg { fill: #E4405F; }
.beezwoo-social-icon.platform-tiktok .beezwoo-social__overlay svg { fill: #000; }
.beezwoo-social-icon.platform-facebook .beezwoo-social__overlay svg { fill: #1877F2; }
.beezwoo-social-icon.platform-youtube .beezwoo-social__overlay svg { fill: #FF0000; }
.beezwoo-social-icon.platform-pinterest .beezwoo-social__overlay svg { fill: #E60023; }

.beezwoo-social-icon.has-thumbnail:hover .beezwoo-social__overlay {
    transform: scale(1.1);
}

.beezwoo-social-icon.has-thumbnail:hover .beezwoo-social__thumbnail img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.beezwoo-social-icon.style-gradient {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    backdrop-filter: blur(10px);
    border: 1px solid var(--beezwoo-glass-border);
}

/* Icon Shape Variants */
.beezwoo-social-icon.shape-square {
    border-radius: 12px;
}

.beezwoo-social-icon.shape-rounded {
    border-radius: 16px;
}

/* Icon Hover Effects */
.beezwoo-social-icon.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--beezwoo-shadow-hover);
}

/* Scale hover - ensure no clipping by not using overflow:hidden */
.beezwoo-social-icon.hover-scale {
    overflow: visible;
}

.beezwoo-social-icon.hover-scale:hover {
    transform: scale(1.1);
}

.beezwoo-social-icon.hover-scale:hover svg {
    transform: scale(1.05);
}

.beezwoo-social-icon.hover-glow:hover {
    box-shadow: 0 0 25px currentColor;
}

.beezwoo-social-icon.hover-rotate:hover svg {
    transform: rotate(360deg);
    transition-duration: 0.5s;
}

.beezwoo-social-icon.hover-bounce:hover {
    animation: beezwoo-bounce 0.5s var(--beezwoo-ease-bounce);
}

/* Buttons Display */
.beezwoo-social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.beezwoo-social-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
}

.beezwoo-social-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.beezwoo-social-button.platform-instagram {
    background: var(--beezwoo-instagram);
}

.beezwoo-social-button.platform-tiktok {
    background: var(--beezwoo-tiktok);
}

.beezwoo-social-button.platform-facebook {
    background: var(--beezwoo-facebook);
}

.beezwoo-social-button.platform-youtube {
    background: var(--beezwoo-youtube);
}

.beezwoo-social-button.platform-pinterest {
    background: var(--beezwoo-pinterest);
}

.beezwoo-social-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--beezwoo-shadow-hover);
    filter: brightness(1.1);
}

/* Cards Display */
.beezwoo-social-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.beezwoo-social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--beezwoo-shadow-soft);
    text-decoration: none;
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
}

.beezwoo-social-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--beezwoo-shadow-hover);
}

.beezwoo-social-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
}

.beezwoo-social-card .card-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.beezwoo-social-card.platform-instagram .card-icon {
    background: var(--beezwoo-instagram);
}

.beezwoo-social-card.platform-tiktok .card-icon {
    background: var(--beezwoo-tiktok);
}

.beezwoo-social-card.platform-facebook .card-icon {
    background: var(--beezwoo-facebook);
}

.beezwoo-social-card.platform-youtube .card-icon {
    background: var(--beezwoo-youtube);
}

.beezwoo-social-card.platform-pinterest .card-icon {
    background: var(--beezwoo-pinterest);
}

.beezwoo-social-card .card-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.beezwoo-social-card .card-action {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   SOCIAL CONTENT - Embeds
   ========================================================================== */

.beezwoo-social-embeds {
    display: grid;
    gap: 24px;
}

.beezwoo-social-embeds.layout-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.beezwoo-social-embeds.layout-masonry {
    columns: 2;
    column-gap: 24px;
}

.beezwoo-social-embeds.layout-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 16px;
}

.beezwoo-social-embeds.layout-carousel::-webkit-scrollbar {
    height: 6px;
}

.beezwoo-social-embeds.layout-carousel::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.beezwoo-social-embeds.layout-carousel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.beezwoo-embed-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--beezwoo-shadow-soft);
    overflow: hidden;
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
}

.beezwoo-embed-item:hover {
    box-shadow: var(--beezwoo-shadow-hover);
}

.beezwoo-social-embeds.layout-carousel .beezwoo-embed-item {
    flex: 0 0 350px;
    scroll-snap-align: start;
}

.beezwoo-social-embeds.layout-masonry .beezwoo-embed-item {
    break-inside: avoid;
    margin-bottom: 24px;
}

.beezwoo-embed-item .embed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.beezwoo-embed-item .embed-platform-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.beezwoo-embed-item .embed-platform-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.beezwoo-embed-item.platform-instagram .embed-platform-icon {
    background: var(--beezwoo-instagram);
}

.beezwoo-embed-item.platform-tiktok .embed-platform-icon {
    background: var(--beezwoo-tiktok);
}

.beezwoo-embed-item.platform-youtube .embed-platform-icon {
    background: var(--beezwoo-youtube);
}

.beezwoo-embed-item .embed-platform-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.beezwoo-embed-item .embed-content {
    position: relative;
}

.beezwoo-embed-item .embed-content iframe {
    width: 100%;
    border: none;
    display: block;
}

.beezwoo-embed-item .embed-content .embed-placeholder {
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #888;
}

.beezwoo-embed-item .embed-content .embed-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

/* Lazy Load Placeholder */
.beezwoo-embed-lazy {
    position: relative;
    cursor: pointer;
}

.beezwoo-embed-lazy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    transition: opacity var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
}

.beezwoo-embed-lazy::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
}

.beezwoo-embed-lazy:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ==========================================================================
   MODEL INFO
   ========================================================================== */

.beezwoo-model-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: var(--beezwoo-shadow-soft);
}

.beezwoo-model-info.layout-inline {
    flex-direction: row;
    align-items: center;
}

.beezwoo-model-info.layout-stacked {
    flex-direction: column;
}

.beezwoo-model-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.beezwoo-model-info-item .info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.beezwoo-model-info-item .info-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.beezwoo-model-info-item .info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.beezwoo-model-info-item .info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
}

.beezwoo-model-info-item .info-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* ==========================================================================
   SUSTAINABILITY BADGES
   ========================================================================== */

.beezwoo-sustainability {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.beezwoo-sustainability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
}

.beezwoo-sustainability-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.beezwoo-sustainability-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--beezwoo-shadow-soft);
}

/* Badge Variants */
.beezwoo-sustainability-badge.badge-organic {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.beezwoo-sustainability-badge.badge-recycled {
    background: linear-gradient(135deg, #cce5ff 0%, #b8daff 100%);
    color: #004085;
}

.beezwoo-sustainability-badge.badge-vegan {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.beezwoo-sustainability-badge.badge-fair-trade {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    color: #856404;
}

.beezwoo-sustainability-badge.badge-local {
    background: linear-gradient(135deg, #e2e3e5 0%, #d6d8db 100%);
    color: #383d41;
}

.beezwoo-sustainability-badge.badge-eco-friendly {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

.beezwoo-sustainability-badge.badge-cruelty-free {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.beezwoo-sustainability-badge.badge-sustainable {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

/* ==========================================================================
   CARE INSTRUCTIONS
   ========================================================================== */

.beezwoo-care-instructions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.beezwoo-care-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all var(--beezwoo-duration-normal) var(--beezwoo-ease-smooth);
}

.beezwoo-care-item:hover {
    background: #fff;
    box-shadow: var(--beezwoo-shadow-soft);
}

.beezwoo-care-item .care-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.beezwoo-care-item .care-label {
    font-size: 11px;
    text-align: center;
    color: #666;
    max-width: 80px;
}

/* ==========================================================================
   MATERIALS
   ========================================================================== */

.beezwoo-materials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.beezwoo-material-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.beezwoo-material-item .material-bar-wrapper {
    flex: 1;
    height: 8px;
    background: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.beezwoo-material-item .material-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 1s var(--beezwoo-ease-smooth);
}

.beezwoo-material-item .material-name {
    min-width: 100px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.beezwoo-material-item .material-percentage {
    min-width: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-align: right;
}

/* ==========================================================================
   PRODUCT TAB STYLES
   ========================================================================== */

.beezwoo-product-tab {
    padding: 30px 0;
}

.beezwoo-product-tab-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.beezwoo-product-tab-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.beezwoo-product-tab-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes beezwoo-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes beezwoo-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes beezwoo-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(-4px);
    }
    75% {
        transform: translateY(-6px);
    }
}

@keyframes beezwoo-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes beezwoo-scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Entrance Animations */
.beezwoo-animate-fade-in {
    animation: beezwoo-fade-in 0.5s var(--beezwoo-ease-smooth) forwards;
}

.beezwoo-animate-scale-in {
    animation: beezwoo-scale-in 0.5s var(--beezwoo-ease-elastic) forwards;
}

/* Staggered Animations */
.beezwoo-stagger > * {
    opacity: 0;
    animation: beezwoo-fade-in 0.4s var(--beezwoo-ease-smooth) forwards;
}

.beezwoo-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.beezwoo-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.beezwoo-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.beezwoo-stagger > *:nth-child(4) { animation-delay: 0.2s; }
.beezwoo-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.beezwoo-stagger > *:nth-child(6) { animation-delay: 0.3s; }
.beezwoo-stagger > *:nth-child(7) { animation-delay: 0.35s; }
.beezwoo-stagger > *:nth-child(8) { animation-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .beezwoo-fit-scale-track {
        padding: 6px 10px;
    }

    .beezwoo-fit-scale-dot {
        width: 10px;
        height: 10px;
    }

    .beezwoo-fit-value {
        font-size: 12px;
        padding: 5px 12px;
    }

    .beezwoo-social-icons {
        gap: 10px;
    }

    .beezwoo-social-icon {
        width: 44px;
        height: 44px;
    }

    .beezwoo-social-button {
        padding: 10px 18px;
        font-size: 13px;
    }

    .beezwoo-social-cards {
        grid-template-columns: 1fr;
    }

    .beezwoo-social-embeds.layout-masonry {
        columns: 1;
    }

    .beezwoo-model-info {
        padding: 16px;
    }

    .beezwoo-model-info-item .info-icon {
        width: 36px;
        height: 36px;
    }

    .beezwoo-sustainability-badge {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .beezwoo-fit-detailed {
        padding: 16px;
    }

    .beezwoo-social-embeds.layout-carousel .beezwoo-embed-item {
        flex: 0 0 280px;
    }

    .beezwoo-model-info.layout-inline {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .beezwoo-fit-scale-dot.active::before,
    .beezwoo-fit-detailed-scale .scale-segment.active::after {
        animation: none;
    }
}

/* Focus States */
.beezwoo-social-icon:focus,
.beezwoo-social-button:focus,
.beezwoo-social-card:focus {
    outline: 2px solid #4ECDC4;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .beezwoo-fit-scale-dot {
        border: 2px solid #000;
    }

    .beezwoo-social-icon {
        border: 2px solid currentColor;
    }

    .beezwoo-sustainability-badge {
        border: 2px solid currentColor;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --beezwoo-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
        --beezwoo-shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.4);
    }

    .beezwoo-fit-scale-track {
        background: #2d2d2d;
    }

    .beezwoo-fit-scale-dot {
        background: #444;
    }

    .beezwoo-fit-value {
        background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
        color: #fff;
    }

    .beezwoo-fit-detailed {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }

    .beezwoo-fit-detailed-title,
    .beezwoo-social-card .card-label,
    .beezwoo-model-info-item .info-value,
    .beezwoo-material-item .material-name {
        color: #fff;
    }

    .beezwoo-social-card {
        background: #2d2d2d;
    }

    .beezwoo-embed-item {
        background: #2d2d2d;
    }

    .beezwoo-embed-item .embed-header {
        border-bottom-color: #444;
    }

    .beezwoo-model-info {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    }

    .beezwoo-care-item {
        background: #2d2d2d;
    }

    .beezwoo-care-item:hover {
        background: #3d3d3d;
    }
}

/* ==========================================================================
   FIT WIDGET - FORCE LIGHT MODE (override dark mode on mobile devices)
   ========================================================================== */
@media (prefers-color-scheme: dark) {
    /* Force light theme for all fit-related components */
    .beezwoo-fit-v2,
    .beezwoo-fit,
    .beezwoo-fit-wrapper {
        background: #fff !important;
        border-color: #e5e7eb !important;
    }

    .beezwoo-fit-v2__header,
    .beezwoo-fit__header {
        border-bottom-color: #e5e7eb !important;
    }

    .beezwoo-fit-v2__label,
    .beezwoo-fit__label {
        color: #374151 !important;
    }

    .beezwoo-fit-v2__scale-bg,
    .beezwoo-fit__scale-bar,
    .beezwoo-fit-scale-track {
        background: #f3f4f6 !important;
    }

    .beezwoo-fit-v2__segment {
        background: #e5e7eb !important;
    }

    .beezwoo-fit-v2__segment.active {
        background: var(--fit-color, #4F46E5) !important;
    }

    .beezwoo-fit-v2__value {
        color: #111827 !important;
    }

    .beezwoo-fit-v2__note {
        background: rgba(79, 70, 229, 0.08) !important;
        color: #374151 !important;
    }

    .beezwoo-fit-scale-dot {
        background: #e0e0e0 !important;
    }

    .beezwoo-fit-value {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        color: #333 !important;
    }

    .beezwoo-fit-detailed {
        background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%) !important;
    }

    .beezwoo-fit-detailed-title {
        color: #333 !important;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .beezwoo-social-wrapper,
    .beezwoo-social-embeds {
        display: none;
    }

    .beezwoo-fit-wrapper,
    .beezwoo-model-info,
    .beezwoo-sustainability,
    .beezwoo-care-instructions,
    .beezwoo-materials {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ==========================================================================
   COMPACT ULTRA STYLE - Highly Customizable Minimal Fit Widget
   ========================================================================== */

.beezwoo-fit-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f8f8;
    border-radius: 8px;
    margin: 16px 0;
    max-width: 400px;
    font-family: inherit;
}

.beezwoo-fit-compact__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    white-space: nowrap;
    min-width: 80px;
    flex-shrink: 0;
}

.beezwoo-fit-compact__track {
    position: relative;
    flex: 1;
    height: 6px;
    background: linear-gradient(to right, #e8d5c4 0%, #c19a7c 50%, #e8d5c4 100%);
    border-radius: 3px;
    max-width: 100%;
}

.beezwoo-fit-compact__dots {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2px;
}

.beezwoo-fit-compact__dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid #999;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.beezwoo-fit-compact__dot--active {
    width: 16px;
    height: 16px;
    background: #c19a7c;
    border-color: #c19a7c;
    box-shadow: 0 2px 8px rgba(193, 154, 124, 0.4);
}

.beezwoo-fit-compact__value {
    font-size: 12px;
    font-weight: 600;
    color: #c19a7c;
    min-width: 70px;
    text-align: right;
    flex-shrink: 0;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .beezwoo-fit-compact {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
        max-width: 100%;
    }

    .beezwoo-fit-compact__label {
        width: 100%;
        min-width: auto;
        margin-bottom: 4px;
    }

    .beezwoo-fit-compact__track {
        flex: 1;
        min-width: 150px;
    }

    .beezwoo-fit-compact__value {
        min-width: auto;
    }
}

/* Hover effects */
.beezwoo-fit-compact__dot:hover {
    transform: scale(1.2);
    border-color: #666;
}

.beezwoo-fit-compact__dot--active:hover {
    transform: scale(1.1);
}

/* Animation on load */
@keyframes beezwooCompactDotAppear {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.beezwoo-fit-compact__dot {
    animation: beezwooCompactDotAppear 0.3s ease-out forwards;
}

.beezwoo-fit-compact__dot:nth-child(1) { animation-delay: 0.05s; }
.beezwoo-fit-compact__dot:nth-child(2) { animation-delay: 0.1s; }
.beezwoo-fit-compact__dot:nth-child(3) { animation-delay: 0.15s; }
.beezwoo-fit-compact__dot:nth-child(4) { animation-delay: 0.2s; }
.beezwoo-fit-compact__dot:nth-child(5) { animation-delay: 0.25s; }

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .beezwoo-fit-compact {
        background: #2a2a2a;
    }

    .beezwoo-fit-compact__label {
        color: #aaa;
    }

    .beezwoo-fit-compact__track {
        background: linear-gradient(to right, #4a4a4a 0%, #6a6a6a 50%, #4a4a4a 100%);
    }

    .beezwoo-fit-compact__dot {
        background: #3a3a3a;
        border-color: #666;
    }
}

/* ==========================================================================
   CARE INSTRUCTIONS - FORCE LIGHT MODE + CONSISTENT ICON SIZE
   Override dark mode to always show light theme
   ========================================================================== */

/* Force consistent icon sizes across all care items */
.beezwoo-care-item {
    width: 100px;  /* Fixed width for all cards */
    min-height: 100px;
}

.beezwoo-care-item .care-icon {
    width: 48px !important;
    height: 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.beezwoo-care-item .care-icon svg,
.beezwoo-care-item .care-icon img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain;
}

/* Force light theme for care instructions - override dark mode */
@media (prefers-color-scheme: dark) {
    .beezwoo-care-instructions {
        background: transparent !important;
    }

    .beezwoo-care-item {
        background: #f8f9fa !important;
        color: #333 !important;
    }

    .beezwoo-care-item:hover {
        background: #fff !important;
    }

    .beezwoo-care-item .care-icon {
        color: #555 !important;
    }

    .beezwoo-care-item .care-label {
        color: #666 !important;
    }
}

/* Mobile responsive - smaller cards but consistent */
@media (max-width: 768px) {
    .beezwoo-care-item {
        width: 90px;
        min-height: 90px;
        padding: 12px 8px;
    }

    .beezwoo-care-item .care-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 24px;
    }

    .beezwoo-care-item .care-icon svg,
    .beezwoo-care-item .care-icon img {
        width: 28px !important;
        height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
    }

    .beezwoo-care-item .care-label {
        font-size: 10px;
        max-width: 70px;
    }
}

/* ==========================================================================
   WOODMART TEXT SWATCHES - Normalize Sizes (ONLY TEXT, NOT IMAGES)
   When color images are missing, text labels should match size swatches
   Image swatches (.wd-bg, .wd-color) keep Woodmart default larger size
   ========================================================================== */

/* ONLY text swatches (no image fallback) - Desktop */
body.single-product .wd-swatches-product .wd-swatch.wd-text {
    min-width: 45px !important;
    min-height: 45px !important;
    width: auto !important;
    height: 45px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.single-product .wd-swatches-product .wd-swatch.wd-text .wd-swatch-text {
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 0 !important;
}

/* Mobile responsive - ONLY text swatches */
@media (max-width: 767px) {
    body.single-product .wd-swatches-product .wd-swatch.wd-text {
        min-width: 40px !important;
        min-height: 40px !important;
        height: 40px !important;
        padding: 0 10px !important;
    }

    body.single-product .wd-swatches-product .wd-swatch.wd-text .wd-swatch-text {
        font-size: 12px !important;
    }
}
