/*
 * Custom Polo Product Page Styles
 * Designed to match the dark theme with golden accents
 */

/* CSS Custom Properties - Golden Black Theme */
:root {
    /* Golden Core Colors */
    --polo-primary: #F1C40F;
    --polo-primary-hover: #E6B800;
    --polo-secondary: #F39C12;
    --polo-accent: #FFDD44;
    --polo-success: #F1C40F;
    --polo-banner-primary: #8B5CF6;
    --polo-banner-secondary: #EC4899;
    --polo-banner-accent: #00D4FF;

    
    /* Background Colors */
    --polo-bg-dark: #000000;
    --polo-bg-card: #1a1a1a;
    --polo-bg-light-card: #2a2a2a;
    --polo-bg-elevated: #333333;
    
    /* Text Colors */
    --polo-text-primary: #FFFFFF;
    --polo-text-secondary: rgba(255, 255, 255, 0.8);
    --polo-text-muted: rgba(255, 255, 255, 0.6);
    
    /* Border Colors */
    --polo-border: rgba(241, 196, 15, 0.3);
    --polo-border-event: rgba(2139, 92, 246, 0.3);
    --polo-border-light: rgba(241, 196, 15, 0.5);
    
    /* Gradients */
    --polo-gradient-primary: linear-gradient(135deg, #F1C40F 0%, #E6B800 100%);
    --polo-gradient-cyber: linear-gradient(45deg, #F39C12 0%, #F1C40F 50%, #FFDD44 100%);
    --polo-gradient-dark: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    
    /* Glow Effects */
    --polo-glow-purple: 0 0 20px rgba(241, 196, 15, 0.6);
    --polo-glow-purple-event: 0 0 20px rgba(236, 72, 153, 0.6);
    --polo-glow-pink: 0 0 20px rgba(241, 196, 15, 0.6);
    --polo-glow-cyan: 0 0 20px rgba(241, 196, 15, 0.6);
    
    /* Legacy Shadow Support */
    --polo-shadow: 0 4px 20px rgba(241, 196, 15, 0.3);
    --polo-shadow-hover: 0 8px 30px rgba(241, 196, 15, 0.5);
    
    /* Transitions */
    --polo-transition: all 0.3s ease;
    --polo-transition-glow: all 0.3s ease, box-shadow 0.3s ease;
    
    /* Border Radius */
    --polo-border-radius: 12px;
    --polo-border-radius-small: 8px;
    --polo-border-radius-large: 20px;
}

/* Base Styles */
.polo-main-container {
    background-color: var(--polo-bg-dark);
    color: var(--polo-text-primary);
    min-height: 100vh;
    font-family: inherit;
    line-height: 1.6;
}

.polo-container {
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0;
}

.polo-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--polo-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.polo-section-title-event {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.polo-hero {
    padding: 4rem 0;
    background-color: var(--polo-bg-dark);
}

.polo-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Product Gallery */
.polo-gallery {
    position: relative;
}

.polo-gallery-main {
    margin-bottom: 2rem;
}

.polo-image-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--polo-gradient-primary);
    padding: 2rem;
    box-shadow: var(--polo-shadow);
}

.polo-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Auto Gallery Transition Effects */
.polo-main-img.polo-loading {
    opacity: 0.7;
    transform: scale(1.02);
}

.polo-thumb-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(241, 196, 15, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.polo-thumb-btn.active::before {
    left: 100%;
}

/* Auto Gallery Progress Indicator */
.polo-gallery {
    position: relative;
}

.polo-auto-gallery-controls {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 26, 26, 0.9);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--polo-border);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.polo-gallery:hover .polo-auto-gallery-controls {
    opacity: 1;
    visibility: visible;
    display: none;
}

.polo-auto-play-toggle {
    background: none;
    border: none;
    color: var(--polo-primary);
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.polo-auto-play-toggle:hover {
    background: rgba(241, 196, 15, 0.2);
    transform: scale(1.1);
}

.polo-auto-play-toggle.paused {
    color: var(--polo-text-secondary);
}

.polo-auto-play-toggle.user-control {
    color: var(--polo-accent);
    background: rgba(241, 196, 15, 0.1);
    border-radius: 50%;
}

.polo-auto-gallery-info {
    color: var(--polo-text-secondary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Gallery State Visual Feedback */
.polo-state-auto .polo-auto-gallery-info {
    color: var(--polo-primary);
    text-shadow: 0 0 8px rgba(241, 196, 15, 0.3);
}

.polo-state-user-control .polo-auto-gallery-info {
    color: var(--polo-accent);
    animation: pulseGlow 2s ease-in-out infinite;
}

.polo-state-paused .polo-auto-gallery-info {
    color: var(--polo-text-secondary);
    opacity: 0.7;
}

.polo-state-disabled .polo-auto-gallery-info {
    color: var(--polo-text-muted);
    opacity: 0.5;
}

/* Thumbnail State Feedback */
.polo-state-user-control .polo-thumb-btn {
    border-color: var(--polo-accent);
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.2);
}

.polo-state-user-control .polo-thumb-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(241, 196, 15, 0.4);
}

/* Enhanced Progress Bar for User Control */
.polo-state-user-control .polo-auto-progress-bar {
    background: linear-gradient(90deg, var(--polo-accent), var(--polo-primary));
    height: 4px;
}

.polo-state-user-control .polo-auto-progress {
    height: 4px;
    border-radius: 3px;
}

.polo-titles {
    font-family: Urbanist, sans-serif !important;
    letter-spacing: unset !important;
}

.polo-titles-tabs {
    font-size: 1.1rem !important;
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(241, 196, 15, 0.3);
    }
    50% {
        opacity: 0.8;
        text-shadow: 0 0 15px rgba(241, 196, 15, 0.6);
    }
}

@keyframes autoModePulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.02);
    }
}

/* Progress bar for auto gallery */
.polo-auto-progress {
    width: 60px;
    height: 3px;
    background: rgba(241, 196, 15, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.polo-auto-progress-bar {
    height: 100%;
    background: var(--polo-primary);
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 2px;
}

.polo-image-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.7;
}

.polo-gallery-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.polo-thumb-btn {
    background-color: var(--polo-bg-card);
    color: var(--polo-text-secondary);
    border: 2px solid var(--polo-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--polo-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.polo-thumb-btn:hover,
.polo-thumb-btn.active {
    background-color: var(--polo-primary);
    color: var(--polo-bg-dark);
    border-color: var(--polo-primary);
    transform: translateY(-2px);
}

/* Thumbnail button styles */
.polo-thumb-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    min-width: 100px;
}

.polo-thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.polo-thumb-btn:hover .polo-thumb-img,
.polo-thumb-btn.active .polo-thumb-img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(241, 196, 15, 0.4);
}

.polo-thumb-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Details */
.polo-details {
    position: relative;
}

.polo-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.polo-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.polo-breadcrumb a:hover {
    color: var(--polo-primary);
}

.polo-breadcrumb span {
    margin: 0 0.5rem;
}

.polo-title {
    font-family: Urbanist, sans-serif !important;
    letter-spacing: unset !important;
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #FFFFFF;
    line-height: 1.2;
}

.polo-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.polo-stars {
    display: flex;
    gap: 0.25rem;
}

.polo-star {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.polo-star.filled {
    color: var(--polo-primary);
}

.polo-review-count {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Pricing */
.polo-price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.polo-sale-price,
.polo-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--polo-primary);
}

.polo-regular-price {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
}

.polo-discount-badge {
    background-color: var(--polo-primary);
    color: var(--polo-bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.polo-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Options */
.polo-options {
    margin-bottom: 2rem;
}

.polo-size-section,
.polo-color-section {
    margin-bottom: 1.5rem;
}

.polo-option-label {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.polo-size-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.polo-size-btn {
    background-color: var(--polo-bg-card);
    color: var(--polo-text-secondary);
    border: 2px solid var(--polo-border);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--polo-transition);
    min-width: 3rem;
    text-align: center;
    font-family: Urbanist, sans-serif !important;
    font-size: 15px !important;
    letter-spacing: unset !important;
}

.polo-size-btn:hover,
.polo-size-btn.active {
    background-color: var(--polo-primary);
    color: var(--polo-bg-dark);
    border-color: var(--polo-primary);
    transform: translateY(-2px);
}

.polo-color-options {
    display: flex;
    gap: 1rem;
}

.polo-color-option {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.polo-color-option.active {
    border-color: var(--polo-primary);
    transform: scale(1.1);
}

.polo-color-option:hover {
    transform: scale(1.05);
}

/* Quantity */
.polo-quantity-section {
    margin-bottom: 2rem;
}

.polo-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--polo-border);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.polo-section-des-desktop {
    display: block;
}

.polo-section-des-mobile {
        display: none;
}

/* Product Information Section */
.polo-info-section {
    padding: 0;
    background-color: var(--polo-bg-dark);
    margin-bottom: 0rem;
}

/* Center quantity controls on mobile */
@media (max-width: 768px) {
    .polo-quantity-controls {
        margin: 0 auto;
    }

    .polo-thumb-img {
        width: 60px;
        height: 60px;
    }

    .polo-thumb-btn {
        min-width: 80px;
    }

    .polo-section-des-desktop {
        display: none;
    }

    .polo-section-des-mobile {
        display: block;
    }

    /* Product Information Section */
    .polo-info-section {
        margin-bottom: 4rem;
    }
}

.polo-qty-btn {
    background-color: var(--polo-bg-card) !important;
    color: var(--polo-text-primary) !important;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--polo-transition);
    border-right: 1px solid var(--polo-border);
}

.polo-qty-btn:last-child {
    border-right: none;
    border-left: 1px solid var(--polo-border);
}

.polo-qty-btn:hover {
    background-color: var(--polo-primary);
    color: var(--polo-bg-dark);
}

.polo-qty-input {
    background-color: var(--polo-bg-card) !important;
    color: var(--polo-text-primary) !important;
    border: none;
    padding: 1rem !important;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    width: 4rem;
    -moz-appearance: textfield;
    appearance: textfield;
    border: none !important;
}

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

/* Action Buttons */
.polo-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.polo-add-to-cart-btn-disabled, .polo-add-to-cart-btn,
.polo-buy-now-btn {
    flex: 1;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
    font-family: Urbanist, sans-serif !important;
    letter-spacing: unset !important;
}

.polo-add-to-cart-btn, .polo-add-to-cart-btn-disabled {
    background-color: var(--polo-primary);
    color: var(--polo-bg-dark);
    border-color: var(--polo-primary);
}

.polo-add-to-cart-btn:hover {
    background-color: var(--polo-primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--polo-shadow-hover);
}

.polo-add-to-cart-btn-disabled:hover {
    background-color: var(--polo-primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--polo-shadow-hover);
    color: var(--polo-bg-dark);
}

.polo-add-to-cart-btn-disabled {
    color: var(--polo-bg-dark) !important;
}

.polo-buy-now-btn {
    background-color: transparent;
    color: var(--polo-primary);
    border-color: var(--polo-primary);
}

.polo-buy-now-btn:hover {
    background-color: var(--polo-primary);
    color: var(--polo-bg-dark);
    transform: translateY(-3px);
}

/* Floating Actions */
.polo-floating-actions {
    display: none !important;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.polo-float-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--polo-primary);
    color: var(--polo-bg-dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--polo-transition);
    box-shadow: var(--polo-shadow);
}

.polo-float-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: var(--polo-shadow-hover);
}

/* Assurance Bar */
.polo-assurance {
    padding: 2rem 0;
    background-color: var(--polo-bg-card);
    border-top: 1px solid var(--polo-border);
    border-bottom: 1px solid var(--polo-border);
}

.polo-assurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    text-align: center;
}

.polo-assurance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 5px;
    border: 1px solid var(--polo-border);
    border-radius: 8px;
    transition: var(--polo-transition);
}

.polo-assurance-item:hover {
    border-color: var(--polo-primary);
    transform: translateY(-3px);
}

.polo-assurance-icon {
    font-size: 2rem;
    color: var(--polo-primary);
}

.polo-assurance-item span {
    font-weight: 600;
    color: #FFFFFF;
}

/* Desktop side-by-side layout */
@media (min-width: 769px) {
    .polo-info-section .polo-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .polo-tabs.polo-tabs-desktop {
        order: 1; /* Left side */
        max-width: none;
        margin: 7rem 0;
    }
    
    .polo-feature-img-container {
        order: 2; /* Right side */
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.polo-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.polo-tab-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    border: 2px solid var(--polo-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--polo-bg-card);
}

.polo-tab-nav-btn {
    flex: 1;
    background-color: transparent;
    color: var(--polo-text-secondary);
    border: none;
    padding: 1rem 5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--polo-transition);
    border-right: 1px solid var(--polo-border);
    font-size: 14px;
}

.polo-tab-nav-btn:last-child {
    border-right: none;
}

.polo-tab-nav-btn:hover,
.polo-tab-nav-btn.active {
    background-color: var(--polo-primary);
    color: var(--polo-bg-dark);
}

.polo-tab-content {
    background-color: var(--polo-bg-card);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--polo-border);
}

.polo-tab-pane {
    display: none;
}

.polo-tab-pane.active {
    display: block;
}

.polo-tab-pane h3 {
    color: var(--polo-primary);
    font-size: 20px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.polo-tab-pane p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Specifications Grid */
.polo-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.polo-spec-item {
    background-color: var(--polo-bg-light-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--polo-border);
}

.polo-spec-item h4 {
    color: var(--polo-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 20px;
}

.polo-spec-item p {
    color: #FFFFFF;
    margin: 0;
    font-weight: 600;
}

/* Size Guide Table */
.polo-size-table {
    overflow-x: auto;
}

.polo-size-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--polo-bg-light-card);
    border-radius: 8px;
    overflow: hidden;
}

.polo-size-table th {
    background-color: var(--polo-primary);
    color: var(--polo-bg-dark);
    padding: 1rem;
    font-weight: 700;
    text-align: center;
}

.polo-size-table td {
    background-color: var(--polo-bg-card);
    color: var(--polo-text-primary);
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--polo-border);
    font-weight: 600;
}

.polo-size-table tr:last-child td {
    border-bottom: none;
}

/* Care Instructions */
.polo-care-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.polo-care-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--polo-border);
    color: var(--polo-text-secondary);
    font-weight: 500;
}

.polo-care-list li:last-child {
    border-bottom: none;
}

.care-icon {
    font-size: 1.5rem;
    color: var(--polo-primary);
    min-width: 2rem;
    text-align: center;
}

/* Reviews Section */
.polo-reviews {
    padding: 4rem 0;
    background-color: var(--polo-bg-dark);
}

.polo-reviews-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.polo-rating-summary {
    text-align: center;
}

.polo-avg-rating {
    margin-bottom: 2rem;
}

.polo-big-rating {
    font-size: 4rem;
    font-weight: 800;
    color: var(--polo-primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.polo-rating-stars {
    margin-bottom: 0.5rem;
}

.polo-rating-breakdown {
    max-width: 300px;
    margin: 0 auto;
}

.polo-rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.polo-bar {
    flex: 1;
    height: 0.5rem;
    background-color: var(--polo-bg-card);
    border-radius: 0.25rem;
    overflow: hidden;
}

.polo-bar-fill {
    height: 100%;
    background-color: var(--polo-primary);
    transition: var(--polo-transition);
}

.polo-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 1rem;
}

.polo-review-item {
    background-color: var(--polo-bg-card);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--polo-primary);
    border: 1px solid var(--polo-border);
}

.polo-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.polo-review-header h4 {
    color: #FFFFFF;
    margin: 0;
    font-weight: 700;
}

.polo-review-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.polo-review-rating {
    margin-bottom: 1rem;
}

.polo-review-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Benefits Section */
.polo-benefits {
    padding: 4rem 0;
    background-color: var(--polo-bg-card);
}

.polo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.polo-benefits-grid-desktop {
    display : flex;
    gap: 20px;
    align-items: stretch;
}

.polo-benefit-item-desktop {
        flex: 1;
    text-align: center;
    padding: 1rem;
    background-color: var(--polo-bg-light-card);
    border-radius: 12px;
    border: 1px solid var(--polo-border);
    transition: var(--polo-transition);
    display: flex;
    flex-direction: column;
}

.polo-benefit-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--polo-bg-light-card);
    border-radius: 12px;
    border: 1px solid var(--polo-border);
    transition: var(--polo-transition);
}

.polo-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--polo-shadow);
    border-color: var(--polo-primary);
}

.polo-benefit-icon {
    font-size: 3rem;
    color: var(--polo-primary);
    margin-bottom: 1.5rem;
}

.polo-benefit-item h3 {
    color: var(--polo-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.polo-benefit-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.polo-faq {
    padding: 4rem 0;
    background: var(--polo-bg-light-card);
}

.polo-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.polo-faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--polo-border);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--polo-bg-card);
}

.polo-faq-question {
    width: 100%;
    background-color: var(--polo-primary) !important;
    color: var(--polo-bg-dark) !important;
    border: none;
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--polo-transition);
}

.polo-faq-question:hover {
    background-color: var(--polo-primary-hover) !important;
}

.polo-faq-toggle {
    transition: all 0.3s ease;
}

.polo-faq-item.active .polo-faq-toggle {
    transform: rotate(180deg);
}

.polo-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--polo-transition);
    background-color: var(--polo-bg-light-card);
}

.polo-faq-item.active .polo-faq-answer {
    max-height: 200px;
}

.polo-faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Error Styling */
.polo-error {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--polo-text-secondary);
}

.polo-error h1 {
    color: var(--polo-primary);
    margin-bottom: 1rem;
}

.polo-event-buy-now-btn-wrapper {
    max-width: 250px;
    margin: auto;
    margin-bottom: 80px;
}

.polo-event-buy-now-btn {
    background-color: var(--polo-primary);
    color: var(--polo-bg-dark);
    border-color: var(--polo-primary);
    width: 100%;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .polo-hero-grid {
        gap: 3rem;
    }
    
    .polo-section-title {
        font-size: 2rem;
    }
    
    .polo-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .polo-spec-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .polo-section-title {
        margin-bottom: 4rem;
    }

    .polo-container {
        padding: 0 15px;
        margin: 100px auto 0 auto;
    }
    
    .polo-hero {
        padding: 2rem 0;
    }
    
    .polo-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .polo-title {
        font-size: 2.2rem;
    }
    
    .polo-actions {
        flex-direction: column;
    }
    
    .polo-floating-actions {
        display: none !important;
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .polo-assurance-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
    
    .polo-tab-nav {
        flex-wrap: wrap;
        border-radius: 0;
    }
    
    .polo-tab-nav-btn {
        flex: 1 1 50%;
        border: 1px solid rgba(139, 92, 246, 0.3);
        border-radius: 8px;
        margin: 0.25rem;
    }
    
    .polo-tab-content {
        padding: 2rem 1.5rem;
    }
    
    .polo-reviews-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .polo-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .polo-size-options {
        justify-content: center;
    }
    
    .polo-gallery-tabs {
        /* flex-wrap: wrap; */
        gap: 0.5rem;
    }
    
    .polo-thumb-btn {
        flex: 1;
        /* min-width: calc(50% - 0.25rem); */
    }
}

@media (max-width: 480px) {
    .polo-section-title {
        font-size: 1.8rem;
        margin-bottom: 4rem;
    }
    
    .polo-title {
        font-size: 1.8rem;
    }
    
    .polo-assurance-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
    
    .polo-assurance-item {
        padding: 5px;
    }
    
    .polo-tab-nav-btn {
        flex: 1 1 100%;
        margin: 0.25rem 0;
    }
    
    .polo-benefit-item {
        padding: 1.5rem;
    }
    
    .polo-spec-item {
        padding: 1rem;
    }
    
    .polo-faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .polo-faq-answer p {
        padding: 1rem;
    }
}

/* Loading and Animation States */
.polo-loading {
    opacity: 0.6;
    pointer-events: none;
}

.polo-fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Focus States for Accessibility */
.polo-thumb-btn:focus,
.polo-size-btn:focus,
.polo-color-option:focus,
.polo-qty-btn:focus,
.polo-add-to-cart-btn:focus,
.polo-buy-now-btn:focus,
.polo-float-btn:focus,
.polo-tab-nav-btn:focus,
.polo-faq-question:focus, 
.polo-faq-question:active,
.polo-accordion-header:focus,
.polo-add-to-cart-btn-disabled:focus {
    outline: 2px solid var(--polo-primary) !important;
    outline-offset: 2px;
    background-color: var(--polo-primary) !important;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --polo-bg-dark: #000000;
        --polo-bg-card: #111111;
        --polo-bg-light-card: #222222;
        --polo-border: #555555;
        --polo-border-light: #666666;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   ACCORDION STYLES FOR MOBILE
   ======================================== */

/* Mobile Accordion - Hidden by default, shown on mobile */
.polo-accordion-mobile {
    display: none;
}

/* Accordion Item Styles */
.polo-accordion-item {
    margin: 0 16px;
    border: 1px solid var(--polo-border);
    border-radius: var(--polo-border-radius-small);
    overflow: hidden;
    background-color: var(--polo-bg-card);
    transition: var(--polo-transition);
}

.polo-accordion-item:hover {
    border-color: var(--polo-primary);
}

/* Accordion Header Button */
.polo-accordion-header {
    width: 100%;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--polo-transition);
    background-color: var(--polo-primary) !important;
    color: var(--polo-bg-dark) !important;
    border-bottom-color: var(--polo-primary);
}

.polo-accordion-header:hover {
    background-color: var(--polo-primary) !important;
}

.polo-accordion-item.active .polo-accordion-header {
    background-color: var(--polo-primary) !important;
    color: var(--polo-bg-dark) !important;
    border-bottom-color: var(--polo-primary);
}

/* Accordion Toggle Icon */
.polo-accordion-toggle {
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: bold;
}

.polo-accordion-item.active .polo-accordion-toggle {
    transform: rotate(180deg);
}

/* Accordion Content */
.polo-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease, opacity 0.3s ease;
    background-color: var(--polo-bg-light-card);
    padding: 0 1.5rem;
    cursor: pointer;
    will-change: max-height, padding;
    opacity: 0;
}

.polo-accordion-item.active .polo-accordion-content {
    max-height: none; /* Allow natural height expansion */
    min-height: auto; /* Ensure proper height calculation */
    padding: 1.5rem;
    transition: max-height 0.4s ease-in, padding 0.3s ease, opacity 0.3s ease;
    opacity: 1;
    overflow: visible; /* Allow content to be fully visible when expanded */
}

.polo-accordion-item.active .polo-accordion-content:hover {
    background-color: var(--polo-bg-card);
}

/* Reset cursor for interactive elements within accordion content */
.polo-accordion-content a,
.polo-accordion-content button,
.polo-accordion-content input,
.polo-accordion-content select,
.polo-accordion-content textarea,
.polo-accordion-content img {
    cursor: auto;
}

.polo-accordion-content a {
    cursor: pointer;
}

.polo-accordion-content button {
    cursor: pointer;
}

/* Accordion Content Styling */
.polo-accordion-content h3 {
    color: var(--polo-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.polo-accordion-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Mobile-specific responsive styles */
@media (max-width: 768px) {
    /* Reset grid layout for mobile - stacked layout */
    .polo-info-section .polo-container {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        padding: 0 !important;
    }
    
    .polo-feature-img-container {
        order: unset !important;
        margin: 4rem 0 !important;
    }
    
    .polo-tabs.polo-tabs-desktop {
        order: unset !important;
        margin: 0 auto !important;
        max-width: 1000px !important;
    }
    
    /* Hide desktop tabs on mobile */
    .polo-tabs-desktop {
        display: none !important;
    }
    
    /* Show mobile accordion */
    .polo-accordion-mobile {
        display: block;
        scroll-behavior: smooth;
    }
    
    /* Accordion mobile optimizations */
    .polo-accordion-header {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        scroll-margin-top: 80px; /* Ensures proper scroll positioning */
    }
    
    .polo-accordion-content {
        padding: 0 1.25rem;
        max-height: 0;
        overflow: hidden;
    }
    
    .polo-accordion-item.active .polo-accordion-content {
        padding: 1.25rem;
        max-height: none; /* Allow natural height on mobile */
        overflow: visible; /* Ensure content is fully visible */
        min-height: fit-content; /* Ensure proper content height */
    }
    
    /* Prevent layout shift during accordion transitions */
    .polo-accordion-item {
        contain: layout;
        margin-bottom: 1rem;
    }
    
    /* Specific fixes for size guide table on mobile */
    .polo-accordion-content .polo-size-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -1.25rem; /* Full width on mobile */
        padding: 0 1.25rem;
    }
    
    .polo-accordion-content .polo-size-table img {
        width: 100%;
        height: auto;
        max-width: none;
        display: block;
    }
    
    /* Ensure care instructions list is properly spaced */
    .polo-accordion-content .polo-care-list {
        width: 100%;
        box-sizing: border-box;
    }
    
    .polo-accordion-content .polo-care-list ul {
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .polo-accordion-content .polo-care-list li {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--polo-border);
        color: var(--polo-text-secondary);
        font-weight: 500;
        line-height: 1.5;
        word-wrap: break-word;
    }
    
    .polo-accordion-content .polo-care-list li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .polo-accordion-content .care-icon {
        font-size: 1.2rem;
        color: var(--polo-primary);
        min-width: 1.5rem;
        text-align: center;
        flex-shrink: 0;
    }
    
    /* Ensure accordion content styling matches mobile */
    .polo-accordion-content .polo-spec-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .polo-accordion-content .polo-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .polo-accordion-content .polo-size-table img {
        width: 100%;
        height: auto;
    }
}

/* ========================================
   NEW TECH THEME COMPONENTS
   ======================================== */

/* E-Sports Banner Component */
.esports-banner {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 0 0 0;
}

.esports-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, #00D4FF 0%, #8B5CF6 50%, #EC4899 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='circuit' width='50' height='50' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 25h25v-5h5v10h-5v5h25v-5h5v10h-5v5H25v-5h-5v-10h5v-5H0v5h-5v-10h5v-5z' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23circuit)'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
    opacity: 0.1;
    z-index: 1;
}

.esports-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    line-height: 1.2;
    font-family: Urbanist, sans-serif !important;
    letter-spacing: unset !important;
}

.banner-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-button {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    border: none;
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.cta-button:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}



/* Enhanced Polo Gallery Section */
.polo-showcase {
    padding: 6rem 0;
    background: var(--polo-bg-card);
}

.polo-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.polo-showcase-grid:nth-child(even) {
    direction: rtl;
}

.polo-showcase-grid:nth-child(even) > * {
    direction: ltr;
}

.polo-model-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--polo-border);
    transition: var(--polo-transition-glow);
}

.polo-model-image:hover {
    border-color: var(--polo-primary);
    box-shadow: var(--polo-glow-purple);
}

.polo-model-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.polo-model-image:hover img {
    transform: scale(1.05);
}

.polo-holographic-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--polo-gradient-cyber);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: var(--polo-transition);
}

.polo-model-image:hover .polo-holographic-border {
    opacity: 1;
}

.polo-model-description h3 {
    font-size: 1.5rem;
    color: var(--polo-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.polo-model-description p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.polo-tech-features {
    list-style: none;
    padding: 0;
}

.polo-tech-features li {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.polo-tech-features li::before {
    content: '▶';
    color: var(--polo-accent);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* Event Carousel Section */
.polo-events {
    padding: 3rem 0 6rem 0;
    background: var(--polo-bg-dark);
}

.events-carousel {
    position: relative;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding: 0 60px;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    align-items: center;
    height: 100%;
}

.event-card {
    background: var(--polo-bg-card);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--polo-border-event);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    width: 220px;
    height: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: scale(0.8);
    opacity: 0.6;
}

.event-card.active {
    transform: scale(1.2);
    opacity: 1;
    border-color: #8B5CF6;
    box-shadow: var(--polo-glow-purple-event);
    z-index: 10;
    width: 300px;
    height: 420px;
    padding: 1.5rem;
}

.event-card:hover {
    border-color: var(--polo-border-event);
    box-shadow: var(--polo-glow-purple-event);
}

.event-card-image {
    width: 100%;
    height: 220px;
    background: var(--polo-gradient-dark);
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.event-card.active .event-card-image {
    height: 300px;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--polo-gradient-primary);
    opacity: 0.1;
}

.event-card h3 {
    color: var(--polo-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    flex-grow: 0;
}

.event-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    line-height: 1.4;
}

.event-date {
    color: var(--polo-accent);
    font-weight: 600;
    font-size: 0.85rem;
    flex-grow: 0;
}

/* Clone cards for seamless infinite scroll */
.event-card.clone {
    pointer-events: none;
}




/* Achievements Section */
.polo-achievements {
    padding: 6rem 0;
    background: var(--polo-bg-light-card);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.achievement-card {
    background: var(--polo-bg-card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--polo-border);
    transition: var(--polo-transition-glow);
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--polo-gradient-primary);
    transform: scaleX(0);
    transition: var(--polo-transition);
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-card:hover {
    border-color: var(--polo-primary);
    box-shadow: var(--polo-glow-purple);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--polo-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.achievement-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: var(--polo-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}


/* Enhanced existing sections */
.polo-image-container {
    background: linear-gradient(var(--polo-bg-card), var(--polo-bg-card)) padding-box,
                var(--polo-gradient-primary) border-box;
}

.polo-add-to-cart-btn, .polo-add-to-cart-btn-disabled {
    background: var(--polo-gradient-primary);
    border: none !important;
    transition: var(--polo-transition-glow) !important;
}

.polo-add-to-cart-btn:hover {
    box-shadow: var(--polo-glow-purple) !important;
    transform: translateY(-2px) !important;
}

.polo-add-to-cart-btn-disabled:hover {
    box-shadow: var(--polo-glow-purple) !important;
    color: var(--polo-bg-dark);
    transform: translateY(-2px) !important;
}

a.added_to_cart.wc-forward {
    display: none;
}

.polo-size-btn.active,
.polo-size-btn:hover {
    background: var(--polo-primary);
    border-color: var(--polo-primary);
    box-shadow: var(--polo-glow-purple);
}

.polo-tab-nav-btn.active {
    background: var(--polo-primary);
    color: var(--polo-bg-dark);
    box-shadow: var(--polo-glow-purple);
}

.cpolo-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 1em;
}

/* Image Cluster Component */
.image-cluster {
    position: relative;
    width: 420px;
    height: 500px;
}

.image-cluster .cluster-img {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    object-fit: cover;
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.image-cluster .cluster-img:hover {
    box-shadow: var(--polo-glow-cyan);
    transform: translateY(-4px);
}

/* Main large image */
.image-cluster .main {
    width: 420px;
    height: 500px;
    /* width: 260px;
    height: 320px;
    top: 90px;
    left: 90px;
    z-index: 2; */
}

/* Small images */
.image-cluster .top-left {
    width: 120px;
    height: 140px;
    top: 0;
    left: 0;
    z-index: 2;
}

.image-cluster .bottom-left {
    width: 140px;
    height: 160px;
    bottom: 0;
    left: 0px;
    z-index: 2;
}

.image-cluster .top-right {
    width: 130px;
    height: 150px;
    top: 0px;
    right: -25px;
    z-index: 2;
}

.image-cluster .bottom-right {
   width: 140px;
    height: 160px;
    bottom: 0px;
    right: 0px;
    z-index: 2;
}

@media (max-width: 768px) {
    .image-cluster {
        width: 100%;
        height: 420px;
        margin-bottom: 2rem;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .polo-showcase {
        padding: 6rem 0 1rem 0;
    }

    .polo-tab-pane-container {
        margin-top: 60px !important;
    }

    .polo-events-container {
        margin-top: 0px !important;
    }

    .polo-achievements-container {
        margin-top: 0px !important;
    }

    .polo-showcase-container {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .image-cluster .bottom-left {
        width: 120px;
        height: 140px;
        bottom: -30px;
    }

    .image-cluster .bottom-right {
        width: 120px;
        height: 140px;
        bottom: -40px;
    }

    .esports-banner {
        min-height: 50vh;
        margin-bottom: 2rem;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .polo-showcase-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .polo-showcase-grid:nth-child(even) {
        direction: ltr;
    }
    
    /* Carousel Mobile Styles */
    .events-carousel {
        padding: 0 20px;
    }
    
    .carousel-container {
        height: 350px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
    }
    
    .carousel-container::-webkit-scrollbar {
        display: none;
    }
    
    .carousel-track {
        gap: 20px;
    }
    
    .event-card {
        width: 220px;
        height: 300px;
        padding: 1rem;
        transform: scale(1) !important;
        opacity: 1 !important;
        border: 1px solid var(--polo-border-event);
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }
    
    .event-card.active {
        width: 220px;
        height: 300px;
        padding: 1rem;
        transform: scale(1) !important;
        border-color: #8B5CF6;
        box-shadow: var(--polo-glow-purple-event);
    }
    
    .event-card-image {
        height: 220px;
    }
    
    .event-card.active .event-card-image {
        height: 220px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .polo-model-image img {
        height: 300px;
    }
}

/* ========================================
   FEATURED IMAGE SECTION
   ======================================== */

/* Featured Image Section */
.polo-featured-image {
    padding: 6rem 0;
    background: var(--polo-bg-dark);
    border-top: 1px solid var(--polo-border);
    border-bottom: 1px solid var(--polo-border);
}

.polo-feature-img-container {
    margin: 30% 0;
}

.polo-featured-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.polo-featured-img {
    width: 100%;
    height: 750px;
    border-radius: var(--polo-border-radius-large);
    border: 2px solid var(--polo-border);
    transition: var(--polo-transition-glow);
    box-shadow: var(--polo-shadow);
    object-fit: cover;
    aspect-ratio: 16/9;
}

.polo-featured-img:hover {
    border-color: var(--polo-primary);
    box-shadow: var(--polo-glow-purple);
    transform: translateY(-5px);
}

/* Add a subtle overlay effect */
.polo-featured-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(241, 196, 15, 0.1) 0%, transparent 50%, rgba(241, 196, 15, 0.1) 100%);
    border-radius: var(--polo-border-radius-large);
    pointer-events: none;
    opacity: 0;
    transition: var(--polo-transition);
    z-index: 1;
}

.polo-featured-image-container:hover::before {
    opacity: 1;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .polo-feature-img-container {
        margin: 4rem 0;
    }

    .polo-featured-image {
        padding: 4rem 0;
    }
    
    .polo-featured-image-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .polo-featured-img {
        height: 500px;
        max-width: 100%;
        border-radius: var(--polo-border-radius);
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .polo-featured-image {
        padding: 3rem 0;
    }
    
    .polo-featured-img {
        border-radius: var(--polo-border-radius-small);
        aspect-ratio: 1/1;
    }
}

/* ========================================
   CUSTOMER REVIEWS DOUBLE CAROUSEL SECTION
   ======================================== */

/* Reviews Section Main Container */
.polo-reviews-carousel {
    padding-top: 40px !important;
    padding: 6rem 0;
    background: var(--polo-bg-light-card);
    border-top: 1px solid var(--polo-border);
    margin-top: 3rem;
    position: relative;
}

/* Double Carousel Layout */
.reviews-double-carousel {
    position: relative;
    max-width: 100vw;
    overflow: hidden;
    margin-top: 3rem;
}

/* Individual Review Row */
.reviews-row {
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
}

.reviews-row:last-child {
    margin-bottom: 0;
}

/* Carousel Track for Each Row */
.reviews-carousel-track {
    display: flex;
    gap: 30px;
    width: fit-content;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: none;
}

/* First row - Right to left movement */
.reviews-carousel-track[data-direction="left"] {
    animation: scrollRightToLeft 120s linear infinite;
}

/* Second row - Same direction but delayed */
.reviews-carousel-track[data-direction="right"] {
    animation: scrollRightToLeft 120s linear infinite;
    animation-delay: 2s; /* Delayed start for second row */
}

/* Keyframes for right-to-left infinite scrolling (traditional marquee style) */
@keyframes scrollRightToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3));
    }
}

/* Review Card Styling */
.review-card {
    background: var(--polo-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--polo-border);
    transition: all 0.3s ease;
    width: 320px;
    height: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0.9;
    overflow: hidden;
}

.review-card.active {
    transform: scale(1.05);
    opacity: 1;
    border-color: var(--polo-primary);
    box-shadow: var(--polo-glow-purple);
    z-index: 10;
}

.review-card:hover {
    border-color: var(--polo-primary);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.3);
    opacity: 1;
}

/* Review Avatar */
.review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.review-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--polo-primary);
    object-fit: cover;
    transition: var(--polo-transition);
}

.review-card:hover .review-avatar img {
    border-color: var(--polo-accent);
    transform: scale(1.1);
}

/* Review Content */
.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.review-author {
    color: var(--polo-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    letter-spacing: 2px;
}

.review-rating {
    display: flex;
    gap: 0.2rem;
    justify-content: center;
}

.review-star {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.review-star.filled {
    color: var(--polo-primary);
    text-shadow: 0 0 8px rgba(241, 196, 15, 0.5);
}

/* Review Text */
.review-text {
    color: var(--polo-text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    flex: 1;
    overflow: hidden;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.review-date {
    color: var(--polo-text-muted);
    font-size: 0.8rem;
    text-align: center;
    font-weight: 500;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(241, 196, 15, 0.1);
}

/* Clone cards for seamless infinite scroll */
.review-card.clone {
    pointer-events: none;
}

/* Text Overlay Between Carousels */
.reviews-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--polo-primary);
    border-radius: 20px;
    padding: 2rem 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.reviews-stats-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stats-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--polo-primary);
    text-shadow: 0 0 20px rgba(241, 196, 15, 0.8);
    line-height: 1;
}

.stats-description {
    font-size: 1rem;
    color: var(--polo-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    font-weight: 600;
}



/* Reviews Section Title Styling */
.polo-reviews-carousel .polo-section-title {
    background: linear-gradient(135deg, var(--polo-primary) 0%, var(--polo-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* Mobile Reviews Responsive Design */
@media (max-width: 768px) {
    .polo-reviews-carousel {
        padding: 6rem 0;
        padding-top: 0 !important;
    }
    
    .reviews-double-carousel {
        margin-top: 2rem;
    }
    
    .reviews-row {
        margin-bottom: 1.5rem;
    }
    
    .reviews-carousel-track {
        gap: 20px;
    }
    
    /* Slower animation on mobile - both rows right to left */
    .reviews-carousel-track[data-direction="left"] {
        animation: scrollRightToLeft 100s linear infinite;
    }
    
    .reviews-carousel-track[data-direction="right"] {
        animation: scrollRightToLeft 100s linear infinite;
        animation-delay: 1.5s;
    }
    
         .review-card {
         width: 320px;
         height: 250px;
         padding: 1.25rem;
         transform: scale(1) !important;
         opacity: 1 !important;
         border: 1px solid var(--polo-border);
     }
    
    .review-card.active {
        border-color: var(--polo-primary);
        box-shadow: var(--polo-glow-purple);
    }
    
    .review-avatar img {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
    
    .review-author {
        font-size: 0.95rem;
    }
    
    .review-text {
        font-size: 0.8rem;
        -webkit-line-clamp: 4;
    }
    
    .review-star {
        font-size: 0.85rem;
    }
    
    /* Mobile text overlay */
    .reviews-text-overlay {
        padding: 8px;
        border-radius: 15px;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .stats-description {
        font-size: 12px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .polo-reviews-carousel {
        padding: 6rem 0;
        padding-top: 0 !important;
    }
    
         .review-card {
         width: 290px;
         height: 230px;
         padding: 1rem;
     }
    
    .review-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .review-author {
        font-size: 0.9rem;
    }
    
    .review-text {
        font-size: 0.75rem;
        -webkit-line-clamp: 3;
    }
    
    .review-date {
        font-size: 0.7rem;
    }
    
    /* Extra small mobile text overlay */
    .reviews-text-overlay {
        padding: 8px;
        border-radius: 12px;
    }
    
    .stats-number {
        font-size: 2rem;
    }
    
    .stats-description {
        font-size: 12px;
    }
}

/* Performance and Accessibility Enhancements */
.review-card {
    /* Add focus states for accessibility */
    outline: none;
}

.review-card:focus-visible {
    outline: 2px solid var(--polo-primary);
    outline-offset: 2px;
}

/* Reduced motion support for reviews carousel */
@media (prefers-reduced-motion: reduce) {
    .reviews-carousel-track {
        transition-duration: 0.01ms !important;
    }
    
    .review-card {
        transition-duration: 0.01ms !important;
    }
    
    .review-avatar img {
        transition-duration: 0.01ms !important;
    }
}

/* Loading state for review images */
.review-avatar img[src=""] {
    background: var(--polo-bg-elevated);
    opacity: 0.5;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .review-card {
        border-width: 2px;
        border-color: var(--polo-primary);
    }
    
    .review-text {
        color: var(--polo-text-primary);
    }
}