/**
 * ORAD.cz - Main Stylesheet
 * Verze: 2.0
 */

/* ==================== RESET & VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1a1a1a;
    --border: #262626;
    --border-hover: #404040;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --accent: #FF6B35;
    --accent-hover: #ff8c5a;
    --accent-glow: rgba(255, 107, 53, 0.15);
    --success: #22c55e;
    --sold: #ef4444;
    --warning: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}
.logo:hover {
    color: var(--accent);
}
.logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 8px;
}
.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav a:hover, .nav a.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s;
    position: relative;
}
.icon-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== HERO ==================== */
.hero {
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 100px 24px 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    will-change: transform;
}

/* Parallax effect - applied via JS */
.hero-bg.parallax img {
    height: 120%;
    top: -10%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.85) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 12px;
}
.hero h1 .accent {
    color: var(--accent);
}

.hero p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ==================== FILTERS ==================== */
.filters {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.filters-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-right: 8px;
}

.filter-select {
    appearance: none;
    padding: 12px 40px 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23737373' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    min-width: 180px;
}
.filter-select:hover {
    border-color: var(--border-hover);
}
.filter-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.filter-reset {
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}
.filter-reset:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.results-count {
    margin-left: auto;
    font-size: 14px;
    color: var(--text-muted);
}

/* ==================== PRODUCTS GRID ==================== */
.products {
    padding: 48px 0 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}
.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--accent);
}

.product-image {
    position: relative;
    padding-top: 140%; /* 7:5 ratio vertical (7/5 = 1.4) */
    background: var(--bg-secondary);
    overflow: hidden;
}
.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-edition {
    background: var(--accent);
    color: #fff;
}
.badge-sold {
    background: var(--sold);
    color: #fff;
}
.badge-new {
    background: var(--success);
    color: #fff;
}
.badge-signed {
    background: var(--warning);
    color: #000;
}

.product-info {
    padding: 20px;
}

.product-artist {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.product-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--text-primary);
}

.product-edition {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.product-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.product-meta i {
    font-size: 12px;
    color: var(--text-secondary);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
}
.product-price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.product-stock {
    font-size: 13px;
    font-weight: 500;
}
.product-stock.available {
    color: var(--success);
}
.product-stock.sold-out {
    color: var(--sold);
}

/* ==================== PRODUCT DETAIL PAGE ==================== */
.product-detail {
    padding: 48px 0 80px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    margin-bottom: 16px;
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 5 / 7;
    object-fit: cover;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Image Protection */
.protected-image {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container {
    position: relative;
    max-height: 1800px;
    aspect-ratio: 5 / 7;
}

.lightbox-image {
    max-width: 90vw;
    max-height: min(90vh, 1800px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.lightbox-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--accent);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    z-index: 10001;
}

/* Hide nav buttons if only one image */
.lightbox.single-image .lightbox-nav,
.lightbox.single-image .lightbox-counter {
    display: none;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.gallery-thumb {
    width: 60px;
    height: 84px; /* 5:7 ratio vertical */
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--accent);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Product Info */
.product-detail-info {
    padding-top: 16px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.breadcrumb a {
    color: var(--text-secondary);
}
.breadcrumb a:hover {
    color: var(--accent);
}

.product-detail-artist {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-detail-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}
.product-detail-price.from::before {
    content: 'od ';
    font-size: 18px;
    font-weight: 500;
    color: var(--text-muted);
}

.product-detail-stock {
    font-size: 15px;
    margin-bottom: 32px;
}

/* Specs */
.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 12px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.spec-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.spec-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Features */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
}
.feature-tag i {
    color: var(--accent);
}

/* Stock Items Table */
.stock-section {
    margin-bottom: 32px;
}

.stock-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.stock-table th {
    text-align: left;
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.stock-table td {
    padding: 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.stock-table tr:last-child td {
    border-bottom: none;
}

.stock-table tr:hover {
    background: var(--bg-card-hover);
}

.stock-table .price {
    font-weight: 700;
    color: var(--accent);
    font-size: 16px;
}

.stock-table .status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.stock-table .status.available {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}
.stock-table .status.sold {
    background: rgba(239, 68, 68, 0.15);
    color: var(--sold);
}
.stock-table .status.reserved {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

/* Description */
.product-description {
    margin-bottom: 32px;
}

.product-description h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-description p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Actions */
.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

/* ==================== EMPTY STATE ==================== */
.empty-state {
    text-align: center;
    padding: 100px 20px;
}
.empty-state .icon {
    font-size: 80px;
    color: var(--border);
    margin-bottom: 24px;
}
.empty-state h3 {
    font-size: 24px;
    margin-bottom: 12px;
}
.empty-state p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto;
}

/* ==================== ALERTS ==================== */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}
.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}
.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}
.alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 16px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}
.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .product-gallery {
        position: static;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Navigation Panel */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 80vw;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 9999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-header .logo {
    font-size: 24px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-links {
    flex: 1;
    padding: 20px;
    list-style: none;
}

.mobile-nav-links li {
    margin-bottom: 8px;
}

.mobile-nav-links a {
    display: block;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--bg-card);
    color: var(--accent);
}

.mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.mobile-nav-footer a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    justify-content: center;
}

@media (max-width: 768px) {
    .mobile-menu-btn { 
        display: block; 
    }
    
    .nav {
        display: none;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Header */
    .header-inner {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 24px;
    }
    
    /* Hero */
    .hero { 
        min-height: 25vh;
        padding: 80px 16px 40px; 
    }
    
    .hero h1 { 
        font-size: 28px;
        letter-spacing: -1px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    /* Filters */
    .filters {
        padding: 16px 0;
    }
    
    .filters-inner { 
        flex-direction: column; 
        align-items: stretch;
        gap: 10px;
    }
    
    .filter-label {
        display: none;
    }
    
    .filter-select {
        min-width: 100%;
    }
    
    .results-count { 
        margin-left: 0; 
        text-align: center;
        padding-top: 8px;
    }
    
    /* Products Grid */
    .products {
        padding: 24px 0 48px;
    }
    
    .products-grid { 
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    /* Product Detail */
    .product-detail {
        padding: 24px 0 48px;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .gallery-main {
        border-radius: 12px;
    }
    
    .gallery-thumbs {
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .gallery-thumb {
        width: 50px;
        height: 70px;
    }
    
    .product-detail-title {
        font-size: 24px;
    }
    
    .product-detail-price {
        font-size: 26px;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }
    
    .product-features {
        gap: 8px;
    }
    
    .feature-tag {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Stock Table */
    .stock-table {
        font-size: 13px;
    }
    
    .stock-table th,
    .stock-table td {
        padding: 10px 8px;
    }
    
    .stock-table .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 24px;
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 32px; 
    }
    
    .footer-bottom { 
        flex-direction: column; 
        gap: 16px; 
        text-align: center; 
    }
    
    /* Lightbox Mobile */
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .product-detail-title {
        font-size: 20px;
    }
    
    .product-price {
        font-size: 18px;
    }
    
    .stock-section h3 {
        font-size: 16px;
    }
    
    /* Hide some columns on very small screens */
    .stock-table th:nth-child(3),
    .stock-table td:nth-child(3) {
        display: none;
    }
}