:root {
    --primary: #C62828;
    --primary-light: #E53935;
    --primary-dark: #B71C1C;
    --secondary: #212121;
    --light: #f8f9fa;
    --dark: #1a1a1a;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --purple: #6f42c1;
    --purple-light: #e0d4f7;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--light); color: var(--dark); line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header-top { background: var(--secondary); color: var(--white); padding: 8px 0; font-size: 0.9rem; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.social-links { display: flex; gap: 15px; }
.social-link { color: var(--white); text-decoration: none; transition: var(--transition); }
.social-link:hover { color: var(--primary); }
.login-link, .user-menu a { color: var(--white); text-decoration: none; margin-left: 15px; font-size: 0.85rem; }
.login-link:hover, .user-menu a:hover { color: var(--primary); }
.user-menu { display: flex; align-items: center; gap: 15px; }
.user-menu span { color: #aaa; }

.main-nav { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
.main-nav .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.logo img { height: 45px; max-width: 160px; object-fit: contain; margin-right: 10px; }
.logo-text { display: flex; align-items: center; }
.nav-menu { display: flex; list-style: none; align-items: center; gap: 30px; }
.nav-menu a { text-decoration: none; color: var(--secondary); font-weight: 500; transition: var(--transition); padding: 5px 0; position: relative; }
.nav-menu a:hover { color: var(--primary); }
.nav-menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu .cart-link { position: relative; color: var(--primary); }
.cart-count { position: absolute; top: -10px; right: -10px; background: var(--primary); color: white; font-size: 0.65rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--secondary); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 80px 0; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 15px; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto 30px; }
.btn { display: inline-block; padding: 12px 30px; border-radius: var(--radius); text-decoration: none; font-weight: 600; transition: var(--transition); border: none; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--white); color: var(--primary); }
.btn-primary:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark { background: var(--secondary); color: var(--white); }
.btn-dark:hover { background: var(--primary); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: var(--primary-dark); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* Sections */
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 2.2rem; color: var(--secondary); margin-bottom: 10px; position: relative; display: inline-block; }
.section-header h2::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 10px auto 0; border-radius: 2px; }
.section-header p { color: var(--gray); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-img { width: 100%; height: 200px; object-fit: cover; background: var(--gray-light); display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: 3rem; }
.card-body { padding: 20px; }
.card-title { font-size: 1.2rem; margin-bottom: 10px; color: var(--secondary); }
.card-text { color: var(--gray); font-size: 0.95rem; margin-bottom: 15px; }
.card-price { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 15px; }
.card-actions { display: flex; gap: 10px; }

/* Categories */
.category-card { text-align: center; cursor: pointer; }
.category-card .card-img { font-size: 3rem; color: var(--primary); }

/* Product Detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.product-img img { width: 100%; height: auto; display: block; }
.product-info h1 { font-size: 2rem; margin-bottom: 15px; }
.product-info .price { font-size: 1.8rem; color: var(--primary); font-weight: 700; margin-bottom: 20px; }
.product-info .description { color: var(--gray); margin-bottom: 25px; line-height: 1.8; }

/* Cart */
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th, .cart-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--gray-light); }
.cart-table th { background: var(--secondary); color: var(--white); font-weight: 600; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-table .qty-input { width: 60px; padding: 5px; border: 1px solid var(--gray-light); border-radius: 4px; text-align: center; }
.cart-total { text-align: right; margin-top: 20px; font-size: 1.5rem; font-weight: 700; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty i { font-size: 4rem; color: var(--gray-light); margin-bottom: 20px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--secondary); }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--gray-light); border-radius: var(--radius); font-size: 1rem; transition: var(--transition); font-family: inherit; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1); }
textarea.form-control { min-height: 120px; resize: vertical; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { margin-bottom: 20px; color: var(--secondary); }
.contact-info p { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: var(--gray); }
.contact-info i { color: var(--primary); width: 20px; }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 300px; margin-top: 20px; }

/* Organization */
.org-section { margin-bottom: 40px; }
.org-section h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 15px; border-left: 4px solid var(--primary); padding-left: 15px; }
.org-section p { color: var(--gray); line-height: 1.8; font-size: 1.05rem; }
.branches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.branch-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.branch-img { height: 180px; background: var(--gray-light); display: flex; align-items: center; justify-content: center; color: var(--gray); }
.branch-img img { width: 100%; height: 100%; object-fit: cover; }
.branch-info { padding: 20px; }
.branch-info h3 { margin-bottom: 10px; color: var(--secondary); }
.branch-info p { color: var(--gray); font-size: 0.9rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.branch-info i { color: var(--primary); width: 18px; }

/* Login */
.login-container { max-width: 400px; margin: 80px auto; background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.login-container h2 { text-align: center; margin-bottom: 30px; color: var(--secondary); }
.login-container .logo { justify-content: center; margin-bottom: 20px; }

/* Admin */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--secondary); color: var(--white); padding: 20px 0; position: sticky; top: 0; height: 100vh; }
.admin-sidebar .logo { padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; justify-content: center; color: var(--white); }
.admin-sidebar .logo img { filter: brightness(0) invert(1); }
.admin-menu { list-style: none; }
.admin-menu li a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,0.8); text-decoration: none; transition: var(--transition); }
.admin-menu li a:hover, .admin-menu li a.active { background: rgba(255,255,255,0.1); color: var(--white); border-left: 3px solid var(--primary); }
.admin-menu li a i { width: 20px; text-align: center; }
.admin-main { padding: 30px; background: var(--light); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-header h1 { font-size: 1.8rem; color: var(--secondary); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: var(--white); padding: 25px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; align-items: center; gap: 15px; }
.stat-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.stat-icon.red { background: rgba(198, 40, 40, 0.1); color: var(--primary); }
.stat-icon.blue { background: rgba(33, 150, 243, 0.1); color: #2196F3; }
.stat-icon.green { background: rgba(40, 167, 69, 0.1); color: var(--success); }
.stat-icon.purple { background: var(--purple-light); color: var(--purple); }
.stat-icon.orange { background: rgba(255, 152, 0, 0.1); color: #FF9800; }
.stat-info h3 { font-size: 1.6rem; margin-bottom: 5px; }
.stat-info p { color: var(--gray); font-size: 0.9rem; }

/* Tables */
.table-container { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--gray-light); }
.data-table th { background: #f8f9fa; font-weight: 600; color: var(--secondary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.data-table tr:hover { background: rgba(198, 40, 40, 0.02); }
.data-table .actions { display: flex; gap: 8px; }
.data-table .btn-sm { padding: 6px 12px; font-size: 0.8rem; }
.table-img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }

/* Status badges */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-success { background: rgba(40, 167, 69, 0.15); color: var(--success); }
.badge-warning { background: rgba(255, 193, 7, 0.15); color: #856404; }
.badge-danger { background: rgba(220, 53, 69, 0.15); color: var(--danger); }
.badge-info { background: rgba(33, 150, 243, 0.15); color: #0c5460; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pagination a { padding: 8px 14px; border-radius: var(--radius); text-decoration: none; color: var(--secondary); background: var(--white); transition: var(--transition); }
.pagination a:hover, .pagination a.active { background: var(--primary); color: var(--white); }

/* Alerts */
.alert { padding: 15px 20px; border-radius: var(--radius); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: rgba(40, 167, 69, 0.1); color: var(--success); border: 1px solid rgba(40, 167, 69, 0.2); }
.alert-danger { background: rgba(220, 53, 69, 0.1); color: var(--danger); border: 1px solid rgba(220, 53, 69, 0.2); }
.alert-warning { background: rgba(255, 193, 7, 0.1); color: #856404; border: 1px solid rgba(255, 193, 7, 0.2); }

/* Footer */
.main-footer { background: var(--secondary); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: var(--white); margin-bottom: 20px; font-size: 1.2rem; }
.footer-col p { margin-bottom: 12px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); font-size: 1rem; }
.footer-col a:hover { color: var(--primary); }
.footer-logo { height: 50px; max-width: 180px; object-fit: contain; margin-bottom: 15px; }
.social-footer { display: flex; gap: 15px; }
.social-footer a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); color: var(--white); transition: var(--transition); }
.social-footer a:hover { background: var(--primary); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; text-align: center; font-size: 1rem; color: rgba(255,255,255,0.5); }

/* Responsive */
@media (max-width: 992px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { height: auto; position: relative; padding: 15px; }
    .product-detail, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
    .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: var(--shadow); gap: 15px; }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2rem; }
    .hero { padding: 50px 0; }
    .section-header h2 { font-size: 1.6rem; }
    .card-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .admin-header { flex-direction: column; gap: 15px; align-items: flex-start; }
}

/* ===== MONEDA SELECTOR ===== */
.moneda-select { padding: 6px 10px; border-radius: 6px; border: 1px solid var(--gray-light); font-size: 0.85rem; font-weight: 600; color: var(--secondary); background: var(--white); cursor: pointer; transition: var(--transition); }
.moneda-select:hover { border-color: var(--primary); }

/* ===== STOCK BADGES ===== */
.badge-stock { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.badge-stock.disponible { background: rgba(40, 167, 69, 0.12); color: var(--success); }
.badge-stock.reservar { background: rgba(255, 152, 0, 0.12); color: #e65100; }
.badge-stock.agotado { background: rgba(108, 117, 125, 0.12); color: var(--gray); }

/* Utilities */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-10 { gap: 10px; }
.w-100 { width: 100%; }
/* ===== SEARCH AUTOCOMPLETE ===== */
.search-nav-item { position: relative; }
.search-autocomplete-wrapper { position: relative; width: 240px; }
.search-autocomplete-input {
    width: 100%;
    padding: 8px 32px 8px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}
.search-autocomplete-input::placeholder { color: rgba(255,255,255,0.65); }
.search-autocomplete-input:focus {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}
.search-autocomplete-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    pointer-events: none;
}
.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}
.search-autocomplete-dropdown.open { display: block; }
.search-autocomplete-cat {
    padding: 8px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    text-decoration: none;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}
.search-autocomplete-item:hover,
.search-autocomplete-item.active {
    background: #eff6ff;
}
.search-autocomplete-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    background: #f1f5f9;
    flex-shrink: 0;
}
.search-autocomplete-item .aci-info { flex: 1; min-width: 0; }
.search-autocomplete-item .aci-name {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-autocomplete-item .aci-code {
    font-size: 0.75rem;
    color: var(--text-l);
    display: flex;
    align-items: center;
    gap: 4px;
}
.search-autocomplete-item .aci-code i {
    font-size: 0.7rem;
}
.search-autocomplete-item .aci-price {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}
.search-autocomplete-item .aci-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1rem;
    flex-shrink: 0;
}
.search-autocomplete-footer {
    padding: 10px 14px;
    text-align: center;
    border-top: 1px solid #eef2f7;
}
.search-autocomplete-footer a {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}
.search-autocomplete-footer a:hover { text-decoration: underline; }
.search-autocomplete-empty {
    padding: 20px 14px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.search-input-row {
    position: relative;
    display: flex;
    align-items: center;
}
.search-filter-toggle {
    position: absolute;
    right: 34px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}
.search-filter-toggle:hover,
.search-filter-toggle.active { color: #fff; }
.search-filter-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 14px;
    z-index: 1001;
    gap: 12px;
}
.search-filter-panel.open { display: grid; }
.search-filter-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}
.search-filter-range {
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-filter-range span {
    color: #94a3b8;
    font-size: 0.85rem;
}
.search-filter-input,
.search-filter-select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #334155;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.search-filter-input:focus,
.search-filter-select:focus { border-color: var(--primary); }
.search-filter-input::placeholder { color: #cbd5e1; }

@media (max-width: 768px) {
    .search-nav-item { width: 100%; order: -1; margin-bottom: 10px; }
    .search-autocomplete-wrapper { width: 100%; }
    .search-autocomplete-input { background: rgba(255,255,255,0.2); }
}

.d-none { display: none; }

/* ===== PRODUCT GALLERY ===== */
.product-gallery-main { background: var(--white); border-radius: 12px; overflow: hidden; margin-bottom: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.product-gallery-main img { width: 100%; height: 400px; object-fit: contain; display: block; }
.product-gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumb { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.3s; background: var(--white); box-shadow: 0 2px 5px rgba(0,0,0,0.08); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb:hover { border-color: var(--secondary); }

/* ===== NOVEDADES CAROUSEL (shared fallback) ===== */
.nov-carousel { position: relative; max-width: 900px; margin: 0 auto; padding: 30px 20px 0; }
.nov-carousel-inner { position: relative; overflow: hidden; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); background: #000; }
.nov-carousel-slide { display: none; }
.nov-carousel-slide.active { display: block; }
.nov-carousel-slide img { width: 100%; height: 450px; object-fit: cover; display: block; }
.nov-carousel-slide iframe { width: 100%; height: 450px; border: none; display: block; }
.nov-carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); z-index: 10; transition: background 0.3s; }
.nov-carousel-nav:hover { background: #fff; }
.nov-carousel-prev { left: 10px; }
.nov-carousel-next { right: 10px; }
.nov-carousel-dots { display: flex; justify-content: center; gap: 8px; padding: 12px 0; }
.nov-carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; border: none; cursor: pointer; transition: background 0.3s; }
.nov-carousel-dot.active { background: var(--primary); }

@media (max-width: 768px) {
.product-gallery-main img { height: 280px; }
.gallery-thumb { width: 55px; height: 55px; }
.nov-carousel-slide img, .nov-carousel-slide iframe { height: 220px; }
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    min-width: 200px;
    list-style: none;
    padding: 8px 0;
    z-index: 3000;
}
.nav-dropdown-menu li a {
    display: block;
    padding: 8px 16px;
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}
.nav-dropdown-menu li a:hover { background: rgba(198,40,40,0.05); color: var(--primary); }
.nav-dropdown:hover > .nav-dropdown-menu { display: block; }
.nav-dropdown-submenu { position: relative; }
.nav-dropdown-menu-sub {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--white);
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    min-width: 180px;
    list-style: none;
    padding: 8px 0;
    z-index: 3001;
}
.nav-dropdown-submenu:hover > .nav-dropdown-menu-sub { display: block; }

@media (max-width: 768px) {
    .nav-dropdown-menu, .nav-dropdown-menu-sub {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 15px;
        background: transparent;
    }
    .nav-dropdown-menu.active, .nav-dropdown-menu-sub.active { display: block; }
    .nav-dropdown-toggle::after {
        content: '+';
        margin-left: 8px;
        font-size: 1rem;
        float: right;
    }
    .nav-dropdown-toggle.open::after { content: '-'; }
}
