/* ============================================
   FLAVOR BUTIK - Premium E-Commerce CSS
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #c9a96e;
    --accent-light: #d4b87c;
    --accent-dark: #b8944f;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
    --text-muted: #999;
    --bg: #ffffff;
    --bg-light: #faf9f7;
    --bg-cream: #f5f0eb;
    --border: #e8e4df;
    --border-light: #f0ece7;
    --success: #2ecc71;
    --danger: #e74c3c;
    --warning: #f39c12;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 48px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --container: 1280px;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; color: var(--primary); }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-title {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}
.section-title h2 { margin-bottom: 12px; letter-spacing: -0.5px; }
.section-title p { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 16px auto 0;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}
.btn-primary:hover { background: transparent; color: var(--primary); }
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white {
    background: #fff;
    color: var(--primary);
    border: 2px solid #fff;
}
.btn-white:hover { background: transparent; color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-lg { padding: 18px 42px; font-size: 1rem; }
.btn-block { width: 100%; }

/* === Top Bar === */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    padding: 8px 0;
    letter-spacing: 0.5px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left a { color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 6px; }
.top-bar-left a:hover { color: var(--accent); }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar-right a { color: rgba(255,255,255,0.85); }
.top-bar-right a:hover { color: var(--accent); }
.top-bar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-weight: 500;
}

/* === Header === */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s ease;
}
.main-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}
.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.logo span { color: var(--accent); }

/* Search */
.header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}
.header-search input {
    width: 100%;
    padding: 12px 48px 12px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    background: var(--bg-light);
    transition: var(--transition);
    outline: none;
}
.header-search input:focus { border-color: var(--accent); background: #fff; }
.header-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.header-search button:hover { background: var(--accent); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 0.85rem;
    position: relative;
}
.header-action i { font-size: 1.2rem; }
.header-action:hover { color: var(--accent); }
.header-action .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.cart-total { font-weight: 600; color: var(--accent); }

/* Navigation */
.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
}
.nav-list {
    display: flex;
    justify-content: center;
    gap: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block;
    padding: 14px 24px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    position: relative;
}
.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}
.nav-list > li:hover > a::after,
.nav-list > li.active > a::after { width: 100%; }
.nav-list > li:hover > a { color: var(--accent); }

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}
.nav-list > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
    display: block;
    padding: 12px 20px;
    font-size: 0.85rem;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}
.nav-dropdown a:hover { color: var(--accent); background: var(--bg-light); padding-left: 24px; }

/* Mobile Menu */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
    color: var(--primary);
    padding: 0;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 1002;
}
.mobile-toggle:hover,
.mobile-toggle:focus-visible {
    background: var(--bg-light);
    color: var(--accent);
    outline: none;
}
.mobile-toggle.active {
    color: var(--accent);
    background: var(--bg-cream);
}
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1100;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
body.menu-open {
    overflow: hidden;
    touch-action: none;
}
.mobile-search-bar {
    display: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    background: #fff;
}
.mobile-search-bar .header-search {
    display: block;
    max-width: none;
}
.mobile-nav-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.mobile-nav-close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.2rem;
}
.mobile-nav-close:hover { background: var(--bg-light); color: var(--accent); }
.mobile-nav-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 4px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* === Hero / Slider === */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    display: none;
}
.hero-slide.active { display: flex; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(26,26,46,0.3) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    padding-left: 80px;
}
.hero-content .subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 500;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
    opacity: 0.9;
}
.slider-controls {
    position: absolute;
    bottom: 32px;
    right: 80px;
    display: flex;
    gap: 12px;
    z-index: 10;
    pointer-events: none;
}
.slider-controls .slider-btn {
    pointer-events: auto;
}
.slider-btn {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    background: rgba(26, 26, 46, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto;
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); }
.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.slider-dot {
    width: 12px;
    height: 3px;
    background: rgba(255,255,255,0.4);
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}
.slider-dot.active { width: 32px; background: var(--accent); }

.categories-grid{
    display:grid !important;
    grid-template-columns:repeat(5,1fr) !important;
    gap:18px !important;
}

.category-card{
    position:relative !important;
    height:520px !important;
    border-radius:24px !important;
    overflow:hidden !important;
    display:block !important;
}

.category-card img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    transition:.7s ease !important;
}

.category-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,.2),transparent);
    z-index:1;
}

.category-card-overlay{
    position:absolute !important;
    left:30px !important;
    bottom:30px !important;
    z-index:2 !important;
    color:#fff !important;
}

.category-card-overlay h3{
    color:#fff !important;
    font-size:30px !important;
    text-transform:uppercase !important;
    margin-bottom:8px !important;
}

.category-card-overlay span{
    color:#fff !important;
    letter-spacing:3px !important;
    font-size:12px !important;
}

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

/* === Products Grid === */
.products-section { padding: 80px 0; background: var(--bg-light); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-cream);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.product-badge {
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    color: #fff;
}
.product-badge.sale { background: var(--danger); }
.product-badge.new { background: var(--accent); }
.product-actions-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    display: flex;
    gap: 8px;
    transform: translateY(100%);
    transition: var(--transition);
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}
.product-card:hover .product-actions-overlay { transform: translateY(0); }
.product-action-btn {
    flex: 1;
    padding: 12px;
    background: #fff;
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.product-action-btn:hover { background: var(--primary); color: #fff; }
.product-action-btn.fav-btn { flex: 0 0 44px; }
.product-action-btn.fav-btn.active { color: var(--danger); }
.product-info { padding: 20px; }
.product-category {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin-bottom: 6px;
}
.product-title {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}
.product-title a:hover { color: var(--accent); }
.product-price { display: flex; align-items: center; gap: 10px; }
.current-price { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.old-price { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }
.discount-percent { font-size: 0.75rem; color: var(--danger); font-weight: 600; }

/* === Campaign Banner === */
.campaign-section {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}
.campaign-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(201,169,110,0.1);
}
.campaign-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 2;
}
.campaign-text { flex: 1; color: #fff; }
.campaign-text .subtitle {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.campaign-text h2 { color: #fff; margin-bottom: 16px; }
.campaign-text p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.05rem; }
.countdown {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}
.countdown-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    min-width: 80px;
}
.countdown-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    font-family: var(--font-heading);
}
.countdown-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* === Newsletter === */
.newsletter-section {
    padding: 80px 0;
    background: var(--bg-cream);
    text-align: center;
}
.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 32px auto 0;
    gap: 0;
}
.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
    background: #fff;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
    padding: 16px 32px;
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    white-space: nowrap;
}
.newsletter-form button:hover { background: var(--accent); border-color: var(--accent); }

/* === Features Bar === */
.features-bar {
    padding: 48px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}
.feature-item h4 { font-family: var(--font-main); font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.feature-item p { font-size: 0.8rem; color: var(--text-light); }

/* === Footer === */
.main-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { margin: 16px 0 24px; font-size: 0.9rem; line-height: 1.8; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-col h4 {
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}
.footer-contact li i { color: var(--accent); margin-top: 4px; }
.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}
.footer-bottom a { color: var(--accent); }

/* === Scroll to Top === */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); }

/* === WhatsApp sabit buton (sol alt) === */
.whatsapp-float,
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 64px;
    height: 64px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    z-index: 9990;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp-float:hover,
.whatsapp-btn:hover {
    transform: scale(1.08);
    background: #1fb855;
    color: #fff;
}

/* === Toast Notifications === */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 380px;
}
.toast.show { transform: translateX(0); }
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
.toast i { font-size: 1.2rem; }

/* === Breadcrumb === */
.breadcrumb {
    padding: 16px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumb-list a { color: var(--text-light); }
.breadcrumb-list a:hover { color: var(--accent); }
.breadcrumb-list .separator { color: var(--border); }

/* === Pagination === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.pagination a, .pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    transition: var(--transition);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* === Forms === */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}
.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    background: #fff;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(201,169,110,0.15); }
textarea.form-control { min-height: 120px; resize: vertical; }

/* === Alerts === */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.alert-success { background: rgba(46,204,113,0.1); color: #27ae60; border: 1px solid rgba(46,204,113,0.2); }
.alert-danger { background: rgba(231,76,60,0.1); color: #c0392b; border: 1px solid rgba(231,76,60,0.2); }
.alert-warning { background: rgba(243,156,18,0.1); color: #e67e22; border: 1px solid rgba(243,156,18,0.2); }

/* === Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeIn { animation: fadeIn 0.6s ease forwards; }

/* === Homepage Category System === */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-grid .subcategory-card { height: 320px; cursor: pointer; }
.subcategory-page, .subCategoryPage { display: none; }
.back-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--primary); color: #fff; padding: 14px 20px;
    border-radius: 14px; cursor: pointer; margin-bottom: 30px; border: none;
    font-family: inherit; font-size: 0.9rem;
}
.subcategory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.subcategory-card { height: 320px; border-radius: 20px; overflow: hidden; display: block; }
.subcategory-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s ease; }
.subcategory-card:hover img { transform: scale(1.05); }
.txrow { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.txcol-12 { width: 100%; padding: 0 10px; box-sizing: border-box; }
.box-t-mb-15 { margin-bottom: 15px; }
.blokResimLink { display: block; width: 100%; overflow: hidden; border-radius: var(--radius-md); }
.blokResimLink img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; aspect-ratio: 4/3; object-fit: cover; }
.blokResimLink:hover img { transform: scale(1.02); }
.categories-section { padding: 40px 0; }
@media (min-width: 576px) {
    .txcol-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}

/* === Missing page helpers === */
.login-link, .auth-forgot { text-align: center; font-size: 0.9rem; color: var(--text-light); }
.login-link a, .auth-forgot { color: var(--accent); font-weight: 500; }
.mobile-benefits { display: none; }
.order-detail-page { padding: 32px 0 64px; background: var(--bg-light); }
.checkout-pro-page { padding: 32px 0 80px; background: var(--bg-light); min-height: 70vh; }
.checkout-pro-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mobile-total-bar, .mobile-summary-bar { display: none; }

/* ============================================
   MISSING CSS CLASSES - Ek Stiller
   ============================================ */

/* === Ticker Bar (Kayar Yazı) === */
.ticker-bar { overflow: hidden; background: var(--primary); color: #fff; padding: 8px 0; font-size: 0.8rem; position: relative; }
.ticker-track { display: flex; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-content { display: flex; align-items: center; }
.ticker-item { display: flex; align-items: center; gap: 6px; padding: 0 24px; }
.ticker-separator { color: var(--accent); margin: 0 8px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* === Fixed Top Wrapper === */
.fixed-top-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: #fff;
}
body.menu-open .fixed-top-wrapper { z-index: 1300; }

/* Ticker override - header.php animation duration via inline style on .ticker-content */
.ticker-bar {
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0;
}
.ticker-track { width: 100%; overflow: hidden; animation: none; }
.ticker-content { white-space: nowrap; will-change: transform; }
.ticker-item { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.3px; padding: 0 16px; }
.ticker-separator { font-size: 0.65rem; opacity: 0.7; padding: 0 8px; }
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-bar:hover .ticker-content { animation-play-state: paused; }

/* === Auth Pages (Giriş/Kayıt) === */
.auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--bg-light); }
.auth-card { background: #fff; border-radius: var(--radius-xl); padding: 48px; max-width: 440px; width: 100%; box-shadow: var(--shadow-lg); }
.auth-card h1 { text-align: center; margin-bottom: 8px; font-size: 1.8rem; }
.auth-container { max-width: 440px; margin: 0 auto; padding: 48px 24px; }
.auth-link { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--text-light); }
.auth-link a { color: var(--accent); font-weight: 500; }
.auth-links { text-align: center; margin-top: 16px; }
.auth-links a { color: var(--accent); font-weight: 500; margin: 0 8px; }

/* === Account Pages (Hesabım) === */
.account-page { padding: 48px 0; background: var(--bg-light); min-height: 70vh; }
.account-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.account-sidebar { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); height: fit-content; }
.account-user { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); margin-bottom: 16px; }
.account-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 600; margin: 0 auto 12px; }
.account-menu { list-style: none; }
.account-menu li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-md); color: var(--text-light); font-size: 0.9rem; transition: var(--transition); }
.account-menu li a:hover, .account-menu li a.active { background: var(--bg-light); color: var(--accent); font-weight: 500; }
.account-content { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }

/* === Account Panel Mobile Nav === */
.account-page-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.account-page-header h1 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary);
    margin: 0;
}
.account-mobile-nav {
    display: none;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
}
.account-mobile-nav::-webkit-scrollbar { display: none; }
.account-mobile-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.account-mobile-nav a i { font-size: 0.85rem; }
.account-mobile-nav a.active,
.account-mobile-nav a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.account-mobile-nav a.logout-link {
    color: var(--danger);
    border-color: rgba(231, 76, 60, 0.25);
    background: #fff5f5;
}
.account-mobile-nav a.logout-link.active,
.account-mobile-nav a.logout-link:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: #fff;
}

/* === Cart Page (Sepet) === */
.cart-page { padding: 48px 0; background: var(--bg-light); min-height: 60vh; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 16px; background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
.cart-item-info { flex: 1; }
.cart-item-actions { display: flex; align-items: center; gap: 12px; }
.cart-qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.cart-remove { color: var(--danger); cursor: pointer; padding: 8px; border: none; background: none; font-size: 1.1rem; }
.cart-remove:hover { opacity: 0.7; }
.cart-summary { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); height: fit-content; position: sticky; top: 120px; }
.cart-empty { text-align: center; padding: 60px 24px; background: #fff; border-radius: var(--radius-lg); }

/* === Checkout Page (Ödeme) === */
.checkout-page { padding: 48px 0; background: var(--bg-light); min-height: 60vh; }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.checkout-form { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.checkout-steps { display: flex; justify-content: center; gap: 48px; margin-bottom: 32px; }
.checkout-summary { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); height: fit-content; position: sticky; top: 120px; }
.checkout-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.checkout-item-info { flex: 1; }
.checkout-item-price { font-weight: 600; color: var(--accent); white-space: nowrap; }

/* === Product Detail (Ürün Detay) === */
.pd-container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: var(--container); margin: 0 auto; padding: 48px 24px; }
.pd-gallery { position: relative; }
.pd-main-img { width: 100%; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.pd-thumb { width: 72px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: 0.6; transition: var(--transition); }
.pd-thumb:hover, .pd-thumb.active { opacity: 1; border-color: var(--accent); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding-top: 16px; }
.pd-code { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.pd-price { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.pd-stars { display: flex; align-items: center; gap: 4px; color: var(--accent); margin-bottom: 12px; }
.pd-desc-short { color: var(--text-light); line-height: 1.7; margin-bottom: 24px; font-size: 0.95rem; }
.pd-options { margin-bottom: 24px; }
.pd-option-label { font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; display: block; }
.pd-colors { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-color { width: 36px; height: 36px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.pd-color:hover, .pd-color.selected { border-color: var(--primary); transform: scale(1.1); }
.pd-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-size { padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: 0.85rem; transition: var(--transition); }
.pd-size:hover, .pd-size.selected { border-color: var(--accent); background: var(--accent); color: #fff; }
.pd-qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; width: fit-content; margin-bottom: 24px; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.pd-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.pd-feature { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-light); }
.pd-feature i { color: var(--accent); }
.pd-tabs { margin-top: 48px; }
.pd-tab-nav { display: flex; border-bottom: 2px solid var(--border-light); margin-bottom: 24px; }
.pd-tab-btn { padding: 12px 24px; border: none; background: none; cursor: pointer; font-weight: 500; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition); }
.pd-tab-btn:hover, .pd-tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.pd-tab-content { display: none; }
.pd-tab-content.active { display: block; }

/* === Quantity Controls === */
.qty-input { width: 48px; text-align: center; border: none; font-size: 0.95rem; font-weight: 500; background: transparent; }
.qty-minus, .qty-plus { width: 36px; height: 36px; border: none; background: none; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; color: var(--text); transition: var(--transition); }
.qty-minus:hover, .qty-plus:hover { color: var(--accent); }

/* === Search Box === */
.search-box { position: relative; }
.search-box input { width: 100%; padding: 12px 16px 12px 40px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.9rem; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

/* === Order Pages (Sipariş) === */
.order-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.order-list-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.order-list-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--bg-light); border-bottom: 1px solid var(--border-light); }
.order-list-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.order-products { padding: 16px 20px; }
.order-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.order-status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; }
.order-detail-btn { color: var(--accent); font-weight: 500; font-size: 0.85rem; }

/* === Tracking Page (Sipariş Takip) === */
.tracking-page { padding: 48px 0; background: var(--bg-light); min-height: 60vh; }
.tracking-search { max-width: 600px; margin: 0 auto 32px; background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.tracking-result { max-width: 800px; margin: 0 auto; }

/* === Status Timeline === */
.status-timeline { display: flex; justify-content: space-between; position: relative; margin: 32px 0; }
.timeline-steps { display: flex; justify-content: space-between; position: relative; width: 100%; }
.timeline-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; }
.timeline-progress { position: absolute; top: 16px; left: 0; right: 0; height: 3px; background: var(--border-light); }

/* === Step Components === */
.step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.step-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--border-light); color: var(--text-muted); }
.step-icon.active { background: var(--accent); color: #fff; }
.step-num { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--border-light); color: var(--text-muted); font-weight: 600; font-size: 0.85rem; }
.step-text { font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.step-line { flex: 1; height: 2px; background: var(--border-light); margin-top: 16px; }

/* === Summary Row === */
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; }
.summary-row.total { font-weight: 700; font-size: 1.1rem; border-top: 2px solid var(--border); padding-top: 12px; margin-top: 8px; }

/* === Payment Options === */
.payment-option { display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px solid var(--border); border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); margin-bottom: 12px; }
.payment-option:hover, .payment-option.selected { border-color: var(--accent); }
.payment-options { margin: 16px 0; }

/* === Bank Card === */
.bank-card { background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 16px; border-left: 4px solid var(--accent); }
.bank-name { font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.bank-owner { color: var(--text-light); font-size: 0.9rem; margin-bottom: 4px; }
.bank-iban { font-family: monospace; font-size: 0.9rem; color: var(--text); letter-spacing: 1px; }

/* === IBAN Section === */
.iban-section { margin: 16px 0; }

/* === Copy Button === */
.copy-btn { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 12px; cursor: pointer; font-size: 0.8rem; transition: var(--transition); }
.copy-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* === Coupon Form === */
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; }
.coupon-form button { padding: 10px 20px; }

/* === Dekont Upload === */
.dekont-upload { margin: 16px 0; }
.dekont-dropzone { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: 40px; text-align: center; cursor: pointer; transition: var(--transition); }
.dekont-dropzone:hover { border-color: var(--accent); background: var(--bg-light); }
.dekont-preview { margin-top: 12px; }

/* === Detail Pages (Sipariş Detay) === */
.detail-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.detail-back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-light); margin-bottom: 16px; font-size: 0.9rem; }
.detail-back:hover { color: var(--accent); }
.detail-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 0.9rem; }
.detail-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-products { margin-top: 16px; }
.detail-product-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }

/* === DP (Detail Product) Items === */
.dp-img { width: 64px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.dp-img img { width: 100%; height: 100%; object-fit: cover; }
.dp-info { flex: 1; }
.dp-name { font-weight: 500; font-size: 0.9rem; }
.dp-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.dp-price { font-weight: 600; color: var(--accent); white-space: nowrap; }

/* === P (Product) Items === */
.p-info { flex: 1; }
.p-name { font-weight: 500; font-size: 0.9rem; }
.p-meta { font-size: 0.8rem; color: var(--text-muted); }
.p-price { font-weight: 600; color: var(--accent); }

/* === Product Item (List View) === */
.product-item { display: flex; gap: 16px; padding: 16px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

/* === Review Cards === */
.review-card { background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--accent); }
.review-author { font-weight: 500; font-size: 0.9rem; }
.review-stars { color: var(--accent); font-size: 0.85rem; }

/* === Star Rating === */
.star-rating { display: flex; gap: 4px; }
.star-rating i { cursor: pointer; color: var(--border); font-size: 1.2rem; transition: var(--transition); }
.star-rating i.active, .star-rating i:hover { color: var(--accent); }

/* === Kargo Box === */
.kargo-box { display: flex; align-items: center; gap: 16px; background: var(--bg-light); border-radius: var(--radius-md); padding: 16px; margin: 16px 0; }
.kargo-icon { font-size: 1.5rem; color: var(--accent); }
.kargo-info { flex: 1; }
.kargo-takip-btn { display: inline-block; padding: 8px 16px; background: var(--accent); color: #fff; border-radius: var(--radius-sm); font-size: 0.85rem; }

/* === İptal Box === */
.iptal-box { background: #fff3cd; border: 1px solid #ffc107; border-radius: var(--radius-md); padding: 16px; margin: 16px 0; }

/* === Ödeme Badge === */
.odeme-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; }
.odeme-bekliyor { background: #fff3cd; color: #856404; }
.odeme-onaylandi { background: #d4edda; color: #155724; }
.odeme-reddedildi { background: #f8d7da; color: #721c24; }

/* === Legal Pages (KVKK, Gizlilik vb.) === */
.legal-container { max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.legal-container h1 { font-family: var(--font-heading); margin-bottom: 24px; }
.legal-container h2 { margin-top: 32px; margin-bottom: 12px; }
.legal-container p { margin-bottom: 16px; line-height: 1.8; color: var(--text-light); }
.legal-note { background: var(--bg-light); border-left: 4px solid var(--accent); padding: 16px; border-radius: var(--radius-sm); margin: 16px 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal-table th, .legal-table td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; font-size: 0.9rem; }
.legal-table th { background: var(--bg-light); font-weight: 600; }

/* === Error Pages === */
.error-container { text-align: center; padding: 80px 24px; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error-code { font-size: 6rem; font-weight: 700; color: var(--accent); font-family: var(--font-heading); }

/* === WhatsApp Chat Widget === */
.wp-support-btn { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); z-index: 999; border: none; transition: var(--transition); }
.wp-support-btn:hover { transform: scale(1.1); }
.wp-chat-container { position: fixed; bottom: 96px; right: 24px; width: 360px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 999; display: none; overflow: hidden; }
.wp-chat-container.active { display: block; }
.wp-chat-header { background: #075e54; color: #fff; padding: 16px; display: flex; align-items: center; gap: 12px; }
.wp-chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: #128c7e; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.wp-chat-info { flex: 1; }
.wp-chat-name { font-weight: 600; font-size: 0.95rem; }
.wp-chat-status { font-size: 0.75rem; opacity: 0.8; display: flex; align-items: center; gap: 4px; }
.wp-chat-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #25d366; }
.wp-chat-close { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; }
.wp-chat-body { padding: 20px; background: #ece5dd; min-height: 120px; }
.wp-chat-bubble { background: #fff; padding: 10px 14px; border-radius: 0 8px 8px 8px; max-width: 85%; font-size: 0.9rem; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.wp-chat-time { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }
.wp-chat-footer { padding: 12px; display: flex; gap: 8px; border-top: 1px solid var(--border-light); }
.wp-chat-input { flex: 1; padding: 10px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: 0.9rem; outline: none; }
.wp-chat-send { width: 40px; height: 40px; border-radius: 50%; background: #25d366; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* === Popup Styles === */
.po-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.po-desc { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* === Form Row === */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* === Alert Error === */
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; }

/* === File Upload === */
.file-info { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.file-name { font-size: 0.85rem; color: var(--text-light); }
.file-size { font-size: 0.8rem; color: var(--text-muted); }
.remove-file { color: var(--danger); cursor: pointer; font-size: 0.85rem; }

/* === Info Components === */
.info-note { background: var(--bg-light); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: var(--radius-sm); margin: 12px 0; font-size: 0.9rem; }
.info-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; }


/* Favori Buton Dinamik Renkleri */
.btn-outline.active {
    background: #ff4757 !important;
    color: #fff !important;
    border-color: #ff4757 !important;
}
.btn-outline.active i {
    color: #fff !important;
}
.btn-outline i.fas.fa-heart {
    color: #ff4757;
}
.btn-outline.active i.fas.fa-heart {
    color: #fff;
}
.btn-outline i.fas.fa-heart { color: #ff4757; }
.product-action-btn.fav-btn { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; z-index: 5; }
.product-action-btn.fav-btn.active { background: #ff4757; }
.product-action-btn.fav-btn.active i { color: #fff; }
.btn-outline.active { background: #ff4757 !important; color: #fff !important; border-color: #ff4757 !important; }
.btn-outline.active i { color: #fff !important; }
.btn-outline i.fas.fa-heart { color: #ff4757; }
.product-action-btn.fav-btn { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; z-index: 5; }
.product-action-btn.fav-btn.active { background: #ff4757; }
.product-action-btn.fav-btn.active i { color: #fff; }
/* ALT KATEGORİLER */

.sub-category-wrapper{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:16px;
    margin:30px 0;
}

.sub-category-card{
    background:#fff;
    border:1px solid #eee;
    border-radius:16px;
    padding:18px;
    display:flex;
    align-items:center;
    gap:16px;
    text-decoration:none;
    transition:.3s;
    position:relative;
    overflow:hidden;
}

.sub-category-card:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border-color:#ddd;
}

.sub-category-icon{
    width:58px;
    height:58px;
    border-radius:14px;
    background:#f5f5f5;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    color:#111;
    flex-shrink:0;
}

.sub-category-content{
    flex:1;
}

.sub-category-content h3{
    margin:0;
    font-size:16px;
    color:#111;
    font-weight:600;
}

.sub-category-content span{
    display:block;
    margin-top:6px;
    color:#888;
    font-size:13px;
}

.sub-category-arrow{
    color:#999;
    font-size:14px;
}

.back-button{
    display:inline-flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    background:#111;
    color:#fff;
    padding:10px 18px;
    border-radius:10px;
    font-size:14px;
    transition:.3s;
}

.back-button:hover { opacity: .85; }

/* ============================================
   RESPONSIVE - Must stay at end of file
   ============================================ */
@media (min-width: 769px) {
    .mobile-nav-overlay { display: none !important; }
    .mobile-search-bar { display: none !important; }
}

@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .hero-content { padding-left: 40px; max-width: 520px; }
    .slider-controls { right: 40px; }
    .campaign-content { flex-direction: column; text-align: center; gap: 40px; }
    .categories-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
    .category-card { height: 380px !important; }
    .products-section { padding: 64px 0; }
    .pd-container { gap: 32px; padding: 32px 20px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr 320px; gap: 24px; }
    .account-layout { grid-template-columns: 240px 1fr; gap: 24px; }
    .sub-category-wrapper { grid-template-columns: repeat(2, 1fr); }
    .category-grid, .subcategory-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .top-bar { padding: 6px 0; font-size: 0.72rem; }
    .top-bar-center { display: none; }
    .header-inner { flex-wrap: nowrap; gap: 10px; padding: 10px 0; }
    .logo { order: 1; flex: 1; min-width: 0; }
    .logo a { font-size: 1.25rem; letter-spacing: 1.5px; }
    .mobile-toggle { display: inline-flex; order: 0; flex-shrink: 0; }
    .header-actions { order: 2; gap: 12px; margin-left: auto; flex-shrink: 0; }
    .header-action span:not(.badge) { display: none; }
    .header-action .cart-total { display: none; }
    .header-inner > .header-search { display: none; }
    .mobile-search-bar { display: block; padding: 10px 0; border-top: 1px solid var(--border-light); }
    .mobile-search-bar .header-search { display: block; width: 100%; max-width: none; }
    .main-nav {
        position: fixed; top: 0; left: 0;
        width: min(320px, 88vw); height: 100vh; height: 100dvh;
        background: #fff; box-shadow: var(--shadow-lg);
        transform: translateX(-105%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1400; overflow-y: auto;
        overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        border-bottom: none;
    }
    .main-nav.open { transform: translateX(0); }
    .mobile-nav-header { display: flex; }
    .nav-list { flex-direction: column; align-items: stretch; padding: 8px 0 24px; }
    .nav-list > li { border-bottom: 1px solid var(--border-light); }
    .nav-list > li > a { padding: 16px 20px; font-size: 0.82rem; }
    .nav-list > li > a::after { display: none; }
    .nav-dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; background: var(--bg-light);
        max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
    }
    .nav-list > li.dropdown-open .nav-dropdown,
    .nav-list > li:focus-within .nav-dropdown { max-height: 480px; }
    .nav-dropdown a { padding: 12px 20px 12px 36px; font-size: 0.82rem; }
    .hero-slide { height: 58vh; min-height: 360px; max-height: 560px; }
    .hero-content { padding: 0 20px 56px; max-width: 100%; }
    .hero-content h1 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
    .hero-slider { touch-action: pan-y pinch-zoom; }
    .slider-controls {
        top: 50%;
        bottom: auto;
        right: auto;
        left: 0;
        width: 100%;
        transform: translateY(-50%);
        justify-content: space-between;
        padding: 0 10px;
    }
    .slider-btn {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
        border-width: 1.5px;
    }
    .slider-dots {
        bottom: 18px;
        gap: 8px;
        padding: 6px 14px;
        background: rgba(26, 26, 46, 0.4);
        border-radius: 999px;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    .slider-dot {
        width: 28px;
        height: 4px;
        min-height: 28px;
        display: flex;
        align-items: center;
        background: transparent;
    }
    .slider-dot::before {
        content: "";
        display: block;
        width: 100%;
        height: 4px;
        background: rgba(255,255,255,0.45);
        border-radius: 3px;
        transition: var(--transition);
    }
    .slider-dot.active::before {
        background: var(--accent);
    }
    .slider-dot.active { width: 40px; }
    .section-title { margin-bottom: 32px; }
    .products-section, .newsletter-section { padding: 48px 0; }
    .campaign-section { padding: 56px 0; }
    .features-bar { padding: 32px 0; }
    .categories-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
    .category-card { height: 280px !important; }
    .category-grid, .subcategory-grid { grid-template-columns: repeat(2, 1fr); }
    .subcategory-card, .category-grid .subcategory-card { height: 220px; }
    .categories-section { padding: 28px 0; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-actions-overlay { transform: translateY(0); }
    .features-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; gap: 10px; }
    .newsletter-form input { border-right: 2px solid var(--border); border-radius: var(--radius-sm); }
    .newsletter-form button { border-radius: var(--radius-sm); width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .footer-brand, .footer-social { text-align: center; justify-content: center; }
    .scroll-top { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); right: 16px; }
    .whatsapp-float, .whatsapp-btn { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 16px; }
    .toast { top: 16px; right: 16px; left: 16px; max-width: none; }
    .account-layout, .cart-layout, .checkout-layout { grid-template-columns: 1fr !important; padding: 0 16px; }
    .account-sidebar { display: none !important; }
    .account-mobile-nav { display: flex !important; }
    .account-page-header { display: flex !important; }
    .account-page, .cart-page, .checkout-page, .tracking-page, .checkout-pro-page { padding: 24px 0 80px; }
    .account-content, .checkout-form, .cart-summary, .checkout-summary { padding: 20px; }
    .cart-summary, .checkout-summary { position: static; top: auto; }
    .pd-container { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px; }
    .pd-actions { flex-direction: column; }
    .pd-actions .btn { width: 100%; }
    .pd-tab-nav { overflow-x: auto; flex-wrap: nowrap; }
    .pd-features, .detail-info-grid, .form-row { grid-template-columns: 1fr; }
    .order-list-header, .order-list-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
    .checkout-steps { gap: 12px; flex-wrap: wrap; }
    .status-timeline, .timeline-steps { flex-direction: column; align-items: flex-start; }
    .timeline-progress { display: none; }
    .sub-category-wrapper { grid-template-columns: 1fr; }
    .auth-page { padding: 32px 16px; min-height: auto; }
    .auth-card { padding: 32px 24px; }
    .legal-container { padding: 32px 16px; }
    .legal-table { display: block; overflow-x: auto; }
    .wp-chat-container { width: calc(100vw - 24px); right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
    .breadcrumb-list { flex-wrap: wrap; }
    .pagination { flex-wrap: wrap; }
    .ticker-bar { height: 32px; }
    .ticker-item { font-size: 0.75rem; padding: 0 12px; }
    .mobile-benefits { display: block; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-light); }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .container { padding: 0 14px; }
    .top-bar { display: none; }
    .logo a { font-size: 1.1rem; }
    .hero-slide { min-height: 300px; height: 50vh; }
    .hero-content { padding-bottom: 52px; }
    .slider-btn { width: 38px; height: 38px; font-size: 0.8rem; }
    .slider-controls { padding: 0 6px; }
    .slider-dots { bottom: 14px; padding: 5px 12px; }
    .categories-grid { gap: 10px !important; }
    .category-card { height: 220px !important; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-info { padding: 10px; }
    .product-title { font-size: 0.8rem; }
    .btn { padding: 12px 20px; font-size: 0.78rem; }
    .category-grid, .subcategory-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .subcategory-card { height: 180px; }
    .txcol-sm-4 { flex: 0 0 50%; max-width: 50%; }
    .auth-card { padding: 28px 18px; }
    .bank-iban { font-size: 0.72rem; word-break: break-all; white-space: normal; }
    .back-button { width: 100%; justify-content: center; }
}

@media (max-width: 360px) {
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr !important; }
    .txcol-sm-4 { flex: 0 0 100%; max-width: 100%; }
}

/* ============================================
   SITE POPUP — Premium Modal
   ============================================ */
body.site-popup-open {
    overflow: hidden;
    touch-action: none;
}

.site-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(26, 26, 46, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.site-popup-overlay.is-closing {
    opacity: 0;
    visibility: hidden;
}

.site-popup {
    --popup-bg: #ffffff;
    position: relative;
    width: min(100%, 480px);
    max-height: min(90vh, 720px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--popup-bg);
    border-radius: 28px;
    border: 1px solid rgba(201, 169, 110, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 32px 80px rgba(26, 26, 46, 0.28),
        0 8px 24px rgba(26, 26, 46, 0.12);
    transform: translateY(28px) scale(0.94);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.site-popup-overlay.is-visible .site-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.site-popup-overlay.is-closing .site-popup {
    transform: translateY(16px) scale(0.96);
    opacity: 0;
}

.site-popup::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%);
    z-index: 1;
}

.site-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.site-popup-close svg {
    width: 18px;
    height: 18px;
}

.site-popup-close:hover {
    transform: rotate(90deg) scale(1.05);
    background: #fff;
    border-color: var(--accent);
    color: var(--accent-dark);
}

.site-popup-media {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    max-height: 280px;
    background: linear-gradient(135deg, var(--bg-cream), var(--border-light));
}

.site-popup-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-popup-overlay.is-visible .site-popup-media img {
    transform: scale(1);
}

.site-popup-media-glow {
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.35), transparent);
    pointer-events: none;
}

.site-popup--no-media::after {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 28px;
}

.site-popup-body {
    position: relative;
    z-index: 2;
    padding: 28px 32px 32px;
    text-align: center;
    overflow-y: auto;
}

.site-popup--no-media .site-popup-body {
    padding-top: 52px;
}

.site-popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(201, 169, 110, 0.12);
    border: 1px solid rgba(201, 169, 110, 0.22);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-popup-badge::before {
    content: '✦';
    font-size: 0.65rem;
    opacity: 0.85;
}

.site-popup-title {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 4vw, 1.85rem);
    line-height: 1.25;
    color: var(--primary);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.site-popup-accent {
    display: block;
    width: 48px;
    height: 2px;
    margin: 0 auto 18px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent-dark));
    border-radius: 2px;
}

.site-popup-text {
    margin: 0 0 28px;
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.75;
    max-width: 38ch;
    margin-left: auto;
    margin-right: auto;
}

.site-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-popup-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 52%, var(--accent-dark) 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(201, 169, 110, 0.35);
    transition: var(--transition);
}

.site-popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(201, 169, 110, 0.42);
    color: #fff;
}

.site-popup-dismiss {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-light);
    font-size: 0.84rem;
    font-weight: 600;
    transition: var(--transition);
}

.site-popup-dismiss:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
}

.site-popup--dark .site-popup-close {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.site-popup--dark .site-popup-close:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.site-popup--dark .site-popup-title {
    color: #fff;
}

.site-popup--dark .site-popup-text {
    color: rgba(255, 255, 255, 0.78);
}

.site-popup--dark .site-popup-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--accent-light);
}

.site-popup--dark .site-popup-dismiss {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.82);
}

.site-popup--dark .site-popup-dismiss:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

@media (max-width: 520px) {
    .site-popup-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .site-popup {
        width: 100%;
        max-height: 92vh;
        border-radius: 24px 24px 20px 20px;
    }

    .site-popup-body {
        padding: 22px 22px 26px;
    }

    .site-popup--no-media .site-popup-body {
        padding-top: 48px;
    }

    .site-popup-media {
        aspect-ratio: 4 / 3;
        max-height: 220px;
    }

    .site-popup-text {
        font-size: 0.92rem;
        margin-bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-popup-overlay,
    .site-popup,
    .site-popup-media img,
    .site-popup-close {
        transition: none !important;
        animation: none !important;
    }
}
