/* ===================================================================
   LIKGUS - Design System & Main Styles
   Premium Phone Accessories Showcase
   =================================================================== */

/* === CSS Custom Properties === */
:root {
    /* Colors */
    --primary: #111111;       /* Black */
    --primary-light: #333333; /* Dark Gray */
    --primary-dark: #000000;  /* Pure Black */
    --accent: #111111;
    --accent-hover: #333333;
    --accent-light: #f5f5f5;
    --accent-glow: rgba(0, 0, 0, 0.05);
    --secondary: #666666;
    --secondary-light: #999999;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Background */
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);

    /* Text */
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-inverse: #ffffff;

    /* Typography */
    --font-primary: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Inter', 'Be Vietnam Pro', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
    --shadow-glow: 0 0 20px rgba(249, 115, 22, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Container */
    --container-max: 1280px;
    --container-padding: 1rem;

    /* Header */
    --header-height: 140px;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-body);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul { list-style: none; }

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* === Container === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: var(--primary);
    color: var(--text-inverse);
    font-size: 12px;
    padding: 6px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: var(--space-lg);
}

.header-contact a {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.header-contact a:hover { opacity: 1; }

.header-social {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.header-social a {
    opacity: 0.8;
    transition: opacity var(--transition-fast);
    font-size: 11px;
    font-weight: 500;
}

.header-social a:hover { opacity: 1; }

.header-main {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #1976D2; /* Likgus Blue */
    letter-spacing: -0.5px;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 520px;
    display: flex;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 10px 48px 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    outline: none;
    font-size: 14px;
    transition: all var(--transition-base);
    background: var(--gray-50);
}

.search-bar input:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-bar button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--accent);
    color: var(--white);
    transition: background var(--transition-fast);
}

.search-bar button:hover { background: var(--accent-hover); }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Navigation */
.main-nav {
    background: var(--primary);
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-list > li > a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px 2px 0 0;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all var(--transition-base);
    z-index: 100;
    padding: 8px 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.dropdown-menu .cat-icon { font-size: 18px; }
.dropdown-menu .count { color: var(--text-muted); font-size: 12px; }

.dropdown-divider {
    height: 1px;
    background: var(--gray-100);
    margin: 4px 0;
}

/* === HERO BANNER / SLIDER === */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    min-height: 420px;
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 420px;
    align-items: center;
    justify-content: center;
    animation: fadeSlide 0.6s ease;
}

.hero-slide.active {
    display: flex;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: var(--space-3xl) var(--space-xl);
}

.hero-slide-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero-slide-content p {
    font-size: clamp(14px, 2vw, 18px);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.hero-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-slider-dots .dot.active {
    background: var(--accent);
    width: 28px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    color: var(--white);
    cursor: pointer;
    z-index: 5;
    transition: all var(--transition-base);
    border: 1px solid rgba(255,255,255,0.2);
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.25);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

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

/* === SECTIONS === */
.section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: var(--radius-full);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.section-alt {
    background: var(--white);
}

/* === CATEGORIES GRID (Homepage) === */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-lg);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl) var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
    border: 1px solid var(--gray-100);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.category-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-spring);
}

.category-card:hover .category-card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.category-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.category-card .product-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* === PRODUCT GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg);
}

/* === PRODUCT CARD === */
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-100);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-50);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
}

.product-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-new {
    background: var(--success);
    color: var(--white);
}

.badge-featured {
    background: var(--accent);
    color: var(--white);
}

.product-card-info {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-card-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
}

.product-card-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin-top: auto;
    padding-top: 4px;
}

.product-card-brand {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* === BRANDS SECTION === */
.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    align-items: center;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    min-width: 140px;
}

.brand-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.brand-item img {
    max-height: 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-item span {
    font-weight: 600;
    font-size: 16px;
    color: var(--gray-500);
    transition: color var(--transition-base);
}

.brand-item:hover span {
    color: var(--text-primary);
}

/* === PAGE HEADER (Breadcrumb) === */
.page-header {
    background: var(--primary);
    padding: var(--space-2xl) 0;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: var(--space-md);
    font-size: 13px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

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

.breadcrumb .separator {
    color: rgba(255,255,255,0.4);
}

.breadcrumb .current {
    color: var(--accent);
    font-weight: 500;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
}

.page-header p {
    margin-top: 8px;
    opacity: 0.8;
    font-size: 15px;
}

/* === FILTERS & SORTING === */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: var(--space-xl);
}

.filters-bar .result-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.filters-bar .result-count strong {
    color: var(--text-primary);
}

.filter-group {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid var(--gray-200);
    color: var(--text-secondary);
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination .active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* === PRODUCT DETAIL === */
.product-detail {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

/* Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color var(--transition-fast);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.product-info .product-brand {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

.product-info h1 {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    font-size: 13px;
    color: var(--text-secondary);
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-price-display {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}

.product-short-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

/* Variants */
.product-variants {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.variant-group h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-option {
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.variant-option:hover,
.variant-option.active {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

/* Specifications Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-md);
}

.specs-table tr:nth-child(even) {
    background: var(--gray-50);
}

.specs-table td {
    padding: 12px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--text-primary);
}

.specs-table td:last-child {
    color: var(--text-secondary);
}

/* Product Description Content */
.product-description {
    padding: var(--space-2xl) 0;
}

.product-description-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.product-description-content h2,
.product-description-content h3,
.product-description-content h4 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.product-description-content h2 { font-size: 24px; }
.product-description-content h3 { font-size: 20px; }
.product-description-content h4 { font-size: 17px; }

.product-description-content p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

.product-description-content ul,
.product-description-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.product-description-content li {
    list-style: disc;
    margin-bottom: 6px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.product-description-content img {
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
}

/* Tabs */
.detail-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: var(--space-xl);
}

.detail-tab {
    padding: var(--space-md) var(--space-xl);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
}

.detail-tab:hover { color: var(--text-primary); }

.detail-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.detail-tab-content {
    display: none;
}

.detail-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* === SEARCH PAGE === */
.search-results-info {
    padding: var(--space-lg) 0;
    font-size: 15px;
    color: var(--text-secondary);
}

.search-results-info strong {
    color: var(--accent);
}

.no-results {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--text-secondary);
}

.no-results svg {
    margin-bottom: var(--space-lg);
    color: var(--gray-300);
}

.no-results h3 {
    font-size: 20px;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

/* === STATIC PAGES === */
.page-content {
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.page-content .content-body {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    max-width: 900px;
    margin: 0 auto;
}

.page-content .content-body h2 { font-size: 24px; margin-bottom: var(--space-md); }
.page-content .content-body h3 { font-size: 20px; margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.page-content .content-body p { color: var(--text-secondary); line-height: 1.8; margin-bottom: var(--space-md); }
.page-content .content-body ul { padding-left: var(--space-xl); margin-bottom: var(--space-md); }
.page-content .content-body li { list-style: disc; color: var(--text-secondary); margin-bottom: 6px; }

/* === CONTACT FORM === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.contact-info-card .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-form {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all var(--transition-fast);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* === 404 PAGE === */
.error-page {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-page h1 {
    font-size: 120px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.error-page h2 {
    font-size: 24px;
    margin: var(--space-md) 0;
}

.error-page p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* === FOOTER === */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
}

.footer-main {
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-2xl);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: var(--space-md);
    font-size: 14px;
    align-items: flex-start;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--space-lg) 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

/* === VIEW MORE LINK === */
.view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--space-xl);
    padding: 10px 24px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-full);
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition-base);
}

.view-more:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
    }

    .header-top { display: none; }
    
    .search-bar { display: none; }
    
    .mobile-menu-btn { display: flex; }
    
    .main-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-slow);
    }
    
    .main-nav.open { max-height: 400px; }
    
    .nav-list {
        flex-direction: column;
        padding: 8px 0;
    }
    
    .nav-list > li > a {
        padding: 12px 16px;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border-radius: 0;
        padding: 0;
    }

    .dropdown-menu li a {
        color: rgba(255,255,255,0.7);
        padding: 10px 32px;
    }

    .dropdown-menu li a:hover {
        background: rgba(255,255,255,0.05);
        color: var(--accent);
    }
    
    .hero-slider { min-height: 300px; }
    .hero-slide { min-height: 300px; }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .section { padding: var(--space-2xl) 0; }
    
    .filters-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card-info {
        padding: var(--space-sm) var(--space-md) var(--space-md);
    }
    
    .product-card-name { font-size: 13px; }
    .product-card-desc { display: none; }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === LOADING SKELETON === */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
