/* =================================================================
   VAMPIRES INDUSTRY - PRODUCTS STYLING
   Styles for product pages, categories, and single products
   ================================================================= */

/* Global Image Rules - Force Square Aspect Ratio
   ================================================================= */
.product-card img,
.category-card img,
.subcategory-card img,
.related-product-card img,
.product-image img,
.category-image img,
.subcategory-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Product Categories Page
   ================================================================= */
.product-categories-page {
    background: var(--bg-primary);
}

/* Hero Section with Dynamic Background */
.product-categories-page .category-hero {
    position: relative;
    min-height: 500px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
}

/* Animated background pattern */
.category-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.1); }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.product-categories-page .hero-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.product-categories-page .category-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center !important;
    color: var(--text-light);
    max-width: 1000px;
    margin: 0 auto !important;
    padding: 80px 20px;
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hero Category Info Section */
.product-categories-page .hero-category-info {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 40px;
    margin-bottom: 40px;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
    max-width: 900px;
}

.category-info-item {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeInScale 1s ease-out 0.3s both;
    flex: 0 1 400px;
    max-width: 400px;
}

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

.custom-apparel-info {
    animation-delay: 0.3s;
}

.team-apparel-info {
    animation-delay: 0.5s;
}

.category-info-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--text-light);
}

.category-info-item:hover .info-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(10deg);
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.info-separator {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    flex-shrink: 0;
}

.product-categories-page .category-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    animation: backInUp 1.2s ease-out 0.4s both;
    position: relative;
    display: inline-block;
    width: 100% !important;
    text-align: center !important;
}

@keyframes backInUp {
    0% {
        transform: translateY(1200px) scale(0.7);
        opacity: 0.7;
    }
    80% {
        transform: translateY(0px) scale(0.7);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.product-categories-page .category-hero .hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
    max-width: 700px;
    width: 100% !important;
    opacity: 0.9;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeIn 1s ease-out 1s both;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-down-indicator:hover {
    transform: translateX(-50%) translateY(5px);
}

.scroll-text {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-weight: 500;
}

.scroll-arrow {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

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

/* Force all hero content children to center */
.product-categories-page .hero-content > * {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Breadcrumb Navigation */
.product-categories-page .category-hero .breadcrumb {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
    margin-bottom: 20px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out;
    width: auto !important;
    text-align: center !important;
}

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

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-light);
    transition: width 0.3s;
}

.breadcrumb a:hover::after {
    width: 100%;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb .separator {
    color: var(--text-light);
    opacity: 0.5;
}

.breadcrumb .current {
    opacity: 0.8;
    font-weight: 500;
}

/* Responsive adjustments for hero category info */
@media (max-width: 768px) {
    .hero-category-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .info-separator {
        display: none;
    }
    
    .category-info-item {
        padding: 20px;
        max-width: 100%;
        width: 100%;
    }
}

/* Main Categories Section */
.main-categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-image img,
.category-image .cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--light);
    color: var(--text-muted);
}

.placeholder-image i {
    font-size: 4rem;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.category-card:hover .category-overlay {
    transform: translateY(0);
}

.view-products {
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-info {
    padding: 30px;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.category-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.subcategories {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.subcategories-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--secondary);
}

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

.subcategories-list li {
    margin-bottom: 8px;
}

.subcategories-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.subcategories-list a:hover {
    color: var(--primary);
}

.product-count {
    font-size: 0.85rem;
    opacity: 0.7;
}

.category-meta {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Featured Products Section */
.featured-products-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Add subtle background pattern */
.featured-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; }
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

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

.products-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
}

/* Responsive grid adjustments */
@media (max-width: 1400px) {
    .featured-products-section .container {
        padding: 0 30px;
    }
}

@media (max-width: 1200px) {
    .products-slider {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .featured-products-section .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .products-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.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 */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

.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;
}

.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);
}

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

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

.featured-products-section .product-card .product-image,
.products-slider .product-card .product-image,
.product-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden !important;
    background: var(--bg-secondary) !important;
}

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

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

/* New Product Badge */
.product-card .product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.product-card:hover .product-badge {
    opacity: 1;
    transform: translateY(0);
}

.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;
}

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

.quick-view {
    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;
}

.quick-view::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;
}

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

.quick-view: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);
}

.quick-view:hover::before {
    width: 300%;
    height: 300%;
}

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

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

/* Ensure text stays visible */
.quick-view span,
.quick-view text {
    position: relative;
    z-index: 2;
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-title,
.product-card h4.product-title,
.product-info h4 {
    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;
}

.product-card:hover .product-title,
.product-card:hover h4.product-title {
    color: var(--primary) !important;
}

.product-category {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
    opacity: 0.7;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Add category indicator */
.product-category::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    opacity: 0.6;
}

.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;
}

.product-card .price-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Add animation for price on hover */
.product-card:hover .product-price {
    animation: priceGlow 0.5s ease;
}

@keyframes priceGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Single Product Page
   ================================================================= */
.single-product-page {
    background: var(--bg-primary);
}

.breadcrumb-section {
    background: var(--bg-secondary);
    padding: 20px 0;
}

.breadcrumb-section .breadcrumb {
    margin: 0;
}

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

.breadcrumb-section .current {
    color: var(--text-muted);
}

/* Product Main Section */
.product-main-section {
    padding: 60px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.main-image-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    height: auto;
    display: block;
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--bg-secondary);
    color: var(--text-muted);
}

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

.zoom-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--bg-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.zoom-button:hover {
    transform: scale(1.1);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.thumbnail-item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: border-color 0.3s;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: var(--primary);
}

.thumbnail-item {
    width: 80px;
    aspect-ratio: 1/1;
}

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

/* Product Information */
.product-header {
    margin-bottom: 30px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-sku {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-price-box {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
    display: block;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Product Options */
.product-options {
    margin-bottom: 30px;
}

.option-group {
    margin-bottom: 25px;
}

.option-label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.size-options,
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-tag,
.color-tag {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.size-tag:hover,
.color-tag:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--text-light);
}

.option-value {
    color: var(--text-dark);
}

/* Product Features */
.product-features {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.features-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

.features-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--primary);
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-light);
}

.btn-large {
    font-size: 1.1rem;
}

/* Product Share */
.product-share {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-label {
    font-weight: 600;
}

.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: transform 0.3s;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook { background: #3b5998; color: white; }
.share-btn.twitter { background: #1da1f2; color: white; }
.share-btn.linkedin { background: #0077b5; color: white; }
.share-btn.whatsapp { background: #25d366; color: white; }

/* Product Tabs */
.product-tabs-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.tabs-wrapper {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tab-headers {
    display: flex;
    background: var(--bg-secondary);
}

.tab-header {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-header:hover {
    background: rgba(0, 0, 0, 0.05);
}

.tab-header.active {
    background: var(--bg-primary);
    color: var(--primary);
}

.tab-header.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

.tab-contents {
    padding: 40px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 15px 0;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
}

/* Related Products */
.related-products-section {
    padding: 80px 0;
}

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

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.related-product-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Quote Modal
   ================================================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 50px auto;
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@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;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-dark);
}

.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;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.quote-message {
    text-align: center;
    padding: 40px;
}

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

.quote-message.success i {
    color: #28a745;
}

.quote-message.error i {
    color: #dc3545;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--primary);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-section .btn-primary {
    background: var(--text-light);
    color: var(--primary);
}

.cta-section .btn-secondary {
    border-color: var(--text-light);
    color: var(--text-light);
}

/* Product Category Archive Specific Styles
   ================================================================= */
.product-category-archive {
    background: var(--bg-primary);
}

.category-hero-section {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(55, 65, 81, 0.9) 0%, rgba(107, 114, 128, 0.9) 100%);
    z-index: 1;
}

.category-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.stat-item i {
    opacity: 0.8;
}

/* Subcategories Grid */
.subcategories-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.subcategory-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.subcategory-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.subcategory-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

.subcategory-image .placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
}

.subcategory-image .placeholder-image i {
    font-size: 2.5rem;
}

.subcategory-info {
    padding: 20px;
    text-align: center;
}

.subcategory-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.subcategory-info .product-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Products Archive Section */
.products-archive-section {
    padding: 60px 0;
}

/* Archive page product card price styles */
.products-archive-section .product-card .product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.products-archive-section .product-card .price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-count {
    color: var(--text-muted);
}

.products-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.products-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-primary);
    cursor: pointer;
}

.products-view {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

/* List View Styles */
.products-grid.view-list {
    display: block;
}

.products-grid.view-list .product-card {
    display: flex;
    margin-bottom: 20px;
}

.products-grid.view-list .product-link {
    display: flex;
    width: 100%;
}

.products-grid.view-list .product-image {
    width: 200px;
    aspect-ratio: 1/1;
    flex-shrink: 0;
}

.products-grid.view-list .product-info {
    flex: 1;
    padding: 20px;
}

.products-grid.view-list .product-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* No Products Message */
.no-products {
    text-align: center;
    padding: 80px 20px;
}

.no-products i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-products p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

.btn-view-details,
.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;
}

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

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

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

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

/* Category CTA Section */
.category-cta-section {
    padding: 80px 0;
    background: var(--primary);
    color: var(--text-light);
    text-align: center;
}

.category-cta-section .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.category-cta-section .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Archive Hero Section */
.archive-hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 0;
    color: var(--text-light);
    text-align: center;
}

.archive-hero-section .hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.archive-hero-section .hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design
   ================================================================= */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery-wrapper {
        position: static;
    }
}

@media (max-width: 768px) {
    .category-hero .hero-title {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .products-slider {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .tab-headers {
        flex-wrap: wrap;
    }
    
    .tab-header {
        flex: 1 1 50%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
}