/**
 * Modern Theme - Premium & Modern Design
 * Tema sistemi ile entegre edilmiş modern tasarım
 */

:root {
    /* Theme Variables - Tema ayarlarından gelen değerler (takı vitrin: altın + sıcak nötr) */
    --theme-primary: #b8860b;
    --theme-secondary: #6b5d52;
    --theme-text: #25201c;
    --theme-bg: #fffef9;
    
    /* Derived Colors - Tema renklerinden türetilen */
    --primary-red: var(--theme-primary);
    --primary-red-dark: color-mix(in srgb, var(--theme-primary) 90%, black);
    --primary-red-light: color-mix(in srgb, var(--theme-primary) 80%, white);
    --text-dark: var(--theme-text);
    --text-gray: var(--theme-secondary);
    --text-light: color-mix(in srgb, var(--theme-text) 50%, white);
    --bg-white: var(--theme-bg);
    --bg-light: color-mix(in srgb, var(--theme-bg) 95%, black);
    --bg-dark: #212529;
    --border-color: #e9ecef;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    /* frontend.css ile uyum: üst boşluk ve kategori şeridi (sabit 125px taşmayı önler) */
    --layout-chrome-pad: 240px;
    --layout-categories-offset: 170px;
}

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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.7;
    /* max(): en az --layout-chrome-pad; JS büyük ölçtüyse o kullanılır */
    padding-top: max(var(--header-stack-height, 0px), var(--layout-chrome-pad));
    overflow-x: hidden;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    z-index: 1052;
    position: relative;
    min-height: 55px;
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    flex-shrink: 0;
    overflow: visible;
    position: relative;
    z-index: 1053;
    margin: 0;
}

/* Product detail page specific padding */
body.product-detail-page {
    padding-top: calc(max(var(--header-stack-height, 0px), var(--layout-chrome-pad)) - 55px);
}

/* E-ticaret kapalı: Tek katman header (logo + menü aynı satır) */
body.ecommerce-off {
    padding-top: 85px !important;
}
.main-header.header-single-row {
    min-height: 70px;
}
.main-header.header-single-row .header-content {
    min-height: 70px;
    padding: 0.75rem 0;
}
.main-header.header-single-row .logo-image {
    max-height: 55px !important;
    height: 55px !important;
}
.header-inline-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 1rem;
}
.header-inline-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}
.header-inline-menu .category-item {
    position: relative;
}
.header-inline-menu .category-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.header-inline-menu .category-link:hover {
    color: var(--primary-red);
}
.header-inline-menu .category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    z-index: 1000;
    display: none;
}
.header-inline-menu .category-item.has-dropdown:hover .category-dropdown {
    display: block;
}
.header-inline-menu .dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
}
.header-inline-menu .dropdown-link:hover {
    color: var(--primary-red);
    background: #f8f9fa;
}
@media (max-width: 991px) {
    .header-inline-nav {
        display: none;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Top Bar - Gizlendi (gereksiz pembe alan kaldırıldı) */
.top-bar {
    display: none !important;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-weight: 500;
    white-space: nowrap;
}

.top-bar-link:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.top-bar-link i {
    font-size: 0.9rem;
}

.top-bar-center {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    padding: 0 3rem;
    display: inline-block;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}



.appointment-btn {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    padding: 0.6rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.appointment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
}

.appointment-btn:hover::before {
    left: 100%;
}

.appointment-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Main Header (frontend.css --z-* ile uyumlu; tema kategori çubuğunu header üstüne çıkarmaz) */
.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    transition: var(--transition);
    overflow: visible;
    min-height: 90px;
    border-bottom: 1px solid var(--border-color);
}

.main-header .container {
    position: relative;
    z-index: 0;
}

.main-header.scrolled {
    top: 0;
    box-shadow: var(--shadow-md);
}

.main-header.scrolled .logo-icon {
    z-index: 1;
}

/* Categories Bar */
.categories-bar {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    position: fixed !important;
    /* top: JS (frontend_footer) setProperty — üst header ile bitişik, theme !important kaldırıldı */
    top: var(--header-categories-top, var(--layout-categories-offset));
    left: 0 !important;
    right: 0 !important;
    z-index: 1035 !important;
    padding: 0.35rem 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    overflow: visible !important;
    will-change: transform;
}

.categories-bar.scrolled {
    /* top: scroll’da da aynı yığın; konumu JS yönetir (sabit 96px boşluk bırakıyordu) */
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
}

.categories-bar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* Menüyü ortala */
    position: relative;
    overflow: visible !important;
}

.categories-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: visible !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    width: 100%;
    position: relative;
}

.categories-menu::-webkit-scrollbar {
    display: none;
}

.categories-menu .category-item {
    flex-shrink: 0;
    position: relative !important;
    z-index: 1 !important;
}

.categories-menu .category-item.has-dropdown {
    position: relative !important;
    z-index: 2 !important;
}

.categories-menu .category-item.has-dropdown:hover {
    z-index: 50 !important;
}

.category-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    height: 100%;
}

.category-link:hover,
.category-item:hover .category-link,
.category-link.active {
    color: var(--primary-red);
    background-color: rgba(220, 53, 69, 0.05);
}

.category-link i {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: var(--transition);
}

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

/* Category Dropdown */
.category-dropdown {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    background: white !important;
    min-width: 280px;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    list-style: none;
    margin: 0;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1056 !important;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: visible !important;
    pointer-events: none;
    margin-top: 0;
    display: block !important;
}

.category-item:hover .category-dropdown,
.category-item.has-dropdown:hover .category-dropdown,
.categories-menu .category-item:hover .category-dropdown,
.categories-menu .category-item.has-dropdown:hover .category-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
    display: block !important;
    z-index: 1057 !important;
}

.category-dropdown li {
    margin: 0;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
}

.dropdown-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-red);
    padding-left: 2rem;
}

.dropdown-link strong {
    color: var(--primary-red);
    font-weight: 700;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 90px;
}

.logo-section:hover {
    transform: scale(1.05);
}

.logo-section:hover .logo-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

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

.logo-text-main {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-text-sub {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.25rem;
    font-weight: 600;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-red);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.search-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.search-form .form-control {
    border: 2px solid var(--border-color);
    border-right: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.search-form .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: none;
}

.search-form .btn-primary {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-red);
    border-left: none;
    background: var(--primary-red);
    color: white;
}

.search-form .btn-primary:hover {
    background: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    color: white;
}

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

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid transparent;
}

.header-action-btn:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(200, 35, 51, 0.1));
    color: var(--primary-red);
    border-color: rgba(220, 53, 69, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.header-action-btn i {
    font-size: 1.1rem;
    color: var(--primary-red);
    transition: var(--transition);
}

.header-action-btn:hover i {
    transform: scale(1.1);
    color: var(--primary-red-dark);
}

.header-action-btn .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    border-radius: 12px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    border: 2px solid white;
    line-height: 1;
}

.header-action-btn span {
    color: var(--text-dark);
    transition: var(--transition);
}

.header-action-btn:hover span {
    color: var(--primary-red);
}

.action-icon {
    position: relative;
    color: var(--text-dark);
    font-size: 1.3rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.action-icon:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(200, 35, 51, 0.1));
    color: var(--primary-red);
    transform: translateY(-3px) scale(1.1);
}

.action-icon .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.85) 0%, rgba(200, 35, 51, 0.9) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color will be set inline via PHP for sliders */
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    animation: slideUp 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideUp 1s ease-out 0.2s both;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
    animation: slideUp 1s ease-out 0.4s both;
}

.hero-btn {
    background-color: white;
    color: var(--text-dark);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    animation: slideUp 1s ease-out 0.6s both;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--text-dark);
}

.hero-btn i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.hero-btn:hover i {
    transform: translateX(5px);
}

/* Section Headings */
section h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 2px;
}

section .text-muted {
    font-size: 1.1rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 3rem;
}

/* Cards - Modern Design */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: white;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    transition: var(--transition-slow);
}

.card:hover .card-img-top {
    transform: scale(1.15);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    transition: var(--transition);
}

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

/* Product Cards - Modern Design */
.product-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: rgba(220, 53, 69, 0.2);
}

.product-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: white;
    border-radius: 0 0 12px 12px;
}

.product-card .card-body .btn {
    margin-top: auto;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.product-card .card-body .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.product-description {
    font-size: 0.8rem;
    line-height: 1.5;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
}

/* Product Price Styles */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-price .current-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1.2;
}

.product-price .old-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

/* Products Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    margin-top: 0;
}

.page-header h1 {
    color: #212529 !important;
}

.page-header .breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-flex;
}

.page-header .breadcrumb-item a {
    color: #212529 !important;
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: #212529 !important;
}

.products-section {
    background: var(--bg-light);
    min-height: 60vh;
}

/* Filters Sidebar */
.filters-sidebar {
    position: sticky;
    top: 100px;
}

.filters-container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

/* Active Filters Chips */
.active-filters {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.active-filter-chip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.active-filter-chip a:hover {
    opacity: 0.8;
}

/* Price Range Slider */
.price-slider-wrapper {
    padding: 1rem 0;
}

.price-range-slider {
    position: relative;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    margin: 1rem 0;
}

.price-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-red);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-red);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.price-range-slider input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

/* Color Filter Preview */
.color-filter-item .color-preview {
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.color-filter-item input:checked + label .color-preview {
    box-shadow: 0 0 0 3px var(--primary-red);
    transform: scale(1.1);
}

/* Product Detail Page Styles */
.breadcrumb-section {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    margin-top: 0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.product-detail-section {
    background: var(--bg-light);
    min-height: 60vh;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 120px;
    z-index: 10;
}

.product-gallery .row {
    align-items: flex-start;
}

.main-image-wrapper {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: zoom-in;
    margin-bottom: 0;
    aspect-ratio: 1 / 1; /* Standart kare format */
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli kare içine sığdır, oranları koru */
    transition: transform 0.3s ease;
    display: block;
}

.main-product-image:hover {
    transform: scale(1.05);
}

/* Product detail (minimal) - Corano inspired balanced layout */
body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal {
    background: #fff !important;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-jewellery-gallery,
body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-purchase-minimal {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-jewellery-gallery {
    max-width: 100%;
    margin: 0;
    padding: 0 !important;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-purchase-minimal {
    border-radius: 0 !important;
    padding: 0.15rem 0 0 0.6rem !important;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-gallery .row > .col {
    flex: 0 0 100%;
    max-width: 100%;
    order: 1;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-gallery .row > .col-auto {
    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .main-image-wrapper {
    aspect-ratio: auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 !important;
    background: #fff;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .main-product-image {
    width: 60% !important;
    height: auto !important;
    max-width: 60% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .thumbnail-images-vertical {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
    padding-bottom: 0.25rem;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .thumbnail-item {
    width: 86px;
    height: 86px;
    min-width: 86px;
    min-height: 86px;
    border-radius: 0;
    border: 1px solid #ebebeb;
    background: #fff;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .thumbnail-item:hover {
    border-color: #c29958;
    transform: none;
}

body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .thumbnail-image.active,
body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .thumbnail-item .thumbnail-image.active {
    border-color: #c29958 !important;
    box-shadow: none;
}

@media (min-width: 992px) {
    body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-jewellery-row {
        display: flex;
        align-items: stretch;
    }

    body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-jewellery-row > [class*="col-"] {
        flex: 1 1 0;
        width: 50%;
        max-width: 50%;
    }

    body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-jewellery-row > [class*="col-"]:first-child {
        display: flex;
    }

    body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-jewellery-gallery,
    body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .product-gallery {
        width: 100%;
        height: 100%;
    }

    body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .main-image-wrapper {
        height: 100%;
        max-height: var(--pdp-summary-height, 100%);
    }

    body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .main-product-image {
        width: 38% !important;
        max-width: 38% !important;
    }
}

.image-zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    opacity: 0;
    transition: var(--transition);
}

.main-image-wrapper:hover .image-zoom-hint {
    opacity: 1;
}

/* Modern Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

/* Close Button - Dynamic (Inside Lightbox) */
.lightbox-close-dynamic {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(220, 53, 69, 0.95) !important;
    border: 3px solid white !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    z-index: 100002 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    backdrop-filter: blur(10px) !important;
}

.lightbox-close-dynamic:hover {
    background: var(--primary-red) !important;
    transform: scale(1.1) rotate(90deg) !important;
    box-shadow: 0 6px 20px color-mix(in srgb, var(--primary-red), transparent 30%) !important;
}

.lightbox-close-dynamic:active {
    transform: scale(0.95) rotate(90deg) !important;
}

/* Responsive close button */
@media (max-width: 768px) {
    .lightbox-close-dynamic {
        top: 15px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
    }
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95vh;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease, opacity 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-image.zoomed {
    cursor: zoom-out;
    transform: scale(2);
}

.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    z-index: 10002;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lightbox-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 10000;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.lightbox-zoom-hint {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }
}

.thumbnail-images {
    margin-top: 1rem;
}

/* Vertical Thumbnail Images (Left Side) */
.thumbnail-images-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.thumbnail-images-vertical::-webkit-scrollbar {
    width: 4px;
}

.thumbnail-images-vertical::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-images-vertical::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.thumbnail-images-vertical::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.thumbnail-item:hover {
    border-color: var(--primary-red);
    transform: scale(1.05);
}

.thumbnail-image {
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    opacity: 0.7;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-image:hover {
    opacity: 1;
}

.thumbnail-image.active {
    opacity: 1;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.thumbnail-item .thumbnail-image.active {
    border-color: var(--primary-red);
}

/* Responsive: Mobile view - show thumbnails horizontally */
@media (max-width: 991.98px) {
    .thumbnail-images-vertical {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 0.5rem;
        gap: 0.5rem;
    }
    
    .thumbnail-item {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }
    
    .product-gallery .row {
        flex-direction: column-reverse;
    }
    
    .product-gallery .col-auto {
        width: 100%;
    }
}

/* Product Info */
.product-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

/* Product Title - General (for product detail page) */
.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Product Title - In Product Cards (homepage, products page) */
.product-card .product-title,
.product-card h5.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    min-height: 2.85rem;
}

.product-card .product-title a,
.product-card h5.product-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-title a:hover,
.product-card h5.product-title a:hover {
    color: var(--primary-red);
    text-decoration: none;
}

.product-rating {
    display: flex;
    align-items: center;
}

.stars-rating {
    color: #ffc107;
}

.product-price {
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.price-current {
    color: var(--primary-red);
}

.discount-badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.stock-status {
    margin-top: 1rem;
}

/* Product Short Description */
.product-short-description {
    text-align: left !important;
}

.product-short-description p,
.product-short-description *,
.product-info .product-short-description,
.product-info .product-short-description p,
.product-info .product-short-description * {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* İçerik tam genişlik, soldan hizalı (e-ticaret kapalı) */
.product-content-full {
    max-width: 100%;
    text-align: left;
}
.product-content-full .product-description-below {
    max-width: 100%;
}

/* Variant Selection */
.variant-selection {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.variant-group {
    margin-bottom: 1.5rem;
}

.variant-group:last-child {
    margin-bottom: 0;
}

.variant-option {
    min-width: 50px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    pointer-events: auto;
    color: inherit;
}

.variant-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.variant-option.active {
    background: var(--primary-red) !important;
    border-color: var(--primary-red) !important;
    color: white !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3);
    font-weight: 600;
}

.color-option {
    width: 50px !important;
    height: 50px !important;
    border-radius: 8px !important;
    padding: 0 !important;
    position: relative;
    min-width: 50px !important;
    border: 2px solid #dee2e6;
    overflow: hidden !important;
    background: transparent !important;
}

.color-option,
.color-option *,
.color-option img {
    border-radius: 8px !important;
}

.variant-option.color-option {
    border-radius: 8px !important;
}

.variant-option.color-option img {
    border-radius: 8px !important;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: var(--primary-red);
}

.color-option.active {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-red), transparent 70%);
    transform: scale(1.1);
    border-color: var(--primary-red) !important;
    background: transparent !important;
}

.color-option.active::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    z-index: 2;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Hide checkmark if variant has image */
.color-option img + span ~ .color-option.active::after,
.color-option:has(img).active::after {
    display: none;
}

/* Quantity Selector */
.quantity-selector {
    flex-shrink: 0;
}

.quantity-input-group {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.quantity-input-group .btn {
    border-radius: 0;
    border: none;
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.quantity-input-group .btn:hover {
    background: var(--primary-red);
    color: white;
}

.quantity-input-group .btn:active {
    transform: scale(0.95);
}

.quantity-input-group input {
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 1.1rem;
    background: white;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    color: var(--text-dark);
    display: block;
    width: 100%;
    padding: 0.5rem;
}

/* Remove number input spinner arrows */
.quantity-input-group input[type="number"]::-webkit-inner-spin-button,
.quantity-input-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input-group input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-input-group input:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

/* Shipping Info */
.shipping-info {
    padding: 0.5rem 0;
}

.shipping-card {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.shipping-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-red);
}

.shipping-card-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.shipping-card-header i {
    font-size: 1.2rem;
}

.shipping-card-body {
    padding: 1.5rem;
}

.shipping-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    line-height: 1.6;
}

.shipping-item:last-child {
    border-bottom: none;
}

.shipping-item strong {
    color: var(--text-dark);
    display: inline-block;
    min-width: 140px;
    font-weight: 600;
}

/* Trust Badges */
.trust-badges {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-top: 1rem;
}

.trust-badge-item {
    transition: var(--transition);
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.trust-badge-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red) !important;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(200, 35, 51, 0.05));
}

.trust-badge-icon {
    transition: var(--transition);
}

.trust-badge-item:hover .trust-badge-icon {
    transform: scale(1.1);
}

.trust-badge-item:hover .trust-badge-icon i {
    color: var(--primary-red) !important;
}

/* Product Tabs */
.product-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    padding: 0 1rem;
    margin: 0;
}

.product-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-gray);
    padding: 1rem 1.5rem;
    transition: var(--transition);
}

.product-tabs .nav-link:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.product-tabs .nav-link.active {
    color: var(--primary-red);
    background: transparent;
    border-bottom-color: var(--primary-red);
    font-weight: 600;
}

.product-description-content {
    line-height: 1.8;
    color: var(--text-dark);
}

/* Ürün açıklaması içindeki h etiketleri */
.product-description-content h1,
.product-description-below h1 { font-size: 1.4rem; margin: 1.1rem 0 0.65rem; font-weight: 600; text-align: left; }
.product-description-content h1::after,
.product-description-below h1::after { display: none; }
.product-description-content h2,
.product-description-below h2 { font-size: 1.6rem !important; margin: 1rem 0 0.6rem !important; font-weight: 600 !important; text-align: left !important; }
.product-description-content h2::after,
.product-description-below h2::after { display: none !important; content: none !important; }
.product-description-content h3,
.product-description-below h3 { font-size: 1.2rem; margin: 0.95rem 0 0.55rem; font-weight: 600; text-align: left; }
.product-description-content h3::after,
.product-description-below h3::after { display: none; }
.product-description-content h4,
.product-description-below h4 { font-size: 1.1rem; margin: 0.9rem 0 0.5rem; font-weight: 600; text-align: left; }
.product-description-content h4::after,
.product-description-below h4::after { display: none; }
.product-description-content h5,
.product-description-below h5 { font-size: 1.05rem; margin: 0.85rem 0 0.45rem; font-weight: 600; text-align: left; }
.product-description-content h5::after,
.product-description-below h5::after { display: none; }
.product-description-content h6,
.product-description-below h6 { font-size: 1rem; margin: 0.8rem 0 0.45rem; font-weight: 600; text-align: left; }
.product-description-content h6::after,
.product-description-below h6::after { display: none; }

/* Reviews Section */
.reviews-section {
    max-width: 100%;
}

.reviews-summary {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.average-rating-display {
    padding: 1rem;
}

.rating-bar .progress {
    background-color: var(--bg-light);
}

.rating-bar .progress-bar {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
}

.review-item {
    padding: 1rem 0;
}

.review-item:last-child {
    border-bottom: none !important;
}

/* Sticky Add to Cart (Mobile) */
.sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Social Share */
.social-share .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .product-gallery {
        position: static;
        margin-bottom: 2rem;
    }

    body.product-detail-page .product-detail-section.product-jewellery.product-jewellery-minimal .main-product-image {
        width: 90% !important;
        height: 90% !important;
        max-width: 90% !important;
        max-height: 90% !important;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-info {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .product-title {
        font-size: 1.25rem;
    }
    
    .variant-options {
        gap: 0.5rem !important;
    }
    
    .add-to-cart-section {
        flex-direction: column;
    }
    
    .quantity-selector {
        width: 100%;
    }
    
    .quantity-selector .input-group {
        width: 100% !important;
    }
}

.filter-section {
    margin-bottom: 1rem;
}

.filter-accordion {
    --bs-accordion-border-color: var(--border-color);
    --bs-accordion-border-radius: 8px;
    --bs-accordion-inner-border-radius: 8px;
}

.filter-accordion .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.filter-accordion .accordion-button {
    background: transparent;
    border: none;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    box-shadow: none;
}

.filter-accordion .accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-red);
}

/* Always open filters (Categories, Price) */
.filter-accordion .accordion-item:first-child .accordion-button,
.filter-accordion .accordion-item:nth-child(2) .accordion-button {
    font-weight: 700;
}

.filter-accordion .accordion-item:first-child .accordion-button:not(.collapsed),
.filter-accordion .accordion-item:nth-child(2) .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    border-left: 3px solid var(--primary-red);
}

.filter-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.filter-accordion .accordion-body {
    padding: 1rem;
    padding-top: 0.5rem;
}

.filter-group {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.filter-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.filter-title i {
    color: var(--primary-red);
}

.filter-list {
    max-height: 300px;
    overflow-y: auto;
}

.filter-list .form-check {
    padding: 0.5rem 0;
}

.filter-list .form-check-label {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-gray);
    transition: var(--transition);
}

.filter-list .form-check-input:checked + .form-check-label {
    color: var(--primary-red);
    font-weight: 500;
}

.filter-list .form-check-input {
    cursor: pointer;
    margin-top: 0.25rem;
}

.filter-list .form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Products Toolbar */
.products-toolbar {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.products-toolbar .form-select {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.5rem 2.5rem 0.5rem 1rem;
}

.products-toolbar .btn-group .btn {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.products-toolbar .btn-check:checked + .btn {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

/* List View */
.products-grid.list-view .product-card {
    flex-direction: row;
    max-width: 100%;
}

.products-grid.list-view .product-image-wrapper {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.products-grid.list-view .card-body {
    padding: 2rem;
    flex: 1;
}

.products-grid.list-view .product-description {
    min-height: auto;
    -webkit-line-clamp: 3;
    margin-bottom: 1rem;
}

.products-grid.list-view .price-display {
    justify-content: flex-start !important;
    margin-bottom: 1.5rem;
}

.products-grid.list-view .btn {
    width: auto;
    min-width: 200px;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.pagination .page-link {
    color: var(--primary-red);
    border-color: var(--border-color);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition);
}

.pagination .page-link:hover {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 991.98px) {
    .filters-sidebar {
        position: static;
    }
    
    .products-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .products-grid.list-view .product-image-wrapper {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 767.98px) {
    .products-toolbar {
        padding: 0.75rem;
    }
    
    .products-toolbar .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .products-toolbar .form-select,
    .products-toolbar .btn-group {
        width: 100%;
    }
    
    .products-toolbar .form-select {
        width: 100% !important;
    }
}

.product-card .badge {
    position: absolute;
    top: 15px;
    z-index: 10;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.product-card .badge.bg-danger {
    right: 15px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark)) !important;
}

.product-card .badge.bg-warning {
    left: 15px;
    background: linear-gradient(135deg, #ffc107, #ff9800) !important;
    color: white;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--bg-light);
    border-radius: 12px 12px 0 0;
    aspect-ratio: 1 / 1;
}

.product-card:hover .product-image-wrapper {
    border-radius: 12px 12px 0 0;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 5;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.overlay-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.overlay-icon:hover {
    background: var(--primary-red);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.overlay-icon.active {
    background: var(--primary-red);
    color: white;
}

.overlay-icon.active:hover {
    background: var(--primary-red-dark);
    color: white;
}

/* Contact Section for Non-Sale Products */
.contact-section {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, rgba(220, 53, 69, 0.02) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(220, 53, 69, 0.1);
}

.contact-section .alert {
    border: none;
    background: rgba(184, 134, 11, 0.1);
    color: var(--text-dark);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.contact-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    border-radius: 8px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-buttons .btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    color: white;
}

.contact-buttons .btn-success:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: white;
}

.contact-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border: none;
    color: white;
}

.contact-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, #a0262e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    color: white;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

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

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red);
}

/* Price Display */
.price-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-current {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

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

/* Section Spacing */
section {
    padding: 2.5rem 0;
    position: relative;
}

/* İlk section (hero'dan sonraki) için daha az üst padding */
.hero-section + section,
.hero-section ~ section:first-of-type {
    padding-top: 1.5rem;
}

/* Bootstrap py-5 class override - daha az boşluk */
.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

section.bg-light {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 2rem 1rem;
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    transform: translateY(-15px);
}

.process-step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
}

.process-step:hover .process-step-number {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.process-step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid var(--primary-red);
    opacity: 0;
    transition: var(--transition);
}

.process-step:hover .process-step-number::before {
    opacity: 0.3;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.process-step h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
}

/* Process Section – Modern (Sipariş Süreci) */
.process-section-modern .process-title-underline {
    border-bottom: 3px solid var(--primary-red, #b8860b);
    padding-bottom: 2px;
}

.process-step-modern {
    text-align: center;
    padding: 1.5rem 0.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step-modern:hover {
    transform: translateY(-4px);
}

.process-step-number-modern {
    width: 80px;
    height: 80px;
    background: var(--primary-red, #b8860b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 14px rgba(220, 53, 69, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step-modern:hover .process-step-number-modern {
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.process-step-modern .process-step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark, #1a1a1a);
}

.process-step-modern .process-step-desc {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-gray, #555);
    margin: 0;
}

/* Blog Cards */
.blog-card {
    transition: var(--transition);
    height: 100%;
}

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

.blog-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

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

.blog-date {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card .card-title {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card .card-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Scroll Animations */
.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* If JavaScript is disabled or not loaded, show immediately */
.fade-in:not(.js-enabled) {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Social Proof Notification */
.social-proof-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 999;
    animation: slideInLeft 0.5s ease-out;
    max-width: 350px;
    border-left: 4px solid var(--primary-red);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.social-proof-notification img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.social-proof-content {
    flex: 1;
}

.social-proof-content strong {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.social-proof-content small {
    color: var(--text-gray);
    font-size: 0.8rem;
}

.social-proof-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    transition: var(--transition);
}

.social-proof-close:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

/* Footer — ana renkler :root (--theme-footer-*) ile (frontend_header) */
footer.site-footer {
    background: var(--theme-footer-bg, #121820);
    color: var(--theme-footer-heading, #f1f5f9);
    margin-top: 6rem;
    padding: 4rem 0 2rem;
}

footer.site-footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--theme-footer-heading, #f1f5f9);
}

footer.site-footer a {
    color: color-mix(in srgb, var(--theme-footer-heading, #f1f5f9) 78%, transparent);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

footer.site-footer a:hover {
    color: var(--theme-primary, var(--primary-red));
    transform: translateX(5px);
}

footer.site-footer .text-muted {
    color: color-mix(in srgb, var(--theme-footer-heading, #f1f5f9) 55%, transparent) !important;
}

/* Alt sabit menü: desktop’ta gizli (asıl stiller frontend.css’te; tema yedek — frontend yüklenmezse bozulmasın) */
.mobile-bottom-bar {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    :root {
        --layout-chrome-pad: 260px;
        --layout-categories-offset: 190px;
    }
    body,
    body.page-homepage {
        padding-top: var(--header-stack-height, var(--layout-chrome-pad));
    }
    
    .main-header {
        top: 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .header-search {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
    
    .categories-bar {
        top: var(--header-categories-top, var(--layout-categories-offset));
    }
    
    .categories-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    /* Üst satırda sepet/giriş vb. alttaki çubuğa taşındı; frontend.css yoksa da aynı düzen */
    .header-actions {
        display: none !important;
    }

    body {
        padding-bottom: 72px;
    }

    .search-form .form-control {
        padding: 0.6rem 1rem;
        font-size: 0.92rem;
    }

    .search-form .btn-primary {
        padding: 0.6rem 1rem;
    }

    body.product-detail-page .sticky-add-to-cart {
        bottom: calc(72px + env(safe-area-inset-bottom));
        z-index: 1000;
    }

    body.product-detail-page {
        padding-bottom: calc(72px + 72px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto !important;
        z-index: 100010;
        background: rgba(255, 254, 249, 0.92);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(184, 134, 11, 0.18);
        padding: 0.4rem 0.25rem calc(0.4rem + env(safe-area-inset-bottom));
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.25rem;
    }

    a.mobile-bottom-item,
    button.mobile-bottom-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        padding: 0.35rem 0.2rem;
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 600;
        font-size: 0.72rem;
        border-radius: 10px;
    }

    button.mobile-bottom-item {
        appearance: none;
        border: none;
        background: transparent;
        width: 100%;
        margin: 0;
        font: inherit;
        line-height: inherit;
        text-align: center;
        cursor: pointer;
    }

    a.mobile-bottom-item i,
    button.mobile-bottom-item i {
        font-size: 1.1rem;
        color: var(--primary-red);
    }

    a.mobile-bottom-item:hover,
    button.mobile-bottom-item:hover {
        background: rgba(184, 134, 11, 0.08);
        color: var(--text-dark);
    }

    .mobile-bottom-badge {
        position: absolute;
        top: 0.15rem;
        right: 0.4rem;
        min-width: 18px;
        height: 18px;
        padding: 0 6px;
        border-radius: 999px;
        background: var(--primary-red);
        color: #fff;
        font-size: 0.7rem;
        line-height: 18px;
        text-align: center;
        font-weight: 800;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --layout-chrome-pad: 276px;
        --layout-categories-offset: 200px;
    }
    body,
    body.page-homepage {
        padding-top: var(--header-stack-height, var(--layout-chrome-pad));
    }
    
    .main-header {
        top: 0;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo-text-main {
        font-size: 1.5rem;
    }
    
    .header-action-btn span {
        display: none;
    }
    
    .categories-bar {
        top: var(--header-categories-top, var(--layout-categories-offset));
        padding: 0.45rem 0;
    }
    
    .categories-menu {
        gap: 0.75rem;
        font-size: 0.8rem;
    }
    
    .hero-section {
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .process-step-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .social-proof-notification {
        left: 15px;
        right: 15px;
        max-width: none;
    }
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    z-index: 9999;
    min-width: 300px;
    transform: translateX(400px);
    opacity: 0;
    transition: var(--transition);
    border-left: 4px solid var(--primary-red);
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification.toast-success {
    border-left-color: #28a745;
}

.toast-notification.toast-error {
    border-left-color: var(--primary-red);
}

.toast-notification.toast-info {
    border-left-color: var(--jewelry-gold-dark, #8a6810);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.toast-content i {
    font-size: 1.25rem;
}

.toast-success .toast-content i {
    color: #28a745;
}

.toast-error .toast-content i {
    color: var(--primary-red);
}

.toast-info .toast-content i {
    color: var(--jewelry-gold-dark, #8a6810);
}

.toast-content span {
    flex: 1;
    font-weight: 500;
    color: var(--text-dark);
}

/* Utility Classes */
.text-red {
    color: var(--primary-red) !important;
}

.bg-red {
    background-color: var(--primary-red) !important;
}

.border-red {
    border-color: var(--primary-red) !important;
}

/* Account Sidebar */
.account-sidebar {
    position: sticky;
    top: 160px;
}

.account-sidebar .card {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.account-sidebar .list-unstyled {
    margin: 0;
    padding: 0;
}

.account-sidebar .list-unstyled li {
    margin-bottom: 0.5rem;
}

.account-sidebar .list-unstyled a {
    display: block;
    padding: 0.75rem 1rem;
    color: #555;
    text-decoration: none;
}

/* Homepage Editor Styles */
.homepage-editor-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    display: block;
}

.homepage-editor-toolbar:not(.active) {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.homepage-editor-toolbar.active {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.homepage-editor-toolbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Corano-like container width on desktop (prevents XXL widening) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px !important;
    }
}

/* =========================================================
   Product Detail Page (PDP) — modern theme redesign
   (layout only; functionality stays in product.php JS)
   ========================================================= */
body.product-detail-page .product-detail-section {
    background: linear-gradient(180deg, rgba(250, 246, 239, 0.65) 0%, rgba(239, 228, 216, 0.55) 100%);
}

body.product-detail-page .pdp {
    --pdp-radius: 18px;
    --pdp-border: rgba(34, 27, 38, 0.10);
    --pdp-shadow: 0 22px 60px rgba(34, 27, 38, 0.10);
    --pdp-soft: rgba(255, 255, 255, 0.70);
    --pdp-square: 540px;
}

body.product-detail-page .pdp__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

/* <1024: tek sütun — frontend.css ile hizalı */

@media (min-width: 1024px) {
    body.product-detail-page .pdp__grid {
        display: flex;
        gap: 1.75rem;
        align-items: stretch;
    }
}

body.product-detail-page .pdp__col {
    min-width: 0;
}

@media (min-width: 1024px) {
    body.product-detail-page .pdp__col {
        flex: 1 1 0;
        width: 50%;
        max-width: 50%;
    }
}

body.product-detail-page .pdp__gallery {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--pdp-border);
    border-radius: var(--pdp-radius);
    box-shadow: var(--pdp-shadow);
    padding: 1rem;
}

@media (max-width: 1023.98px) {
    body.product-detail-page .pdp__gallery {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 1024px) {
    body.product-detail-page .pdp__grid {
        justify-content: center;
    }

    body.product-detail-page .pdp__col {
        flex: 0 0 var(--pdp-square);
        width: var(--pdp-square);
        max-width: var(--pdp-square);
    }

    body.product-detail-page .pdp__gallery,
    body.product-detail-page .pdp__panel {
        box-sizing: border-box;
        width: var(--pdp-square);
        max-width: var(--pdp-square);
    }

    body.product-detail-page .pdp__panel:not(.pdp__panel--minimal) {
        height: var(--pdp-square);
        max-height: var(--pdp-square);
    }

    body.product-detail-page .pdp__col--gallery {
        display: flex;
        flex-direction: column;
        align-self: stretch;
        min-height: 0;
    }

    body.product-detail-page .pdp__gallery {
        height: 100%;
        flex: 1 1 auto;
        min-height: var(--pdp-square);
        max-height: none;
    }
}

body.product-detail-page .pdp__media .main-image-wrapper {
    background: #fff;
    border: 1px solid rgba(184, 134, 11, 0.14);
    border-radius: 14px;
    padding: 0.75rem;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: zoom-in;
}

@media (min-width: 1024px) {
    body.product-detail-page .pdp__gallery {
        /* keep exact 540px outer box; move spacing inside */
        padding: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    body.product-detail-page .pdp__media {
        padding: 0;
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }

    body.product-detail-page .pdp__media .main-image-wrapper {
        /* lock image area height so it can't grow taller */
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
        max-height: 100%;
        aspect-ratio: auto;
        padding: 0;
        border-radius: 0;
        border: 0;
    }
}

body.product-detail-page .pdp__media .main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.25s ease;
}

body.product-detail-page .pdp__media .main-image-wrapper:hover .main-product-image {
    transform: scale(1.03);
}

body.product-detail-page .pdp__thumbs {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.9rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 1024px) {
    body.product-detail-page .pdp__thumbs {
        flex: 0 0 auto;
        height: 92px;
        max-height: 92px;
        padding: 8px 10px 10px 10px;
        margin-top: 0;
        box-sizing: border-box;
        align-items: center;
    }
}

body.product-detail-page .pdp__thumb-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    flex: 0 0 auto;
}

body.product-detail-page .pdp__thumb-btn.thumbnail-item {
    width: 78px;
    height: 78px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(34, 27, 38, 0.12);
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

body.product-detail-page .pdp__thumb-btn.thumbnail-item:hover {
    border-color: rgba(184, 134, 11, 0.55);
    transform: translateY(-1px);
}

body.product-detail-page .pdp__thumb-btn .thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
}

body.product-detail-page .pdp__thumb-btn.is-active,
body.product-detail-page .pdp__thumb-btn:has(.thumbnail-image.active) {
    border-color: rgba(184, 134, 11, 0.95);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.14);
}

body.product-detail-page .pdp__panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--pdp-border);
    border-radius: var(--pdp-radius);
    box-shadow: var(--pdp-shadow);
    padding: 1.2rem 1.2rem;
}

@media (min-width: 1024px) {
    body.product-detail-page .pdp__panel {
        position: sticky;
        top: calc(var(--layout-categories-offset, 158px) + 0.75rem);
        padding: 1.4rem 1.35rem;
        height: 100%;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    /* Typography & spacing tuned for 540x540 panel */
    body.product-detail-page .pdp__panel .product-title-jewellery {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.6rem !important;
        letter-spacing: 0.02em !important;
    }

    body.product-detail-page .pdp__panel .product-rating-minimal {
        margin-bottom: 0.65rem !important;
    }

    body.product-detail-page .pdp__panel .product-price-minimal .price-current {
        font-size: 1.55rem !important;
    }

    body.product-detail-page .pdp__panel .product-price-minimal .price-old {
        font-size: 0.95rem !important;
    }

    body.product-detail-page .pdp__panel .product-side-benefits {
        gap: 0.35rem;
        margin-bottom: 0.85rem !important;
    }

    body.product-detail-page .pdp__panel .product-side-benefits .benefit-item {
        font-size: 0.82rem;
    }

    body.product-detail-page .pdp__panel .add-to-cart-form-minimal {
        grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr);
        gap: 0.55rem !important;
    }

    body.product-detail-page .pdp__panel .add-to-cart-minimal .btn,
    body.product-detail-page .pdp__panel .add-to-cart-minimal .quantity-input-group-minimal {
        height: 44px;
    }

    body.product-detail-page .pdp__panel .add-to-cart-minimal #addToCartBtn.btn-primary {
        white-space: nowrap;
        font-size: 0.8rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
    }

    body.product-detail-page .pdp__panel .product-summary-copy {
        padding-top: 0.55rem;
    }

    body.product-detail-page .pdp__panel .product-short-description-minimal p {
        -webkit-line-clamp: 2;
    }
}

@media (min-width: 640px) {
    body.product-detail-page .pdp__gallery,
    body.product-detail-page .pdp__panel {
        display: flex;
        flex-direction: column;
    }

    body.product-detail-page .pdp__media {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }

    body.product-detail-page .pdp__media .main-image-wrapper {
        flex: 1 1 auto;
        min-height: 0;
    }
}

body.product-detail-page .pdp__panel .product-title {
    letter-spacing: 0.02em;
}

/* Tone down legacy component styles inside the redesigned PDP */
body.product-detail-page .pdp .product-info,
body.product-detail-page .pdp .product-jewellery-gallery,
body.product-detail-page .pdp .product-gallery {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}


body.edit-mode-active {
    padding-top: 250px;
}

/* Categories Section - Modern Horizontal Scroll */
.categories-wrapper {
    position: relative;
    width: 100%;
}

.categories-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 0;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.categories-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.categories-slider {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap; /* Tek satır, carousel için */
    width: max-content; /* İçerik genişliğine göre */
    min-width: 100%; /* En az container genişliği */
}

.category-slide {
    flex: 0 0 auto;
    width: 180px;
    max-width: 180px;
    min-width: 180px; /* Mobilde de sabit genişlik */
}

@media (max-width: 991.98px) {
    .category-slide {
        width: 160px;
        max-width: 160px;
        min-width: 160px;
    }
}

@media (max-width: 767.98px) {
    .category-slide {
        width: 150px;
        max-width: 150px;
        min-width: 150px;
    }
}

@media (max-width: 575.98px) {
    .category-slide {
        width: 140px;
        max-width: 140px;
        min-width: 140px;
    }
}

.category-card {
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    min-height: 200px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.category-card img {
    transition: var(--transition);
}

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

#homepageSections.edit-mode .homepage-section-wrapper {
    position: relative;
    margin-bottom: 1rem;
    border: 2px dashed transparent;
    transition: var(--transition);
}

#homepageSections.edit-mode .homepage-section-wrapper:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-md);
}

.section-editor-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(200, 35, 51, 0.1));
    border-bottom: 2px solid var(--primary-red);
    border-radius: 8px 8px 0 0;
}

.section-handle {
    cursor: grab;
    color: var(--primary-red);
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.section-handle:active {
    cursor: grabbing;
}

.section-handle:hover {
    color: var(--primary-red-dark);
    transform: scale(1.1);
}

.section-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-type-badge {
    background: var(--primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.section-title-preview {
    color: var(--text-dark);
    font-weight: 500;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.edit-section-btn {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.edit-section-btn:hover {
    background: var(--primary-red);
    color: white;
}

.section-ghost {
    opacity: 0.5;
    background: var(--bg-light);
}

.section-chosen {
    border-color: var(--primary-red) !important;
    box-shadow: var(--shadow-lg) !important;
}

.section-drag {
    opacity: 0.8;
}

.section-content {
    position: relative;
}

#homepageSections.edit-mode .section-content {
    opacity: 1;
}

#homepageSections.edit-mode .homepage-section-wrapper:not(.is-visible) .section-content {
    opacity: 0.5;
    filter: grayscale(50%);
}
.account-sidebar .list-unstyled a {
    display: block;
    padding: 0.75rem 1rem;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.account-sidebar .list-unstyled a:hover,
.account-sidebar .list-unstyled a.active {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateX(5px);
    font-weight: 600;
}

/* Statistics Cards */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--primary-red);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1;
}

.stat-card p {
    margin: 0;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 1rem;
}

/* Tables */
.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
}

.table thead th {
    border: none;
    padding: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background: var(--bg-light);
    transform: scale(1.01);
}

.table tbody td {
    padding: 1.25rem;
    vertical-align: middle;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 0.875rem 1.25rem;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    outline: none;
    transform: translateY(-2px);
}

/* Ana sayfa: main / #homepageSections üst boşluğu body (--header-stack-height) ile gelir; negatif margin içeriği header altına iter. */
main {
    margin: 0 !important;
    padding: 0 !important;
}
/* Kutulu ana sayfa: margin auto frontend.css ile — burada !important yoksa sola yaslanır */
#homepageSections {
    padding: 0 !important;
    line-height: 0;
    font-size: 0;
}
body:not(.homepage-layout-boxed) #homepageSections {
    margin: 0 !important;
    margin-top: 0 !important;
}
#homepageSections > .homepage-section-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal;
    font-size: 1rem;
}
#homepageSections > .homepage-section-wrapper:first-child {
    margin-top: 0 !important;
}
#homepageSections .section-content {
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal;
}
#homepageSections > .homepage-section-wrapper:first-child .section-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hero Slider — üst hizalama body padding ile; negatif margin sabit menü altına taşır */
.hero-slider-section {
    position: relative;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    z-index: 0 !important;
    isolation: isolate;
}

.hero-slider-section .carousel {
    position: relative;
    z-index: 0 !important;
    isolation: isolate;
}

.hero-slider-section .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 0 !important;
    isolation: isolate;
}

.hero-slider-section .carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 0 !important;
    isolation: isolate;
}

.hero-slider-section .carousel-item.active,
.hero-slider-section .carousel-item-next,
.hero-slider-section .carousel-item-prev {
    display: block;
}

.hero-slider-section .carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.hero-slider-section .carousel-fade .carousel-item.active,
.hero-slider-section .carousel-fade .carousel-item-next.carousel-item-start,
.hero-slider-section .carousel-fade .carousel-item-prev.carousel-item-end {
    z-index: 0 !important;
    opacity: 1;
    isolation: isolate;
}

.hero-slider-section .carousel-fade .active.carousel-item-start,
.hero-slider-section .carousel-fade .active.carousel-item-end {
    z-index: 0;
    opacity: 0;
    transition: opacity 0s 0.6s;
}

.hero-slide {
    position: relative;
    min-height: calc(100vh - var(--layout-chrome-pad)); /* Viewport - header yüksekliği */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0 !important;
    isolation: isolate;
}

.hero-slide .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent !important; /* Will be overridden by inline style */
    z-index: 0 !important;
    isolation: isolate;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 0 !important;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    width: 100%;
    isolation: isolate;
}

.hero-slide .hero-content-left {
    text-align: left;
}

.hero-slide .hero-content-right {
    text-align: right;
}

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

.hero-slide .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUpSlider 0.8s ease-out;
}

.hero-slide .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUpSlider 0.8s ease-out 0.2s both;
}

.hero-slide .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUpSlider 0.8s ease-out 0.4s both;
}

.hero-slide .hero-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    animation: fadeInUpSlider 0.8s ease-out 0.6s both;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-slide .hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide .hero-btn i {
    transition: transform 0.3s ease;
}

.hero-slide .hero-btn:hover i {
    transform: translateX(5px);
}

/* Carousel Controls */
.hero-slider-section .carousel-control-prev,
.hero-slider-section .carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: var(--transition);
    z-index: 3;
}

.hero-slider-section .carousel-control-prev {
    left: 2rem;
}

.hero-slider-section .carousel-control-next {
    right: 2rem;
}

.hero-slider-section .carousel-control-prev:hover,
.hero-slider-section .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-slider-section .carousel-control-prev-icon,
.hero-slider-section .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators */
.hero-slider-section .carousel-indicators {
    bottom: 2rem;
    margin-bottom: 0;
    z-index: 3;
}

.hero-slider-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    margin: 0 5px;
    transition: var(--transition);
}

.hero-slider-section .carousel-indicators button.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

@keyframes fadeInUpSlider {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-slide {
        min-height: calc(100vh - var(--layout-chrome-pad));
    }
    
    .hero-slide .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-slide .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-slide .hero-description {
        font-size: 1rem;
    }
    
    .hero-slider-section .carousel-control-prev {
        left: 1rem;
    }
    
    .hero-slider-section .carousel-control-next {
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: calc(100vh - var(--layout-chrome-pad));
    }
    
    .hero-slide .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-slide .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-slide .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-slide .hero-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .hero-slider-section .carousel-control-prev,
    .hero-slider-section .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .hero-slider-section .carousel-control-prev {
        left: 0.5rem;
    }
    
    .hero-slider-section .carousel-control-next {
        right: 0.5rem;
    }
    
    .hero-slide .hero-content-left,
    .hero-slide .hero-content-right {
        text-align: center;
    }
}

/* Cart Drawer - Shopify Style */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1059 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.cart-drawer {
    position: fixed;
    top: var(--layout-chrome-pad);
    right: -100%;
    width: 100%;
    max-width: 420px;
    height: calc(100vh - var(--layout-chrome-pad));
    background-color: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1060 !important;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer.active .cart-drawer-header {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-white) !important;
    flex: 0 0 auto !important;
    position: relative;
    z-index: 1061 !important;
    min-height: 60px;
    box-sizing: border-box;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.cart-drawer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark) !important;
    display: flex !important;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1051 !important;
    position: relative;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: var(--transition);
}

.cart-drawer-close:hover {
    color: var(--primary-red);
    transform: rotate(90deg);
}

.cart-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    padding-top: 0 !important; /* Header artık drawer içinde, padding gerekmez */
    -webkit-overflow-scrolling: touch;
    min-height: 0;
    scroll-behavior: smooth;
    position: relative;
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-white);
    flex: 0 0 auto !important;
    position: relative;
    z-index: 10;
}

.cart-subtotal {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-subtotal .fw-bold {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
}

.cart-item {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
    transition: var(--transition);
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.cart-item:first-child {
    border-top: none;
    padding-top: 1.5rem;
    margin-top: 0;
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 1.5rem;
}

.cart-item:hover {
    background-color: var(--bg-light);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-light);
}

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

.cart-item-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 100px;
    gap: 1rem;
}

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

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.cart-item-title a:hover {
    color: var(--primary-red);
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.cart-item-quantity .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.cart-item-quantity .btn:hover:not(:disabled) {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
}

.cart-item-quantity .quantity-value {
    min-width: 35px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0 0.5rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: 100px;
}

.cart-item-actions .btn-link {
    padding: 0.25rem 0.5rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    line-height: 1;
}

.cart-item-actions .btn-link:hover {
    color: var(--primary-red);
    transform: scale(1.1);
}

.cart-item-subtotal {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.cart-item-remove-bottom {
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    display: none;
}

@media (max-width: 576px) {
    .cart-item-remove-bottom {
        display: block;
    }
    
    .cart-item-actions .btn-link {
        display: none;
    }
}

.cart-empty {
    padding: 3rem 1.5rem;
}

.cart-empty i {
    opacity: 0.3;
}

.cart-loading {
    padding: 3rem 1.5rem;
}

.cart-actions .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.cart-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border: none;
}

.cart-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 768px) {
    .cart-drawer {
        top: var(--layout-chrome-pad) !important;
        height: calc(100vh - var(--layout-chrome-pad)) !important;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .cart-drawer {
        top: var(--layout-chrome-pad) !important;
        height: calc(100vh - var(--layout-chrome-pad)) !important;
        max-width: 100%;
    }
    
    .cart-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-content {
        min-height: 80px;
    }
    
    .cart-item-actions {
        min-height: 80px;
    }
    
    .cart-item-title {
        font-size: 0.85rem;
    }
}

/* Scrollbar styling for cart drawer */
.cart-drawer-body::-webkit-scrollbar {
    width: 6px;
}

.cart-drawer-body::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.cart-drawer-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.cart-drawer-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-gray);
}

/* Cart Page Styles */
.cart-page-hero {
    background: linear-gradient(180deg, #fffdf7 0%, #f9f6ef 100%);
}

.cart-section {
    min-height: 60vh;
    background: #f6f4ee;
}

.cart-layout {
    align-items: flex-start;
}

.empty-cart {
    padding: 3.5rem 1rem;
}

.empty-cart-shell {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 3rem 1.5rem;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.empty-cart-icon {
    opacity: 0.38;
}

.cart-items-card,
.cart-summary-card {
    border: 1px solid rgba(26, 22, 36, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.cart-items-card .card-header,
.cart-summary-card .card-header {
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.cart-item-row {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(26, 22, 36, 0.08);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.cart-item-row:last-child {
    border-bottom: none;
}

.cart-item-row:hover {
    background-color: #fcfbf8;
}

.cart-item-content {
    display: flex;
    gap: 1.15rem;
    flex: 1;
    min-width: 0;
}

.cart-item-image {
    width: 112px;
    height: 112px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f1ea;
    border: 1px solid rgba(26, 22, 36, 0.08);
}

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

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

.cart-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.cart-item-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-item-title a:hover {
    color: var(--primary-red);
}

.cart-item-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #fff2e6;
    color: #be4a00;
    border: 1px solid #ffd9bf;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
    margin-bottom: 0.6rem;
}

.cart-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.85rem;
}

.cart-item-quantity {
    margin-top: 0.25rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.quantity-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(26, 22, 36, 0.18);
    background: #fff;
    color: #3f3a4d;
    transition: all 0.18s ease;
    font-size: 0.86rem;
}

.quantity-btn:hover:not(:disabled) {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
}

.quantity-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.quantity-input {
    width: 68px;
    text-align: center;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid rgba(26, 22, 36, 0.18);
    padding: 0.48rem;
}

.quantity-input:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.18rem rgba(220, 53, 69, 0.15);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.65rem;
    min-width: 140px;
}

.cart-item-subtotal {
    text-align: right;
}

.subtotal-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.subtotal-value {
    display: block;
    font-size: 1.08rem;
    font-weight: 800;
    color: #1f1b28;
}

.remove-btn {
    padding: 0.2rem 0;
    font-weight: 600;
    text-decoration: none;
}

.remove-btn:hover {
    color: var(--primary-red) !important;
}

.cart-summary-card {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(23, 16, 36, 0.09);
}

.cart-summary-item {
    padding-bottom: 0.75rem;
}

.coupon-section {
    border-color: rgba(26, 22, 36, 0.08) !important;
}

.coupon-section .form-control,
.coupon-section .btn {
    border-radius: 10px;
}

.coupon-section .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.coupon-section .input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.cart-total {
    margin: 1.25rem 0;
}

.cart-actions .btn {
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.cart-actions .btn-primary {
    background: linear-gradient(145deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border: none;
    box-shadow: 0 10px 18px rgba(200, 35, 51, 0.22);
}

.cart-actions .btn-primary:hover {
    transform: translateY(-1px);
}

.btn-modern-secondary {
    border-color: rgba(26, 22, 36, 0.2);
}

.btn-modern-secondary:hover {
    border-color: rgba(26, 22, 36, 0.28);
    background: #f6f4ee;
}

.cart-security {
    font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 991px) {
    .cart-item-row {
        flex-direction: column;
        gap: 1rem;
    }

    .cart-item-actions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 576px) {
    .empty-cart-shell {
        padding: 2rem 1.2rem;
    }

    .cart-item-content {
        flex-direction: column;
        gap: 0.85rem;
    }

    .cart-item-image {
        width: 100%;
        height: 190px;
    }

    .quantity-controls {
        justify-content: flex-start;
    }
}

/* Checkout Page Styles */
.checkout-section {
    min-height: 60vh;
}

.checkout-section-card,
.checkout-summary-card {
    border: none;
    border-radius: 12px;
}

.checkout-section-card .card-header {
    background-color: var(--bg-white);
    border-bottom: 2px solid var(--border-color);
}

.address-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.address-item:hover {
    border-color: var(--primary-red);
    background-color: var(--bg-light);
}

.address-radio {
    margin-top: 0.25rem;
    cursor: pointer;
}

.address-label {
    flex: 1;
    cursor: pointer;
    margin: 0;
    line-height: 1.6;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-method-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.payment-method-item:hover {
    border-color: var(--primary-red);
    background-color: var(--bg-light);
}

.payment-radio {
    margin-right: 0.75rem;
    cursor: pointer;
}

.payment-label {
    flex: 1;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.order-item {
    align-items: flex-start;
}

.order-item-image {
    flex-shrink: 0;
}

.order-item-details h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.order-summary {
    padding-top: 1rem;
}

.order-total {
    margin-top: 1rem;
}

.checkout-security {
    font-size: 0.9rem;
}

#submitOrderBtn {
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border: none;
}

#submitOrderBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#submitOrderBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 991px) {
    .checkout-summary-card {
        position: relative !important;
        top: 0 !important;
    }
}

@media (max-width: 576px) {
    .order-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .order-item-image {
        width: 100%;
    }
    
    .order-item-image img {
        width: 100%;
        height: 200px;
    }
}

/* Payment Forms */
.payment-form {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.bank-account-info {
    background-color: var(--bg-light) !important;
    border: 2px solid var(--primary-red);
}

.bank-account-info strong {
    color: var(--text-dark);
    font-size: 0.9rem;
}

.bank-account-info span {
    color: var(--text-gray);
}

#creditCardForm input[type="text"] {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

#creditCardForm input[type="text"]:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Responsive */
@media (max-width: 576px) {
    .payment-form {
        padding: 1rem;
    }
    
    .bank-account-info {
        padding: 1rem !important;
    }
}
