/* =================================================================
   VAMPIRES INDUSTRY - SINGLE PRODUCT PAGE STYLES
   Modern, State-of-the-art Design
   ================================================================= */

/* CSS Variables - Consistent with homepage */
:root {
    --primary: #374151 !important;           /* Dark neutral gray */
    --secondary: #6b7280 !important;         /* Medium neutral gray */
    --accent: #9ca3af !important;            /* Light neutral gray */
    --bg-primary: #ffffff !important;        /* Pure white */
    --bg-secondary: #f9fafb !important;      /* Very light gray */
    --light: #f3f4f6 !important;            /* Light gray */
    --text-dark: #374151 !important;        /* Dark text */
    --text-light: #ffffff !important;       /* White text */
    --text-muted: #9ca3af !important;       /* Muted text */
    --text-body: #6b7280 !important;        /* Body text */
    --border-color: #e5e7eb !important;     /* Light border */
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Product specific */
    --product-gradient: linear-gradient(135deg, #374151 0%, #6b7280 100%);
    --product-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --product-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Container Max Width
   ================================================================= */
.single-product-page .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Breadcrumb Section
   ================================================================= */
.single-product-page .breadcrumb-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(55, 65, 81, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

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

.breadcrumb-section .container {
    position: relative;
    z-index: 1;
}

.single-product-page .breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 20px;
    background: transparent;
}

.breadcrumb a:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.breadcrumb .separator {
    color: #cbd5e1;
    font-size: 0.85rem;
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 600;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Product Main Section
   ================================================================= */
.product-main-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.product-main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, #f8fafc 0%, transparent 100%);
    pointer-events: none;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Product Gallery - Enhanced Design
   ================================================================= */
.product-gallery-wrapper {
    position: sticky;
    top: 100px;
}

.main-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--product-transition);
    margin-bottom: 20px;
}

.main-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.main-product-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

/* Zoom Button */
.zoom-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.zoom-button:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.zoom-button i {
    font-size: 1.2rem;
}

/* No Image Placeholder */
.no-image-placeholder {
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--border-color) 0%, var(--light) 100%);
    color: var(--accent);
}

.no-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) var(--light);
}

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

.gallery-thumbnails::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 3px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.thumbnail-item:hover::after {
    opacity: 1;
}

.thumbnail-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(55, 65, 81, 0.2);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Information - Modern Layout
   ================================================================= */
.product-info-wrapper {
    padding-top: 20px;
}

.product-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.single-product-page .product-title,
.single-product-page h1.product-title,
.product-info-wrapper .product-title,
.product-header .product-title {
    font-size: 2.9375rem !important; /* 47px (57px - 10px) */
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin-bottom: 15px !important;
    line-height: 1.1 !important;
    animation: fadeInUp 0.6s ease-out;
}

/* Ensure h1 tag doesn't override */
.single-product-page h1 {
    font-size: 2.9375rem !important;
}

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

.product-sku {
    font-size: 0.9rem;
    color: var(--secondary);
    display: inline-block;
    padding: 5px 15px;
    background: var(--light);
    border-radius: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Price Box - Premium Design */
.product-price-box {
    background: var(--product-gradient);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(55, 65, 81, 0.3);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.product-price-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.product-price-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
    z-index: 0;
}

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

.product-price-box > * {
    position: relative;
    z-index: 1;
}

.price-label {
    font-size: 1rem;
    color: white;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.price-value::before {
    content: '$';
    font-size: 2.2rem;
    opacity: 1;
    margin-right: 5px;
    font-weight: 600;
}

.price-note {
    font-size: 0.9rem;
    color: white;
    opacity: 1;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* Product Description */
.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.product-description p {
    margin-bottom: 15px;
}

/* Product Options - Card Design */
.product-options {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.option-group {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.option-group:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.option-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    display: block;
}

.option-value {
    color: var(--text-body);
    margin: 0;
    font-size: 1rem;
}

/* Size and Color Options */
.size-options,
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-tag,
.color-tag {
    padding: 8px 20px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.size-tag:hover,
.color-tag:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(55, 65, 81, 0.2);
}

/* Key Features - Modern List */
.product-features {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.features-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--product-gradient);
    border-radius: 2px;
}

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

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

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

.features-list li:hover {
    padding-left: 10px;
    background: rgba(55, 65, 81, 0.02);
    margin: 0 -10px;
    padding-right: 10px;
}

.features-list i {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* CTA Buttons - Premium Style */
.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.btn-large {
    padding: 18px 35px;
    font-size: 1.1rem;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--product-gradient);
    color: white;
    box-shadow: 0 5px 20px rgba(55, 65, 81, 0.3);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(55, 65, 81, 0.4);
}

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

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(55, 65, 81, 0.2);
}

/* Share Buttons - Social Style */
.product-share {
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.6s ease-out 0.7s both;
}

.share-label {
    font-size: 0.9rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.share-btn:hover::before {
    width: 100%;
    height: 100%;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Product Specifications Section - Beautiful Redesign
   ================================================================= */
.product-specifications-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.product-specifications-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(55, 65, 81, 0.05) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite;
}

.product-specifications-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(107, 114, 128, 0.05) 0%, transparent 70%);
    animation: float 30s ease-in-out infinite reverse;
}

.specs-wrapper {
    position: relative;
    z-index: 1;
}

/* Specs Header */
.specs-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out;
}

.specs-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--product-gradient);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(55, 65, 81, 0.2);
    animation: bounce 2s ease-in-out infinite;
}

.specs-icon i {
    font-size: 2rem;
    color: white;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.specs-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.specs-title .highlight {
    color: var(--secondary);
}

.specs-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0;
}

/* Specs Content */
.specs-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.spec-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.spec-item:nth-child(1) { animation-delay: 0.1s; }
.spec-item:nth-child(2) { animation-delay: 0.2s; }
.spec-item:nth-child(3) { animation-delay: 0.3s; }
.spec-item:nth-child(4) { animation-delay: 0.4s; }
.spec-item:nth-child(5) { animation-delay: 0.5s; }
.spec-item:nth-child(6) { animation-delay: 0.6s; }
.spec-item:nth-child(7) { animation-delay: 0.7s; }
.spec-item:nth-child(8) { animation-delay: 0.8s; }

.spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--product-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.spec-item:hover::before {
    transform: scaleY(1);
}

.spec-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--light) 0%, var(--bg-secondary) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.spec-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.spec-item:hover .spec-icon {
    background: var(--product-gradient);
    transform: rotate(10deg);
}

.spec-item:hover .spec-icon i {
    color: white;
}

.spec-details {
    flex: 1;
}

.spec-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.spec-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

/* Care Instructions Card */
.care-instructions-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.care-instructions-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(55, 65, 81, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.care-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.care-title i {
    color: var(--secondary);
    margin-right: 10px;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.care-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.care-item:hover {
    background: var(--product-gradient);
    color: white;
    transform: translateX(10px);
}

.care-item i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.care-item:hover i {
    color: white;
    transform: rotate(360deg);
}

.care-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.care-item:hover span {
    color: white;
}

/* Related Products Section - Matching Subcategory Page Products
   ================================================================= */
.related-products-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Add subtle background pattern - Same as featured products */
.related-products-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(55, 65, 81, 0.03) 0%, transparent 70%);
    animation: pulsePattern 15s ease-in-out infinite;
}

@keyframes pulsePattern {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

.related-products-section .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.related-products-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.related-products-section .highlight {
    color: var(--primary);
}

/* Products Grid - Same as featured products */
.related-products-section .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
}

/* Product Cards - Exact same as featured products */
.related-products-section .product-card {
    background: var(--bg-primary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animation for each card */
.related-products-section .product-card:nth-child(1) { animation-delay: 0.1s; }
.related-products-section .product-card:nth-child(2) { animation-delay: 0.2s; }
.related-products-section .product-card:nth-child(3) { animation-delay: 0.3s; }
.related-products-section .product-card:nth-child(4) { animation-delay: 0.4s; }

.related-products-section .product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.related-products-section .product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(55, 65, 81, 0.1);
}

.related-products-section .product-card:hover::before {
    opacity: 1;
}

.related-products-section .product-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Product Image - Same as featured products */
.related-products-section .product-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
    background: var(--bg-secondary) !important;
}

.related-products-section .product-image img,
.related-products-section .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Gradient overlay on product images */
.related-products-section .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.3) 0%, rgba(107, 114, 128, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.related-products-section .product-card:hover .product-image::after {
    opacity: 1;
}

/* Product Overlay - Same as featured products */
.related-products-section .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.related-products-section .product-card:hover .product-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Quick View Button - Same as featured products */
.related-products-section .quick-view-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: 2px solid transparent;
    padding: 14px 35px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    transform: translateY(30px) scale(0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.related-products-section .quick-view-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.related-products-section .product-card:hover .quick-view-btn {
    transform: translateY(0) scale(1);
}

.related-products-section .quick-view-btn:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
}

.related-products-section .quick-view-btn:hover::before {
    width: 300%;
    height: 300%;
}

.related-products-section .quick-view-btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.related-products-section .quick-view-btn:hover i {
    transform: scale(1.2) rotate(15deg);
    color: white !important;
}

/* Product SKU Badge */
.related-products-section .product-sku {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
}

/* No image placeholder */
.related-products-section .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 100%);
}

.related-products-section .no-image i {
    font-size: 2.5rem;
    opacity: 0.2;
    color: #6b7280;
}

/* Product Info - Same as featured products */
.related-products-section .product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.related-products-section .product-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    color: var(--text-dark);
    line-height: 1.3 !important;
    transition: color 0.3s ease;
    letter-spacing: -0.2px;
    margin-top: 0 !important;
    text-align: center !important;
}

.related-products-section .product-card:hover .product-title {
    color: var(--primary) !important;
}

/* Product Price - Same format as featured products */
.related-products-section .product-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    margin-top: auto;
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.related-products-section .product-price::before {
    content: 'Price Range:';
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Meta */
.related-products-section .product-meta {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.related-products-section .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.related-products-section .meta-item i {
    color: var(--primary);
    font-size: 0.85rem;
}

/* Product Excerpt */
.related-products-section .product-excerpt {
    display: none; /* Hidden in grid view to match featured products */
}

/* Product Actions */
.related-products-section .product-actions {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.related-products-section .btn-view-details,
.related-products-section .btn-get-quote {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    border: none;
}

.related-products-section .btn-view-details {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.related-products-section .btn-view-details:hover {
    background: var(--primary);
    color: var(--text-light);
}

.related-products-section .btn-get-quote {
    background: var(--primary);
    color: var(--text-light);
}

.related-products-section .btn-get-quote:hover {
    background: var(--secondary);
}

/* Quote Modal - Premium Design
   ================================================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 50px auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 30px;
    font-weight: bold;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--primary);
    background: var(--light);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 2rem;
}

.modal-content > p {
    color: var(--secondary);
    margin-bottom: 30px;
}

/* Quote Form Styling */
.quote-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(55, 65, 81, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions button {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions .btn-primary {
    background: var(--product-gradient);
    color: white;
}

.form-actions .btn-secondary {
    background: var(--light);
    color: var(--secondary);
}

/* Quote Messages */
.quote-message {
    text-align: center;
    padding: 40px;
}

.quote-message i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.quote-message.success i {
    color: #10b981;
}

.quote-message.error i {
    color: var(--secondary);
}

.quote-message h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Responsive Design
   ================================================================= */
@media (max-width: 1200px) {
    .product-layout {
        gap: 60px;
    }
    
    .related-products-section .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .related-products-section .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery-wrapper {
        position: static;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tab-headers {
        flex-wrap: wrap;
    }
    
    .tab-header {
        flex: 1 1 calc(50% - 5px);
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .related-products-section .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-share {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .gallery-thumbnails {
        gap: 10px;
    }
    
    .thumbnail-item {
        width: 80px;
        height: 80px;
    }
    
    .related-products-section .products-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
        width: calc(100% - 40px);
    }
}