/* ==========================================================================
   index.css - GEARFUSIONTECH Premium Cyber-Tech Storefront Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color System (HSL) */
    --bg-base: hsl(225, 40%, 6%);
    --bg-surface: hsl(223, 35%, 11%);
    --bg-surface-glass: rgba(13, 20, 38, 0.6);
    
    --accent-cyan: hsl(182, 100%, 50%);
    --accent-cyan-dim: hsl(182, 100%, 50%, 0.15);
    --accent-purple: hsl(271, 76%, 53%);
    --accent-purple-dim: hsl(271, 76%, 53%, 0.15);
    --accent-green: hsl(145, 100%, 45%);
    --accent-green-dim: hsl(145, 100%, 45%, 0.15);
    
    --text-primary: hsl(0, 0%, 100%);
    --text-secondary: hsl(218, 22%, 75%);
    --text-muted: hsl(218, 15%, 52%);
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Layout & Shadow Tokens */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --shadow-soft: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --shadow-glow-cyan: 0 0 20px 0 rgba(0, 242, 254, 0.35);
    --shadow-glow-purple: 0 0 20px 0 rgba(155, 81, 224, 0.35);
    
    /* Font Stack */
    --font-sans: 'Outfit', 'Inter', sans-serif;
    
    /* Animation Curve */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s var(--ease-smooth);
    --transition-normal: 0.35s var(--ease-smooth);
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

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

button {
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-fast);
}

input, select, textarea {
    font-family: var(--font-sans);
    background: none;
    border: none;
    color: inherit;
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--bg-surface-glass);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

/* Gradients */
.text-gradient-cyan {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-neon {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
}

/* Layout Shell */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
    margin-top: 80px; /* Header spacing */
}

/* Responsive Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Component */
gf-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    transition: var(--transition-normal);
}

.header-wrapper.scrolled {
    height: 70px;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 8px var(--accent-cyan));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a {
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: var(--transition-fast);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.action-btn {
    color: var(--text-secondary);
    font-size: 1.25rem;
    position: relative;
    padding: 0.5rem;
}

.action-btn:hover {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 5px var(--accent-cyan));
}

.action-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-purple);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    transform: translate(25%, -25%);
    box-shadow: 0 0 10px rgba(155, 81, 224, 0.5);
}

.ip-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--accent-cyan);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Footer Component */
gf-footer {
    background: #060912;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.social-icon:hover {
    background: var(--accent-cyan-dim);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-cyan);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-info-list li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.contact-info-list li i {
    color: var(--accent-cyan);
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Global Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: #000;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    color: var(--text-secondary);
}

.btn-icon:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
    border-color: var(--text-secondary);
}

.btn-icon.active {
    color: var(--accent-purple);
    background: var(--accent-purple-dim);
    border-color: var(--accent-purple);
    filter: drop-shadow(0 0 5px var(--accent-purple));
}

/* Home Hero Section */
.hero-section {
    height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-glow-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    right: 10%;
    filter: blur(50px);
}

.hero-glow-2 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(155, 81, 224, 0.12) 0%, rgba(0,0,0,0) 70%);
    bottom: -150px;
    left: -100px;
    filter: blur(50px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--accent-cyan);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-container {
    width: 80%;
    aspect-ratio: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft), var(--shadow-glow-purple);
    transform: rotate(2deg);
}

.hero-img-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple)) 1;
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.hero-img-container:hover .hero-img {
    transform: scale(1.05) rotate(-2deg);
}

/* Section Titles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-title-wrap h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.section-title-wrap p {
    color: var(--text-muted);
}

/* Bento Grid Layout (Bento layout for core products) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.bento-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition-normal);
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-soft), 0 0 25px rgba(0, 242, 254, 0.15);
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 20, 38, 0.95) 0%, rgba(13, 20, 38, 0.3) 60%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.bento-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform var(--transition-normal);
}

.bento-item:hover .bento-img {
    transform: scale(1.08);
}

.bento-content {
    position: relative;
    z-index: 3;
}

.bento-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.bento-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.bento-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-normal);
    max-height: 0;
    overflow: hidden;
}

.bento-item:hover .bento-desc {
    opacity: 1;
    transform: translateY(0);
    max-height: 80px;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bento-link i {
    transition: transform var(--transition-fast);
}

.bento-item:hover .bento-link i {
    transform: translateX(4px);
}

/* Bento size configurations */
.bento-w2 { grid-column: span 2; }
.bento-h2 { grid-row: span 2; }

/* Product Grid (For Listing & Catalog) */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.filters-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    border-radius: var(--border-radius-md);
    padding: 1.8rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-btn-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: left;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
}

.filter-btn-pill:hover, .filter-btn-pill.active {
    background: var(--accent-cyan-dim);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.filter-btn-pill span {
    font-size: 0.75rem;
    background: var(--bg-surface);
    padding: 2px 6px;
    border-radius: 10px;
    color: var(--text-muted);
}

.filter-btn-pill.active span {
    background: var(--accent-cyan);
    color: #000;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    border-radius: var(--border-radius-md);
    padding: 0 1rem;
    height: 48px;
    margin-bottom: 2rem;
}

.search-box input {
    width: 100%;
    height: 100%;
    margin-left: 0.5rem;
}

.search-box i {
    color: var(--text-muted);
}

.catalog-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.sort-select-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.sort-select {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 6px 12px;
    color: var(--text-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Product Card Component Styles */
.prod-card {
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-normal);
}

.prod-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-soft), 0 0 20px rgba(155, 81, 224, 0.15);
}

.card-media {
    aspect-ratio: 1.1;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    position: relative;
    background: #080c16;
    margin-bottom: 1.25rem;
}

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

.prod-card:hover .card-img {
    transform: scale(1.08);
}

.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.badge-tag.sale {
    background: var(--accent-green);
    color: #000;
}

.badge-tag.hot {
    background: var(--accent-purple);
    color: #fff;
}

.card-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13, 20, 38, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    z-index: 2;
}

.card-wishlist-btn:hover {
    color: #ff4757;
    background: #fff;
    border-color: #ff4757;
}

.card-wishlist-btn.active {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.15);
    border-color: #ff4757;
}

.card-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6rem;
}

.card-rating-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.stars {
    color: #ffb800;
    font-size: 0.8rem;
    letter-spacing: -1px;
}

.rating-num {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-wrap {
    display: flex;
    flex-direction: column;
}

.price-final {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-original {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.card-add-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-add-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* Product Detail Page View */
.detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    margin-top: 2rem;
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main-wrap {
    aspect-ratio: 1.2;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #080c16;
    border: 1px solid var(--border-color);
}

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

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.8rem;
}

.thumb-item {
    aspect-ratio: 1;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: #080c16;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.thumb-item:hover, .thumb-item.active {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(0,242,254,0.3);
}

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

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-category-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.detail-meta-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-cyan);
    letter-spacing: 2px;
}

.detail-sales-tag {
    font-size: 0.85rem;
    color: var(--accent-green);
    background: var(--accent-green-dim);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.detail-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.detail-rating-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-price-line {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-price-final {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.detail-price-original {
    font-size: 1.3rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.detail-save-badge {
    background: var(--accent-purple);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    color: white;
}

.detail-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.detail-actions-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.qty-selector-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.qty-btn-group {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    height: 40px;
}

.qty-btn {
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.qty-btn:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.qty-val {
    width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.buy-buttons {
    display: flex;
    gap: 1rem;
}

.buy-buttons .btn {
    flex-grow: 1;
    height: 52px;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    margin-top: 4rem;
}

.tab-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.8rem 0;
    position: relative;
}

.tab-link:hover, .tab-link.active {
    color: var(--text-primary);
}

.tab-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-cyan);
    transition: var(--transition-fast);
}

.tab-link.active::after {
    width: 100%;
}

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

.tab-content-panel.active {
    display: block;
    animation: fadeIn 0.4s var(--ease-smooth);
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-item {
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.feature-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--accent-cyan);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
}

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

.specs-table td {
    padding: 1rem 1.5rem;
}

.specs-table td.spec-key {
    font-weight: 600;
    color: var(--text-secondary);
    width: 30%;
}

.specs-table td.spec-val {
    color: var(--text-primary);
}

/* Review Section Styles */
.reviews-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
}

.reviews-summary-card {
    border-radius: var(--border-radius-md);
    padding: 2rem;
    text-align: center;
    height: fit-content;
}

.rating-huge {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 2rem;
}

.dist-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.dist-bar-wrap {
    flex-grow: 1;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.dist-bar-fill {
    height: 100%;
    background: #ffb800;
    border-radius: 3px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.reviewer-name {
    font-weight: 600;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Seller reply styling */
.seller-reply-item {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-left: 2px solid var(--accent-purple);
    padding: 1rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-size: 0.9rem;
}

.seller-author {
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Slider/Drawer Component (Cart Sidebar) */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 9, 18, 0.7);
    z-index: 110;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-smooth);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    height: 100%;
    z-index: 120;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
}

.cart-drawer-overlay.active + .cart-drawer, .cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 1.8rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cart-drawer-header h3 i {
    color: var(--accent-cyan);
}

.close-drawer-btn {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.close-drawer-btn:hover {
    color: var(--text-primary);
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item-row {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: #080c16;
    border: 1px solid var(--border-color);
}

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

.cart-item-detail {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.cart-item-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-cyan);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    height: 28px;
}

.cart-qty-btn {
    width: 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.cart-qty-val {
    width: 28px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.25rem;
}

.cart-item-remove:hover {
    color: #ff4757;
}

.cart-drawer-footer {
    padding: 1.8rem;
    border-top: 1px solid var(--border-color);
    background: #0b1122;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.cart-summary-line.total {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    border-top: 1px dashed var(--border-color);
    padding-top: 0.8rem;
}

.checkout-btn {
    width: 100%;
    height: 50px;
    margin-top: 1.5rem;
}

.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    gap: 1.5rem;
    text-align: center;
}

.empty-cart-state i {
    font-size: 3.5rem;
    color: var(--border-color);
}

/* Modal Window for Coupon */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 9, 18, 0.8);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 460px;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s var(--ease-smooth);
    text-align: center;
    border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.2rem;
    color: var(--text-muted);
}

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

/* Coupon Visual Design */
.coupon-card {
    background: radial-gradient(circle at left, transparent 15px, var(--bg-surface) 16px),
                radial-gradient(circle at right, transparent 15px, var(--bg-surface) 16px);
    background-size: 50% 100%;
    background-position: left, right;
    background-repeat: no-repeat;
    border: 1px dashed var(--accent-cyan);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin: 1.5rem 0 2rem;
    box-shadow: var(--shadow-glow-cyan);
    position: relative;
}

.coupon-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
    font-family: var(--font-sans);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.coupon-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.coupon-code {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Wishlist View */
.wishlist-empty-state {
    padding: 5rem 0;
    text-align: center;
    color: var(--text-muted);
}

.wishlist-empty-state i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

/* Checkout Page Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    margin-top: 2rem;
}

.checkout-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.checkout-section-title i {
    color: var(--accent-cyan);
}

.checkout-card {
    border-radius: var(--border-radius-md);
    padding: 2.2rem;
    margin-bottom: 1.5rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input-wrap {
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
    border-radius: var(--border-radius-sm);
    height: 46px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    transition: var(--transition-fast);
}

.form-input-wrap:focus-within {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.2);
}

.form-input-wrap input, .form-input-wrap select {
    width: 100%;
    height: 100%;
}

/* Fixed +1 Area Code Block */
.phone-input-container {
    display: flex;
    gap: 0.6rem;
}

.phone-prefix-block {
    width: 60px;
    height: 46px;
    border-radius: var(--border-radius-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent-cyan);
}

.phone-input-container .form-input-wrap {
    flex-grow: 1;
}

/* Errors & Validation styling */
.error-msg {
    color: #ff4757;
    font-size: 0.75rem;
    font-weight: 600;
    display: none;
    margin-top: 0.2rem;
}

.form-group.invalid .form-input-wrap {
    border-color: #ff4757;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Order Summary Review (Checkout Right Side) */
.checkout-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
    border-radius: var(--border-radius-md);
    padding: 2.2rem;
}

.summary-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.summary-item-name {
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 70%;
}

.summary-item-qty {
    color: var(--text-muted);
}

.summary-item-price {
    font-weight: 600;
}

.discount-applied-badge {
    background: rgba(0, 255, 135, 0.08);
    border: 1px solid rgba(0, 255, 135, 0.2);
    color: var(--accent-green);
    border-radius: 4px;
    font-size: 0.8rem;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.discount-applied-badge i {
    cursor: pointer;
}

/* Order Success View */
.success-card {
    max-width: 600px;
    margin: 4rem auto 0;
    border-radius: var(--border-radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-soft), var(--shadow-glow-purple);
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-green-dim);
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.3);
}

.success-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.success-desc {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Legal Pages Styling (Terms, Privacy, etc.) */
.legal-wrapper {
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 3rem;
    border-radius: var(--border-radius-lg);
}

.legal-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.legal-meta {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-content ul, .legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.legal-content li {
    margin-bottom: 0.6rem;
}

/* Account Page Styles */
.account-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.account-menu {
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    height: fit-content;
}

.account-user-card {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.account-user-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.account-user-email {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.account-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.account-menu-btn {
    text-align: left;
    padding: 10px 15px;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.account-menu-btn:hover, .account-menu-btn.active {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.account-menu-btn.active {
    border-left: 3px solid var(--accent-cyan);
    padding-left: 12px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    border-radius: var(--border-radius-md);
    padding: 1.8rem;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.order-meta-info {
    display: flex;
    gap: 2rem;
}

.order-meta-info label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.order-meta-info span {
    font-weight: 600;
    color: var(--text-secondary);
}

.order-card-total {
    text-align: right;
}

.order-card-total label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.order-card-total span {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.order-items-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.order-item-inline-name {
    color: var(--text-secondary);
    width: 60%;
}

.order-item-inline-qty {
    color: var(--text-muted);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-surface);
    border-left: 4px solid var(--accent-cyan);
    border-radius: var(--border-radius-sm);
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: slideInLeft 0.3s var(--ease-smooth);
    min-width: 250px;
    font-weight: 500;
}

.toast.success {
    border-left-color: var(--accent-green);
}

.toast.error {
    border-left-color: #ff4757;
}

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

@keyframes slideInLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* About Us View */
.about-hero-wrap {
    text-align: center;
    margin-bottom: 4rem;
}

.about-hero-wrap h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.about-content-wrap {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-content-wrap p {
    margin-bottom: 2rem;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 4rem 0;
}

.about-feature-box {
    border-radius: var(--border-radius-md);
    padding: 2rem;
}

.about-feature-box i {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.about-feature-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.about-feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Login/Register Forms */
.auth-container {
    max-width: 480px;
    margin: 4rem auto 0;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-submit-btn {
    width: 100%;
    height: 48px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.auth-toggle-link {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-toggle-link a {
    color: var(--accent-cyan);
    font-weight: 600;
}

.auth-toggle-link a:hover {
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-card-sidebar {
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: fit-content;
}

.contact-sidebar-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.contact-sidebar-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-form-card {
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    
    .bento-w2 { grid-column: span 2; }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 900px) {
    .header-wrapper {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        display: none; /* Hide standard nav link, toggle drawer instead */
    }
    
    .header-actions .ip-badge {
        display: none; /* Hide location badges on smaller tablets */
    }
    
    .catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        display: none; /* Hide sidebar filter, map to a drawer or header tab */
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    main {
        margin-top: 70px;
    }
    
    .header-wrapper {
        height: 70px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .bento-item {
        aspect-ratio: 1.5;
        height: auto;
    }
    
    .products-grid {
        /* CRITICAL REQUIREMENT: At least two columns on mobile viewport */
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem;
    }
    
    .prod-card {
        padding: 0.75rem;
        border-radius: var(--border-radius-sm);
    }
    
    .card-title {
        font-size: 0.9rem;
        height: 2.2rem;
    }
    
    .price-final {
        font-size: 1rem;
    }
    
    .card-add-btn {
        width: 32px;
        height: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cart-drawer {
        width: 100%;
    }
    
    .modal-container {
        width: 90%;
        padding: 1.5rem;
    }
    
    .coupon-value {
        font-size: 2.5rem;
    }
    
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}
