/* ===== TeknoParÃ§a v2 - Modern E-Commerce CSS ===== */
/* Inter Font + Mobile-First Responsive Design */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #A5B4FC;
    --primary-bg: #EEF2FF;
    --accent: #06B6D4;
    --accent-dark: #0891B2;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --danger-light: #FEF2F2;

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-light: #CBD5E1;

    --bg-white: #FFFFFF;
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-gray: #F1F5F9;
    --bg-dark: #0F172A;

    --border: #E2E8F0;
    --border-light: #F1F5F9;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 4px rgba(0, 0, 0, .04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, .04), 0 10px 20px rgba(0, 0, 0, .06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, .06), 0 20px 48px rgba(0, 0, 0, .08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, .08), 0 32px 64px rgba(0, 0, 0, .12);
    --shadow-primary: 0 8px 24px rgba(99, 102, 241, .25);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --header-height: 70px;
    --nav-height: 48px;
    --mobile-bottom-nav: 64px;
    --container-max: 1320px;
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
    --transition-fast: all .15s ease;
    --transition-spring: all .5s cubic-bezier(.34, 1.56, .64, 1);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --gradient-primary: linear-gradient(135deg, #6366F1, #8B5CF6);
    --gradient-accent: linear-gradient(135deg, #06B6D4, #6366F1);
    --gradient-dark: linear-gradient(135deg, #0F172A, #1E293B);
    --gradient-warm: linear-gradient(135deg, #F59E0B, #EF4444);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(99, 102, 241, .08) 0, transparent 50%),
        radial-gradient(at 80% 0%, rgba(6, 182, 212, .06) 0, transparent 50%),
        radial-gradient(at 0% 50%, rgba(99, 102, 241, .04) 0, transparent 50%);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-body);
    background-image: var(--gradient-mesh);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    body {
        padding-bottom: var(--mobile-bottom-nav);
    }
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    width: 0%;
    z-index: 10001;
    transition: width .1s;
    box-shadow: 0 0 10px rgba(99, 102, 241, .5);
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    padding: 8px 0;
    letter-spacing: .2px;
}

.announcement-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.announcement-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.announcement-right a {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

.announcement-right a:hover {
    color: #fff;
}

.lang-selector {
    cursor: pointer;
}

.hide-mobile {
    display: inline;
}

@media (max-width: 768px) {
    .announcement-bar {
        padding: 6px 0;
    }

    .announcement-left span:not(:first-child) {
        display: none;
    }

    .hide-mobile {
        display: none !important;
    }

    .hide-mobile-sm {
        display: none !important;
    }
}

/* ===== HEADER ===== */
.header {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
    border-bottom: 1px solid rgba(226, 232, 240, .5);
}

.header-main {
    padding: 12px 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    z-index: 10;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, .3);
}

.logo em {
    font-style: normal;
    color: var(--primary);
}

/* Search */
.search-wrapper {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-gray);
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    overflow: hidden;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
}

.search-cat {
    padding: 12px 12px 12px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    outline: none;
    border-right: 1px solid var(--border);
    min-width: 140px;
    cursor: pointer;
}

#searchInput {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: var(--text-primary);
    min-width: 0;
}

#searchInput::placeholder {
    color: var(--text-muted);
}

.search-btn {
    padding: 10px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

.search-autocomplete {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 999;
    max-height: 400px;
    overflow-y: auto;
}

.search-autocomplete a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-primary);
    transition: var(--transition);
}

.search-autocomplete a:hover {
    background: var(--bg-gray);
}

.search-autocomplete img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.header-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    font-size: 14px;
}

.header-icon-btn:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.header-icon-btn svg {
    flex-shrink: 0;
}

.h-label {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.mobile-search-btn {
    display: none !important;
}

/* ===== NAVIGATION BAR ===== */
.nav-bar {
    background: var(--gradient-primary);
    position: relative;
}

.nav-bar .container {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-categories-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-categories-btn:hover {
    background: rgba(0, 0, 0, .2);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger-icon span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.nav-links a {
    padding: 14px 16px;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, .1);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dd-arrow {
    opacity: .7;
    transition: var(--transition);
}

.nav-dropdown:hover .nav-dd-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--bg-white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all .2s ease;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-dd-item:hover {
    background: var(--primary-bg) !important;
    color: var(--primary) !important;
    padding-left: 22px;
}

.nav-dd-all {
    font-weight: 700;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 4px;
    padding-bottom: 12px;
}

.nav-dd-icon {
    font-size: 16px;
    width: 24px;
    text-align: center;
}

/* ===== EKRANLAR MEGA DROPDOWN ===== */
.nav-ekranlar-menu {
    min-width: 280px !important;
    max-height: 480px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

.nav-dd-section-title {
    padding: 10px 18px 6px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: .8;
}

/* ===== BRANDS MEGA DROPDOWN ===== */
.nav-brands-menu {
    min-width: 420px !important;
    max-width: 520px;
    padding: 0 !important;
    border-radius: 0 0 16px 16px !important;
    overflow: hidden;
}

.nav-brands-header {
    padding: 14px 20px 10px;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--primary-bg), #fff);
}

.nav-brands-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.nav-brands-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 8px;
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) transparent;
}

.nav-brands-grid::-webkit-scrollbar {
    width: 4px;
}

.nav-brands-grid::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.nav-brand-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: all .2s ease;
    text-decoration: none;
}

.nav-brand-card:hover {
    background: var(--primary-bg);
    transform: translateX(3px);
}

.nav-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(99, 102, 241, .25);
}

.nav-brand-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.nav-brand-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-brand-count {
    font-size: 11px;
    color: var(--text-muted);
}

.nav-brand-card:hover .nav-brand-name {
    color: var(--primary);
}

.nav-brands-footer {
    display: block;
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary) !important;
    background: var(--primary-bg);
    border-top: 1px solid var(--border-light);
    transition: all .2s ease;
}

.nav-brands-footer:hover {
    background: var(--primary);
    color: #fff !important;
}

.mobile-toggle {
    display: none;
    color: #fff;
    padding: 10px;
}

/* ===== MEGA MENU ===== */
.mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    border-top: 3px solid var(--primary);
    animation: fadeInDown .2s ease;
}

.mega-dropdown.open {
    display: block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 360px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.mega-menu-categories {
    background: var(--bg-gray);
    border-right: 1px solid var(--border);
    padding: 12px 0;
    overflow-y: auto;
    max-height: 450px;
}

.mega-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    color: var(--text-primary);
}

.mega-cat-item:hover,
.mega-cat-item.active {
    background: var(--bg-white);
    color: var(--primary);
}

.mega-cat-item .cat-emoji {
    font-size: 18px;
    flex-shrink: 0;
}

.mega-cat-item .cat-name {
    flex: 1;
    font-weight: 500;
}

.mega-cat-item .cat-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
}

.mega-menu-subcats {
    padding: 20px 30px;
}

.mega-sub-panel {
    display: none;
}

.mega-sub-panel.active {
    display: block;
}

.mega-sub-title {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-bg);
}

.mega-sub-title a {
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

.mega-sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.mega-sub-link {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
}

.mega-sub-link:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.mega-sub-empty {
    color: var(--text-muted);
    font-size: 14px;
    padding: 20px 0;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.open {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--bg-white);
    z-index: 2001;
    overflow-y: auto;
    transition: left .3s ease;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-header .logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.mobile-menu-header .logo em {
    color: var(--primary);
    font-style: normal;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: 50%;
    font-size: 18px;
    color: var(--text-secondary);
}

.mobile-menu-user {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.mobile-menu-user strong {
    display: block;
    font-size: 14px;
}

.mobile-menu-user small {
    color: var(--text-muted);
    font-size: 12px;
}

.mobile-login-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: var(--primary);
    color: #fff !important;
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
}

.mobile-menu-search {
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-search input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 14px;
}

.mobile-menu-search button {
    padding: 10px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 16px;
}

.mobile-menu-nav {
    padding: 8px 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: var(--primary-bg);
    color: var(--primary);
}

.mobile-nav-emoji {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.mobile-nav-divider {
    padding: 12px 20px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.mobile-nav-badge {
    margin-left: auto;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .08);
    z-index: 999;
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
}

.mobile-bottom-nav {
    display: none;
    grid-template-columns: repeat(5, 1fr);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item svg {
    stroke: currentColor;
}

.bottom-cart-icon {
    position: relative;
}

.bottom-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--danger);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: grid;
    }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    background-image: radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, .2) 0%, transparent 60%);
}

.slider-track {
    display: flex;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
}

.slide-bg {
    padding: 60px 0;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.slide-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.slide-text {
    max-width: 560px;
    color: #fff;
}

.slide-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: .5px;
}

.slide-text h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.slide-text p {
    font-size: 16px;
    opacity: .85;
    line-height: 1.6;
    margin-bottom: 24px;
}

.slide-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.slide-visual {
    font-size: 120px;
    opacity: .3;
    flex-shrink: 0;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 5;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, .3);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

/* Slider Mobile */
@media (max-width: 768px) {
    .slide-bg {
        padding: 40px 0;
        min-height: 300px;
    }

    .slide-content {
        padding: 0 20px;
    }

    .slide-text h1 {
        font-size: 26px;
    }

    .slide-text p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .slide-visual {
        display: none;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .slider-prev {
        left: 8px;
    }

    .slider-next {
        right: 8px;
    }

    .slider-controls {
        bottom: 16px;
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    filter: brightness(1.1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, .35);
}

.btn-accent {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(6, 182, 212, .25);
}

.btn-accent:hover {
    filter: brightness(1.1);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .4);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--bg-white);
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: var(--bg-gray);
    border: 1px solid transparent;
}

.trust-item:hover {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.trust-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.trust-text p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .trust-item {
        padding: 8px;
    }

    .trust-icon {
        font-size: 22px;
    }

    .trust-text h4 {
        font-size: 13px;
    }

    .trust-text p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    gap: 16px;
}

.section-left h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -.02em;
}

.section-left p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.view-all-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--primary);
    transition: var(--transition);
}

.view-all-link:hover {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .section-left h2 {
        font-size: 22px;
    }

    .view-all-link {
        align-self: flex-start;
    }
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    padding: 50px 0;
    background: var(--bg-white);
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.cat-card:hover {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, .15);
    color: var(--primary);
}

.cat-card-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    font-size: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cat-card:hover .cat-card-icon {
    background: var(--bg-white);
    transform: scale(1.1);
}

.cat-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cat-count {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.cat-sub-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.cat-sub-tag {
    font-size: 10px;
    padding: 2px 8px;
    background: rgba(99, 102, 241, .08);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.cat-sub-tag.more {
    background: var(--primary);
    color: #fff;
}

@media (max-width: 1024px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cat-card {
        padding: 16px 12px;
    }

    .cat-card-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .categories-section {
        padding: 30px 0;
    }
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 50px 0;
    background: var(--bg-body);
}

/* Tab Switch */
.tab-switch {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.tab-switch::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 2px solid var(--border);
    white-space: nowrap;
    transition: var(--transition);
    cursor: pointer;
}

.tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: var(--primary-bg);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ===== PRODUCT GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.empty-message {
    text-align: center;
    grid-column: 1 / -1;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

/* ===== PRODUCT CARD - Modern ===== */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: flex;
    gap: 6px;
}

.p-badge {
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.p-badge-sale {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.p-badge-new {
    background: linear-gradient(135deg, #10B981, #059669);
}

.p-badge-hot {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
}

/* Product Image */
.product-image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-gray);
}

.product-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.p-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform .4s ease;
}

.product-card:hover .p-img {
    transform: scale(1.05);
}

.p-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.p-emoji {
    font-size: 48px;
}

/* Product Actions */
.product-actions {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) translateX(60px);
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.product-card:hover .product-actions {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

.p-action-btn {
    width: 38px;
    height: 38px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.p-action-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

/* Product Body */
.product-body {
    padding: 16px;
}

.p-category {
    display: inline-block;
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.p-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-title a {
    color: var(--text-primary);
}

.p-title a:hover {
    color: var(--primary);
}

.product-rating {
    margin-bottom: 10px;
}

.product-rating .stars {
    color: var(--warning);
    font-size: 12px;
    letter-spacing: 1px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.price-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-old {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.add-cart-btn {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, .2);
}

.add-cart-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(99, 102, 241, .35);
}

/* Product Grid Responsive */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-body {
        padding: 12px;
    }

    .p-title {
        font-size: 13px;
    }

    .price-current {
        font-size: 16px;
    }

    .products-section {
        padding: 30px 0;
    }

    .product-actions {
        display: none;
    }

    .product-image-wrap {
        aspect-ratio: 1/1;
    }
}

@media (max-width: 480px) {
    .products-grid {
        gap: 8px;
    }

    .product-body {
        padding: 10px;
    }

    .p-category {
        font-size: 10px;
    }

    .price-current {
        font-size: 15px;
    }

    .add-cart-btn {
        width: 34px;
        height: 34px;
    }
}

/* ===== PHONE SCREENS SHOWCASE ===== */
.phone-screens-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #EEF2FF 0%, #fff 100%);
}

.section-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(99, 102, 241, .1);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: .3px;
}

.ps-brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.ps-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: all .2s ease;
    text-decoration: none;
}

.ps-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, .06);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, .12);
}

.ps-chip-all {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.ps-chip-all:hover {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}

.ps-chip-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 0, 0, .08);
    padding: 2px 7px;
    border-radius: 10px;
    color: inherit;
}

.ps-chip-all .ps-chip-count {
    background: rgba(255, 255, 255, .25);
}

/* ===== BRANDS SECTION ===== */
.brands-section {
    padding: 50px 0;
    background: var(--bg-white);
}

.brands-slider {
    overflow: hidden;
}

.brands-track {
    display: flex;
    gap: 0;
    animation: brandsScroll 30s linear infinite;
}

@keyframes brandsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex-shrink: 0;
    padding: 16px 32px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin: 0 8px;
    transition: var(--transition);
    cursor: pointer;
}

.brand-item:hover {
    border-color: var(--primary-light);
    background: var(--primary-bg);
}

.brand-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .brands-section {
        padding: 30px 0;
    }

    .brand-item {
        padding: 12px 20px;
    }

    .brand-name {
        font-size: 13px;
    }
}

/* ===== PROMO SECTION ===== */
.promo-section {
    padding: 50px 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.promo-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    border-radius: var(--radius-lg);
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    min-height: 160px;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    color: #fff;
}

.promo-content {
    position: relative;
    z-index: 2;
}

.promo-content h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.promo-content p {
    font-size: 13px;
    opacity: .85;
    margin-bottom: 12px;
}

.promo-link {
    font-size: 14px;
    font-weight: 600;
}

.promo-emoji {
    font-size: 72px;
    opacity: .25;
    position: absolute;
    right: 20px;
    bottom: -10px;
}

@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-card {
        padding: 24px;
        min-height: 120px;
    }

    .promo-content h3 {
        font-size: 18px;
    }

    .promo-section {
        padding: 30px 0;
    }
}

/* ===== COUNTDOWN ===== */
.countdown-section {
    padding: 60px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, .15) 0%, transparent 60%);
}

.countdown-content {
    text-align: center;
    color: #fff;
}

.countdown-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.countdown-content>p {
    opacity: .7;
    margin-bottom: 24px;
    font-size: 15px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.countdown-box {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 18px 26px;
    text-align: center;
    min-width: 84px;
    border: 1px solid rgba(255, 255, 255, .1);
}

.cd-number {
    display: block;
    font-size: 34px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cd-label {
    font-size: 12px;
    opacity: .6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
}

@media (max-width: 768px) {
    .countdown-section {
        padding: 30px 0;
    }

    .countdown-content h2 {
        font-size: 22px;
    }

    .countdown-box {
        padding: 12px 16px;
        min-width: 60px;
    }

    .cd-number {
        font-size: 24px;
    }
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    padding: 50px 0;
    background: var(--bg-white);
}

.newsletter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
}

.newsletter-content p {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: var(--radius-full);
    font-size: 14px;
    outline: none;
    min-width: 280px;
    transition: var(--transition);
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    color: #fff;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, .6);
}

.newsletter-form input:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .25);
}

.newsletter-form .btn {
    border-radius: var(--radius-full);
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    box-shadow: none;
}

.newsletter-form .btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

@media (max-width: 768px) {
    .newsletter-box {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        min-width: auto;
        width: 100%;
    }

    .newsletter-section {
        padding: 30px 0;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    background-image: radial-gradient(at 20% 50%, rgba(99, 102, 241, .08) 0, transparent 50%),
        radial-gradient(at 80% 20%, rgba(6, 182, 212, .06) 0, transparent 50%);
    color: rgba(255, 255, 255, .7);
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-logo em {
    font-style: normal;
    color: var(--primary-light);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, .7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, .3);
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, .1);
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.fc-icon {
    font-size: 16px;
}

.footer-newsletter {
    margin-top: 16px;
}

.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .7);
}

.fn-form {
    display: flex;
    gap: 6px;
}

.fn-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .05);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 13px;
    outline: none;
}

.fn-form input::placeholder {
    color: rgba(255, 255, 255, .4);
}

.fn-form button {
    padding: 10px 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.fn-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
}

.payment-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pay-icon {
    display: flex;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-main {
        padding: 30px 0 20px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom {
        padding-bottom: calc(var(--mobile-bottom-nav) + 12px);
    }
}

/* ===== COMPARE BAR ===== */
.compare-bar {
    display: none;
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    white-space: nowrap;
}

.compare-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-left: 8px;
}

.compare-close {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 16px;
    margin-left: 4px;
}

@media (max-width: 768px) {
    .compare-bar {
        bottom: calc(var(--mobile-bottom-nav) + 12px);
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ===== WHATSAPP ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: calc(var(--mobile-bottom-nav) + 16px);
        width: 48px;
        height: 48px;
    }

    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 84px;
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    color: var(--text-primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    z-index: 998;
    cursor: pointer;
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.back-to-top.visible {
    display: flex;
}

@media (max-width: 768px) {
    .back-to-top {
        display: none !important;
    }
}

/* ===== TOAST ===== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: slideIn .3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    max-width: 400px;
}

.toast-success {
    background: var(--success);
}

.toast-error {
    background: var(--danger);
}

.toast-info {
    background: var(--primary);
}

.toast-warning {
    background: var(--warning);
    color: #333;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .toast-container {
        top: auto;
        bottom: calc(var(--mobile-bottom-nav) + 8px);
        right: 8px;
        left: 8px;
    }

    .toast {
        min-width: auto;
    }
}

/* ===== QUICK VIEW MODAL ===== */
.qv-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 5000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.qv-overlay.open {
    display: flex;
}

.qv-modal {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: fadeInDown .3s ease;
}

.qv-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 10;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.qv-close:hover {
    background: var(--danger);
    color: #fff;
}

.qv-body {
    padding: 30px;
}

@media (max-width: 768px) {
    .qv-modal {
        width: 95%;
        max-height: 90vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        position: fixed;
        bottom: 0;
    }

    .qv-body {
        padding: 20px;
    }
}

/* ===== RECENTLY VIEWED ===== */
.recently-viewed-section {
    padding: 40px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
}

.clear-rv-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 8px;
}

.rv-grid {
    grid-template-columns: repeat(6, 1fr) !important;
}

@media (max-width: 1024px) {
    .rv-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .rv-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 1024px) {
    .search-cat {
        display: none;
    }

    .nav-links a {
        padding: 14px 10px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .mobile-search-btn {
        display: flex !important;
    }

    .search-wrapper {
        display: none;
    }

    .search-wrapper.mobile-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 8px 16px 12px;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        z-index: 100;
    }

    .search-wrapper.mobile-open .search-box {
        border-radius: var(--radius-sm);
    }

    .header-main .container {
        gap: 8px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .h-label {
        display: none;
    }

    .header-icon-btn {
        padding: 8px;
    }

    .nav-bar {
        display: none;
    }

    .nav-bar.mobile-nav-open {
        display: block;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }
}

/* ===== SIDEBAR (PRODUCT LISTING PAGE) ===== */
.page-layout {
    display: flex;
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sidebar-card:hover {
    box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-bg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar .filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-primary);
}

.sidebar .filter-item:hover {
    color: var(--primary);
}

.main-content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 1024px) {
    .page-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-section {
    padding: 30px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ===== CHECKOUT / CART ===== */
.cart-section,
.checkout-section {
    padding: 30px 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-table th {
    background: var(--bg-gray);
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}

.cart-summary {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

/* ===== AUTH PAGES ===== */
.auth-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 44px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    background: var(--bg-gray);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .1);
    background: var(--bg-white);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ===== MY ACCOUNT PAGE ===== */
.account-section {
    padding: 30px 0;
}

.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.account-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.account-sidebar .user-info {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}

.account-sidebar .user-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 8px;
}

.account-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.account-sidebar nav a:hover,
.account-sidebar nav a.active {
    background: var(--primary-bg);
    color: var(--primary);
}

.account-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar nav {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
    }

    .account-sidebar nav a {
        white-space: nowrap;
    }
}

/* ===== FILTER & SORT BAR ===== */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}

.filter-bar select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

.filter-bar .result-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-toggle button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.view-toggle button.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination .disabled {
    opacity: .4;
    pointer-events: none;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== ORDER TRACKING ===== */
.order-timeline {
    position: relative;
    padding-left: 30px;
}

.order-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--bg-white);
}

.timeline-item.completed::before {
    background: var(--success);
}

.timeline-item.active::before {
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .2);
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.gap-1 {
    gap: 8px;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.w-full {
    width: 100%;
}

.hidden {
    display: none !important;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== PRODUCT OVERLAY (legacy compat) ===== */
.product-overlay {
    display: none;
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.page-header p {
    opacity: .7;
    font-size: 14px;
}

/* ===== REVIEWS ===== */
.review-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
}

.review-card .stars {
    color: var(--warning);
    font-size: 14px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-author {
    font-weight: 600;
    font-size: 14px;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ===== PRINT STYLES ===== */
@media print {

    .header,
    .nav-bar,
    .footer,
    .mobile-bottom-nav,
    .whatsapp-btn,
    .back-to-top,
    .announcement-bar,
    .compare-bar,
    .toast-container {
        display: none !important;
    }

    body {
        padding: 0;
        background: #fff;
    }
}

@charset "UTF-8";
/* ========== TeknoParÃ§a - Modern E-Commerce CSS ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #A5B4FC;
    --secondary: #06B6D4;
    --accent: #FF6B6B;
    --accent-yellow: #FECA57;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #E74C3C;
    --info: #0984E3;
    --dark: #0F0F23;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #868E96;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #6366F1, #06B6D4);
    --gradient-2: linear-gradient(135deg, #FF6B6B, #FECA57);
    --gradient-dark: linear-gradient(135deg, #0F0F23, #2D3436);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, .12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, .15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
    --container-max: 1480px;
    --header-height: 70px;
    --nav-height: 48px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-1);
    z-index: 10000;
    transition: width .1s;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--dark);
    color: var(--white);
    font-size: 12px;
    padding: 8px 0;
    position: relative;
    overflow: hidden;
}

.announcement-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.announcement-left span {
    opacity: .9;
}

.announcement-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.announcement-right a {
    color: var(--white);
    opacity: .8;
    transition: var(--transition);
    font-weight: 500;
}

.announcement-right a:hover {
    opacity: 1;
}

.lang-selector {
    cursor: pointer;
    font-weight: 600;
}

.announcement-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .03), transparent);
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(50%);
    }
}

/* ===== HEADER ===== */
.header {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-main .container {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
}

.logo em {
    font-style: normal;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-wrapper {
    flex: 1;
    max-width: 600px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    overflow: visible;
    transition: var(--transition);
    position: relative;
}

.search-box:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}

.search-cat {
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--gray-600);
    border-right: 1px solid var(--gray-300);
    cursor: pointer;
    min-width: 140px;
    outline: none;
}

.search-box input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    min-width: 0;
}

.search-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.search-autocomplete {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--gray-200);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.search-result-item:hover {
    background: var(--gray-50);
}

.search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.search-result-item .sr-info {
    flex: 1;
    min-width: 0;
}

.search-result-item .sr-name {
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-item .sr-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.header-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    font-size: 12px;
    color: var(--gray-700);
    min-width: 52px;
}

.header-icon-btn:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.h-icon {
    font-size: 20px;
    line-height: 1;
}

.h-label {
    font-weight: 500;
    white-space: nowrap;
}

.badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.currency-switcher {
    position: relative;
    margin-right: 4px;
}

.currency-switcher button {
    background: rgba(99, 102, 241, .08);
    border: 1px solid rgba(99, 102, 241, .15);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--primary);
    font-size: 13px;
    transition: var(--transition);
}

.currency-switcher button:hover {
    background: rgba(99, 102, 241, .15);
}

#currencyDropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 1000;
    min-width: 120px;
}

#currencyDropdown a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

#currencyDropdown a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* ===== NAVIGATION ===== */
.nav-bar {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    position: relative;
}

.nav-bar .container {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    gap: 0;
}

.nav-categories-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    height: 100%;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-categories-btn:hover {
    background: var(--primary-dark);
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 18px;
}

.hamburger-icon span {
    height: 2px;
    background: var(--white);
    border-radius: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    flex: 1;
    overflow: visible;
}

.nav-links a {
    padding: 0 16px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    white-space: nowrap;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-highlight {
    color: var(--accent) !important;
    font-weight: 600 !important;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    padding: 8px;
    color: var(--gray-700);
}

.mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 20px;
    z-index: 999;
    animation: slideDown .3s ease;
}

.mega-dropdown.show {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.mega-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.mega-dropdown a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.cat-emoji {
    font-size: 20px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.slider-track {
    display: flex;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.slide {
    min-width: 100%;
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.slide-content h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.slide-content p {
    font-size: clamp(14px, 2vw, 18px);
    opacity: .85;
    margin-bottom: 24px;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--white);
    color: var(--dark);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}

.slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    width: 28px;
    border-radius: 5px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    z-index: 3;
    transition: var(--transition);
    cursor: pointer;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, .3);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 48px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-title {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: var(--dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    margin-top: 8px;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.section-link:hover {
    gap: 10px;
}

/* ===== BRAND CHIPS BAR ===== */
.brand-chips-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
}

.brand-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, .05);
}

.brand-chip-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.brand-chip-active:hover {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}

.brand-chip-count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 0, 0, .07);
    padding: 1px 6px;
    border-radius: 10px;
}

.brand-chip-active .brand-chip-count {
    background: rgba(255, 255, 255, .25);
}

/* ===== PRODUCT CARD ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, .15);
    border-color: var(--primary-light);
}

.product-card-img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-img .emoji-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.product-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
}

.badge-discount {
    background: var(--accent);
}

.badge-new {
    background: var(--success);
}

.badge-hot {
    background: var(--warning);
    color: var(--dark);
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transform: translateX(8px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-action-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.product-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.product-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-card-title a {
    transition: var(--transition);
}

.product-card-title a:hover {
    color: var(--primary);
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 12px;
}

.stars {
    color: var(--accent-yellow);
    letter-spacing: 1px;
}

.rating-count {
    color: var(--gray-500);
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

.price-old {
    font-size: 13px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.btn-add-cart {
    padding: 10px 18px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ===== CATEGORY CARDS ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-card-icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.category-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.category-card-count {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===== BRAND SLIDER ===== */
.brand-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 16px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.brand-slider::-webkit-scrollbar {
    display: none;
}

.brand-item {
    flex-shrink: 0;
    padding: 16px 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    color: var(--gray-600);
    transition: var(--transition);
    scroll-snap-align: start;
    cursor: pointer;
    white-space: nowrap;
}

.brand-item:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== PROMO BANNERS ===== */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.promo-card {
    border-radius: var(--radius-lg);
    padding: 28px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.promo-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.promo-card p {
    font-size: 14px;
    opacity: .85;
    margin-bottom: 12px;
}

.promo-card .promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    width: fit-content;
}

.promo-card .promo-btn:hover {
    background: rgba(255, 255, 255, .3);
}

/* ===== TAB SWITCHER ===== */
.tab-switcher {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.tab-panel {
    display: none;
    animation: fadeUp .3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SIDEBAR / SHOP LAYOUT ===== */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

.sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 20px;
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 20px);
    max-height: calc(100vh - var(--header-height) - var(--nav-height) - 40px);
    overflow-y: auto;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.filter-item:hover {
    background: var(--gray-100);
}

.filter-item.active {
    background: rgba(99, 102, 241, .08);
    color: var(--primary);
    font-weight: 600;
}

.filter-item .count {
    margin-left: auto;
    font-size: 11px;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 10px;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.price-inputs input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.price-inputs input:focus {
    border-color: var(--primary);
}

.price-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.price-chip {
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.price-chip:hover,
.price-chip.active {
    background: var(--primary);
    color: var(--white);
}

.sidebar-mobile-btn {
    display: none;
    width: 100%;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 16px;
    text-align: center;
}

.sidebar-close {
    display: none;
}

.cat-name {
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
}

.sub-cat-item {
    white-space: normal;
    word-break: break-word;
}

/* ===== SORT BAR ===== */
.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.sort-bar .result-count {
    font-size: 14px;
    color: var(--gray-600);
}

.sort-bar .result-count strong {
    color: var(--dark);
}

.sort-options {
    display: flex;
    gap: 4px;
    align-items: center;
}

.sort-options select {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--gray-700);
    outline: none;
    cursor: pointer;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .disabled {
    opacity: .5;
    pointer-events: none;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}

.gallery-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--gray-600);
}

.product-meta .sku {
    background: var(--gray-100);
    padding: 4px 10px;
    border-radius: 20px;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.stock-in {
    background: rgba(0, 184, 148, .1);
    color: var(--success);
}

.stock-low {
    background: rgba(253, 203, 110, .1);
    color: #E67E22;
}

.stock-out {
    background: rgba(231, 76, 60, .1);
    color: var(--danger);
}

.product-price-detail {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 16px 0;
    padding: 16px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.product-price-detail .price-current {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.product-price-detail .price-old {
    font-size: 18px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.product-price-detail .tax-info {
    font-size: 12px;
    color: var(--gray-500);
}

.qty-selector {
    display: flex;
    align-items: center;
    margin: 16px 0;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}

.qty-btn:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.qty-btn:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.qty-btn:hover {
    background: var(--gray-100);
}

.qty-input {
    width: 60px;
    height: 44px;
    border: 1px solid var(--gray-300);
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

.product-buttons {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.btn-buy {
    flex: 1;
    padding: 16px 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.btn-buy:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-fav {
    width: 52px;
    height: 52px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: var(--transition);
}

.btn-fav:hover {
    border-color: var(--accent);
    background: rgba(255, 107, 107, .05);
}

.guarantee-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

.guarantee-badge span:first-child {
    font-size: 22px;
}

/* Product Tabs */
.product-tabs {
    margin-top: 32px;
}

.product-tab-nav {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    overflow-x: auto;
}

.product-tab-btn {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    white-space: nowrap;
}

.product-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.product-tab-btn:hover {
    color: var(--primary);
}

.product-tab-content {
    padding: 24px 0;
}

.review-summary {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.review-avg {
    text-align: center;
}

.review-avg .big-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.review-bars {
    flex: 1;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 4px;
}

.review-bar-row .bar {
    flex: 1;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.review-bar-row .bar-fill {
    height: 100%;
    background: var(--accent-yellow);
    border-radius: 3px;
}

.review-card {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}

.review-card-name {
    font-weight: 600;
    font-size: 14px;
}

.review-card-date {
    font-size: 12px;
    color: var(--gray-500);
}

.review-card p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .7);
    padding: 48px 0 0;
    margin-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-about .logo {
    margin-bottom: 12px;
}

.footer-about .logo em {
    -webkit-text-fill-color: var(--primary-light);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icon {
    padding: 6px 14px;
    background: rgba(255, 255, 255, .08);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* ===== AUTH PAGES ===== */
.auth-container {
    max-width: 440px;
    margin: 40px auto;
    padding: 0 20px;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.auth-card h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.auth-card .subtitle {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ===== ACCOUNT PAGE ===== */
.account-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
    margin: 32px 0;
}

.account-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.account-avatar {
    padding: 24px;
    text-align: center;
    background: var(--gradient-1);
    color: var(--white);
}

.account-avatar .avatar-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 24px;
    font-weight: 700;
}

.account-avatar .user-name {
    font-weight: 700;
    font-size: 16px;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.account-nav a:hover,
.account-nav a.active {
    background: rgba(99, 102, 241, .05);
    color: var(--primary);
}

.account-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 24px;
}

.account-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

/* ===== CART PAGE ===== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    margin: 32px 0;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-100);
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary);
}

.cart-item-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
}

.cart-item-remove:hover {
    background: rgba(231, 76, 60, .1);
    color: var(--danger);
}

.cart-summary {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 24px;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    border-top: 2px solid var(--gray-200);
    border-bottom: none;
    padding-top: 12px;
}

.coupon-input {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.coupon-input input {
    flex: 1;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 32px 0;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.contact-info-card .icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, .08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info-card p {
    font-size: 13px;
    color: var(--gray-600);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--gray-200);
}

/* ===== TOASTS ===== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    animation: toastIn .3s ease;
    color: var(--white);
}

.toast-success {
    background: var(--success);
}

.toast-error {
    background: var(--danger);
}

.toast-info {
    background: var(--primary);
}

.toast button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    opacity: .7;
}

.toast button:hover {
    opacity: 1;
}

@keyframes toastIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== WHATSAPP + BACK TO TOP ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

/* ===== BREADCRUMB ===== */
.breadcrumb-wrap {
    padding: 16px 0;
    font-size: 13px;
    color: var(--gray-600);
}

.breadcrumb-wrap a {
    color: var(--gray-500);
    transition: var(--transition);
}

.breadcrumb-wrap a:hover {
    color: var(--primary);
}

.breadcrumb-wrap .sep {
    margin: 0 8px;
    opacity: .4;
}

.breadcrumb-wrap .current {
    color: var(--dark);
    font-weight: 600;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-success {
    background: rgba(0, 184, 148, .1);
    color: var(--success);
}

.status-warning {
    background: rgba(253, 203, 110, .1);
    color: #E67E22;
}

.status-danger {
    background: rgba(231, 76, 60, .1);
    color: var(--danger);
}

.status-info {
    background: rgba(9, 132, 227, .1);
    color: var(--info);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.empty-state .icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* ===== DEALER PAGE ===== */
.dealer-hero {
    background: var(--gradient-1);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.dealer-hero h1 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 12px;
}

.dealer-hero p {
    font-size: 16px;
    opacity: .85;
}

.dealer-form {
    max-width: 700px;
    margin: 32px auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        z-index: 1001;
        border-radius: 0;
        max-height: 100vh;
        transition: left .3s ease;
    }

    .sidebar.open {
        left: 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .5);
        z-index: 1000;
    }

    .sidebar.open~.sidebar-overlay {
        display: block;
    }

    .sidebar-mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .sidebar-close {
        display: flex;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: var(--gray-600);
        z-index: 2;
        cursor: pointer;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-gallery {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --nav-height: 44px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .container {
        padding: 0 16px;
    }

    .announcement-bar {
        display: none;
    }

    .header-main .container {
        flex-wrap: wrap;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        gap: 10px;
    }

    .logo {
        font-size: 18px;
        order: 1;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .header-icons {
        order: 2;
        gap: 2px;
        margin-left: auto;
    }

    .header-icon-btn {
        padding: 6px 8px;
        min-width: auto;
    }

    .h-label {
        display: none;
    }

    .h-icon {
        font-size: 18px;
    }

    .currency-switcher {
        display: none;
    }

    .search-wrapper {
        order: 3;
        width: 100%;
        max-width: 100%;
        flex-basis: 100%;
    }

    .search-cat {
        display: none;
    }

    .search-box input[type="text"] {
        padding: 10px 14px;
        font-size: 14px;
    }

    .search-btn {
        padding: 10px 16px;
    }

    .nav-bar .container {
        position: relative;
    }

    .nav-categories-btn {
        font-size: 13px;
        padding: 0 14px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        z-index: 998;
        padding: 8px;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        height: auto;
        padding: 12px 16px;
        border-bottom: none;
        border-radius: var(--radius-sm);
    }

    .nav-links a:hover {
        background: var(--gray-100);
    }

    .mobile-toggle {
        display: flex;
        margin-left: auto;
    }

    .mega-dropdown.show {
        grid-template-columns: 1fr 1fr;
        padding: 12px;
    }

    .section {
        padding: 32px 0;
    }

    .product-card-body {
        padding: 12px;
    }

    .product-card-title {
        font-size: 13px;
    }

    .price-current {
        font-size: 15px;
    }

    .btn-add-cart {
        padding: 8px 12px;
        font-size: 12px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 14px 8px;
    }

    .category-card-icon {
        font-size: 28px;
    }

    .category-card-name {
        font-size: 11px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .slide {
        padding: 40px 0;
    }

    .slide-content h2 {
        font-size: 22px;
    }

    .review-summary {
        flex-direction: column;
        gap: 16px;
    }

    .guarantee-badges {
        grid-template-columns: 1fr;
    }

    .product-price-detail .price-current {
        font-size: 24px;
    }

    .sort-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-actions {
        display: none;
    }

    .product-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .btn-add-cart {
        text-align: center;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider-arrow {
        display: none;
    }

    .mega-dropdown.show {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITY ===== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-bottom: 16px;
}

.alert-success {
    background: rgba(0, 184, 148, .1);
    color: var(--success);
    border: 1px solid rgba(0, 184, 148, .2);
}

.alert-error {
    background: rgba(231, 76, 60, .1);
    color: var(--danger);
    border: 1px solid rgba(231, 76, 60, .2);
}

.alert-info {
    background: rgba(9, 132, 227, .1);
    color: var(--info);
    border: 1px solid rgba(9, 132, 227, .2);
}

/* ===== TRUST BAR ===== */
.trust-bar {
    padding: 24px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.trust-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.trust-text p {
    font-size: 12px;
    color: var(--gray-600);
}

/* ===== OLD PRODUCT CARD COMPAT ===== */
.product-image-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image-wrap img.p-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-card:hover .product-image-wrap img.p-img {
    transform: scale(1.05);
}

.product-image-wrap .p-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 64px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.product-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 0, 0, .3);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 42px;
    height: 42px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.overlay-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
    display: block;
}

.product-body h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-body h3 a {
    transition: var(--transition);
    color: inherit;
    text-decoration: none;
}

.product-body h3 a:hover {
    color: var(--primary);
}

.product-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 12px;
}

.review-count {
    color: var(--gray-500);
    font-size: 12px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.price-group {
    display: flex;
    flex-direction: column;
}

.add-cart-btn {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.add-cart-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.p-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
}

.p-badge-sale {
    background: var(--accent);
}

.p-badge-new {
    background: var(--success);
}

.p-badge-hot {
    background: var(--warning);
    color: var(--dark);
}

.product-card .product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.product-card .product-image-wrap {
    position: relative;
}

/* ===== OLD SECTION HEADER COMPAT ===== */
.section-left h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: var(--dark);
}

.section-left h2 .accent-dot {
    color: var(--primary);
}

.section-left p {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 4px;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.view-all-link:hover {
    gap: 10px;
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    padding: 48px 0;
    background: var(--white);
}

/* cat-grid/cat-card base rules are above (line ~1239) */

/* ===== OLD BRANDS SLIDER ===== */
.brands-slider {
    overflow: hidden;
    position: relative;
}

.brands-track {
    display: flex;
    gap: 24px;
    animation: brandScroll 30s linear infinite;
}

@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== PROMO SECTION ===== */
.promo-section {
    padding: 48px 0;
}

.promo-card.promo-1 {
    background: var(--gradient-1);
}

.promo-card.promo-2 {
    background: linear-gradient(135deg, #FF6B6B, #ee5a24);
}

.promo-card.promo-3 {
    background: linear-gradient(135deg, #10B981, #06B6D4);
}

.promo-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, .2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.promo-emoji {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 48px;
    opacity: .3;
}

/* ===== COUNTDOWN SECTION ===== */
.countdown-section {
    background: var(--gradient-dark);
    padding: 48px 0;
    text-align: center;
    color: var(--white);
}

.countdown-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
}

.countdown-content h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    margin-bottom: 12px;
}

.countdown-content p {
    font-size: 14px;
    opacity: .8;
    margin-bottom: 24px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.countdown-box {
    text-align: center;
}

.cd-number {
    display: block;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    background: rgba(255, 255, 255, .1);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    min-width: 64px;
}

.cd-label {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    opacity: .7;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    padding: 48px 0;
}

.newsletter-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.newsletter-box h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-box p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 48px 0 40px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, .2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(6, 182, 212, .1) 0%, transparent 50%);
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb {
    margin-bottom: 16px;
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, .6);
}

.page-hero .breadcrumb a:hover {
    color: #fff;
}

.page-hero .breadcrumb span {
    color: rgba(255, 255, 255, .4);
}

.page-hero .breadcrumb span:last-child {
    color: rgba(255, 255, 255, .9);
}

.page-hero h1 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.hero-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 6px;
}

.hero-count {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, .5);
}

.page-hero-sm {
    padding: 16px 0;
    text-align: left;
    background: var(--gray-100);
    color: var(--gray-800);
}

.breadcrumb {
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
}

.breadcrumb a {
    color: var(--gray-500);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 6px;
    opacity: .4;
}

.breadcrumb span:last-child {
    margin: 0;
    opacity: 1;
    color: var(--dark);
    font-weight: 600;
}

/* ===== SHOP SECTION / SIDEBAR ===== */
.shop-section {
    padding: 32px 0;
}

.sidebar-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .06);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    transition: all .2s ease;
}

.sidebar-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.sidebar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px 12px;
    cursor: pointer;
    user-select: none;
}

.sidebar-card-header h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.sidebar-toggle-icon {
    font-size: 14px;
    color: var(--gray-400);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all .2s ease;
}

.sidebar-card-header:hover .sidebar-toggle-icon {
    background: var(--gray-100);
    color: var(--gray-600);
}

.sidebar-card-body {
    padding: 0 14px 16px;
}

.cat-list {
    padding: 0;
    margin: 0;
}

.cat-list li {
    margin-bottom: 1px;
    list-style: none;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--gray-700);
    transition: all .15s ease;
    text-decoration: none;
    position: relative;
}

.cat-item:hover {
    background: var(--gray-50, #f9fafb);
    color: var(--gray-900);
}

.cat-active {
    background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(99, 102, 241, .04)) !important;
    color: var(--primary) !important;
    font-weight: 600;
}

.cat-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
}

.cat-parent-active {
    color: var(--primary);
    font-weight: 600;
}

.cat-icon {
    font-size: 16px;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50, #f9fafb);
    border-radius: 8px;
}

.cat-active .cat-icon {
    background: rgba(99, 102, 241, .1);
}

.cat-badge {
    margin-left: auto;
    font-size: 10px;
    color: var(--gray-400);
    background: var(--gray-50, #f9fafb);
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cat-active .cat-badge {
    background: rgba(99, 102, 241, .1);
    color: var(--primary);
}

.cat-arrow {
    font-size: 11px;
    color: var(--gray-400);
    margin-left: 2px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all .15s ease;
}

.cat-arrow:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.sub-cat-list {
    padding-left: 28px;
    margin: 2px 0 4px;
    list-style: none;
    border-left: 2px solid var(--gray-100);
    margin-left: 25px;
}

.sub-cat-item {
    display: block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--gray-500);
    transition: all .15s ease;
    text-decoration: none;
}

.sub-cat-item:hover {
    background: var(--gray-50, #f9fafb);
    color: var(--primary);
}

.sub-active {
    color: var(--primary) !important;
    font-weight: 600;
    background: rgba(99, 102, 241, .05);
}

.brand-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-list .brand-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    transition: all .15s ease;
    cursor: pointer;
    border: none;
    white-space: normal;
    text-decoration: none;
    color: var(--gray-700);
}

.brand-list .brand-item:hover {
    background: var(--gray-50, #f9fafb);
}

.brand-active {
    background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(99, 102, 241, .03)) !important;
    color: var(--primary) !important;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gray-50, #f9fafb), var(--gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--gray-500);
    flex-shrink: 0;
    letter-spacing: -.5px;
}

.brand-active .brand-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, .12), rgba(99, 102, 241, .06));
    color: var(--primary);
}

.brand-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}

.brand-name {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.3;
}

.brand-product-count {
    font-size: 11px;
    color: var(--gray-400);
}

.brand-arrow {
    font-size: 11px;
    color: var(--gray-300);
    margin-left: auto;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all .15s ease;
}

.brand-item:hover .brand-arrow {
    color: var(--gray-500);
}

/* Brand group with sub-categories */
.brand-group {
    border-radius: 10px;
    overflow: hidden;
}

.brand-group-active {
    background: linear-gradient(135deg, rgba(99, 102, 241, .03), transparent);
}

.brand-categories {
    display: none;
    padding: 0 8px 8px 44px;
}

.brand-cats-open {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    font-size: 12px;
    color: var(--gray-500);
    border-radius: 8px;
    transition: all .15s ease;
    text-decoration: none;
}

.brand-cat-link:hover {
    background: rgba(99, 102, 241, .04);
    color: var(--primary);
}

.brand-cat-active {
    background: rgba(99, 102, 241, .08);
    color: var(--primary);
    font-weight: 600;
}

.brand-cat-count {
    font-size: 10px;
    background: rgba(0, 0, 0, .04);
    color: var(--gray-400);
    padding: 1px 7px;
    border-radius: 20px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.brand-cat-active .brand-cat-count {
    background: rgba(99, 102, 241, .1);
    color: var(--primary);
}

.price-field {
    flex: 1;
}

.price-field label {
    display: block;
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.price-field input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    font-size: 13px;
    outline: none;
    background: var(--gray-50, #f9fafb);
    transition: all .15s ease;
}

.price-field input:focus {
    border-color: var(--primary);
}

.price-sep {
    display: flex;
    align-items: flex-end;
    padding-bottom: 8px;
    color: var(--gray-400);
    font-weight: 600;
}

.filter-apply-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, .2);
}

.filter-apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, .3);
}

.quick-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.quick-price-chip {
    padding: 6px 14px;
    background: rgba(99, 102, 241, .06);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    transition: all .15s ease;
    border: 1px solid rgba(99, 102, 241, .1);
}

.quick-price-chip:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.rating-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    cursor: pointer;
}

.rating-option input {
    accent-color: var(--primary);
}

.rating-stars {
    color: var(--accent-yellow);
    letter-spacing: 1px;
}

.rating-label {
    font-size: 12px;
    color: var(--gray-600);
}

/* Shop Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 28px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height) + 16px);
    max-height: calc(100vh - var(--header-height) - var(--nav-height) - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, .08) transparent;
    padding-right: 4px;
}

.shop-sidebar::-webkit-scrollbar {
    width: 4px;
}

.shop-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.shop-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .1);
    border-radius: 4px;
}

.shop-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .18);
}

.sidebar-mobile-btn {
    display: none;
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    margin-bottom: 16px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.sidebar-mobile-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sidebar-close-btn {
    display: none;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1000;
}

.sidebar-overlay.active {
    display: block;
}

.shop-content {
    min-width: 0;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--bg-white);
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.result-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.result-count strong {
    color: var(--text-primary);
    font-weight: 700;
}

.clear-filters-btn {
    font-size: 12px;
    padding: 4px 12px;
    background: var(--danger-light);
    color: var(--danger);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
}

.clear-filters-btn:hover {
    background: var(--danger);
    color: #fff;
}

.view-toggle {
    display: flex;
    gap: 4px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    padding: 3px;
}

.view-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: transparent;
}

.view-btn:hover {
    color: var(--text-primary);
}

.view-btn.active {
    background: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-group label {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.sort-group select {
    padding: 8px 32px 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
    background: var(--bg-gray);
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.sort-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

/* Stock badges */
.stock-warn {
    display: inline-block;
    font-size: 11px;
    color: var(--warning);
    font-weight: 600;
    margin-bottom: 4px;
}

.stock-out-badge {
    display: inline-block;
    font-size: 11px;
    color: var(--danger);
    font-weight: 600;
    margin-bottom: 4px;
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--border);
}

.empty-icon {
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Pagination modern */
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--bg-white);
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

.page-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

/* ===== PRODUCT DETAIL ===== */
.detail-section {
    padding: 32px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.detail-gallery {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}

.thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.thumb.active,
.thumb:hover {
    border-color: var(--primary);
}

.detail-brand {
    font-size: 13px;
    color: var(--gray-600);
    display: block;
    margin-bottom: 4px;
}

.detail-brand strong {
    color: var(--primary);
}

.detail-info h1 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.detail-ratings {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.review-link {
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
}

.review-link:hover {
    text-decoration: underline;
}

.sold-count {
    background: var(--gray-100);
    padding: 3px 10px;
    border-radius: 20px;
}

.detail-price-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.detail-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}

.current-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.old-price {
    font-size: 16px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--accent);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.tax-info {
    font-size: 12px;
    color: var(--gray-500);
}

.detail-option {
    margin-bottom: 16px;
}

.detail-option h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: stockPulse 1.5s infinite;
}

@keyframes stockPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.detail-add-cart {
    flex: 1;
}

.detail-guarantees {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
}

.guarantee-item span:first-child {
    font-size: 24px;
    flex-shrink: 0;
}

.guarantee-item strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    display: block;
}

.guarantee-item p {
    font-size: 12px;
    color: var(--gray-600);
    margin: 0;
}

/* Detail Tabs */
.detail-tabs-section {
    margin-top: 40px;
}

.detail-tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    overflow-x: auto;
}

.detail-tab {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    white-space: nowrap;
    background: none;
    cursor: pointer;
    border-left: none;
    border-right: none;
    border-top: none;
}

.detail-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.detail-tab:hover {
    color: var(--primary);
}

.detail-tab-panel {
    display: none;
    padding: 24px 0;
    line-height: 1.8;
    font-size: 15px;
}

.detail-tab-panel.active {
    display: block;
}

.detail-tab-panel h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 200px;
    background: var(--gray-50);
}

/* Reviews */
.reviews-summary {
    display: flex;
    gap: 32px;
    align-items: center;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.review-score {
    text-align: center;
    min-width: 100px;
}

.score-big {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    display: block;
}

.review-bars {
    flex: 1;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 6px;
}

.bar-track {
    flex: 1;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--accent-yellow);
    border-radius: 3px;
}

.review-list {
    margin-top: 16px;
}

.review-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}

.reviewer-info strong {
    display: block;
    font-size: 14px;
}

.review-date {
    font-size: 12px;
    color: var(--gray-500);
}

.star-rating-input span {
    transition: var(--transition);
}

.star-rating-input span:hover {
    color: var(--accent-yellow);
}

.review-form-wrap .form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.review-form-wrap .form-input:focus {
    border-color: var(--primary);
}

.review-form-wrap .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
}

/* ===== FOOTER TEXT COMPAT ===== */
.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-logo em {
    font-style: normal;
    color: var(--primary-light);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 8px;
    list-style: none;
}

.fc-icon {
    font-size: 16px;
}

.footer-newsletter {
    margin-top: 16px;
}

.footer-newsletter p {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.fn-form {
    display: flex;
    gap: 6px;
}

.fn-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .08);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 13px;
    outline: none;
}

.fn-form input::placeholder {
    color: rgba(255, 255, 255, .4);
}

.fn-form button {
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.footer-main {
    padding: 0;
}

.payment-icons span {
    padding: 6px 14px;
    background: rgba(255, 255, 255, .08);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

/* ===== TAB SWITCH COMPAT ===== */
.tab-switch {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tab-switch .tab-btn,
.tab-btn {
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.tab-switch .tab-btn.active,
.tab-btn.active {
    background: var(--primary);
    color: var(--white);
}

.tab-switch .tab-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== SLIDER COMPAT ===== */
.slide-bg {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-bg.slide-1 {
    background: var(--gradient-1);
}

.slide-bg.slide-2 {
    background: linear-gradient(135deg, #FF6B6B, #ee5a24);
}

.slide-bg.slide-3 {
    background: linear-gradient(135deg, #10B981, #06B6D4);
}

.slide-bg .slide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: var(--container-max);
    padding: 40px 20px;
    width: 100%;
}

.slide-text {
    flex: 1;
    text-align: left;
    color: var(--white);
}

.slide-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, .15);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}

.slide-text h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.slide-text h1 span {
    display: block;
}

.slide-text p {
    font-size: clamp(14px, 2vw, 16px);
    opacity: .85;
    margin-bottom: 20px;
    line-height: 1.6;
}

.slide-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .4);
    color: var(--white);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .5);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    filter: brightness(1.1);
}

.slide-visual {
    font-size: clamp(80px, 10vw, 150px);
    opacity: .2;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

/* ===== AUTH / GÄ°RÄ°Å-KAYIT COMPAT ===== */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

/* ===== MOBILE RESPONSIVE ADDITIONS ===== */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        z-index: 1001;
        background: var(--bg-white);
        overflow-y: auto;
        transition: left .3s ease;
        padding: 20px 0;
        padding-right: 0;
        box-shadow: var(--shadow-xl);
        scrollbar-width: auto;
    }

    .shop-sidebar.open {
        left: 0;
    }

    .sidebar-mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 14px;
        background: var(--gradient-primary);
        color: #fff;
        border: none;
        border-radius: var(--radius-md);
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 16px;
    }

    .sidebar-close-btn {
        display: flex;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        background: var(--bg-gray);
        border: none;
        border-radius: 50%;
        color: var(--text-secondary);
        cursor: pointer;
        z-index: 2;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .5);
        z-index: 1000;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .view-toggle {
        display: none;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-gallery {
        position: static;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .detail-guarantees {
        grid-template-columns: 1fr;
    }

    .detail-actions {
        flex-direction: column;
    }

    .detail-add-cart {
        width: 100%;
    }

    .current-price {
        font-size: 24px;
    }

    .reviews-summary {
        flex-direction: column;
        gap: 16px;
    }

    .specs-table td:first-child {
        width: auto;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .countdown-timer {
        gap: 8px;
    }

    .cd-number {
        font-size: 24px;
        padding: 8px 14px;
        min-width: 48px;
    }

    .slide-bg {
        min-height: 300px;
    }

    .slide-bg .slide-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .slide-text {
        text-align: center;
    }

    .slide-buttons {
        justify-content: center;
    }

    .slide-visual {
        display: none;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-right {
        justify-content: flex-end;
    }
}

/* ===== AUTH PAGES ===== */
.auth-section {
    padding: 40px 0;
}

.auth-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.auth-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.auth-header p {
    font-size: 14px;
    color: var(--gray-600);
}

.auth-error {
    background: rgba(231, 76, 60, .08);
    border: 1px solid rgba(231, 76, 60, .2);
    color: var(--danger);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 14px;
}

.auth-success {
    background: rgba(0, 184, 148, .08);
    border: 1px solid rgba(0, 184, 148, .2);
    color: var(--success);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 14px;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.auth-form .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.auth-form .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

.btn-block {
    display: block;
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-600);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.form-row-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ===== CART SECTION ===== */
.cart-section {
    padding: 32px 0;
}

.cart-header-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr auto;
    gap: 12px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.cart-empty h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 12px 0 6px;
    color: var(--dark);
}

.cart-empty p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    border-top: 2px solid var(--gray-200);
    margin-top: 8px;
}

.coupon-row {
    display: flex;
    gap: 8px;
    padding: 10px 0 !important;
}

.coupon-row input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    outline: none;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.trust-badges-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

.trust-badges-mini span {
    font-size: 12px;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 4px 10px;
    border-radius: 20px;
}

.text-success {
    color: var(--success);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 40px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
}

.contact-form-wrap h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.contact-form-wrap>p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 14px;
}

/* ===== MODERN THEME ENHANCEMENTS v3 ===== */

/* Glassmorphism cards */
.detail-price-card {
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
}

/* Modern guarantee items */
.detail-guarantees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.guarantee-item {
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    padding: 14px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.guarantee-item:hover {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Modern detail tabs */
.detail-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-gray);
    border-radius: var(--radius-full);
    padding: 4px;
    overflow-x: auto;
}

.detail-tab {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.detail-tab:hover {
    color: var(--primary);
}

.detail-tab.active {
    background: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Modern specs table */
.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.specs-table tr:nth-child(even) {
    background: var(--bg-gray);
}

.specs-table td {
    padding: 14px 18px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-secondary);
    width: 40%;
}

/* Smooth page transitions */
.products-section,
.categories-section,
.brands-section,
.promo-section,
.countdown-section,
.newsletter-section {
    position: relative;
}

/* Modern view-all link */
.view-all-link {
    background: var(--bg-gray);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.view-all-link:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

/* Improved product action buttons */
.p-action-btn {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, .9);
}

.p-action-btn:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.15);
    box-shadow: var(--shadow-primary);
}

/* Modern brand items */
.brand-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.brand-item:hover {
    border-color: var(--primary-light);
    background: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Back to top modern */
.back-to-top {
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-primary) !important;
    border-radius: var(--radius-md) !important;
}

.back-to-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(99, 102, 241, .4) !important;
}

/* WhatsApp modern */
.whatsapp-btn {
    box-shadow: 0 8px 24px rgba(37, 211, 102, .3) !important;
    border-radius: var(--radius-md) !important;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 32px rgba(37, 211, 102, .4) !important;
}

/* Detail page add to cart */
.detail-add-cart {
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-primary);
    border-radius: var(--radius-md) !important;
    font-size: 16px !important;
    padding: 16px 36px !important;
}

.detail-add-cart:hover {
    filter: brightness(1.1);
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(99, 102, 241, .4);
}

/* Qty selector modern */
.qty-selector {
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    overflow: hidden;
}

.qty-btn {
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

/* Toast modern */
.toast {
    border-radius: var(--radius-md) !important;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg) !important;
}

/* Modern selection color */
::selection {
    background: rgba(99, 102, 241, .2);
    color: var(--text-primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Modern compare bar */
.compare-bar {
    backdrop-filter: blur(16px) !important;
    background: rgba(15, 23, 42, .9) !important;
    border-top: 1px solid rgba(255, 255, 255, .1) !important;
}

/* Quick view modern */
.qv-modal {
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-xl) !important;
}

/* Footer bottom modern */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
}

/* Cart summary modern */
.cart-summary {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

/* Page hero modern */
.page-hero {
    background: var(--gradient-dark) !important;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(99, 102, 241, .2) 0%, transparent 60%);
}

/* Modern loading state */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-gray) 25%, var(--border-light) 50%, var(--bg-gray) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

/* Smooth focus outline for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-form .form-group {
    margin-bottom: 12px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.info-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 8px;
}

.info-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.info-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ===== ACCOUNT SECTION ===== */
.account-section {
    padding: 32px 0;
}

.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

.account-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.account-user-card {
    padding: 24px;
    text-align: center;
    background: var(--gradient-1);
    color: var(--white);
}

.account-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    font-weight: 800;
}

.account-user-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.account-user-card p {
    font-size: 13px;
    opacity: .8;
}

.account-nav {
    display: flex;
    flex-direction: column;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
    text-decoration: none;
}

.account-nav-item:hover,
.account-nav-item.active {
    background: rgba(99, 102, 241, .05);
    color: var(--primary);
}

.account-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 28px;
}

.account-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.account-tab {
    display: none;
}

.account-tab.active {
    display: block;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.order-date {
    font-size: 12px;
    color: var(--gray-500);
    margin-left: 8px;
}

.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: rgba(253, 203, 110, .15);
    color: #E67E22;
}

.status-processing {
    background: rgba(9, 132, 227, .1);
    color: var(--info);
}

.status-shipped {
    background: rgba(99, 102, 241, .1);
    color: var(--primary);
}

.status-delivered {
    background: rgba(0, 184, 148, .1);
    color: var(--success);
}

.status-cancelled {
    background: rgba(231, 76, 60, .1);
    color: var(--danger);
}

.order-total {
    font-size: 14px;
    color: var(--gray-700);
}

.order-total strong {
    color: var(--primary);
}

/* ===== DEALER / BAYÄ°LÄ°K ===== */
.dealer-section {
    padding: 32px 0;
}

.dealer-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.dealer-benefit {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}

.dealer-benefit .icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.dealer-benefit h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.dealer-benefit p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

.dealer-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== RESPONSIVE EXTRAS ===== */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .dealer-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cart-header-row {
        display: none;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .form-row-auth {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== MODERN CART PAGE ===== */
.cart-steps-section {
    padding: 28px 0 0;
    background: linear-gradient(to bottom, var(--gray-100), transparent);
}

.cart-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 60px;
    padding: 12px 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

.cart-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #adb5bd;
    transition: all .3s;
}

.cart-step.active {
    color: var(--primary, #6366F1);
}

.cart-step.completed .step-number {
    background: #10b981;
    color: #fff;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #868e96;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    transition: all .3s;
}

.cart-step.active .step-number {
    background: var(--primary, #6366F1);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, .35);
    transform: scale(1.1);
}

.cart-step-line {
    width: 60px;
    height: 3px;
    background: #e9ecef;
    border-radius: 2px;
    margin: 0 12px;
    transition: background .3s;
}

.cart-step-line.active {
    background: var(--primary, #6366F1);
}

.cart-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    transition: box-shadow .3s;
}

.cart-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
}

.cart-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafbfc;
}

.cart-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.btn-link {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
}

.btn-link.text-danger {
    color: #e74c3c;
}

.cart-header-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 50px;
    padding: 12px 24px;
    background: #f8f9fa;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #868e96;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 50px;
    padding: 20px 24px;
    align-items: center;
    border-bottom: 1px solid #f5f5f5;
    transition: background .2s;
}

.cart-item-row:hover {
    background: #fafbfc;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-col-product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-product-img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-product-emoji {
    font-size: 28px;
}

.cart-product-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-product-brand {
    font-size: 12px;
    color: #868e96;
}

.cart-col-price,
.cart-col-total {
    font-size: 14px;
    font-weight: 600;
}

.cart-col-total strong {
    color: var(--primary, #6366F1);
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.qty-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #495057;
    transition: background .2s;
}

.qty-control button:hover:not(:disabled) {
    background: #e9ecef;
}

.qty-control button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.qty-control span {
    width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

.cart-remove-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #fef2f2;
    color: #e74c3c;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all .2s;
}

.cart-remove-btn:hover {
    background: #e74c3c;
    color: #fff;
}

/* Cart Empty */
.cart-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
}

.cart-empty-state .empty-icon {
    font-size: 72px;
    margin-bottom: 16px;
}

.cart-empty-state h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-empty-state p {
    color: #868e96;
    margin-bottom: 24px;
}

/* Coupon */
.coupon-form {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
}

.coupon-form .form-input {
    flex: 1;
}

.coupon-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: #f0fdf4;
    border-top: 1px solid #bbf7d0;
}

.coupon-badge {
    font-weight: 600;
    color: #16a34a;
    font-size: 13px;
}

/* Summary Card */
.summary-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eee;
    padding: 28px;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.summary-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-lines {
    margin-bottom: 16px;
}

.summary-lines .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #f8f8f8;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 800;
    border-top: 2px solid #eee;
    margin-top: 8px;
}

.summary-total span:last-child {
    color: var(--primary, #6366F1);
    font-size: 24px;
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 16px;
}

.continue-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #868e96;
    text-decoration: none;
    transition: color .2s;
}

.continue-link:hover {
    color: var(--primary, #6366F1);
}

.summary-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #868e96;
}

/* Checkout Form */
.checkout-form {
    padding: 24px;
}

.checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Shipping & Payment Options */
.shipping-options,
.payment-options {
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-card {
    display: block;
    cursor: pointer;
    border: 2px solid #eee;
    border-radius: 14px;
    padding: 18px;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.option-card:hover {
    border-color: #c4b5fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, .08);
}

.option-card.selected {
    border-color: var(--primary, #6366F1);
    background: rgba(99, 102, 241, .04);
    box-shadow: 0 4px 16px rgba(99, 102, 241, .12);
}

.option-card input[type="radio"] {
    display: none;
}

.option-card-body {
    display: flex;
    align-items: center;
    gap: 16px;
}

.option-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f3f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.option-card.selected .option-card-icon {
    background: var(--primary, #6366F1);
    filter: brightness(1.2);
}

.option-card-info {
    flex: 1;
}

.option-card-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.option-card-info span {
    display: block;
    font-size: 12px;
    color: #868e96;
}

.option-card-info small {
    font-size: 11px;
    color: #6366F1;
}

.option-card-price {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary, #6366F1);
}

.free-badge {
    background: #dcfce7;
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.checkout-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 20px;
}

.checkout-actions .btn-lg {
    flex: 1;
}

/* Checkout Summary Items */
.checkout-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.checkout-item-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-item-qty {
    font-size: 12px;
    color: #868e96;
}

.checkout-item-price {
    font-size: 13px;
    white-space: nowrap;
}

/* Order Success */
.order-success-card {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eee;
    max-width: 560px;
    margin: 0 auto;
}

.order-success-card .success-icon {
    font-size: 80px;
    margin-bottom: 16px;
}

.order-success-card h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.success-order-no {
    font-size: 16px;
    color: var(--primary, #6366F1);
    margin-bottom: 8px;
}

.success-desc {
    color: #868e96;
    font-size: 14px;
    margin-bottom: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Cart Layout override for new design */
.cart-section .cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1024px) {
    .cart-section .cart-layout {
        grid-template-columns: 1fr;
    }

    .summary-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-header-row {
        display: none;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .cart-col-product {
        gap: 12px;
    }

    .cart-col-price,
    .cart-col-total,
    .cart-col-qty,
    .cart-col-action {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cart-col-price::before {
        content: 'Birim Fiyat:';
        font-size: 12px;
        color: #868e96;
    }

    .cart-col-total::before {
        content: 'Toplam:';
        font-size: 12px;
        color: #868e96;
    }

    .cart-steps {
        gap: 0;
    }

    .cart-step span {
        display: none;
    }

    .cart-step-line {
        width: 40px;
    }

    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== CURRENCY SWITCHER ===== */
.currency-switcher {
    position: relative;
    margin-right: 8px;
}

.currency-btn {
    background: rgba(99, 102, 241, .08);
    border: 1px solid rgba(99, 102, 241, .2);
    padding: 7px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary, #6366F1);
    font-size: 13px;
    transition: all .2s;
    white-space: nowrap;
}

.currency-btn:hover {
    background: rgba(99, 102, 241, .15);
    border-color: rgba(99, 102, 241, .4);
}

.currency-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
    z-index: 1000;
    min-width: 220px;
    overflow: hidden;
    border: 1px solid #eee;
}

.currency-dropdown.open {
    display: block;
    animation: fadeInDown .2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.currency-dropdown-header {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #868e96;
    border-bottom: 1px solid #f0f0f0;
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    transition: background .15s;
}

.currency-option:hover {
    background: #f8f0ff;
}

.currency-flag {
    font-size: 20px;
    flex-shrink: 0;
}

.currency-info {
    display: flex;
    flex-direction: column;
}

.currency-info strong {
    font-size: 14px;
    font-weight: 600;
}

.currency-info small {
    font-size: 11px;
    color: #868e96;
}

.currency-dropdown-footer {
    padding: 10px 16px;
    font-size: 10px;
    color: #adb5bd;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

/* ========== QUICK VIEW MODAL ========== */
.qv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.qv-overlay.active {
    opacity: 1;
    visibility: visible;
}

.qv-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 820px;
    width: 95vw;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.qv-overlay.active .qv-modal {
    transform: scale(1) translateY(0);
}

.qv-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f3f5;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qv-close:hover {
    background: #e74c3c;
    color: #fff;
    transform: rotate(90deg);
}

.qv-body {
    padding: 32px;
}

.qv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.qv-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100, #f8f9fa);
    border-radius: 16px;
    min-height: 300px;
    overflow: hidden;
}

.qv-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
    border-radius: 16px;
}

.qv-img-placeholder {
    font-size: 100px;
}

.qv-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary, #6366F1);
    margin-bottom: 4px;
    display: block;
}

.qv-title {
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
    line-height: 1.3;
}

.qv-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.qv-stars .stars {
    color: #f59e0b;
    font-size: 16px;
}

.qv-stars .review-count {
    font-size: 13px;
    color: #888;
}

.qv-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.qv-price .price-current {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary, #6366F1);
}

.qv-price .price-old {
    font-size: 16px;
    color: #aaa;
    text-decoration: line-through;
}

.qv-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 14px;
}

.qv-stock {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 18px;
}

.qv-stock.in-stock {
    background: #d1fae5;
    color: #065f46;
}

.qv-stock.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

.qv-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.qv-actions .btn {
    flex: 1;
    min-width: 140px;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 14px;
}

.qv-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--primary, #6366F1);
    border-radius: 50%;
    animation: qvSpin 0.6s linear infinite;
    margin: 0 auto 12px;
}

@keyframes qvSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== SCROLL ANIMATIONS ========== */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ========== IMPROVED TOAST ========== */
.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    font-size: 14px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 380px;
    position: relative;
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.toast-msg {
    flex: 1;
    font-weight: 500;
    color: #0F172A;
}

.toast-close {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.toast-close:hover {
    background: #f5f5f5;
    color: #333;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ========== RECENTLY VIEWED SECTION ========== */
.recently-viewed-section {
    padding: 50px 0;
    background: var(--gray-50, #f8f9fa);
}

.rv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ========== IMAGE LOADING ========== */
.p-img {
    transition: opacity 0.4s ease;
}

.p-img:not(.img-loaded) {
    opacity: 0.4;
}

.p-img.img-loaded {
    opacity: 1;
}

/* ========== ENHANCED PRODUCT CARD HOVER ========== */
.product-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.product-card .product-overlay {
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}

/* ========== CATEGORY CARD HOVER ========== */
.cat-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.15);
}

.cat-card:hover .cat-emoji {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* ========== TRUST ITEM HOVER ========== */
.trust-item {
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-3px);
}

.trust-item:hover .trust-icon {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

/* ========== PROMO CARD HOVER ========== */
.promo-card {
    transition: all 0.35s ease;
}

.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.promo-card:hover .promo-emoji {
    transform: scale(1.15) rotate(5deg);
    transition: transform 0.3s ease;
}

/* ========== RESPONSIVE QV ========== */
@media (max-width: 768px) {
    .qv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qv-body {
        padding: 20px;
    }

    .qv-title {
        font-size: 18px;
    }

    .qv-price .price-current {
        font-size: 22px;
    }

    .qv-image {
        min-height: 200px;
    }

    .rv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .toast-container {
        left: 10px;
        right: 10px;
    }

    .toast {
        max-width: 100%;
    }
}