/* ===================================
   Product Detail Luxury Styles
   Theme: #BD3EC1 (Primary) + Gray
   Style: Minimal Luxury
   =================================== */

:root {
    --primary-color: #BD3EC1;
    --primary-dark: #9d33a1;
    --primary-light: #d465d8;
    --primary-glow: rgba(189, 62, 193, 0.3);
    
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    --luxury-gradient: linear-gradient(135deg, #667eea 0%, #BD3EC1 100%);
    --dark-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* ========== Hero Section ========== */
.luxury-product-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Animated Background Elements */
.luxury-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.luxury-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.luxury-orb:nth-child(1) {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.luxury-orb:nth-child(2) {
    width: 300px;
    height: 300px;
    background: #667eea;
    bottom: -150px;
    left: -100px;
    animation-delay: 5s;
}

.luxury-orb:nth-child(3) {
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* ========== Glass Container ========== */
.luxury-glass-container {
    position: relative;
    z-index: 1;
}

.luxury-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.luxury-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(189, 62, 193, 0.5), 
        transparent);
    animation: shimmer 3s infinite;
}

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

/* ========== Product Gallery ========== */
.luxury-gallery-section {
    position: relative;
    margin-bottom: 40px;
}

.luxury-gallery-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(189, 62, 193, 0.1), rgba(102, 126, 234, 0.1));
    padding: 3px;
}

.luxury-gallery-inner {
    background: #0a0a0a;
    border-radius: 17px;
    overflow: hidden;
    position: relative;
}

/* Main Image Display */
.luxury-main-display {
    position: relative;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(189, 62, 193, 0.05), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.luxury-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.luxury-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.6s ease;
    transform: scale(0.95);
}

.luxury-slide.active {
    opacity: 1;
    transform: scale(1);
    animation: slideIn 0.6s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.luxury-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.95);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.luxury-slide:hover img {
    filter: brightness(1.05);
    transform: scale(1.02);
}

/* Gallery Controls */
.luxury-gallery-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.luxury-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.luxury-control-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
    border-color: var(--primary-color);
}

/* Navigation Arrows */
.luxury-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(189, 62, 193, 0.3);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 24px;
}

.luxury-nav-btn.prev {
    left: 20px;
}

.luxury-nav-btn.next {
    right: 20px;
}

.luxury-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%);
    box-shadow: 0 0 30px var(--primary-glow);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(189, 62, 193, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(189, 62, 193, 0);
    }
}

/* Thumbnails */
.luxury-thumbnails {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.1);
}

.luxury-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.luxury-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.luxury-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.luxury-thumb {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.luxury-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.luxury-thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
}

.luxury-thumb:hover:not(.active) {
    border-color: rgba(189, 62, 193, 0.5);
}

.luxury-thumb:hover img {
    transform: scale(1.1);
}

/* ========== Product Information ========== */
.luxury-info-section {
    padding: 40px;
    padding-top: 0;
}

.luxury-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.luxury-title {
    font-size: 42px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff, var(--gray-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.luxury-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 30px;
    font-weight: 300;
}

.luxury-description {
    color: var(--gray-300);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Price Display */
.luxury-price-box {
    background: linear-gradient(135deg, rgba(189, 62, 193, 0.1), rgba(102, 126, 234, 0.1));
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.luxury-price-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--luxury-gradient);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.luxury-price-box:hover::before {
    opacity: 0.3;
}

.luxury-price-label {
    font-size: 14px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.luxury-price-value {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.luxury-price-currency {
    font-size: 18px;
    color: var(--gray-400);
    font-weight: 400;
}

/* Action Buttons */
.luxury-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.luxury-btn {
    flex: 1;
    padding: 18px 30px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.luxury-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.luxury-btn-primary:hover {
    box-shadow: 0 15px 40px var(--primary-glow);
    filter: brightness(1.1);
}

.luxury-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(189, 62, 193, 0.3);
    backdrop-filter: blur(10px);
}

.luxury-btn-secondary:hover {
    background: rgba(189, 62, 193, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.luxury-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.luxury-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Features List */
.luxury-features {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.luxury-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.luxury-feature-item:hover {
    background: rgba(189, 62, 193, 0.05);
    transform: translateX(10px);
}

.luxury-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.luxury-feature-text {
    flex: 1;
    color: var(--gray-300);
}

/* Locked State */
.luxury-locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 100;
}

.luxury-lock-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(189, 62, 193, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(189, 62, 193, 0);
    }
}

.luxury-lock-title {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.luxury-lock-text {
    color: var(--gray-400);
    text-align: center;
    margin-bottom: 30px;
    max-width: 400px;
}

/* Fullscreen Viewer */
.luxury-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.luxury-fullscreen.active {
    display: flex;
}

.luxury-fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.luxury-fullscreen-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
}

.luxury-fullscreen-close:hover {
    background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .luxury-glass-card {
        padding: 40px;
    }
    
    .luxury-title {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .luxury-product-hero {
        padding: 100px 0 60px;
    }
    
    .luxury-glass-card {
        padding: 30px;
    }
    
    .luxury-main-display {
        height: 450px;
    }
    
    .luxury-info-section {
        padding: 30px;
        padding-top: 0;
    }
    
    .luxury-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .luxury-glass-card {
        padding: 20px;
        border-radius: 20px;
    }
    
    .luxury-title {
        font-size: 28px;
    }
    
    .luxury-main-display {
        height: 350px;
    }
    
    .luxury-info-section {
        padding: 20px;
        padding-top: 0;
    }
    
    .luxury-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .luxury-nav-btn.prev {
        left: 10px;
    }
    
    .luxury-nav-btn.next {
        right: 10px;
    }
    
    .luxury-thumbnails {
        padding: 15px;
    }
    
    .luxury-thumb {
        flex: 0 0 60px;
        height: 60px;
    }
    
    .luxury-price-value {
        font-size: 28px;
    }
    
    .luxury-btn {
        padding: 15px 25px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .luxury-product-hero {
        padding: 80px 0 40px;
    }
    
    .luxury-title {
        font-size: 24px;
    }
    
    .luxury-subtitle {
        font-size: 16px;
    }
    
    .luxury-description {
        padding: 20px;
        font-size: 14px;
    }
    
    .luxury-gallery-controls {
        bottom: 20px;
    }
    
    .luxury-control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Loading Animation */
.luxury-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}

.luxury-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(189, 62, 193, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Particle Effects */
.luxury-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.luxury-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: particle 10s linear infinite;
}

@keyframes particle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(0);
    }
}

/* Glow Effects */
.luxury-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(100px);
    animation: glow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes glow {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.2;
    }
    to {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
}

/* ========== Related Products Section ========== */
.related-products-section {
    padding: 80px 0;
color: #fff !important;
    position: relative;
    overflow: hidden;
}

.related-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23BD3EC1" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Section Header */
.related-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    position: relative;
}

.section-title-wrapper {
    flex: 1;
}

.category-badge-wrapper {
    margin-bottom: 15px;
}

.category-badge-related {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: all 0.3s ease;
}

.category-badge-related i {
    margin-left: 8px;
    font-size: 1rem;
}

.category-badge-related:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.related-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
    position: relative;
}

.related-section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.related-section-subtitle {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin: 0;
}

/* Navigation Arrows */
.related-nav-arrows {
    display: flex;
    gap: 10px;
}

.related-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.related-arrow:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.related-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Products Slider */
.related-products-slider {
    position: relative;
    overflow: hidden;
    margin: 0 -15px;
}

.related-products-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0 15px;
}

.related-product-item {
    flex: 0 0 calc(25% - 22.5px);
    min-width: 280px;
}

/* Product Card */
.related-product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(189, 62, 193, 0.1);
}

.related-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(189, 62, 193, 0.15);
    border-color: var(--primary-color);
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.badge-featured {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: white;
}

.badge-discount {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.badge-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

/* Product Image */
.related-product-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--gray-100);
}

.related-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.related-product-card:hover .related-product-image {
    transform: scale(1.1);
}

/* Hover Overlay */
.product-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(189, 62, 193, 0.9), rgba(157, 51, 161, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.related-product-card:hover .product-hover-overlay {
    opacity: 1;
    visibility: visible;
}

.product-quick-actions {
    display: flex;
    gap: 15px;
}

.quick-action-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Product Info */
.related-product-info {
    padding: 25px 20px;
}

.product-meta {
    margin-bottom: 15px;
}

.product-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-500);
    font-size: 0.85rem;
}

.stat-item i {
    color: var(--primary-color);
}

.related-product-name {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.related-product-name a {
    color: var(--gray-800);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-product-name a:hover {
    color: var(--primary-color);
}

.related-product-desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Product Pricing */
.related-product-pricing {
    margin-bottom: 20px;
}

.price-original {
    color: var(--gray-500);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.currency {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* Product Actions */
.related-product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-view-details {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
    color: white;
    text-decoration: none;
}

.btn-add-to-cart {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.btn-add-to-cart:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* View All Link */
.related-view-all {
    text-align: center;
    margin-top: 50px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .related-product-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .related-section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .related-section-title {
        font-size: 2rem;
    }
    
    .related-product-item {
        flex: 0 0 calc(50% - 15px);
        min-width: 250px;
    }
    
    .related-nav-arrows {
        order: -1;
    }
}

@media (max-width: 480px) {
    .related-product-item {
        flex: 0 0 calc(100% - 30px);
        min-width: auto;
    }
    
    .related-products-track {
        gap: 15px;
    }
}