/*
Theme Name: Sinorsel EyBa Teması
Theme URI: https://sinorsel.com.tr
Author: Sinorsel
Description: Sinorsel EyBa Teması; Ey-Ba Çiçekcilik için mobil uyumlu e-ticaret teması.
Version: 1.0.0
Text Domain: eybav2
*/

:root {
    --primary-color: #3CA735;
    --primary-hover: #2e8b28;
    --secondary-color: #f4f6f8;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --border-color: #e1e8ed;
    --discount-color: #e74c3c;
    --star-color: #f1c40f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--secondary-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-links a {
    color: var(--white);
    margin-left: 15px;
    font-weight: 300;
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    position: relative;
}

.header-main--center {
    justify-content: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 24px;
}

.search-bar {
    flex-grow: 1;
    max-width: 600px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    box-shadow: 0 0 8px rgba(60, 167, 53, 0.3);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.search-bar button:hover {
    background-color: var(--primary-hover);
}

.header-actions {
    display: flex;
    gap: 20px;
}

.header-actions a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
    font-size: 0.85rem;
    transition: color 0.3s ease;
    position: relative;
}

.header-actions a i {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--text-light);
}

.header-actions a:hover, .header-actions a:hover i {
    color: var(--primary-color);
}

.header-actions a.is-active,
.header-actions a.is-active i {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: 5px;
    background: var(--discount-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-menu-toggle, .mobile-menu-overlay { display: none; }

.contact-hero { margin: 26px 0; padding: 46px 34px; text-align: center; border-radius: 14px; color: var(--white); background: linear-gradient(135deg, rgba(46,139,40,.95), rgba(23,61,59,.92)); box-shadow: 0 10px 28px rgba(38,74,48,.14); }
.contact-hero span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .82; }
.contact-hero h1 { margin: 8px 0 10px; font-family: 'Playfair Display', serif; font-size: 2.5rem; }
.contact-hero p { max-width: 680px; margin: 0 auto; color: rgba(255,255,255,.9); }
.contact-layout { display: grid; grid-template-columns: minmax(260px,.85fr) minmax(0,1.4fr); gap: 22px; margin-bottom: 54px; }
.contact-card { padding: 28px; background: var(--white); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.contact-card h2 { margin: 0 0 20px; font-family: 'Playfair Display',serif; }
.contact-details > a, .contact-detail { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--border-color); }
.contact-details > a { color: inherit; }
.contact-details i { width: 22px; padding-top: 3px; color: var(--primary-color); font-size: 19px; text-align: center; }
.contact-details span { display: flex; flex-direction: column; gap: 3px; }
.contact-details strong { font-size: .82rem; color: var(--text-light); }
.contact-whatsapp { color: #18864a !important; }
.contact-map { min-height: 360px; }
.contact-map iframe { display: block; width: 100%; min-height: 310px; border: 0; border-radius: 8px; }
.contact-map-empty { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--text-light); background: var(--secondary-color); border-radius: 8px; padding: 24px; }
.contact-map-empty i { margin-bottom: 12px; color: var(--primary-color); font-size: 34px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    list-style: none;
    flex-wrap: nowrap !important;
    overflow: hidden;
    white-space: nowrap !important;
    scrollbar-width: none;
    width: 100%;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links > li {
    position: relative;
    flex: 0 0 auto;
    list-style: none !important;
    display: block;
}

nav .nav-links,
nav .nav-links ul,
nav .nav-links li {
    list-style: none !important;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

.nav-links .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    min-width: 210px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    white-space: normal;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
    display: block;
}

.nav-links .sub-menu li { list-style: none; }
.nav-links .sub-menu a { display: block; padding: 9px 15px; text-transform: none; }
.nav-links .sub-menu a::after { display: none; }

@media (max-width: 768px) {
    body.mobile-menu-open { overflow: hidden; }
    .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; position: absolute; right: 0; top: 0; min-width: 74px; height: 40px; padding: 0 12px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--white); color: var(--primary-color); font: inherit; cursor: pointer; z-index: 1002; }
    .mobile-menu-toggle i { font-size: 17px; }
    .site-navigation { position: fixed; top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important; display: none !important; width: 280px !important; max-width: 86vw; height: 100vh; margin: 0 !important; padding: 78px 22px 24px; box-sizing: border-box; background: #fff !important; box-shadow: -12px 0 30px rgba(0,0,0,.18); z-index: 1101; overflow-y: auto; }
    .site-navigation.mobile-open { display: block !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
    .site-navigation > .container { width: 100%; max-width: none; margin: 0; padding: 0; }
    .site-navigation .nav-links { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; width: 100%; flex-wrap: nowrap !important; overflow: visible; white-space: normal !important; }
    .site-navigation .nav-links > li { width: 100%; }
    .site-navigation .nav-links > li > a { display: block; padding: 14px 10px; border-bottom: 1px solid var(--border-color); font-size: .9rem; }
    .site-navigation .nav-links a::after { display: none; }
    .site-navigation .nav-links .sub-menu { position: static; display: block; transform: none; min-width: 0; padding: 0 0 5px 12px; border: 0; box-shadow: none; }
    .site-navigation .nav-links .sub-menu a { padding: 10px; }
    .top-bar { overflow: hidden; }
    .top-bar .container { min-width: 0; }
    .top-bar-links { overflow: hidden; white-space: nowrap; }
    .mobile-menu-overlay { position: fixed; inset: 0; display: none; border: 0; background: rgba(12,25,24,.42); z-index: 1100; cursor: pointer; }
    .mobile-menu-overlay.is-visible { display: block; }
}

.nav-links a {
    font-weight: 500;
    font-size: 0.86rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

/* ==========================================================================
   Hero Slider (Anasayfa)
   ========================================================================== */
.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
    height: 450px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.hero-slider {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(60, 167, 53, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.prev-btn { left: 30px; }
.next-btn { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Story Categories (Anasayfa)
   ========================================================================== */
.story-categories {
    margin: 40px 0;
    padding: 20px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    overflow-x: auto;
}

.story-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    min-width: 800px;
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    width: 100px;
    color: inherit;
    text-decoration: none;
}

.story-img-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--primary-color), #85d780);
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.story-item:hover .story-img-container {
    transform: scale(1.05);
}

.story-img-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
}

.story-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
}

/* ==========================================================================
   Section Title
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.seo-local-copy, .seo-local-districts {
    background: var(--white);
    padding: 34px 40px;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,.03);
}
.seo-local-copy h2, .seo-local-districts h2 { font-family: 'Playfair Display', serif; margin-bottom: 10px; }
.seo-local-districts-heading span { display:block; color:var(--primary-color); font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin-bottom:8px; }
.seo-local-districts-heading p { margin-bottom:24px; color:var(--text-light); }
.seo-local-district-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.seo-local-district-grid a { position:relative; display:flex; flex-direction:column; gap:5px; min-height:84px; padding:16px 42px 16px 17px; border:1px solid var(--border-color); border-radius:9px; color:var(--text-dark); text-decoration:none; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.seo-local-district-grid a:hover { transform:translateY(-2px); border-color:var(--primary-color); box-shadow:0 8px 20px rgba(0,0,0,.07); }
.seo-local-district-grid strong { color:var(--primary-color); font-size:1rem; }
.seo-local-district-grid span { color:var(--text-light); font-size:.82rem; }
.seo-local-district-grid i { position:absolute; right:16px; top:50%; transform:translateY(-50%); color:var(--primary-color); }
@media (max-width: 800px) { .seo-local-copy, .seo-local-districts { padding:26px 22px; } .seo-local-district-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .seo-local-district-grid { grid-template-columns:1fr; } }

/* ==========================================================================
   Product Grid & Card (Anasayfa / Kategori / Benzer Ürünler)
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

/* Kategori/Tüm Ürünler sayfalarında sidebar olduğu için 3 sütun kullanılır */
.main-content .product-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Anasayfadaki "Günün Fırsatları" grid'i biraz daha büyük görsel kullanır */
.featured-grid .product-img {
    height: 300px;
}

/* Ürün detayındaki "Benzer Ürünler" sabit 4 kolonlu grid kullanır */
.related-products .product-grid {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--discount-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.favorite-btn:hover, .favorite-btn.is-active {
    color: var(--discount-color);
}

.product-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}
.product-image-link { display: block; color: inherit; text-decoration: none; }
.product-image-link:hover { color: inherit; }

.img-wrapper {
    overflow: hidden;
    position: relative;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.delivery-info {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.product-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    flex-grow: 1;
    line-height: 1.4;
}

.product-rating {
    color: var(--star-color);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.product-rating span {
    color: var(--text-light);
    margin-left: 5px;
    font-size: 0.8rem;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
}

.new-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
}

.add-to-cart:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Benzer ürünler (küçük kart) - ürün detay sayfası */
.product-img-small {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img-small {
    transform: scale(1.05);
}

.product-info-small {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title-small {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    flex-grow: 1;
    line-height: 1.4;
}

.new-price-small {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ==========================================================================
   Info Banners (Anasayfa)
   ========================================================================== */
.info-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.info-banner {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 250px;
}

.info-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.info-banner:hover img {
    transform: scale(1.05);
}

.info-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: var(--white);
}

.info-banner-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.info-banner-content a {
    display: inline-block;
    margin-top: 15px;
    border-bottom: 1px solid var(--white);
    padding-bottom: 2px;
    font-weight: 300;
    width: fit-content;
}

/* ==========================================================================
   Breadcrumb (Kategori / Ürün Detay)
   ========================================================================== */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-dark);
    font-weight: 500;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    margin: 0 8px;
    font-size: 0.8rem;
}

/* ==========================================================================
   Kategori Sayfası: Sidebar / Filtreler / Toolbar / Pagination
   ========================================================================== */
.category-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.sidebar {
    flex: 0 0 280px;
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: sticky;
    top: 130px;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}
.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-light);
    user-select: none;
    transition: 0.3s;
    position: relative;
}

.checkbox-container:hover {
    color: var(--primary-color);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: var(--white);
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.checkbox-container:hover input ~ .checkmark { border-color: var(--primary-color); }
.checkbox-container input:checked ~ .checkmark { background-color: var(--primary-color); border-color: var(--primary-color); }

/* Kategori sidebar'ında gerçek taksonomi linkleri (checkbox yerine <a>) için */
.checkbox-container.active-filter { color: var(--primary-color); font-weight: 600; }

.checkmark:after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 10px;
    display: none;
}
.checkbox-container input:checked ~ .checkmark:after { display: block; }

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}
.price-inputs input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    outline: none;
}
.price-inputs button {
    padding: 8px 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.main-content {
    flex: 1;
}

.category-banner {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/img/default-kategori.jpg') center/cover;
    border-radius: 12px;
    padding: 50px 40px;
    color: var(--white);
    margin-bottom: 30px;
    text-align: center;
}

.category-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-banner p {
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.seo-local-hero { min-height: 260px; display: flex; align-items: center; justify-content: center; background-position: center; background-size: cover; position: relative; overflow: hidden; }
.seo-local-hero > div { position: relative; z-index: 1; max-width: 800px; }
.seo-local-kicker { display: inline-block; margin-bottom: 12px; color: rgba(255,255,255,.82); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.seo-local-copy { max-width: 980px; margin-left: auto; margin-right: auto; }

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.product-count {
    color: var(--text-light);
    font-size: 0.95rem;
}

.product-count span {
    font-weight: 600;
    color: var(--text-dark);
}

.sort-by {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-by select {
    padding: 8px 30px 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>') no-repeat right 10px center;
    -webkit-appearance: none;
    cursor: pointer;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ==========================================================================
   Sepet Sayfası
   ========================================================================== */
.cart-section {
    padding: 40px 0 80px;
    flex: 1;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cart-items {
    flex: 1;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    padding: 30px;
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 0.5fr;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 0.5fr;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
}
.cart-item:last-child { border-bottom: none; padding-bottom: 0; }

.item-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.item-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.item-details h4 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.item-details p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.item-extras {
    font-size: 0.8rem;
    color: var(--primary-color);
    background: rgba(60, 167, 53, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    width: 90px;
    height: 35px;
}

.qty-controls button {
    background: var(--white);
    border: none;
    width: 30px;
    height: 100%;
    cursor: pointer;
    color: var(--text-dark);
    transition: 0.3s;
}
.qty-controls button:hover { background: var(--secondary-color); }

.qty-controls input {
    width: 30px;
    height: 100%;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    outline: none;
}

.item-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.btn-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.2rem;
    transition: 0.3s;
    text-align: right;
}
.btn-remove:hover { color: var(--discount-color); }

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-outline {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-outline:hover { background: var(--secondary-color); border-color: #ccc; }

.order-summary {
    flex: 0 0 350px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    padding: 30px;
    position: sticky;
    top: 130px;
}

.summary-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.summary-line.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    border-top: 2px dashed var(--border-color);
    padding-top: 15px;
    margin-top: 5px;
    margin-bottom: 25px;
}

.free-shipping-msg {
    background: rgba(60, 167, 53, 0.1);
    color: var(--primary-color);
    padding: 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 500;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.coupon-box {
    display: flex;
    margin-bottom: 25px;
}
.coupon-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px 0 0 6px;
    font-family: 'Poppins', sans-serif;
    outline: none;
}
.coupon-box button {
    padding: 10px 20px;
    background: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: 0.3s;
}
.coupon-box button:hover { background: #000; }

.btn-checkout {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(60, 167, 53, 0.3);
}
.btn-checkout:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.secure-checkout {
    text-align: center;
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

a.btn-checkout {
    text-decoration: none;
}

.cart-empty {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    padding: 60px 30px;
    text-align: center;
    color: var(--text-light);
}
.cart-empty i {
    font-size: 3rem;
    color: var(--border-color);
    margin-bottom: 15px;
    display: block;
}
.cart-empty p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* ==========================================================================
   Ödeme Sayfası
   ========================================================================== */
.checkout-card {
    display: block;
}
.checkout-card .summary-title {
    margin-bottom: 15px;
}
.checkout-card .summary-title:not(:first-child) {
    margin-top: 30px;
}

.checkout-card > .form-group input,
.checkout-card > .form-group select,
.checkout-card > .form-group textarea {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 12px 15px;
    text-align: left;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    color: var(--text-dark);
    background: var(--white);
}

.checkout-card > .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkout-card .select2-container {
    width: 100% !important;
}

.checkout-card .select2-container .select2-selection--single {
    height: 48px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.checkout-card .select2-container .select2-selection__rendered {
    line-height: 46px;
    padding-left: 15px;
    text-align: left;
}

.checkout-card .select2-container .select2-selection__arrow {
    height: 46px;
}

.form-group textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    resize: vertical;
    transition: all 0.3s;
}
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(60, 167, 53, 0.1);
}
.form-group .input-wrapper textarea {
    padding-left: 45px;
}
.form-group .input-wrapper i {
    top: 22px;
    transform: none;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.payment-method-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    color: var(--text-dark);
    font-size: 0.95rem;
}
.payment-method-option i {
    color: var(--text-light);
    font-size: 1.1rem;
}
.payment-method-option:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(60, 167, 53, 0.05);
}
.payment-method-option:has(input:checked) i {
    color: var(--primary-color);
}

/* ==========================================================================
   Hesabım / Panelim Sayfası
   ========================================================================== */
.account-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.order-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
}

.order-card-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    font-size: 0.9rem;
}
.order-card-header::-webkit-details-marker {
    display: none;
}
.order-card-header::before {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--text-light);
    margin-right: 5px;
}
.order-card[open] .order-card-header::before {
    content: '\f106';
}

.order-no {
    font-weight: 600;
    color: var(--text-dark);
}
.order-date {
    color: var(--text-light);
}
.order-total {
    margin-left: auto;
    font-weight: 700;
    color: var(--text-dark);
}

.order-status {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--secondary-color);
    color: var(--text-light);
}
.order-status--odendi, .order-status--tamamlandi {
    background: rgba(60, 167, 53, 0.1);
    color: var(--primary-color);
}
.order-status--odeme_bekleniyor, .order-status--hazirlaniyor, .order-status--kargoda {
    background: rgba(241, 196, 15, 0.15);
    color: #b8860b;
}
.order-status--odeme_basarisiz, .order-status--iptal {
    background: rgba(231, 76, 60, 0.1);
    color: var(--discount-color);
}

.order-card-body {
    padding: 0 20px 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.order-card-link {
    display: block;
    text-decoration: none;
    transition: 0.2s;
}
.order-card-link:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.order-detail-arrow {
    color: var(--text-light);
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 15px;
}
.account-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: 0.2s;
}
.account-nav-link i {
    width: 16px;
    text-align: center;
}
.account-nav-link:hover {
    background: rgba(60, 167, 53, 0.06);
    color: var(--primary-color);
}
.account-nav-link.is-active {
    background: var(--primary-color);
    color: var(--white);
}

.form-row {
    display: flex;
    gap: 15px;
}
.form-row .form-group {
    flex: 1;
}

.address-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}
.address-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    padding: 18px 20px;
}
.address-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.address-default-badge {
    background: rgba(60, 167, 53, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 50px;
}
.address-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}
.address-card-actions {
    display: flex;
    gap: 15px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}
.address-card-actions a,
.address-card-actions button {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.address-card-actions a:hover,
.address-card-actions button:hover {
    color: var(--primary-color);
}
.address-card-actions form {
    display: inline;
}

.address-select-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.address-select-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}
.address-select-card:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(60, 167, 53, 0.05);
}
.address-select-card input {
    margin-top: 4px;
}
.address-select-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 4px;
    line-height: 1.5;
}

.guest-account-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 25px;
}
.guest-account-box-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}
.guest-account-box-text i {
    color: var(--primary-color);
    font-size: 1.3rem;
}
.guest-account-box-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.guest-account-box-actions .btn-outline {
    padding: 10px 16px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Ürün Detay Sayfası
   ========================================================================== */
.product-wrapper {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    gap: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}

.product-gallery {
    flex: 0 0 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: 0.3s;
}
.product-lightbox { position: fixed; inset: 0; z-index: 1500; display: flex; align-items: center; justify-content: center; padding: 56px; background: rgba(11,28,27,.9); opacity: 0; transition: opacity .18s ease; }
.product-lightbox[hidden] { display: none; }
.product-lightbox.is-open { opacity: 1; }
.product-lightbox > img { max-width: min(92vw, 1100px); max-height: 84vh; object-fit: contain; border-radius: 8px; box-shadow: 0 18px 60px rgba(0,0,0,.35); }
.product-lightbox-close, .product-lightbox-nav { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.product-lightbox-close { top: 22px; right: 24px; }
.product-lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.product-lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.product-lightbox-close:hover, .product-lightbox-nav:hover { background: var(--primary-color); border-color: var(--primary-color); }
body.lightbox-open { overflow: hidden; }

.thumbnail-list {
    display: flex;
    gap: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    background: none;
    padding: 0;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail.active, .thumbnail:hover {
    border-color: var(--primary-color);
}

/* Ürün detay sayfasının sağ (bilgi) kolonu - .product-info (kart) ile çakışmasın diye ayrı isim */
.product-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
}
.badge.trend { background-color: #3498db; }
.badge.fast { background-color: var(--primary-color); }

.product-title-main {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.rating-stars {
    color: var(--star-color);
    font-size: 1.1rem;
}
.rating-stars span {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 5px;
    font-family: 'Poppins', sans-serif;
}

.sku {
    color: var(--text-light);
    font-size: 0.9rem;
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.product-price-large .old {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
}

.short-desc {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.7;
}

.product-extras {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.extras-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.extra-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.extra-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.extra-item:hover { border-color: var(--primary-color); }
.extra-item.selected { border-color: var(--primary-color); background: rgba(60, 167, 53, 0.05); font-weight: 500; }

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    height: 55px;
}

.qty-btn {
    background: var(--white);
    border: none;
    width: 45px;
    height: 100%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    color: var(--text-dark);
}
.qty-btn:hover { background: var(--secondary-color); }

.qty-input {
    width: 50px;
    height: 100%;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.btn-add-cart-large {
    flex: 1;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(60, 167, 53, 0.3);
}

.btn-add-cart-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-favorite-large {
    width: 55px;
    height: 55px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-light);
    font-size: 1.3rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-favorite-large:hover, .btn-favorite-large.is-active {
    border-color: var(--discount-color);
    color: var(--discount-color);
}

.delivery-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(60, 167, 53, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed rgba(60, 167, 53, 0.3);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.benefit-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.benefit-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.tabs-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-bottom: 60px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: var(--secondary-color);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 20px 30px;
    border: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
    background: var(--white);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--primary-color);
}

.tab-content {
    padding: 40px;
    display: none;
    color: var(--text-light);
    line-height: 1.8;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.review-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.review-item:last-child { border: none; margin-bottom: 0; padding-bottom: 0;}

.review-header { display: flex; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; gap: 5px; }
.reviewer-info { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-dark); }
.review-date { font-size: 0.85rem; color: #999; }

.comment-respond {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}
.comment-reply-title {
    font-size: 2rem;
    margin-bottom: 18px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.comment-form p {
    margin: 0;
}
.comment-form label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.comment-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text-dark);
}
.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}
.comment-form .submit {
    width: fit-content;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
}
.comment-form .submit:hover {
    opacity: 0.96;
}
.comment-form .comment-notes,
.comment-form .logged-in-as {
    display: none;
}

.star-rating-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.automatic-product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    padding: 14px 16px;
    background: rgba(241,196,15,.08);
    border: 1px solid rgba(241,196,15,.25);
    border-radius: 8px;
}

.automatic-rating-message {
    color: var(--primary-color);
    font-size: .85rem;
}

.automatic-rating-message.is-error {
    color: var(--discount-color);
}
.star-rating-label {
    font-weight: 600;
    color: var(--text-dark);
}
.star-rating-buttons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.star-rate-button {
    border: none;
    background: transparent;
    color: #d4d4d4;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}
.star-rate-button:hover,
.star-rate-button.is-active {
    color: #f5b700;
    transform: translateY(-1px);
}
.star-rate-button i {
    pointer-events: none;
}

/* ==========================================================================
   Footer (Ana Site)
   ========================================================================== */
.site-footer {
    background-color: #2d3436;
    color: #b2bec3;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a { color: inherit; }
.footer-menu a:hover { color: var(--primary-color); }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}
.footer-bottom p { margin: 4px 0; }
.footer-bottom a { color: inherit; text-decoration: underline; }
.floating-whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 1100; display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.28); font-size: .84rem; font-weight: 700; }
.floating-whatsapp:hover { background: #1eaf54; color: #fff; transform: translateY(-2px); }
.floating-whatsapp i { font-size: 1.25rem; }
.bank-transfer-details { margin: 4px 0 22px; padding: 16px 18px; border: 1px solid #dcebdc; border-left: 4px solid var(--primary-color); border-radius: 8px; background: #f7fbf8; }
.bank-transfer-details[hidden] { display: none; }
.bank-transfer-details strong { display: block; margin-bottom: 8px; color: var(--text-dark); }
.bank-transfer-details p { margin: 0 0 8px; color: var(--text-light); line-height: 1.7; }
.bank-transfer-details p span { display: inline-block; min-width: 54px; color: var(--text-dark); font-weight: 600; }
.bank-transfer-details small { color: var(--text-light); }
.order-approval-page { padding: 48px 0 80px; }
.order-approval-card { max-width: 620px; margin: 0 auto; padding: 30px; text-align: center; }
.order-approval-card h1 { margin-top: 0; font-family: 'Playfair Display', serif; }
.order-approval-image { display: block; width: 100%; max-height: 460px; object-fit: contain; margin: 18px auto; border-radius: 10px; }
.order-change-form { display: grid; gap: 10px; margin-top: 18px; }
.order-change-form textarea { min-height: 90px; padding: 10px; border: 1px solid var(--border-color); border-radius: 7px; }

.cookie-consent { position: fixed; right: 24px; bottom: 92px; z-index: 1200; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; width: min(390px, calc(100vw - 32px)); padding: 18px; border: 1px solid rgba(45,106,95,.22); border-radius: 8px; background: #fff; box-shadow: 0 18px 46px rgba(23,61,59,.22); color: var(--text-dark); opacity: 0; transform: translateY(16px); transition: opacity .2s ease, transform .2s ease; box-sizing: border-box; }
.cookie-consent.is-visible { opacity: 1; transform: translateY(0); }
.cookie-consent-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #e8f2ec; color: var(--primary-color); font-size: 1rem; }
.cookie-consent-content strong { display: block; margin: 1px 0 6px; font-family: 'Playfair Display', serif; font-size: 1.08rem; }
.cookie-consent-content p { margin: 0; color: var(--text-light); font-size: .79rem; line-height: 1.55; }
.cookie-consent-content a { display: inline-block; margin-top: 7px; color: var(--primary-color); font-size: .78rem; font-weight: 700; text-decoration: underline; }
.cookie-consent-actions { display: flex; grid-column: 1 / -1; gap: 8px; margin-top: 2px; }
.cookie-consent-actions button { min-height: 36px; padding: 8px 14px; border-radius: 6px; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.cookie-consent-reject { flex: 1; border: 1px solid var(--border-color); background: #fff; color: var(--text-dark); }
.cookie-consent-accept { flex: 1.15; border: 1px solid var(--primary-color); background: var(--primary-color); color: #fff; }
.cookie-consent-reject:hover { border-color: var(--primary-color); color: var(--primary-color); }
.cookie-consent-accept:hover { background: var(--primary-hover); }

.bilgi-page { padding-top: 28px; padding-bottom: 54px; }
.bilgi-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 24px; }
.bilgi-card { min-height: 430px; padding: 42px 48px; background: var(--white); border: 1px solid var(--border-color); border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.05); box-sizing: border-box; }
.bilgi-card-heading { min-height: 148px; padding-bottom: 24px; border-bottom: 1px solid var(--border-color); box-sizing: border-box; }
.bilgi-kicker { color: var(--primary-color); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bilgi-card h1 { margin: 8px 0 0; font-family: 'Playfair Display', serif; font-size: 2.4rem; line-height: 1.18; color: var(--text-dark); overflow-wrap: anywhere; }
.bilgi-lead { margin: 12px 0 0; color: var(--text-light); }
.bilgi-content { padding-top: 26px; color: var(--text-dark); line-height: 1.85; }
.bilgi-content h2, .bilgi-content h3 { margin: 26px 0 8px; font-family: 'Playfair Display', serif; }
.bilgi-content p { margin: 0 0 16px; }
.bilgi-sidebar { display: grid; gap: 16px; position: sticky; top: 24px; }
.bilgi-side-card { padding: 22px; background: var(--white); border: 1px solid var(--border-color); border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.05); }
.bilgi-side-card h2 { margin: 6px 0 10px; font-family: 'Playfair Display', serif; font-size: 1.35rem; }
.bilgi-side-card p { color: var(--text-light); font-size: .9rem; }
.bilgi-side-kicker { color: var(--primary-color); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bilgi-contact-card { background: linear-gradient(145deg,#173d3b,#2d6a5f); color: var(--white); border: 0; }
.bilgi-contact-card h2 { color: var(--white); }.bilgi-contact-card p { color: rgba(255,255,255,.82); }
.bilgi-contact-card .bilgi-side-kicker { color: #b7e4b1; }
.bilgi-side-button { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 7px; background: var(--primary-color); color: var(--white); font-size: .88rem; font-weight: 600; }
.bilgi-side-button:hover { background: var(--primary-hover); color: var(--white); }
.bilgi-quick-links { display: grid; gap: 2px; margin-top: 14px; }
.bilgi-quick-links a { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--border-color); color: var(--text-dark); font-size: .88rem; }
.bilgi-quick-links a i { width: 18px; color: var(--primary-color); text-align: center; }
.bilgi-quick-links a:hover { color: var(--primary-color); }
@media (max-width: 850px) { .bilgi-layout { grid-template-columns: 1fr; }.bilgi-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .bilgi-page { padding-top: 18px; } .bilgi-card { min-height: 0; padding: 28px 20px; } .bilgi-card-heading { min-height: 0; } .bilgi-sidebar { grid-template-columns: 1fr; } .cookie-consent { right: 16px; bottom: 84px; } .floating-whatsapp { right: 16px; bottom: 16px; width: 48px; height: 48px; justify-content: center; padding: 0; border-radius: 50%; } .floating-whatsapp span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); } }

/* Giriş sayfası için sade footer */
.site-footer-minimal {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: auto;
}

/* ==========================================================================
   Giriş Sayfası
   ========================================================================== */
.login-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 15px;
    background: linear-gradient(135deg, rgba(60, 167, 53, 0.05) 0%, rgba(0,0,0,0) 100%);
}

.login-card {
    background-color: var(--white);
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.form-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(60, 167, 53, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 10px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-light);
}

.remember-me input {
    margin-right: 8px;
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    font-weight: 500;
    transition: 0.3s;
}

.forgot-password:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 20px;
}

.btn-submit:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(60, 167, 53, 0.3);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider:not(:empty)::before { margin-right: .25em; }
.divider:not(:empty)::after { margin-left: .25em; }

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-social {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: 0.3s;
}

.btn-social:hover {
    background: var(--secondary-color);
}

.btn-social.google i { color: #DB4437; }
.btn-social.facebook i { color: #4267B2; }

.register-link {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

.register-link a {
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 5px;
}

.register-link a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .info-banners {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-layout { flex-direction: column; }
    .account-layout { flex-direction: column; }
    .sidebar { width: 100%; position: static; }
    .cart-container { flex-direction: column; }
    .order-summary { width: 100%; position: static; }
    .cart-header { display: none; }
    .cart-item { grid-template-columns: 1fr; gap: 15px; position: relative; padding-bottom: 20px; }
    .btn-remove { position: absolute; top: 20px; right: 0; }
    .item-price { text-align: left; margin-top: 10px; }
    .product-wrapper { flex-direction: column; padding: 25px; }
    .product-gallery { flex: none; width: 100%; }
    .main-image { height: 450px; }
    .product-grid,
    .main-content .product-grid,
    .related-products .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
    .cart-container:has(.checkout-card) { flex-direction: column; }
    .cart-container:has(.checkout-card) .checkout-card,
    .cart-container:has(.checkout-card) .order-summary { width: 100%; max-width: none; flex-basis: auto; box-sizing: border-box; position: static; }
}

@media (max-width: 768px) {
    html, body { max-width: 100%; overflow-x: hidden; }
    .container { width: 100%; max-width: 100%; padding-left: 12px; padding-right: 12px; }
    .hero-slider-wrapper { height: 390px; margin-bottom: 24px; }
    .hero-content { width: 100%; padding: 0 18px; }
    .hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); line-height: 1.12; }
    .hero-content p { font-size: .95rem; line-height: 1.5; margin-bottom: 20px; }
    .story-categories { width: 100%; margin: 24px 0; padding: 14px 10px; overflow-x: auto; overscroll-behavior-inline: contain; }
    .story-wrapper { width: max-content; min-width: 0; justify-content: flex-start; gap: 16px; }
    .story-item { width: 82px; flex: 0 0 82px; }
    .story-img-container { width: 68px; height: 68px; }
    .story-item span { font-size: .72rem; }
    .section-title { margin: 28px 0 20px; }
    .section-title h2 { font-size: 1.8rem; }
    .product-grid, .featured-grid, .main-content .product-grid, .related-products .product-grid { width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .product-card { width: 100%; min-width: 0; }
    .featured-grid .product-img, .product-grid .product-img { height: 260px; }
    .product-info { padding: 15px; }
    .info-banners { width: 100%; }
    .contact-hero { padding: 34px 20px; }
    .contact-hero h1 { font-size: 2rem; }
    .contact-layout { grid-template-columns: 1fr; gap: 16px; }
    .contact-card { padding: 22px 18px; }
    .header-main { flex-direction: column; gap: 15px; }
    .search-bar { width: 100%; }
    .nav-links { flex-wrap: wrap; gap: 15px; justify-content: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .slider-btn { display: none; }
    .toolbar { flex-direction: column; gap: 15px; align-items: flex-start; }
    .cart-actions { flex-direction: column; gap: 15px; }
    .btn-outline { justify-content: center; }
    .main-image { height: 350px; }
    .extras-grid { grid-template-columns: 1fr; }
    .product-actions { flex-direction: column; }
    .btn-favorite-large { width: 100%; }
    .tabs-header { flex-direction: column; }
    .tab-btn { border-bottom: 1px solid var(--border-color); }
    .tab-btn.active::after { top: auto; bottom: 0; left: 0; width: 3px; height: 100%; }
    .product-grid,
    .main-content .product-grid,
    .related-products .product-grid { grid-template-columns: 1fr; }
    .login-card { padding: 30px 20px; }
    .social-login { grid-template-columns: 1fr; }
}
