/* TCL Pakistan - Main Stylesheet */

/* CSS Variables */
:root {
    --primary-color: #E30613;
    --secondary-color: #1A1A2E;
    --text-color: #2D3748;
    --text-light: #718096;
    --text-dark: #1A202C;
    --border-color: #E2E8F0;
    --bg-dark: #FFFFFF;
    --bg-darker: #F7FAFC;
    --bg-light: #EDF2F7;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container-width: 1200px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 64px;

    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--gray-50);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #c10510;
    border-color: #c10510;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--gray-50);
    border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.top-bar {
    background: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing-xs) 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: var(--spacing-md);
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.user-actions a {
    color: var(--white);
    transition: var(--transition);
}

.user-actions a:hover {
    color: var(--primary-color);
}

.user-actions span {
    color: rgba(255,255,255,0.5);
}

/* Main Navigation */
.main-nav {
    padding: var(--spacing-sm) 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    padding: 10px 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-menu > li > a:hover {
    color: var(--primary-color);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown li a {
    display: block;
    padding: 10px 16px;
    color: #333;
    border-radius: 4px;
}

.dropdown li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.search-toggle:hover {
    color: var(--primary-color);
}

.cart-link {
    display: flex;
    align-items: center;
    padding: 8px;
    color: var(--text-dark);
    transition: var(--transition);
}

.cart-link:hover {
    color: var(--primary-color);
}

.whatsapp-link {
    display: flex;
    align-items: center;
    padding: 8px;
    color: #25D366;
    transition: var(--transition);
}

.whatsapp-link:hover {
    color: #128C7E;
    transform: scale(1.1);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-form {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-form input {
    width: 100%;
    padding: 20px 120px 20px 24px;
    font-size: 18px;
    border: none;
    border-radius: var(--border-radius);
}

.search-form button[type="submit"] {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
}

.close-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-color);
    cursor: pointer;
    padding: 0 10px;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 50%, #FFF1F1 100%);
    color: var(--text-dark);
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    min-height: 550px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Category Highlights */
.category-highlights {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.category-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE5E5 100%);
    border-radius: 50%;
    color: var(--primary-color);
}

.category-card h3 {
    font-size: 22px;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-weight: 700;
}

.category-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Products Section */
.products-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

/* New Arrivals Section */
.new-arrivals-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-xl);
}

.section-title-wrapper h2 {
    margin-bottom: 8px;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.view-all-link:hover {
    gap: 12px;
    color: #c10510;
}

.view-all-link svg {
    transition: var(--transition);
}

.new-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

/* Arrival Cards */
.arrival-card {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.arrival-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* Featured Card - Spans 2 rows */
.arrival-card-featured {
    grid-row: span 2;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFFFFF 100%);
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.badge-new {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}

.badge-featured {
    background: linear-gradient(135deg, #E30613 0%, #c10510 100%);
    color: white;
}

.badge-bestseller {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
}

/* Arrival Image */
.arrival-image {
    width: 100%;
    height: 240px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    overflow: hidden;
}

.arrival-card-featured .arrival-image {
    height: 320px;
}

.arrival-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.arrival-card:hover .arrival-image img {
    transform: scale(1.05);
}

/* Arrival Content */
.arrival-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.arrival-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.arrival-card-featured .arrival-title {
    font-size: 28px;
}

.arrival-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.arrival-card-featured .arrival-description {
    font-size: 15px;
    line-height: 1.7;
}

/* Feature Tags */
.arrival-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
}

.feature-tag svg {
    color: var(--success-color);
    flex-shrink: 0;
}

/* Buttons in Cards */
.arrival-content .btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-dark {
    background-color: var(--text-dark);
    color: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.product-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-darker);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-preorder {
    background: var(--warning-color);
    color: var(--white);
}

.badge-outofstock {
    background: var(--danger-color);
    color: var(--white);
}

.product-info {
    padding: var(--spacing-md);
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.product-name {
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.product-features {
    margin-bottom: var(--spacing-sm);
}

.product-features li {
    font-size: 13px;
    padding: 4px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.product-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Shop By Category Section */
.shop-by-category {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.categories-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.category-showcase-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.category-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.category-showcase-image {
    width: 100%;
    height: 280px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--spacing-lg);
}

.category-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.category-showcase-card:hover .category-showcase-image img {
    transform: scale(1.08);
}

.category-showcase-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-showcase-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.category-showcase-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    flex: 1;
}

.category-showcase-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
}

.stat-item svg {
    color: var(--success-color);
    flex-shrink: 0;
}

.category-showcase-content .btn {
    width: 100%;
    justify-content: center;
}

/* Why TCL Section */
.why-tcl {
    padding: var(--spacing-xl) 0;
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE5E5 100%);
    border-radius: 50%;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 19px;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
    font-weight: 700;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
    padding: var(--spacing-sm) 0;
    background: var(--bg-light);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--text-light);
}

/* Category Header */
.category-header {
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.category-header h1 {
    font-size: 40px;
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
}

.category-header p {
    font-size: 16px;
    color: var(--text-light);
}

/* Category Page Layout */
.category-page {
    padding: var(--spacing-lg) 0;
    background: #F5F5F5;
}

.category-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-lg);
}

/* Shopping Options Sidebar */
.shopping-options {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid #E5E5E5;
}

.filter-group {
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid #E5E5E5;
}

.filter-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    text-align: left;
}

.filter-header:hover {
    color: var(--primary-color);
}

.filter-header svg {
    transition: transform 0.3s ease;
}

.filter-header.active svg {
    transform: rotate(180deg);
}

.filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filter-content.active {
    max-height: 500px;
    padding-bottom: var(--spacing-sm);
}

.filter-option {
    display: flex;
    align-items: center;
    padding: var(--spacing-xs) 0;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    margin-right: var(--spacing-xs);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-option span {
    font-size: 14px;
    color: #666;
}

.filter-option:hover span {
    color: #000;
}

/* Category Products Grid */
.products-area {
    background: transparent;
}

.category-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.category-product-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition);
}

.category-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-product-image {
    display: block;
    margin-bottom: var(--spacing-md);
    background: #fff;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
}

.category-product-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.category-product-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.category-product-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.category-product-title a {
    color: #000;
}

.category-product-title a:hover {
    color: var(--primary-color);
}

.category-product-tagline {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.category-product-model {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.category-product-price {
    font-size: 14px;
    color: #666;
    margin: var(--spacing-xs) 0;
}

.category-product-price strong {
    font-size: 16px;
    color: #000;
    font-weight: 600;
}

.category-product-sizes {
    display: flex;
    gap: var(--spacing-xs);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: var(--spacing-sm) 0;
}

.sizes-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    margin-right: 5px;
}

.size-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 2px solid #E5E5E5;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.size-badge:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #F8F8F8;
    transform: scale(1.05);
}

.btn-add-cart {
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    margin-top: var(--spacing-sm);
}

.btn-add-cart:hover {
    background: var(--primary-color);
}

/* Product Hero */
.product-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.product-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: var(--spacing-xl) 0;
}

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.product-hero-title {
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.product-hero-description {
    font-size: 20px;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.product-hero-features {
    display: grid;
    gap: var(--spacing-xs);
}

.product-hero-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 16px;
}

/* Product Variants */
.product-variants {
    padding: var(--spacing-xl) 0;
}

.product-variants h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.variants-grid {
    display: grid;
    gap: var(--spacing-md);
}

.variant-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.variant-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.variant-info h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-xs);
}

.variant-model {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.variant-pricing {
    margin-bottom: var(--spacing-sm);
}

.price-original {
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: var(--spacing-xs);
}

.price-sale, .price-regular {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.stock-status.in-stock {
    color: var(--success-color);
}

.stock-status.pre-order {
    color: var(--warning-color);
}

.stock-status.out-of-stock {
    color: var(--danger-color);
}

.variant-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* Product Gallery */
.product-gallery {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.product-gallery h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--white);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Specifications */
.product-specifications {
    padding: var(--spacing-xl) 0;
}

.product-specifications h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.specs-container {
    display: grid;
    gap: var(--spacing-lg);
}

.spec-group h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: var(--spacing-sm);
}

.spec-name {
    font-weight: 600;
    width: 40%;
}

.spec-value {
    color: var(--text-light);
}

/* Related Products */
.related-products {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.related-products h2 {
    font-size: 32px;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--spacing-xl);
}

.empty-state svg {
    margin: 0 auto var(--spacing-md);
    color: var(--text-light);
}

.empty-state h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.empty-state p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #0A0A0A 0%, #000000 100%);
    color: var(--white);
}

.footer-top {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-top .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
}

.footer-brand {
    padding-right: var(--spacing-lg);
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: var(--spacing-lg);
}

.footer-social h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-color);
}

.footer-contact li a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: var(--transition);
}

.footer-contact li a:hover {
    color: var(--white);
}

.footer-newsletter {
    background: rgba(227, 6, 19, 0.05);
    border-top: 1px solid rgba(227, 6, 19, 0.1);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: var(--spacing-lg) 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.newsletter-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.newsletter-info p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    flex: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.08);
}

.newsletter-form button {
    padding: 14px 32px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #c10510;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

.newsletter-form button svg {
    transition: transform 0.3s ease;
}

.newsletter-form button:hover svg {
    transform: translateX(4px);
}

.footer-bottom {
    padding: var(--spacing-md) 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

.footer-bottom-links .separator {
    color: rgba(255,255,255,0.3);
}

/* ============================================
   Product Detail Page Styles
   ============================================ */

/* Product Detail Grid */
.product-detail {
    padding: var(--spacing-xl) 0;
    background: #FFFFFF;
}

/* Breadcrumb on Product Page */
.product-detail ~ * .breadcrumb,
body:has(.product-detail) .breadcrumb {
    background: #F8F8F8;
    border-bottom: 1px solid #E5E5E5;
}

body:has(.product-detail) .breadcrumb a {
    color: #666666;
}

body:has(.product-detail) .breadcrumb span:last-child {
    color: #1A1A1A;
    font-weight: 500;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* Product Gallery Section */
.product-gallery-section {
    position: sticky;
    top: 100px;
}

.product-main-image {
    background: #F8F8F8;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E5E5;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--spacing-sm);
}

.thumbnail-item {
    background: #F8F8F8;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #E5E5E5;
    transition: var(--transition);
    aspect-ratio: 1;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: var(--primary-color);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info Section */
.product-info-section {
    color: #333333;
}

.product-category-badge {
    display: inline-block;
    background: rgba(227, 6, 19, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.product-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: #1A1A1A;
    line-height: 1.2;
}

.product-description {
    font-size: 16px;
    color: #666666;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Size Selector Section */
.size-selector-section {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background: #F8F8F8;
    border-radius: var(--border-radius);
    border: 1px solid #E5E5E5;
}

.size-selector-title {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: var(--spacing-md);
}

.size-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--spacing-sm);
}

.size-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    background: #FFFFFF;
    border: 2px solid #E5E5E5;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 80px;
}

.size-button:hover {
    border-color: var(--primary-color);
    background: rgba(227, 6, 19, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.size-button.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

.size-button.active .size-label,
.size-button.active .size-price {
    color: #FFFFFF;
}

.size-label {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: var(--spacing-xs);
}

.size-price {
    font-size: 14px;
    font-weight: 500;
    color: #666666;
}

/* Product Features */
.product-features {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: #F8F8F8;
    border-radius: var(--border-radius);
    border: 1px solid #E5E5E5;
}

.product-features h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: #1A1A1A;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #E5E5E5;
    font-size: 15px;
    color: #333333;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Product Pricing */
.product-pricing {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: #F8F8F8;
    border-radius: var(--border-radius);
    border: 1px solid #E5E5E5;
}

.price-display {
    margin-bottom: var(--spacing-md);
}

.price-current,
.price-sale {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-original {
    font-size: 24px;
    color: #999999;
    text-decoration: line-through;
    margin-right: var(--spacing-sm);
}

/* Variant Selector */
.variant-selector {
    margin: var(--spacing-lg) 0;
}

.variant-selector label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: #1A1A1A;
}

.variant-options {
    display: grid;
    gap: var(--spacing-sm);
}

.variant-option {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    background: #FFFFFF;
    border: 2px solid #E5E5E5;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.variant-option:hover {
    border-color: rgba(227, 6, 19, 0.5);
    background: rgba(227, 6, 19, 0.02);
}

.variant-option input[type="radio"] {
    margin-right: var(--spacing-sm);
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.variant-option input[type="radio"]:checked + .variant-label {
    color: var(--primary-color);
}

.variant-option input[type="radio"]:checked ~ * {
    color: #1A1A1A;
}

.variant-label {
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    flex: 1;
}

.variant-model {
    font-size: 14px;
    color: #666666;
    margin-left: auto;
}

/* Stock Status Display */
.stock-status-display {
    margin-top: var(--spacing-md);
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.stock-badge.pre-order {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

.stock-badge.out-of-stock {
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger-color);
}

.stock-badge svg circle {
    fill: currentColor;
}

/* Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.btn-large {
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Technical Specifications */
.product-specifications {
    padding: var(--spacing-xl) 0;
    background: #F8F8F8;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: #1A1A1A;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.spec-category {
    background: #FFFFFF;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    border: 1px solid #E5E5E5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.spec-category-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid rgba(227, 6, 19, 0.2);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid #E5E5E5;
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-label {
    padding: var(--spacing-sm) 0;
    font-size: 15px;
    color: #666666;
    font-weight: 500;
    width: 40%;
}

.spec-value {
    padding: var(--spacing-sm) 0;
    font-size: 15px;
    color: #1A1A1A;
    font-weight: 400;
}

/* Related Products */
.related-products {
    padding: var(--spacing-xl) 0;
    background: #FFFFFF;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.product-card {
    background: #FFFFFF;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #E5E5E5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(227, 6, 19, 0.15);
    border-color: rgba(227, 6, 19, 0.3);
}

.product-card-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #F8F8F8;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-info {
    padding: var(--spacing-md);
}

.product-card-category {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.product-card-title a {
    color: #1A1A1A;
    text-decoration: none;
    transition: var(--transition);
}

.product-card-title a:hover {
    color: var(--primary-color);
}

.product-card-price {
    font-size: 16px;
    color: #666666;
    margin-bottom: var(--spacing-md);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .product-gallery-section {
        position: static;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 28px;
    }

    .price-current,
    .price-sale {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--spacing-md);
    }

    .product-actions {
        position: sticky;
        bottom: 0;
        background: #FFFFFF;
        padding: var(--spacing-md);
        margin: 0 calc(var(--spacing-md) * -1);
        border-top: 1px solid #E5E5E5;
        z-index: 100;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    }

    .btn-large {
        padding: 16px 24px;
        font-size: 15px;
    }

    .size-buttons-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .size-button {
        min-height: 70px;
        padding: var(--spacing-sm);
    }

    .size-label {
        font-size: 14px;
    }

    .size-price {
        font-size: 12px;
    }
}
