/**
 * Frontend Styles - seofdnet Style Theme
 * E-Commerce System
 */

/* ==================== CSS Variables ==================== */
:root {
    /* Primary Colors - Orange */
    --primary: #F97316;
    --primary-hover: #EA580C;
    --primary-light: rgba(249, 115, 22, 0.1);

    /* Secondary Colors - Dark Blue */
    --secondary: #1E3A5F;
    --secondary-light: #2D4A6F;

    /* Background Colors */
    --bg-main: #ffffff;
    --bg-white: #ffffff;
    --bg-dark: #1E3A5F;

    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #9ca3af;
    --text-white: #ffffff;

    /* Status Colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Border & Shadow */
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

    /* Layout */
    --container-width: 1400px;
    --header-height: 80px;
    --border-radius: 8px;
    --border-radius-lg: 12px;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

/* Tarayıcının kendi odak halkasını kapat — odak durumu border rengiyle gösterilir */
input:focus,
textarea:focus,
select:focus,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: none;
}

body {
    font-family: var(--font-family, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    font-weight: var(--site-font-weight, 400);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ==================== Container ==================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Header ==================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--secondary);
    color: var(--text-white);
    padding: 8px 0;
    font-size: 13px;
}

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

.header-top a {
    color: var(--text-white);
}

.header-top a:hover {
    color: var(--primary);
}

.header-main {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.logo span {
    color: var(--primary);
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 500px;
}

.search-bar form {
    display: flex;
    background: var(--bg-main);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.search-bar form:focus-within {
    border-color: var(--primary);
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.search-bar button {
    padding: 12px 20px;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--primary-hover);
}

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

.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 14px;
}

.header-action i {
    font-size: 22px;
    color: var(--text-secondary);
}

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

.cart-count {
    background: var(--primary);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: -5px;
    margin-top: -15px;
}

/* Navigation */
.nav {
    background: var(--secondary);
    border-top: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

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

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 15px 25px;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu a.active {
    color: var(--text-white);
    background: rgba(16, 185, 129, 0.2);
    border-bottom-color: var(--primary);
}

/* ==================== Hero Section ==================== */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #0f172a 100%);
    color: var(--text-white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(16,185,129,0.1)"/></svg>');
    background-size: 200px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-main);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
}

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

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

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

/* ==================== Categories ==================== */
.categories {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.category-card span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== Products ==================== */
.products {
    padding: 50px 0;
    background: var(--bg-white);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.products-header h2 {
    font-size: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* ==================== Premium Product Cards ==================== */
/* ==================== Premium Product Cards Redesign ==================== */
.product-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.product-image {
    position: relative;
    aspect-ratio: 1/1;
    background: #fdfdfd;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image .image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image img.main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image img.main-img {
    transform: scale(1.15) rotate(2deg);
}

/* Badge Styling - Minimal & Elegant Floating Pill */
.badge-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-badge {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-badge.new {
    background: rgba(30, 58, 95, 0.9);
    color: #fff;
}

.product-badge.discount {
    background: color-mix(in srgb, var(--primary) 90%, transparent);
    color: #fff;
}

/* Action Buttons - Modern Glass Circle Buttons */
.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
    transform: translateX(40px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--secondary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.product-action-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}

.product-action-btn.favorite.active {
    color: #ef4444;
    background: #fff;
}

.product-action-btn.favorite.active:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

/* Quick Add - Elegant Integrated Slide-up */
.quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    transform: translateY(105%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    z-index: 4;
}

.product-card:hover .quick-add {
    transform: translateY(0);
}

.quick-add .add-cart-btn {
    width: 100%;
    padding: 12px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.2);
}

.quick-add .add-cart-btn:hover {
    background: var(--primary);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 35%, transparent);
    transform: translateY(-2px);
}

/* Product Info Section */
.product-info {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.info-top {
    height: 16px;
}

.product-brand {
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: var(--secondary);
}

.product-title a {
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.3s ease;
}

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

.product-price {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 5px;
}

.product-price .current {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.product-price .old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

/* ==================== Modern Product Card (pcard) ==================== */
.pcard {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    /* Dikey stack: içerik alanı esnesin, fiyat+buton alta sabitlensin.
       Böylece grid/slider stretch ile tüm kartlar eşit yükseklikte durur. */
    display: flex;
    flex-direction: column;
}

.pcard:hover {
    border-color: #d1d5db;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pcard-image-link {
    display: block;
    text-decoration: none;
}

.pcard-image {
    position: relative;
    aspect-ratio: 3/4;
    background: #f9fafb;
    overflow: hidden;
}

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

/* Badges */
.pcard-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.pcard-badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pcard-badge-new {
    background: #0891b2;
    color: #fff;
}

.pcard-badge-discount {
    background: #ef4444;
    color: #fff;
}

/* Action Buttons Container */
.pcard-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

/* Action Button Base */
.pcard-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #9ca3af;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Favorite Button — evrensel palete bağlı */
.pcard-favorite:hover {
    color: var(--primary);
}

.pcard-favorite.active {
    background: var(--primary);
    color: #fff;
}

.pcard-favorite.active:hover {
    background: var(--primary-hover, var(--primary));
}

/* Compare Button - Hidden by default */
.pcard-compare {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
}

.pcard:hover .pcard-compare {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.pcard-compare:hover {
    color: var(--primary);
}

.pcard-compare.active {
    background: var(--primary);
    color: #fff;
}

/* Quick View Button - Hidden by default, shown on card hover (compare gibi) */
.pcard-quickview {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
}

.pcard:hover .pcard-quickview {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.pcard-quickview:hover {
    color: var(--primary);
}

.pcard-compare.active:hover {
    background: var(--primary-hover, var(--primary));
}

/* Content */
.pcard-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
}

.pcard-brand {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pcard-title {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    min-height: 36px;
}

.pcard-title a {
    color: #1f2937;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.pcard-title a:hover {
    color: var(--primary);
}

/* Rating in product card */
.pcard-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 4px;
}

.pcard-rating i {
    font-size: 11px;
    color: #fbbf24;
}

.pcard-rating span {
    font-size: 11px;
    color: #9ca3af;
    margin-left: 4px;
}

/* Bottom section with price and cart button */
.pcard-bottom {
    position: relative;
    min-height: 44px;
    margin-top: auto; /* fiyat+buton her kartta en alta yaslanır */
}

/* Price */
.pcard-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.pcard-price-old {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
    white-space: nowrap;
}

.pcard-price-current {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
}

/* "KDV Dahil" notu her kartta kendi satırında durur — indirimli kartlarda
   eski fiyat yüzünden satır sayısı değişip kart boyu uzamasın diye. */
.pcard-tax-note {
    flex-basis: 100%;
    font-size: 10px;
    color: #999;
    margin-top: 2px;
}

/* Cart Button - Hidden by default, shows on hover */
.pcard-cart-btn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
}

.pcard:hover .pcard-price {
    opacity: 0;
    visibility: hidden;
}

.pcard:hover .pcard-cart-btn {
    opacity: 1;
    visibility: visible;
}

.pcard-cart-btn:hover {
    background: var(--primary-hover, var(--primary));
}

.pcard-cart-btn i {
    font-size: 14px;
}

.pcard-contact-btn .fa-whatsapp {
    color: #25D366;
}

.pcard-contact-btn {
    text-decoration: none;
}

.purchase-disabled-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    color: #92400e;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.purchase-disabled-notice i {
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 16px;
    color: #f59e0b;
}

.purchase-disabled-notice p {
    margin: 0;
}

.btn-contact-wa .fa-whatsapp {
    color: #25D366;
}

/* Product Grid */
.pcard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .pcard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .pcard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .pcard-content {
        padding: 12px;
    }
    
    .pcard-title {
        font-size: 12px;
        min-height: 34px;
    }
    
    .pcard-price-current {
        font-size: 15px;
    }
    
    .pcard-cart-btn {
        padding: 10px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .pcard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .pcard-action-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    /* On mobile, always show compare button */
    .pcard-compare,
    .pcard-quickview {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
    }
    
    .pcard-badge {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .pcard-content {
        padding: 10px;
        gap: 4px;
    }
    
    .pcard-title {
        font-size: 11px;
        min-height: 30px;
    }
    
    .pcard-price-current {
        font-size: 14px;
    }
    
    .pcard-price-old {
        font-size: 10px;
    }
    
    .pcard-bottom {
        min-height: auto;
    }
    
    /* On mobile, always show price and cart button */
    .pcard .pcard-price {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .pcard .pcard-cart-btn {
        position: relative;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 8px;
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .pcard-cart-btn span {
        display: none;
    }
    
    .pcard-cart-btn i {
        font-size: 16px;
    }
}



/* ==================== Features ==================== */
.features {
    padding: 50px 0;
    background: var(--bg-main);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.feature-item i {
    font-size: 40px;
    color: var(--primary);
}

.feature-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==================== Footer - Woodmart Style ==================== */
.wd-footer {
    background-color: #092143;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.wd-footer a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.wd-footer a:hover {
    color: #EABE12;
    padding-left: 5px;
}

.wd-footer h4 {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Row 1: Service Highlights */
.footer-row-1 {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.service-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: #EABE12;
}

.service-text h4 {
    margin-bottom: 5px;
    font-size: 11px;
}

.service-text p {
    font-size: 10px;
    line-height: 1.4;
}

/* Row 2: Navigation & Newsletter */
.footer-row-2 {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.5fr;
    gap: 30px;
}

.nav-col ul {
    list-style: none;
}

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

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

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

.newsletter-col .app-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #000;
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    transition: opacity 0.3s;
}

.app-badge i {
    font-size: 20px;
}

.app-badge:hover {
    opacity: 0.8;
    color: #fff;
}

.newsletter-col h5 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.newsletter-privacy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

.wd-footer .newsletter-form {
    display: flex;
    gap: 0;
}

.wd-footer .newsletter-form input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 15px;
    flex: 1;
    outline: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.wd-footer .newsletter-form input:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #EABE12;
}

.wd-footer .newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.wd-footer .newsletter-form button {
    background-color: #EABE12;
    border: none;
    color: #000;
    padding: 12px 25px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s;
    font-size: 14px;
}

.wd-footer .newsletter-form button:hover {
    background-color: #d4ac10;
}

.newsletter-message {
    margin-top: 15px;
    font-size: 13px;
    padding: 10px;
    border-radius: 4px;
}

.newsletter-message.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.newsletter-message.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Row 3: Payment & Social */
.footer-row-3 {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.row-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 20px;
}

.footer-logos-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logos-section.end {
    align-items: flex-end;
}

.footer-logos-section.center {
    align-items: center;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.payment-logos,
.shipping-logos {
    display: flex;
    gap: 15px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.7);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a.social-facebook {
    background-color: #3b5998;
}

.social-icons a.social-x {
    background-color: #000;
}

.social-icons a.social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icons a.social-whatsapp {
    background-color: #25D366;
}

.social-icons a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.wd-copyright {
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}

.wd-copyright strong {
    color: #FFFFFF;
}

/* Woodmart Footer Responsive */
@media (max-width: 992px) {
    .footer-nav-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .newsletter-col {
        grid-column: span 3;
    }

    .service-item {
        flex: 1 1 calc(50% - 15px);
    }
}

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

    .newsletter-col {
        grid-column: span 2;
    }

    .row-3-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-logos-section,
    .footer-logos-section.end,
    .footer-logos-section.center {
        align-items: center;
        text-align: center;
    }

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

    .payment-logos,
    .shipping-logos {
        justify-content: center;
    }

    .service-item {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-col {
        grid-column: span 1;
    }

    .app-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ==================== Page Header ==================== */
.page-header {
    background: var(--secondary);
    color: var(--text-white);
    padding: 40px 0;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* ==================== Products Page ==================== */
.products-page {
    padding: 40px 0;
}

/* Note: Product layout grid is now defined in products.php inline styles */

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

.cart-table {
    width: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.cart-table th,
.cart-table td {
    padding: 20px;
    text-align: left;
    border-bottom: none;
}

.cart-table th {
    background: var(--bg-main);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

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

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

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-quantity button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.cart-quantity button:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.cart-quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 5px;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Tarayıcının yerleşik arttır/azalt oklarını gizle — sağda/solda zaten +/- butonları var */
.cart-quantity input::-webkit-outer-spin-button,
.cart-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-remove {
    color: var(--danger);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
}

.cart-summary {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--border-radius-lg);
}

.cart-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cart-summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    color: var(--primary);
}

/* ==================== Responsive ==================== */
@media (max-width: 992px) {
    .header-main .container {
        flex-wrap: wrap;
    }

    .search-bar {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 15px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-image {
        display: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .cart-table {
        font-size: 14px;
    }

    .cart-product img {
        width: 60px;
        height: 60px;
    }
}

/* ==================== Lookbook Section ==================== */
.lookbook-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.lookbook-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.lookbook-product-preview {
    flex: 0 0 400px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fdfdfd;
}

.preview-category {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-align: center;
}

.preview-subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 40px;
    text-align: center;
}

.preview-image {
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.preview-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
    color: #111;
}

.preview-brand {
    display: block;
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-bottom: 15px;
}

.preview-price {
    font-size: 24px;
    font-weight: 700;
    color: #F4A51C;
    text-align: center;
    margin-bottom: 40px;
}

.preview-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.preview-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-dots .dot.active {
    background: #333;
    transform: scale(1.2);
}

.lookbook-main-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

/* Hotspots */
.hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(244, 165, 28, 0.4);
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hotspot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(244, 165, 28, 0.4);
    animation: pulse 2s infinite;
}

.hotspot-inner {
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #F4A51C;
    border-radius: 50%;
    z-index: 2;
}

.hotspot.active {
    background: rgba(244, 165, 28, 0.8);
    transform: translate(-50%, -50%) scale(1.2);
}

.hotspot.active::after {
    display: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .lookbook-container {
        flex-direction: column;
    }

    .lookbook-product-preview {
        flex: 0 0 auto;
        padding: 40px;
        order: 2;
    }
}