/* ============================================
   AZELDEM BUTİK - Premium E-Ticaret Tasarımı
   ============================================ */

/* === RESET & VARIABLES === */
:root {
    --brand: #B89C7D;
    --brand-dark: #9A7E5F;
    --brand-light: #D4C4B0;
    --brand-pale: #F5F0EB;
    --text-dark: #2C2C2C;
    --text-body: #555;
    --text-muted: #999;
    --bg-white: #FFFFFF;
    --bg-light: #FAFAF8;
    --bg-cream: #F9F6F2;
    --border: #E8E0D8;
    --border-light: #F0EBE5;
    --success: #4CAF50;
    --danger: #E53935;
    --warning: #FF9800;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 40px rgba(184,156,125,0.2);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* === TOP BAR === */
.top-bar {
    background: var(--text-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    padding: 6px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar strong { color: var(--brand-light); }
.top-bar i { margin-right: 4px; color: var(--brand); }
.top-bar-divider { opacity: 0.3; margin: 0 8px; }

/* === HEADER === */
.main-header {
    background: var(--bg-white);
    padding: 18px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.97);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.logo, .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 2px;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--brand);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Search */
.search-form {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    background: var(--bg-light);
    transition: var(--transition);
    outline: none;
}

.search-form input:focus {
    border-color: var(--brand);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(184,156,125,0.15);
}

.search-form button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--brand);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover { background: var(--brand-dark); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-body);
}

.header-action-item i {
    font-size: 1.2rem;
    margin-bottom: 3px;
    color: var(--text-dark);
}

.header-action-item:hover {
    background: var(--brand-pale);
    color: var(--brand-dark);
}

.header-action-item:hover i { color: var(--brand); }

.cart-badge {
    position: absolute;
    top: 2px;
    right: 6px;
    background: var(--brand);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
}

/* === NAVIGATION === */
.main-nav {
    background: var(--bg-white);
    border-bottom: 2px solid var(--brand-pale);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--brand-dark);
    border-bottom-color: var(--brand);
}

.nav-menu > li > a i { font-size: 0.8rem; }

.nav-highlight { color: var(--brand) !important; }
.nav-sale { color: var(--danger) !important; font-weight: 600 !important; }

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
    border: 1px solid var(--border-light);
    padding: 8px 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.88rem;
    color: var(--text-body);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--brand-pale);
    color: var(--brand-dark);
    padding-left: 25px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-light);
    margin: 6px 0;
}

/* === HERO / SLIDER === */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-cream);
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: top center;
    align-items: center;
}

.hero-slide.active { display: flex; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(44,44,44,0.7) 0%, rgba(44,44,44,0.2) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    padding: 60px;
    color: white;
}

.hero-content .hero-tag {
    display: inline-block;
    background: var(--brand);
    color: white;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--brand);
    width: 30px;
    border-radius: 6px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

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

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(184,156,125,0.4);
}

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

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

.btn-dark {
    background: var(--text-dark);
    color: white;
}

.btn-dark:hover {
    background: #444;
    transform: translateY(-1px);
}

.btn-lg { padding: 15px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* === SECTION HEADINGS === */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.section-header h2 span {
    color: var(--brand);
}

.section-header a {
    color: var(--brand);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-header a:hover { color: var(--brand-dark); }

/* === PRODUCT GRID === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-light);
}

.product-card .badge-container {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
}

.product-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale { background: var(--danger); color: white; }
.badge-new { background: var(--brand); color: white; }
.badge-out { background: var(--text-muted); color: white; }

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.product-actions button,
.product-actions a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.product-actions button:hover,
.product-actions a:hover {
    background: var(--brand);
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-title {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.product-title a {
    color: inherit;
    transition: var(--transition);
}

.product-title a:hover { color: var(--brand); }

.product-pricing {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.product-old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-discount {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--danger);
    margin-left: auto;
}

.product-sizes {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.product-sizes span {
    font-size: 0.68rem;
    padding: 2px 6px;
    border: 1px solid var(--border);
    border-radius: 3px;
    color: var(--text-muted);
}

/* === CATEGORY CARDS === */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

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

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(44,44,44,0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: white;
}

.category-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.category-card-overlay span {
    font-size: 0.82rem;
    opacity: 0.8;
}

/* === BANNER / PROMO === */
.promo-banner {
    background: linear-gradient(135deg, var(--brand-pale) 0%, var(--bg-cream) 100%);
    border-radius: var(--radius-lg);
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px 0;
    overflow: hidden;
    position: relative;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(184,156,125,0.15);
}

.promo-content { position: relative; z-index: 2; max-width: 500px; }

.promo-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.promo-content p {
    color: var(--text-body);
    margin-bottom: 20px;
}

/* === FEATURES BAR === */
.features-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--brand-light);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--brand-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* === PRODUCT DETAIL === */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 40px 0;
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
    aspect-ratio: 3/4;
}

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

.detail-thumbs {
    display: flex;
    gap: 8px;
}

.detail-thumbs img {
    width: 70px;
    height: 90px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.detail-thumbs img:hover,
.detail-thumbs img.active {
    border-color: var(--brand);
}

.detail-info {
    padding-top: 10px;
}

.detail-breadcrumb {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.detail-breadcrumb a { color: var(--brand); }
.detail-breadcrumb span { margin: 0 6px; }

.detail-info h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.detail-pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.detail-old-price {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.detail-discount-tag {
    background: var(--danger);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
}

.detail-desc {
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.size-label {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.size-option {
    padding: 10px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    background: white;
    transition: var(--transition);
}

.size-option:hover { border-color: var(--brand); }
.size-option.active {
    border-color: var(--brand);
    background: var(--brand);
    color: white;
}

.detail-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.detail-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-body);
}

.detail-meta-item i {
    color: var(--brand);
    width: 20px;
    text-align: center;
}

/* === CART PAGE === */
.cart-page { padding: 40px 0; }

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th {
    text-align: left;
    padding: 14px;
    border-bottom: 2px solid var(--border);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.cart-table td {
    padding: 18px 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-product-cell img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-product-cell .info h4 {
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-product-cell .info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}

.qty-control button {
    width: 36px;
    height: 36px;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.qty-control button:hover { background: var(--brand-pale); }

.qty-control input {
    width: 45px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
}

.cart-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}

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

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.cart-summary {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-light);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-body);
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    margin-top: 10px;
    border-top: 2px solid var(--brand);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* === AUTH PAGES === */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    border: 1px solid var(--border-light);
}

.auth-card h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(184,156,125,0.12);
}

.form-error {
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 4px;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.auth-link a {
    color: var(--brand);
    font-weight: 600;
}

.auth-link a:hover { color: var(--brand-dark); }

/* === CHECKOUT === */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding: 40px 0;
    align-items: start;
}

.checkout-section {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}

.checkout-section h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

/* === ACCOUNT PAGE === */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 40px 0;
}

.account-sidebar {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-light);
    position: sticky;
    top: 100px;
}

.account-sidebar .user-info {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.account-sidebar .user-info .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--brand-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    font-size: 1.5rem;
    color: var(--brand);
}

.account-sidebar .user-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.account-sidebar .user-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-body);
    transition: var(--transition);
}

.account-nav a:hover,
.account-nav a.active {
    background: var(--brand-pale);
    color: var(--brand-dark);
}

.account-nav a i { width: 18px; text-align: center; }

.account-content {
    min-height: 400px;
}

.order-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
}

.order-status {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

.status-hazirlaniyor { background: #FFF3E0; color: #E65100; }
.status-kargolandi { background: #E3F2FD; color: #1565C0; }
.status-teslim { background: #E8F5E9; color: #2E7D32; }
.status-iptal { background: #FFEBEE; color: #C62828; }

/* === BREADCRUMB === */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumb a { color: var(--text-body); transition: var(--transition); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; }

/* === PAGE TITLE === */
.page-title-section {
    background: var(--bg-cream);
    padding: 32px 0;
    margin-bottom: 30px;
}

.page-title-section h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 40px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.pagination .active {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

/* === FILTER SIDEBAR === */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 30px 0;
}

.filter-sidebar {
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-body);
    cursor: pointer;
}

.filter-group label:hover { color: var(--brand-dark); }

.price-range-inputs {
    display: flex;
    gap: 8px;
}

.price-range-inputs input {
    width: 50%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    text-align: center;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.shop-toolbar span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.shop-toolbar select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-family: var(--font-body);
    background: white;
}

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

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

/* === EMPTY STATE === */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* === ALERT === */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.88rem;
}

.alert-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.alert-error { background: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A; }
.alert-info { background: #E3F2FD; color: #1565C0; border: 1px solid #90CAF9; }

/* === FOOTER === */
.site-footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.75);
    margin-top: 60px;
}

.footer-top {
    padding: 50px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo .logo-text { color: white; }
.footer-logo .logo-sub { color: var(--brand-light); }

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: white;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--brand-light);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.footer-contact i {
    color: var(--brand);
    width: 16px;
}

.trust-badges {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

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

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

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

.payment-icons {
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; }
    .features-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar-right { display: none; }
    
    .header-inner { flex-wrap: wrap; }
    
    .search-form {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        margin-top: 10px;
    }
    
    .header-action-item span { display: none; }
    
    .mobile-menu-toggle { display: block; }
    
    .nav-menu {
        display: none;
        flex-direction: column;
    }
    
    .nav-menu.active { display: flex; }
    
    .nav-menu > li > a {
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-light);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--bg-light);
    }

    .has-dropdown.open .dropdown-menu { display: block; }
    
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .category-grid { grid-template-columns: 1fr; }
    
    .hero-content { padding: 30px; }
    .hero-content h1 { font-size: 2rem; }
    .hero-slide { min-height: 350px; }
    
    .promo-banner {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .features-bar { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-info { padding: 10px; }
    .product-title { font-size: 0.82rem; min-height: auto; }
    .product-price { font-size: 0.95rem; }
    .product-old-price { font-size: 0.72rem; }
    
    .header-actions { gap: 2px; }
    .header-action-item { padding: 8px 8px; }
    
    .container { padding: 0 12px; }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.product-card {
    animation: fadeIn 0.5s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

/* === MOBILE HERO SLIDER FIX === */
@media (max-width: 768px) {
    .hero-slide-wrapper {
        flex-direction: column !important;
        text-align: center;
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    .hero-text-side {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-img-side img {
        max-height: 250px !important;
    }
    .hero-img-side div {
        width: 200px !important;
        height: 200px !important;
    }
}
