/* ===================================
   MARASPAZARELB V4 - Modern Premium
   Google-like Search + 3D Tour Ready
   =================================== */

/* Root Variables */
:root {
    /* Colors - Modern Luxury Palette */
    --color-cream: #FAFAF8;
    --color-cream-light: #FFFFFF;
    --color-cream-dark: #F5F3EF;
    --color-black: #1A1A1A;
    --color-brown: #2C2520;
    --color-brown-light: #4A4440;
    --color-gold: #C9A962;
    --color-gold-light: #D4BA7A;
    --color-gold-dark: #B8963F;
    --color-white: #FFFFFF;
    --color-gray: #8A8580;
    --color-gray-light: #E8E5E0;
    --color-gray-lighter: #F5F5F5;
    --color-success: #4A7C59;
    --color-error: #B54A4A;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-elegant: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-subtle: 0 2px 8px rgba(26, 26, 26, 0.04);
    --shadow-soft: 0 4px 20px rgba(26, 26, 26, 0.08);
    --shadow-medium: 0 8px 40px rgba(26, 26, 26, 0.12);
    --shadow-elevated: 0 20px 60px rgba(26, 26, 26, 0.15);
    --shadow-search: 0 4px 30px rgba(26, 26, 26, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-brown);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Tüm görseller responsive */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===================================
   PAGE LOADER
   =================================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 2px solid var(--color-gray-light);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-md);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--color-brown);
    letter-spacing: 0.1em;
}

/* ===================================
   HEADER
   =================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-base);
}

.main-header.scrolled {
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-subtle);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: var(--transition-base);
}

.main-header.scrolled .header-inner {
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-brown);
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-size: 1.125rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gray);
}

/* Navigation */
.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-brown);
    text-decoration: none;
    position: relative;
    padding: var(--space-xs) 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
}

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

.nav-link:hover {
    color: var(--color-gold-dark);
}

.nav-item.has-dropdown {
    position: relative;
}

.nav-link i {
    font-size: 0.625rem;
    margin-left: 4px;
    transition: var(--transition-fast);
}

.nav-item.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
    border-radius: var(--radius-md);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    overflow: visible;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    font-weight: 400;
    font-family: var(--font-body);
    color: var(--color-brown);
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--color-cream);
    color: var(--color-gold-dark);
}

/* Alt kategorisi olan item - ayni stil */
.dropdown-item.has-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: var(--space-sm);
}

.dropdown-item .submenu-arrow {
    font-size: 0.6rem;
    color: var(--color-gray);
    margin-left: auto;
    padding-left: 20px;
    transition: var(--transition-fast);
    flex-shrink: 0;
    min-width: 25px;
    text-align: right;
}

.dropdown-submenu:hover > .dropdown-item .submenu-arrow {
    color: var(--color-gold);
    transform: translateX(3px);
}

/* Alt kategori submenu */
.dropdown-submenu {
    position: relative;
    display: block;
}

.dropdown-submenu > .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 2px;
    margin-top: 0;
    min-width: 200px;
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
    border-radius: var(--radius-md);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-base);
    z-index: 1001;
    pointer-events: none;
}

.dropdown-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.submenu .dropdown-item {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-brown);
    display: block;
    white-space: nowrap;
}

.submenu .dropdown-item.has-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.submenu .dropdown-item:hover {
    background: var(--color-cream);
    color: var(--color-gold-dark);
}

/* Alt alt kategori (3. seviye) */
.submenu .dropdown-submenu > .submenu {
    left: 100%;
    top: 0;
    margin-top: 0;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.header-action-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-brown);
    font-size: 1.125rem;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.header-action-btn:hover {
    background: var(--color-gray-light);
    color: var(--color-gold);
}

.action-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    background: var(--color-gold);
    color: var(--color-white);
    font-size: 0.625rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-brown);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 20% 30%, var(--color-gold) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, var(--color-gold) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.344 0L13.858 8.485 15.272 9.9l9.9-9.9h-2.828zM32 0l-3.486 3.485 1.415 1.414 4.9-4.9H32zM0 5.373l.828-.83 1.415 1.415L0 8.2V5.374zm0 5.656l.828-.829 5.657 5.657-1.415 1.414L0 12.343v-1.314zm0 5.657l.828-.829 9.9 9.9-1.415 1.414L0 17v.686z' fill='%23C9A962' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-container {
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.hero-label-line {
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--color-brown);
    margin-bottom: var(--space-lg);
}

.hero-title .accent {
    color: var(--color-gold);
    font-style: italic;
}

/* ===================================
   SMART SEARCH (Google-like)
   =================================== */
.smart-search-wrapper {
    position: relative;
    max-width: 680px;
    margin: 0 auto var(--space-lg);
    z-index: 100;
}

.smart-search-box {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-white);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    padding: var(--space-sm) var(--space-lg);
    box-shadow: var(--shadow-search);
    transition: var(--transition-base);
}

.smart-search-box:focus-within {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-medium), 0 0 0 4px rgba(201, 169, 98, 0.1);
}

.search-icon {
    color: var(--color-gold);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.smart-search-box input {
    flex: 1;
    padding: var(--space-sm) 0;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--color-brown);
    outline: none;
}

.smart-search-box input::placeholder {
    color: var(--color-gray);
}

.search-clear {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-light);
    border: none;
    border-radius: 50%;
    color: var(--color-gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-clear:hover {
    background: var(--color-gray);
    color: var(--color-white);
}

.search-shortcut {
    display: none;
}

@media (min-width: 768px) {
    .search-shortcut {
        display: flex;
    }

    .search-shortcut kbd {
        padding: 4px 10px;
        background: var(--color-gray-lighter);
        border: 1px solid var(--color-gray-light);
        border-radius: var(--radius-sm);
        font-family: var(--font-body);
        font-size: 0.75rem;
        color: var(--color-gray);
    }
}

/* Search Suggestions Dropdown */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-base);
    z-index: 9999;
}

.search-suggestions.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Search Header - Hidden on desktop */
.search-mobile-header {
    display: none;
}

.spell-suggestion {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: #FFF8E7;
    border-bottom: 1px solid var(--color-gray-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.spell-suggestion:hover {
    background: #FFF0D0;
}

.spell-suggestion i {
    color: var(--color-gold);
}

.spell-suggestion span {
    font-size: 0.9375rem;
    color: var(--color-brown-light);
}

.spell-suggestion strong {
    color: var(--color-gold-dark);
}

.search-results {
    padding: var(--space-sm) 0;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-result-item:hover,
.search-result-item.selected {
    background: var(--color-cream);
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.result-info {
    flex: 1;
}

.result-name {
    display: block;
    font-weight: 500;
    color: var(--color-brown);
    margin-bottom: 2px;
}

.result-name mark {
    background: rgba(201, 169, 98, 0.3);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

.result-category {
    font-size: 0.8125rem;
    color: var(--color-gray);
}

.result-price {
    font-weight: 600;
    color: var(--color-gold-dark);
}

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

.no-results i {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    opacity: 0.3;
}

.recent-searches {
    padding: var(--space-sm) var(--space-lg) var(--space-md);
    border-top: 1px solid var(--color-gray-light);
}

.recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.recent-header span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray);
}

.recent-header button {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: var(--color-gold);
    cursor: pointer;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    cursor: pointer;
    color: var(--color-brown-light);
    transition: var(--transition-fast);
}

.recent-item:hover {
    color: var(--color-gold-dark);
}

.recent-item i {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Popular Searches */
.popular-searches {
    padding: var(--space-md) var(--space-lg);
    display: none;
}

.popular-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-gray-light);
}

.popular-header i {
    color: #ff6b35;
    font-size: 0.875rem;
}

.popular-header span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray);
}

.popular-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-xs);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.popular-item:hover {
    background: var(--color-cream);
}

.popular-item-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.popular-item-info i {
    color: var(--color-gray);
    font-size: 0.875rem;
}

.popular-name {
    color: var(--color-brown);
    font-weight: 500;
}

.popular-category {
    font-size: 0.75rem;
    color: var(--color-gold);
    background: var(--color-gold-lighter);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* Hero Description */
.hero-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-gray);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
}

/* Hero Buttons - PRESERVED */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-gray);
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-gray-light);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--color-gold);
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

.scroll-text {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
}

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

.btn-primary:hover {
    background: var(--color-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    background: transparent;
    color: var(--color-brown);
    border: 2px solid var(--color-brown);
}

.btn-outline:hover {
    background: var(--color-brown);
    color: var(--color-white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-white);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.4);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 0.9375rem;
}

.btn-full {
    width: 100%;
}

.btn i {
    font-size: 1em;
}

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

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--color-brown);
    line-height: 1.2;
}

.section-title .accent {
    color: var(--color-gold);
    font-style: italic;
}

.section-desc {
    font-size: 1rem;
    color: var(--color-gray);
    max-width: 550px;
    margin: var(--space-sm) auto 0;
}

/* ===================================
   CATEGORIES SECTION
   =================================== */
.categories-section {
    background: var(--color-cream);
    padding-top: var(--space-2xl);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
}

.category-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-lg);
}

.category-image {
    position: absolute;
    inset: 0;
}

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

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

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.2) 50%, transparent 100%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    color: var(--color-white);
    transform: translateY(10px);
    transition: var(--transition-base);
}

.category-card:hover .category-content {
    transform: translateY(0);
}

.category-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    font-size: 1.125rem;
}

.category-name {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.category-count {
    font-size: 0.8125rem;
    opacity: 0.8;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-top: var(--space-sm);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-base);
}

.category-card:hover .category-link {
    opacity: 1;
    transform: translateY(0);
}

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

.category-card:hover .category-link i {
    transform: translateX(5px);
}

/* ===================================
   3D TOUR CTA
   =================================== */
.tour-cta-section {
    padding: var(--space-xl) 0;
    background: var(--color-cream);
}

.tour-cta-card {
    position: relative;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--color-brown) 0%, #1A1614 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tour-cta-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(201, 169, 98, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 98, 0.1) 0%, transparent 50%);
}

.tour-cta-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .tour-cta-content {
        flex-direction: row;
        text-align: left;
    }
}

.tour-cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-radius: var(--radius-md);
    font-size: 2rem;
    color: var(--color-white);
    flex-shrink: 0;
}

.tour-cta-text {
    flex: 1;
}

.tour-cta-text h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.tour-cta-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* ===================================
   3D TOUR SECTION - PRESERVED
   =================================== */
.tour-section {
    background: var(--color-brown);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.tour-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 169, 98, 0.05) 0%, transparent 50%);
}

.tour-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .tour-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: var(--space-3xl);
    }
}

.tour-content .section-label {
    color: var(--color-gold-light);
}

.tour-content .section-title {
    color: var(--color-white);
}

.tour-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.tour-features {
    margin-bottom: var(--space-xl);
}

.tour-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
}

.tour-feature i {
    color: var(--color-gold);
    width: 20px;
}

.tour-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tour-buttons .btn-gold {
    background: var(--color-gold);
    color: var(--color-brown);
}

.tour-buttons .btn-gold:hover {
    background: var(--color-gold-light);
}

.tour-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-white);
}

.tour-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}

/* Tour Preview */
.tour-preview {
    position: relative;
    aspect-ratio: 16/10;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tour-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.tour-preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gold);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.play-button:hover {
    transform: scale(1.1);
    background: var(--color-gold-light);
}

.play-button i {
    margin-left: 4px;
}

.tour-hotspots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tour-hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: auto;
}

.tour-hotspot::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-gold);
    border-radius: 50%;
    animation: hotspotPulse 2s ease-in-out infinite;
}

.tour-hotspot::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    opacity: 0.5;
    animation: hotspotPulse 2s ease-in-out infinite 0.3s;
}

@keyframes hotspotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.tour-hotspot:nth-child(1) { top: 30%; left: 25%; }
.tour-hotspot:nth-child(2) { top: 50%; left: 55%; }
.tour-hotspot:nth-child(3) { top: 65%; left: 35%; }

/* ===================================
   PRODUCTS SECTION
   =================================== */
.products-section {
    background: var(--color-cream-light);
}

/* Category Pills */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.category-pill {
    padding: 10px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-brown-light);
    cursor: pointer;
    transition: var(--transition-fast);
}

.category-pill:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-dark);
}

.category-pill.active {
    background: var(--color-brown);
    border-color: var(--color-brown);
    color: var(--color-white);
}

/* Products Toolbar */
.products-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-gray-light);
}

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

.results-count {
    font-size: 0.9375rem;
    color: var(--color-gray);
}

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

.sort-select select {
    padding: 10px 40px 10px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-brown);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232D2824' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.view-toggle {
    display: flex;
    gap: 2px;
}

.view-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
    color: var(--color-gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.view-btn:hover,
.view-btn.active {
    background: var(--color-brown);
    border-color: var(--color-brown);
    color: var(--color-white);
}

.view-btn.panorama-btn {
    width: auto;
    padding: 0 var(--space-md);
    gap: var(--space-xs);
}

.view-btn.panorama-btn span {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card with Hover Slideshow */
.product-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.product-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-cream);
}

/* Slideshow for product images */
.product-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-slideshow .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-slideshow .slide.active {
    opacity: 1;
}

.slideshow-dots {
    position: absolute;
    bottom: var(--space-sm);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: var(--transition-base);
}

.product-card:hover .slideshow-dots {
    opacity: 1;
}

.slideshow-dots .dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.slideshow-dots .dot.active {
    background: var(--color-white);
    width: 18px;
    border-radius: 3px;
}

.product-badges {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.product-badge {
    padding: 5px 10px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

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

.badge-sale {
    background: var(--color-gold);
    color: var(--color-white);
}

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

.product-actions {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-base);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    color: var(--color-brown);
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-subtle);
}

.product-action-btn:hover {
    background: var(--color-brown);
    color: var(--color-white);
}

.product-action-btn .fa-heart {
    color: var(--color-error);
}

.quick-add-btn {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gold);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-base);
    z-index: 2;
}

.product-card:hover .quick-add-btn {
    opacity: 1;
    transform: scale(1);
}

.quick-add-btn:hover {
    background: var(--color-gold-dark);
    transform: scale(1.1);
}

.product-info {
    padding: var(--space-md);
    text-align: center;
    cursor: pointer;
}

.product-category {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 4px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-brown);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
    transition: var(--transition-fast);
}

.product-card:hover .product-name {
    color: var(--color-gold-dark);
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.price-current {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-brown);
}

.price-old {
    font-size: 0.875rem;
    color: var(--color-gray);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.product-rating .stars {
    display: flex;
    gap: 2px;
}

.product-rating .stars i {
    font-size: 0.6875rem;
    color: var(--color-gold);
}

.rating-count {
    font-size: 0.75rem;
    color: var(--color-gray);
}

/* Load More */
.load-more-wrapper {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ===================================
   PANORAMA CONTAINER - PRESERVED
   =================================== */
.panorama-container {
    background: var(--color-black);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.panorama-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pano-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pano-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.pano-btn.close-pano {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.pano-btn.close-pano:hover {
    background: var(--color-gold-dark);
}

.panorama-scene-wrapper {
    height: 500px;
    position: relative;
}

.panorama-scene-wrapper a-scene {
    width: 100%;
    height: 100%;
}

.panorama-minimap {
    padding: var(--space-md);
    background: rgba(26, 26, 26, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.minimap-title {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-sm);
}

.minimap-sections {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.minimap-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.minimap-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.minimap-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
    background: var(--color-cream);
    padding: var(--space-2xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    text-align: center;
    padding: var(--space-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    color: var(--color-gold);
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.feature-card h4 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-brown);
    margin-bottom: var(--space-xs);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* ===================================
   NEWSLETTER
   =================================== */
.newsletter-section {
    background: var(--color-cream-dark);
    padding: var(--space-2xl) 0;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .newsletter-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

.newsletter-text h3 {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 500;
    color: var(--color-brown);
    margin-bottom: var(--space-xs);
}

.newsletter-text p {
    color: var(--color-gray);
}

.newsletter-form {
    display: flex;
    gap: 0;
    width: 100%;
    max-width: 420px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--color-gray-light);
    border-right: none;
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    background: var(--color-white);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.newsletter-form button {
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    padding: 14px 28px;
    white-space: nowrap;
}

/* ===================================
   FOOTER
   =================================== */
.main-footer {
    background: var(--color-brown);
    color: var(--color-white);
}

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

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-logo .logo-icon {
    background: var(--color-gold);
}

.footer-logo .logo-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-xs);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-gold);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.contact-list i {
    color: var(--color-gold);
    margin-top: 4px;
}

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

.contact-list a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.payment-icons {
    display: flex;
    gap: var(--space-sm);
}

.payment-icons i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   CART DRAWER (Mini Sepet)
   =================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 1999;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: var(--color-white);
    transform: translateX(100%);
    transition: var(--transition-elegant);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-elevated);
}

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

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

.cart-drawer-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cart-item-count {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-gray);
}

.cart-drawer-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-lighter);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-drawer-close:hover {
    background: var(--color-gray-light);
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
}

.empty-cart {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
}

.empty-cart-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-lighter);
    border-radius: 50%;
}

.empty-cart-icon i {
    font-size: 2rem;
    color: var(--color-gray);
}

.empty-cart p {
    font-size: 1.0625rem;
    color: var(--color-gray);
    margin-bottom: var(--space-lg);
}

.cart-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-gray-lighter);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-brown);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-weight {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-gray);
    margin-bottom: 4px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--color-gold-dark);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cart-item-qty button:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.cart-item-qty span {
    width: 30px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-gray);
    cursor: pointer;
    padding: var(--space-xs);
    align-self: flex-start;
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--color-error);
}

.cart-drawer-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--color-gray-light);
    background: var(--color-cream);
}

.cart-summary {
    margin-bottom: var(--space-md);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
}

.summary-row.total {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-light);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* ===================================
   PRODUCT MODAL (Popup)
   =================================== */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 3000;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    background: var(--color-white);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-base);
}

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

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-gray-lighter);
}

/* Product Modal Specific */
.product-modal .modal-container {
    max-width: 950px;
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .product-modal-content {
        grid-template-columns: 1fr 1fr;
    }
}

.modal-gallery {
    background: var(--color-cream);
    padding: var(--space-lg);
}

.gallery-main {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

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

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.gallery-nav:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.gallery-nav.prev {
    left: var(--space-sm);
}

.gallery-nav.next {
    right: var(--space-sm);
}

.gallery-thumbnails {
    display: flex;
    gap: var(--space-sm);
}

.thumbnail {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.thumbnail.active {
    border-color: var(--color-gold);
}

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

.modal-details {
    padding: var(--space-xl);
}

.modal-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-brown);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.modal-rating .stars {
    display: flex;
    gap: 2px;
}

.modal-rating .stars i {
    font-size: 0.875rem;
    color: var(--color-gold);
}

.modal-rating .rating-count {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.modal-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-brown);
}

.modal-price-old {
    font-size: 1rem;
    color: var(--color-gray);
    text-decoration: line-through;
}

.modal-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-gray);
    margin-bottom: var(--space-lg);
}

.modal-options {
    margin-bottom: var(--space-lg);
}

.option-group {
    margin-bottom: var(--space-md);
}

.option-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    color: var(--color-brown);
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.option-btn {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.option-btn:hover {
    border-color: var(--color-gold);
}

.option-btn.active {
    border-color: var(--color-brown);
    background: var(--color-brown);
    color: var(--color-white);
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    color: var(--color-gold);
}

.qty-controls input {
    width: 50px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--color-gray-light);
    border-right: 1px solid var(--color-gray-light);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    background: transparent;
}

.modal-actions {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.add-to-cart-modal {
    flex: 1;
}

.btn-wishlist {
    width: 50px;
    height: 50px;
    padding: 0;
    flex-shrink: 0;
}

.btn-wishlist .fa-heart {
    color: var(--color-error);
}

.modal-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-light);
}

.modal-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
    color: var(--color-gray);
}

.modal-feature i {
    color: var(--color-gold);
}

/* Auth Modal */
.auth-modal {
    padding: var(--space-xl);
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-gray-light);
}

.auth-tab {
    flex: 1;
    padding: var(--space-md);
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.auth-tab.active {
    color: var(--color-brown);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gold);
}

.auth-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--space-lg);
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
    color: var(--color-brown);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    cursor: pointer;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--color-gold);
    text-decoration: none;
}

.social-login {
    margin-top: var(--space-lg);
    text-align: center;
}

.divider-text {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-gray);
    margin-bottom: var(--space-md);
}

.btn-social {
    width: 100%;
    background: var(--color-gray-lighter);
    color: var(--color-brown);
    border: 1px solid var(--color-gray-light);
}

.btn-social:hover {
    background: var(--color-gray-light);
}

/* ===================================
   TOAST NOTIFICATIONS
   =================================== */
.toast-container {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    z-index: 4000;
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-brown);
    color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    transform: translateX(100%);
    animation: toastIn 0.3s ease forwards;
}

.toast.removing {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    to { transform: translateX(0); }
}

@keyframes toastOut {
    to { transform: translateX(100%); opacity: 0; }
}

.toast-success {
    background: var(--color-success);
}

.toast-error {
    background: var(--color-error);
}

.toast i {
    font-size: 1.125rem;
}

.toast-message {
    flex: 1;
    font-size: 0.9375rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: var(--space-xs);
    opacity: 0.7;
}

.toast-close:hover {
    opacity: 1;
}

/* ===================================
   BACK TO TOP
   =================================== */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-brown);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 100;
    box-shadow: var(--shadow-soft);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-gold);
    transform: translateY(-4px);
}

/* ===================================
   MOBILE MENU
   =================================== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-cream);
    transform: translateX(-100%);
    transition: var(--transition-elegant);
    z-index: 1500;
    padding: var(--space-3xl) var(--space-lg);
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    margin-bottom: var(--space-md);
}

.mobile-nav-list a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-brown);
    text-decoration: none;
    display: block;
    transition: var(--transition-fast);
}

.mobile-nav-list a:hover {
    color: var(--color-gold);
}

/* Mobile Nav Close Button */
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--color-brown);
    border-radius: 50%;
    color: var(--color-brown);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.mobile-nav-close:hover {
    background: var(--color-brown);
    color: var(--color-white);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   RESPONSIVE UTILITIES - ENHANCED
   =================================== */

/* Extra Small Devices (phones, 320px to 575px) */
@media (max-width: 575px) {
    :root {
        --space-xs: 0.375rem;
        --space-sm: 0.75rem;
        --space-md: 1rem;
        --space-lg: 1.25rem;
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    /* Header Mobile */
    .header-inner {
        height: 60px;
        padding: 0;
    }

    .main-header.scrolled .header-inner {
        height: 56px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .logo-title {
        font-size: 1.1rem;
    }

    .logo-tagline {
        font-size: 0.5rem;
        display: none;
    }

    .header-action-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .action-badge {
        min-width: 16px;
        height: 16px;
        font-size: 0.55rem;
        top: 2px;
        right: 2px;
    }

    /* Hero Section Mobile */
    .hero-section {
        min-height: auto;
        padding: 80px var(--space-sm) var(--space-xl);
    }

    .hero-label {
        font-size: 0.65rem;
        gap: var(--space-xs);
    }

    .hero-label-line {
        width: 25px;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: var(--space-md);
    }

    .hero-desc {
        font-size: 0.9rem;
        margin-bottom: var(--space-lg);
    }

    .scroll-indicator {
        display: none;
    }

    /* Smart Search Mobile */
    .smart-search-wrapper {
        margin-bottom: var(--space-md);
    }

    .smart-search-box {
        padding: var(--space-xs) var(--space-sm);
        border-radius: var(--radius-lg);
    }

    .smart-search-box input {
        font-size: 0.9rem;
        padding: var(--space-xs) 0;
    }

    .smart-search-box input::placeholder {
        font-size: 0.8rem;
    }

    .search-icon {
        font-size: 1rem;
    }

    .search-clear {
        width: 28px;
        height: 28px;
    }

    .search-shortcut {
        display: none !important;
    }

    /* Search mobile - %30 daraltılmış */
    .smart-search-wrapper {
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .smart-search-box {
        padding: 6px 12px;
    }

    .smart-search-box input {
        font-size: 0.8rem;
        padding: 6px 0;
    }

    .smart-search-box input::placeholder {
        font-size: 0.7rem;
    }

    .search-icon {
        font-size: 0.9rem;
    }

    .search-clear {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .search-suggestions {
        position: fixed;
        left: 5%;
        right: 5%;
        width: 90%;
        max-height: 45vh;
        z-index: 99999;
        border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.25);
        background: var(--color-white);
        overflow-x: hidden;
    }

    /* Arama açıkken body scroll engelleme */
    body.search-active {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    .search-suggestions .popular-header {
        font-size: 0.75rem;
        padding: 8px 12px;
    }

    .search-suggestions .popular-item {
        padding: 8px 12px;
    }

    .search-suggestions .popular-name {
        font-size: 0.8rem;
    }

    .search-suggestions .popular-category {
        font-size: 0.65rem;
    }

    .search-result-item {
        padding: 8px 12px;
        gap: 8px;
    }

    .search-result-item img {
        width: 35px;
        height: 35px;
    }

    .result-name {
        font-size: 0.75rem;
    }

    .result-category {
        font-size: 0.6rem;
    }

    .result-price {
        font-size: 0.75rem;
    }

    /* Hero Buttons Mobile */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Section Headers Mobile */
    section {
        padding: var(--space-xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-lg);
    }

    .section-label {
        font-size: 0.65rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-desc {
        font-size: 0.85rem;
    }

    /* Categories Grid Mobile */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .category-card {
        aspect-ratio: 4/5;
        border-radius: var(--radius-md);
        min-height: 0;
    }

    .category-image {
        position: absolute;
        inset: 0;
    }

    .category-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .category-content {
        padding: var(--space-sm);
    }

    .category-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-bottom: var(--space-xs);
    }

    .category-name {
        font-size: 1rem;
    }

    .category-count {
        font-size: 0.7rem;
    }

    .category-link {
        font-size: 0.7rem;
    }

    /* Category Pills Mobile */
    .category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: var(--space-xs);
        padding-bottom: var(--space-xs);
        margin: 0 calc(-1 * var(--space-sm));
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-pills::-webkit-scrollbar {
        display: none;
    }

    .category-pill {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* Products Toolbar Mobile */
    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    .toolbar-left {
        justify-content: center;
    }

    .toolbar-right {
        justify-content: space-between;
    }

    .sort-select select {
        padding: 8px 32px 8px 12px;
        font-size: 0.8rem;
    }

    .view-toggle {
        display: flex;
    }

    .view-btn {
        width: 36px;
        height: 36px;
        padding: 0;
        font-size: 0.9rem;
    }

    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    /* ========================================
       MOBİL LİSTE GÖRÜNÜMÜ - PROFESİYONEL
       ======================================== */
    .products-grid.list-view {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .products-grid.list-view .product-card {
        display: flex;
        flex-direction: column;
        padding: 0;
        background: var(--color-white);
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    /* Üst Kısım: Görsel + Bilgi yan yana */
    .products-grid.list-view .product-card-top {
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 12px;
    }

    .products-grid.list-view .product-image {
        width: 90px;
        min-width: 90px;
        height: 90px;
        border-radius: var(--radius-sm);
        overflow: hidden;
        flex-shrink: 0;
    }

    .products-grid.list-view .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Ürün bilgileri gizle, list-info kullan */
    .products-grid.list-view .product-info {
        display: none;
    }

    .products-grid.list-view .product-list-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
        padding: 0;
    }

    .products-grid.list-view .list-content {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .products-grid.list-view .list-details {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .products-grid.list-view .product-category {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--color-gold);
        font-weight: 600;
    }

    .products-grid.list-view .list-name-rating {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .products-grid.list-view .list-name-rating .product-name {
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.3;
        margin: 0;
    }

    .products-grid.list-view .list-name-rating .product-name a {
        color: var(--color-brown);
        text-decoration: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .products-grid.list-view .product-rating {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 0.75rem;
    }

    .products-grid.list-view .product-rating .stars {
        color: var(--color-gold);
        font-size: 0.7rem;
    }

    .products-grid.list-view .product-rating .rating-count {
        color: var(--color-gray);
    }

    .products-grid.list-view .product-description,
    .products-grid.list-view .product-weight {
        display: none;
    }

    /* Fiyat - Bilgi alanında göster */
    .products-grid.list-view .list-price-section {
        display: none;
    }

    .products-grid.list-view .list-price-inline {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 6px;
    }

    .products-grid.list-view .list-price-inline .price-current {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--color-brown);
    }

    .products-grid.list-view .list-price-inline .price-old {
        font-size: 0.8rem;
        color: var(--color-gray);
        text-decoration: line-through;
    }

    /* Alt Kısım: Butonlar */
    .products-grid.list-view .product-card-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        background: var(--color-cream);
        border-top: 1px solid var(--color-gray-light);
    }

    .products-grid.list-view .btn-view-product {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 14px;
        background: var(--color-brown);
        color: var(--color-white);
        border: none;
        border-radius: var(--radius-full);
        font-size: 0.8rem;
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition-fast);
    }

    .products-grid.list-view .btn-view-product:hover {
        background: var(--color-gold);
    }

    .products-grid.list-view .action-btn.add-to-cart-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-gold);
        color: var(--color-white);
        border: none;
        border-radius: 50%;
        font-size: 1rem;
        cursor: pointer;
        transition: var(--transition-fast);
    }

    .products-grid.list-view .action-btn.add-to-cart-icon:hover {
        background: var(--color-gold-dark);
        transform: scale(1.05);
    }

    .products-grid.list-view .action-btn.add-to-cart-icon.out-of-stock {
        background: var(--color-gray-light);
        color: var(--color-gray);
        cursor: not-allowed;
    }

    .products-grid.list-view .action-btn.favorite {
        width: 40px;
        height: 40px;
        min-width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-white);
        border: 1px solid var(--color-gray-light);
        border-radius: 50%;
        font-size: 1rem;
        color: var(--color-gray);
        cursor: pointer;
        transition: var(--transition-fast);
    }

    .products-grid.list-view .action-btn.favorite:hover,
    .products-grid.list-view .action-btn.favorite.active {
        background: #fff0f0;
        border-color: #e74c3c;
        color: #e74c3c;
    }

    /* Eski elemanları gizle */
    .products-grid.list-view .btn-add-to-cart,
    .products-grid.list-view .product-badges {
        display: none;
    }

    .product-card {
        border-radius: var(--radius-sm);
    }

    .product-image {
        aspect-ratio: 1/1;
    }

    .product-slideshow,
    .product-slideshow .slide,
    .product-slideshow .slide img {
        aspect-ratio: 1/1;
        object-fit: cover;
    }

    .product-info {
        padding: var(--space-sm);
    }

    .product-category {
        font-size: 0.6rem;
    }

    .product-name {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .product-price {
        margin-bottom: var(--space-xs);
    }

    .price-current {
        font-size: 0.9rem;
    }

    .price-old {
        font-size: 0.75rem;
    }

    .product-rating {
        display: none;
    }

    .product-badges {
        top: var(--space-xs);
        left: var(--space-xs);
    }

    .product-badge {
        padding: 3px 6px;
        font-size: 0.55rem;
    }

    .product-actions {
        opacity: 1;
        transform: translateX(0);
        top: var(--space-xs);
        right: var(--space-xs);
    }

    .product-action-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .quick-add-btn {
        width: 36px;
        height: 36px;
        opacity: 1;
        transform: scale(1);
        bottom: var(--space-xs);
        right: var(--space-xs);
        font-size: 0.85rem;
    }

    /* Features Section Mobile */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .feature-card {
        padding: var(--space-sm);
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        margin-bottom: var(--space-sm);
    }

    .feature-card h4 {
        font-size: 0.85rem;
    }

    .feature-card p {
        font-size: 0.75rem;
    }

    /* Newsletter Mobile */
    .newsletter-content {
        gap: var(--space-md);
    }

    .newsletter-text h3 {
        font-size: 1.25rem;
    }

    .newsletter-text p {
        font-size: 0.85rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .newsletter-form input {
        border-radius: var(--radius-full);
        border-right: 1px solid var(--color-gray-light);
        text-align: center;
    }

    .newsletter-form button {
        border-radius: var(--radius-full);
        width: 100%;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: var(--space-sm);
    }

    .footer-links a,
    .footer-desc,
    .contact-list li {
        font-size: 0.85rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: var(--space-sm);
    }

    /* Cart Drawer Mobile */
    .cart-drawer {
        max-width: 100%;
        width: 100%;
    }

    .cart-drawer-header {
        padding: var(--space-md);
    }

    .cart-drawer-header h3 {
        font-size: 1.1rem;
    }

    .cart-drawer-items {
        padding: var(--space-sm);
    }

    .cart-item {
        padding: var(--space-sm);
        gap: var(--space-sm);
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-name {
        font-size: 0.9rem;
    }

    .cart-item-weight {
        font-size: 0.75rem;
    }

    .cart-item-price {
        font-size: 0.85rem;
    }

    .cart-item-qty button {
        width: 24px;
        height: 24px;
    }

    .cart-drawer-footer {
        padding: var(--space-md);
    }

    .summary-row {
        font-size: 0.85rem;
    }

    .summary-row.total {
        font-size: 1rem;
    }

    /* Modal Mobile - Kenarlardan eşit boşluk */
    .modal {
        padding: 16px;
        align-items: center;
        justify-content: center;
    }

    .modal-container {
        max-width: calc(100% - 32px);
        width: calc(100% - 32px);
        max-height: 85vh;
        border-radius: var(--radius-lg);
        margin: auto;
    }

    .product-modal-content {
        grid-template-columns: 1fr;
        max-height: 85vh;
        overflow-y: auto;
    }

    .modal-gallery {
        padding: var(--space-sm);
    }

    .gallery-main {
        margin-bottom: var(--space-xs);
        border-radius: var(--radius-md);
        overflow: hidden;
    }

    .gallery-thumbnails {
        justify-content: center;
        gap: 6px;
    }

    .thumbnail {
        width: 45px;
        height: 45px;
    }

    .modal-details {
        padding: var(--space-sm);
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .modal-price {
        font-size: 1.1rem;
    }

    .modal-desc {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .option-buttons {
        flex-wrap: wrap;
        gap: 6px;
    }

    .option-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .qty-selector {
        flex-direction: row;
        align-items: center;
        gap: var(--space-sm);
    }

    .qty-btn {
        width: 36px;
        height: 36px;
    }

    .qty-controls input {
        width: 36px;
        height: 40px;
    }

    .modal-actions {
        flex-direction: row;
        gap: 8px;
    }

    .modal-actions .btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .btn-wishlist {
        width: 44px;
        height: 44px;
        flex: none;
    }

    .modal-features {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: var(--space-sm);
    }

    .modal-feature {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    /* Modal close button */
    .modal-close {
        width: 32px;
        height: 32px;
        top: 8px;
        right: 8px;
    }

    /* Auth Modal Mobile */
    .auth-modal {
        padding: var(--space-md);
    }

    .auth-form h3 {
        font-size: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Toast Mobile */
    .toast-container {
        left: var(--space-sm);
        right: var(--space-sm);
        bottom: var(--space-sm);
    }

    .toast {
        transform: translateY(100%);
        padding: var(--space-sm) var(--space-md);
        font-size: 0.85rem;
    }

    @keyframes toastIn {
        to { transform: translateY(0); }
    }

    @keyframes toastOut {
        to { transform: translateY(100%); opacity: 0; }
    }

    /* Back to Top Mobile */
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: var(--space-sm);
        right: var(--space-sm);
    }

    /* Mobile Navigation */
    .mobile-nav {
        padding: 80px var(--space-md) var(--space-lg);
    }

    .mobile-nav-list a {
        font-size: 1.5rem;
    }

    /* Load More Button Mobile */
    .load-more-wrapper {
        margin-top: var(--space-lg);
    }

    .load-more-wrapper .btn {
        width: 100%;
    }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        padding: 0 var(--space-md);
    }

    section {
        padding: var(--space-2xl) 0;
    }

    .hero-section {
        min-height: auto;
        padding: var(--space-3xl) var(--space-md) var(--space-xl);
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scroll-indicator {
        display: none;
    }

    .toast-container {
        left: var(--space-md);
        right: var(--space-md);
        bottom: var(--space-md);
    }

    .toast {
        transform: translateY(100%);
    }

    @keyframes toastIn {
        to { transform: translateY(0); }
    }

    @keyframes toastOut {
        to { transform: translateY(100%); opacity: 0; }
    }

    .back-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
    }

    .modal-details {
        padding: var(--space-lg);
    }

    .cart-drawer {
        max-width: 380px;
    }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .header-inner {
        height: 80px;
    }

    .hero-section {
        padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-container {
        max-width: 90%;
    }
}

/* Large Devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .main-header,
    .cart-drawer,
    .back-to-top,
    .toast-container,
    .modal {
        display: none;
    }
}

/* ===================================
   TOUCH DEVICE OPTIMIZATIONS
   =================================== */

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
        box-shadow: var(--shadow-subtle);
    }

    .product-card:hover .product-actions {
        opacity: 1;
        transform: translateX(0);
    }

    .product-card:hover .quick-add-btn {
        opacity: 1;
        transform: scale(1);
    }

    .product-actions {
        opacity: 1;
        transform: translateX(0);
    }

    .quick-add-btn {
        opacity: 1;
        transform: scale(1);
    }

    .category-card:hover .category-image img {
        transform: none;
    }

    .category-card:hover .category-content {
        transform: translateY(10px);
    }

    .category-card:hover .category-link {
        opacity: 0;
    }

    /* Better tap targets */
    .btn,
    .header-action-btn,
    .product-action-btn,
    .quick-add-btn,
    .nav-link,
    .category-pill {
        min-height: 44px;
        min-width: 44px;
    }

    /* Active states for touch */
    .btn:active {
        transform: scale(0.98);
    }

    .product-card:active {
        transform: scale(0.98);
    }

    .category-card:active {
        transform: scale(0.98);
    }

    .header-action-btn:active,
    .product-action-btn:active {
        background: var(--color-gray-light);
    }

    /* Prevent text selection on tap */
    .btn,
    .nav-link,
    .category-pill,
    .product-card {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
    .main-header {
        padding-left: max(var(--space-lg), env(safe-area-inset-left));
        padding-right: max(var(--space-lg), env(safe-area-inset-right));
    }

    .mobile-nav {
        padding-left: max(var(--space-lg), env(safe-area-inset-left));
        padding-right: max(var(--space-lg), env(safe-area-inset-right));
        padding-bottom: max(var(--space-lg), env(safe-area-inset-bottom));
    }

    .cart-drawer-footer {
        padding-bottom: max(var(--space-lg), env(safe-area-inset-bottom));
    }

    .modal-container {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }

    @media (max-width: 575px) {
        .container {
            padding-left: max(var(--space-sm), env(safe-area-inset-left));
            padding-right: max(var(--space-sm), env(safe-area-inset-right));
        }

        .toast-container {
            bottom: max(var(--space-sm), env(safe-area-inset-bottom));
        }

        .back-to-top {
            bottom: max(var(--space-sm), env(safe-area-inset-bottom));
            right: max(var(--space-sm), env(safe-area-inset-right));
        }
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: var(--space-xl) var(--space-md);
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-desc {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .modal-container {
        max-height: 100vh;
    }

    .modal-gallery {
        display: none;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-badge,
    .category-count,
    .result-category {
        font-weight: 500;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .page-loader {
        display: none;
    }

    .scroll-wheel {
        animation: none;
    }
}

/* ===================================
   PRODUCTS LOADING
   =================================== */
.products-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
    padding: var(--space-2xl) var(--space-lg);
    gap: var(--space-md);
}

.products-loading p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-gray-light);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-gray);
    font-size: 1.1rem;
}

/* Product Variants Badge */
.product-variants {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

/* ===================================
   LIST VIEW STYLES - DESKTOP
   =================================== */

/* Varsayılan olarak gizli */
.product-list-info,
.product-card-top,
.product-card-actions,
.list-price-inline {
    display: none;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.products-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    gap: var(--space-lg);
    align-items: stretch;
    padding: var(--space-md);
}

/* Desktop'ta product-card-top içindeki elemanları direkt göster */
.products-grid.list-view .product-card-top {
    display: contents;
}

.products-grid.list-view .product-image {
    width: 180px;
    min-width: 180px;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

/* Hide default product-info in list view */
.products-grid.list-view .product-info {
    display: none;
}

/* Show list-info in list view */
.products-grid.list-view .product-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.products-grid.list-view .list-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
}

.products-grid.list-view .list-details {
    flex: 1;
}

.products-grid.list-view .list-details .product-category {
    margin-bottom: var(--space-xs);
}

.products-grid.list-view .list-name-rating {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.products-grid.list-view .list-name-rating .product-name {
    font-size: 1.3rem;
    margin: 0;
    color: var(--color-brown);
}

.products-grid.list-view .list-name-rating .stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--color-gold);
    font-size: 0.9rem;
}

/* Desktop'ta inline fiyat */
.products-grid.list-view .list-price-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-sm);
}

.products-grid.list-view .list-price-inline .price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-brown);
    font-family: var(--font-display);
}

.products-grid.list-view .list-price-inline .price-old {
    font-size: 1rem;
    color: var(--color-gray);
    text-decoration: line-through;
}

/* Desktop'ta product-card-actions göster */
.products-grid.list-view .product-card-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding-left: var(--space-lg);
    border-left: 1px solid var(--color-gray-light);
    min-width: 160px;
}

.products-grid.list-view .product-description {
    font-size: 0.9rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ürünü Göster Butonu */
.btn-view-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-brown);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    width: 100%;
}

.btn-view-product:hover {
    background: var(--color-gold);
    transform: translateY(-2px);
}

.btn-view-product i {
    font-size: 0.85rem;
}

/* Sepete Ekle Butonu (+ ikonu) */
.products-grid.list-view .action-btn.add-to-cart-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gold);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.products-grid.list-view .action-btn.add-to-cart-icon:hover {
    background: var(--color-gold-dark);
    transform: scale(1.08);
}

.products-grid.list-view .action-btn.add-to-cart-icon.out-of-stock {
    background: var(--color-gray-light);
    color: var(--color-gray);
    cursor: not-allowed;
}

/* Favori Butonu */
.products-grid.list-view .action-btn.favorite {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--color-gray);
    cursor: pointer;
    transition: var(--transition-base);
}

.products-grid.list-view .action-btn.favorite:hover {
    background: #fff0f0;
    border-color: #e74c3c;
    color: #e74c3c;
}

.products-grid.list-view .action-btn.favorite.active {
    background: #fff0f0;
    border-color: #e74c3c;
    color: #e74c3c;
}

/* Desktop'ta butonlar yan yana */
.products-grid.list-view .product-card-actions .btn-view-product {
    width: auto;
    padding: 10px 20px;
}

/* Desktop'ta küçük buton grubu */
.products-grid.list-view .product-card-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* ========================================
   TABLET VE MOBİL - LİSTE GÖRÜNÜMÜ
   ======================================== */
@media (max-width: 991px) {
    .products-grid.list-view .product-card {
        flex-direction: column;
        padding: 0;
    }

    .products-grid.list-view .product-card-top {
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 12px 12px 8px 12px;
    }

    .products-grid.list-view .product-image {
        width: 100px;
        min-width: 100px;
        height: 100px;
    }

    .products-grid.list-view .product-list-info {
        padding: 0;
    }

    .products-grid.list-view .list-content {
        flex-direction: column;
        gap: 0;
    }

    .products-grid.list-view .list-name-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        margin-bottom: 4px;
    }

    .products-grid.list-view .list-name-rating .product-name {
        font-size: 0.95rem;
    }

    .products-grid.list-view .product-card-actions {
        flex-direction: row;
        padding: 10px 12px;
        background: var(--color-cream);
        border-top: 1px solid var(--color-gray-light);
        border-left: none;
        min-width: auto;
    }

    .products-grid.list-view .btn-view-product {
        flex: 1;
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .products-grid.list-view .action-btn.add-to-cart-icon,
    .products-grid.list-view .action-btn.favorite {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
}

/* ===================================
   ENHANCED MOBILE RESPONSIVE - 100% MOBILE COMPATIBLE
   =================================== */

/* Prevent horizontal scroll on all devices */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        min-height: -webkit-fill-available;
    }

    .mobile-nav {
        height: -webkit-fill-available;
    }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 359px) {
    html {
        font-size: 12px;
    }

    .container {
        padding: 0 8px;
    }

    .header-inner {
        height: 52px;
        padding: 0 4px;
    }

    .logo-image {
        height: 32px !important;
    }

    .header-action-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .action-badge {
        min-width: 14px;
        height: 14px;
        font-size: 0.5rem;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-desc {
        font-size: 0.8rem;
    }

    .smart-search-wrapper {
        max-width: 90%;
    }

    .smart-search-box {
        padding: 4px 8px;
    }

    .smart-search-box input {
        font-size: 0.75rem;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .product-name {
        font-size: 0.75rem;
    }

    .price-current {
        font-size: 0.85rem;
    }

    .category-pill {
        padding: 6px 10px;
        font-size: 0.65rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .footer-grid {
        gap: var(--space-md);
    }

    .footer-col h4 {
        font-size: 0.9rem;
    }

    .footer-links a,
    .contact-list li {
        font-size: 0.75rem;
    }
}

/* Small Phone Portrait (360px - 413px) */
@media (min-width: 360px) and (max-width: 413px) {
    html {
        font-size: 13px;
    }

    .header-inner {
        height: 56px;
    }

    .logo-image {
        height: 36px !important;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .product-info {
        padding: 8px;
    }

    .product-name {
        font-size: 0.8rem;
        line-height: 1.2;
        min-height: 2.4em;
    }

    .price-current {
        font-size: 0.9rem;
    }

    .btn-add-to-cart {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
}

/* Medium Phone Portrait (414px - 479px - iPhone Plus/Max size) */
@media (min-width: 414px) and (max-width: 479px) {
    html {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-name {
        font-size: 0.85rem;
    }

    .price-current {
        font-size: 0.95rem;
    }
}

/* Enhanced touch targets for all mobile */
@media (max-width: 767px) {
    /* Ensure minimum touch target size of 44px */
    .btn,
    .header-action-btn,
    .product-action-btn,
    .quick-add-btn,
    .category-pill,
    .nav-link,
    .mobile-menu-toggle,
    .cart-drawer-close,
    .modal-close,
    .qty-btn,
    .option-btn,
    .filter-checkbox,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Fix button alignment on mobile */
    .btn-add-to-cart {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 100%;
        min-height: 36px;
    }

    /* Improve readability */
    body {
        font-size: 16px; /* Prevents iOS zoom on focus */
        -webkit-text-size-adjust: 100%;
    }

    /* Form inputs - prevent zoom on iOS */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* Smart search mobile improvements */
    .smart-search-box input {
        font-size: 16px !important; /* Prevent iOS zoom */
    }

    /* Category cards grid */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        min-height: 160px;
    }

    .category-name {
        font-size: 0.9rem;
    }

    .category-count {
        font-size: 0.65rem;
    }

    /* Newsletter form */
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 25px;
    }

    /* Modal improvements */
    .modal {
        padding: 10px;
    }

    .modal-container {
        max-width: calc(100% - 20px);
        width: 100%;
        max-height: 90vh;
        margin: auto;
    }

    .product-modal-content {
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Gallery improvements */
    .gallery-main img {
        max-height: 250px;
        object-fit: contain;
    }

    /* Mobile nav improvements */
    .mobile-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 20px 30px;
    }

    .mobile-nav-list {
        text-align: center;
    }

    .mobile-nav-list a {
        display: block;
        padding: 15px 0;
        font-size: 1.3rem;
    }

    /* Scroll hint for horizontal lists */
    .category-pills::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, var(--color-cream), transparent);
        pointer-events: none;
    }

    .category-pills {
        position: relative;
    }

    /* Cart drawer full width on mobile */
    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }

    /* Better spacing for cart items */
    .cart-item {
        padding: 12px;
        gap: 10px;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .social-links {
        justify-content: center;
    }

    .contact-list {
        text-align: left;
    }

    .contact-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .contact-list i {
        margin-top: 3px;
    }

    /* Payment icons */
    .payment-icons {
        justify-content: center;
        gap: 15px;
    }

    .payment-icons i {
        font-size: 1.8rem;
    }

    /* Features grid mobile */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .feature-card {
        padding: 15px;
        text-align: center;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        margin: 0 auto 10px;
    }

    .feature-card h4 {
        font-size: 0.8rem;
    }

    .feature-card p {
        font-size: 0.7rem;
    }

    /* Toast notifications mobile */
    .toast-container {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .toast {
        width: 100%;
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    /* Back to top button */
    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 15px;
        right: 15px;
    }

    /* Loading states */
    .products-loading {
        padding: 40px 20px;
    }

    .loading-spinner {
        width: 35px;
        height: 35px;
    }

    /* Empty states */
    .no-products,
    .empty-cart {
        padding: 30px 15px;
    }

    .no-products i,
    .empty-cart-icon i {
        font-size: 2.5rem;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .cart-drawer {
        width: 400px;
    }

    .modal-container {
        max-width: 90%;
    }

    .product-modal-content {
        grid-template-columns: 1fr;
    }
}

/* Landscape Orientation - Phones */
@media (max-height: 450px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 80px 20px 30px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .smart-search-wrapper {
        max-width: 500px;
        margin-bottom: 15px;
    }

    .scroll-indicator {
        display: none;
    }

    .mobile-nav {
        padding-top: 50px;
    }

    .mobile-nav-list a {
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .modal-container {
        max-height: 95vh;
    }

    .product-modal-content {
        grid-template-columns: 1fr 1fr;
        max-height: 90vh;
    }

    .gallery-main img {
        max-height: 150px;
    }
}

/* Fix for notched phones (iPhone X, etc.) */
@supports (padding: max(0px)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .main-header {
        padding-top: env(safe-area-inset-top);
    }

    .main-footer {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .cart-drawer {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }

    .mobile-nav {
        padding-top: max(80px, calc(60px + env(safe-area-inset-top)));
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }
}

/* Smooth scrolling improvements */
@media (max-width: 767px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .category-pills,
    .cart-drawer-items,
    .modal-container,
    .search-suggestions {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

/* Fix for input zoom on iOS */
@media screen and (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-gray: #666;
        --color-gray-light: #ccc;
    }

    .btn {
        border: 2px solid currentColor;
    }

    .product-card {
        border: 1px solid var(--color-brown);
    }
}

/* Reduced data mode - hide decorative images */
@media (prefers-reduced-data: reduce) {
    .hero-bg-pattern,
    .hero-texture {
        display: none;
    }
}

/* Print styles for mobile */
@media print {
    .main-header,
    .mobile-nav,
    .cart-drawer,
    .cart-overlay,
    .modal,
    .back-to-top,
    .toast-container,
    .scroll-indicator {
        display: none !important;
    }

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

    .product-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
