/**
 * Yerli Türk Kahvesi - Nitelikli & Butik Kahve E-Ticaret CMS
 * Ana Tasarım ve Stil Dosyası (kahve.css)
 * 
 * Lüks Kahve Renk Paleti:
 * Ana Gövde / Espresso: #1C120C, #2E1B12
 * Zengin Moka: #382117, #523425
 * Vurgu Karamel & Altın: #C88A35, #D4A76A (Hover: #B88540)
 * Zemin & Nötr: #FAF7F2 (Sıcak Keten/Krem), #F5EFEB, #FFFFFF
 * Rozetler: #9E2A2B (Kavrum Kırmızısı), #2E7D32 (Doğal Yeşil)
 */

:root {
    /* Tipografi */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Lüks Kahve Renk Paleti */
    --c-espresso: #1C120C;
    --c-primary: #382117;
    --c-primary-dark: #24140D;
    --c-primary-light: #523425;
    
    --c-caramel: #C88A35;
    --c-gold: #D4A76A;
    --c-gold-hover: #B88540;
    --c-accent: #C88A35;
    --c-accent-hover: #A06407;

    --c-bg: #FAF7F2;
    --c-surface: #FFFFFF;
    --c-cream: #F5EFEB;
    --c-latte: #EFE6DD;
    --c-border: #E8DFD5;
    --c-border-subtle: #F2ECE5;

    --c-text: #231815;
    --c-text-muted: #75655D;
    --c-text-light: #9E8E85;
    --c-white: #FFFFFF;

    --c-success: #2E7D32;
    --c-danger: #9E2A2B;
    --c-badge-discount: #9E2A2B;
    --c-warning: #D97706;

    /* Yarıçap & Gölgeler */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-pill: 9999px;

    --shadow-sm: 0 2px 8px rgba(28, 18, 12, 0.04);
    --shadow: 0 8px 24px rgba(28, 18, 12, 0.06);
    --shadow-hover: 0 14px 36px rgba(28, 18, 12, 0.12);
    --shadow-drawer: -10px 0 40px rgba(28, 18, 12, 0.22);
}

/* Sıfırlama ve Temel */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--c-bg);
    color: var(--c-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .h1, .h2, .h3, .font-serif, .ref-section-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    font-weight: 700;
}

a {
    color: var(--c-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--c-caramel);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Konteyner & Grid */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content-wrap {
    min-height: 75vh;
    padding: 24px 0 40px 0;
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Lüks Üst Bilgi Çubuğu (Top Bar) */
.ref-top-bar {
    background: #23150F;
    border-bottom: 1px solid rgba(212, 167, 106, 0.15);
    font-size: 12.5px;
    padding: 8px 0;
    color: #D6C7BF;
}

.ref-top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ref-wp-btn {
    background: #25D366;
    color: #FFFFFF !important;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    margin-left: 10px;
    transition: all 0.2s ease;
}
.ref-wp-btn:hover {
    background: #1EBE5D;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.ref-top-user-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
}
.ref-top-user-links a {
    color: #EBDDCE;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.ref-top-user-links a:hover {
    color: var(--c-gold);
}

/* Ana Lüks Header & Menü Çubuğu */
.ref-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-border-subtle);
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 4px 20px rgba(28, 18, 12, 0.04);
    transition: background 0.3s, box-shadow 0.3s;
}

.ref-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.ref-brand-logo:hover {
    transform: scale(1.02);
}
.ref-brand-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.ref-nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.ref-nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap !important;
}

.ref-nav-menu li {
    flex-shrink: 0 !important;
}

.ref-nav-menu li a {
    color: var(--c-espresso);
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

@media (max-width: 1440px) {
    .ref-nav-menu { gap: 13px; }
    .ref-nav-menu li a { font-size: 12px; letter-spacing: 0.2px; }
}

@media (max-width: 1250px) {
    .ref-nav-menu { gap: 9px; }
    .ref-nav-menu li a { font-size: 11px; letter-spacing: 0.1px; }
    .ref-brand-logo img { width: 160px !important; }
}

@media (max-width: 1120px) {
    .ref-nav-menu { gap: 6px; }
    .ref-nav-menu li a { font-size: 10px; letter-spacing: 0; }
    .ref-brand-logo img { width: 140px !important; }
}

.ref-nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--c-caramel), var(--c-gold));
    border-radius: 2px;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ref-nav-menu li a:hover::after,
.ref-nav-menu li a.active::after {
    width: 100%;
}

.ref-nav-menu li a:hover, 
.ref-nav-menu li a.active {
    color: var(--c-caramel);
}

.ref-nav-badge-b2b {
    background: linear-gradient(135deg, #C88A35, #E5B26E);
    color: #1C120C;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(200, 138, 53, 0.25);
}

.ref-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ref-search-btn {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-espresso);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ref-search-btn:hover {
    background: var(--c-surface);
    color: var(--c-caramel);
    border-color: var(--c-gold);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Lüks Mini Sepet Butonu (Tetikleyici) */
.ref-cart-btn {
    background: var(--c-espresso);
    color: #FFFFFF !important;
    border: none;
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(28, 18, 12, 0.18);
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
.ref-cart-btn:hover {
    background: var(--c-primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(28, 18, 12, 0.25);
}
.ref-cart-badge {
    background: var(--c-gold);
    color: #1C120C;
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    transition: transform 0.2s;
    flex-shrink: 0 !important;
}
.ref-cart-total {
    font-size: 12.5px;
    font-weight: 600;
    color: #EBDDCE;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 8px;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

/* ========================================================================= */
/* SLIDE-OVER MINI SEPET (DRAWER) STILLERI                                   */
/* ========================================================================= */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 10, 6, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 92vw;
    height: 100vh;
    background: #FFFFFF;
    z-index: 99995;
    box-shadow: var(--shadow-drawer);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-sans);
}
.cart-drawer.active {
    transform: translateX(0%);
}

.cart-drawer-header {
    padding: 18px 24px;
    background: var(--c-espresso);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(212, 167, 106, 0.2);
}
.cart-drawer-badge-icon {
    width: 36px;
    height: 36px;
    background: rgba(212, 167, 106, 0.15);
    color: var(--c-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.cart-drawer-title {
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 0;
    line-height: 1.2;
    color: #FFFFFF;
}
.cart-drawer-subtitle {
    font-size: 12px;
    color: #C7B5AB;
}
.cart-drawer-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}
.cart-drawer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Kargo Hedef Barı */
.cart-drawer-shipping {
    background: #FFFDF9;
    border-bottom: 1px solid var(--c-border);
    padding: 14px 24px;
}
.shipping-info {
    font-size: 12.5px;
    color: var(--c-espresso);
    margin-bottom: 8px;
}
.shipping-label strong {
    color: var(--c-caramel);
}
.shipping-percent {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--c-caramel);
}
.shipping-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--c-latte);
    border-radius: 3px;
    overflow: hidden;
}
.shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--c-caramel), var(--c-gold));
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Gövde / Ürün Listesi */
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    overscroll-behavior: contain;
}
.cart-drawer-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cart-drawer-item {
    display: flex;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-border-subtle);
    align-items: flex-start;
    animation: fadeInItem 0.25s ease-out;
}
@keyframes fadeInItem {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.item-img-wrap {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    background: var(--c-bg);
    border: 1px solid var(--c-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.item-img-wrap img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.item-img-wrap:hover img {
    transform: scale(1.06);
}
.item-details {
    flex: 1;
    min-width: 0;
}
.item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--c-espresso);
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.item-title:hover {
    color: var(--c-caramel);
}
.item-variant {
    font-size: 11.5px;
    color: var(--c-text-muted);
    display: block;
    margin-top: 2px;
}
.item-remove-btn {
    background: none;
    border: none;
    color: #A0938C;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 14px;
    transition: color 0.2s ease;
}
.item-remove-btn:hover {
    color: var(--c-danger);
}
.drawer-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    overflow: hidden;
    height: 28px;
}
.d-step-btn {
    background: none;
    border: none;
    width: 26px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-espresso);
    cursor: pointer;
    font-size: 12px;
    transition: background 0.15s ease;
}
.d-step-btn:hover {
    background: var(--c-cream);
    color: var(--c-caramel);
}
.d-step-qty {
    font-size: 12.5px;
    font-weight: 700;
    width: 26px;
    text-align: center;
    color: var(--c-espresso);
}
.item-total-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--c-espresso);
}

/* Boş Sepet */
.cart-drawer-empty {
    text-align: center;
    padding: 60px 20px;
}
.cart-drawer-empty .empty-icon {
    font-size: 52px;
    margin-bottom: 12px;
}
.cart-drawer-empty h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--c-espresso);
    margin-bottom: 8px;
}
.cart-drawer-empty p {
    font-size: 13.5px;
    color: var(--c-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}
.btn-drawer-explore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--c-espresso);
    color: #FFFFFF !important;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-drawer-explore:hover {
    background: var(--c-caramel);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Çapraz Satış (Upsell) */
.drawer-upsell-box {
    background: var(--c-cream);
    border: 1px dashed var(--c-gold);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 14px;
}
.upsell-icon {
    font-size: 22px;
}
.upsell-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--c-espresso);
}
.upsell-subtitle {
    font-size: 11px;
    color: var(--c-text-muted);
}
.btn-upsell-add {
    background: #FFFFFF;
    border: 1px solid var(--c-gold);
    color: var(--c-caramel) !important;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-upsell-add:hover {
    background: var(--c-caramel);
    color: #FFFFFF !important;
}

/* Footer & Özet */
.cart-drawer-footer {
    padding: 20px 24px;
    background: #FFFFFF;
    border-top: 1px solid var(--c-border);
    box-shadow: 0 -4px 18px rgba(0,0,0,0.03);
}
.drawer-summary-row {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: 6px;
}
.drawer-summary-row .summary-val {
    font-weight: 600;
    color: var(--c-espresso);
}
.drawer-summary-total {
    border-top: 1px dashed var(--c-border);
    margin-top: 8px;
}
.total-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-espresso);
}
.total-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--c-espresso);
}
.drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.btn-drawer-checkout {
    background: linear-gradient(135deg, var(--c-caramel), #D89842);
    color: #FFFFFF !important;
    text-align: center;
    padding: 13px 20px;
    border-radius: var(--radius-pill);
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(200, 138, 53, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-drawer-checkout:hover {
    background: linear-gradient(135deg, #B57929, #C88A35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 138, 53, 0.4);
}
.btn-drawer-cart {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    color: var(--c-espresso) !important;
    text-align: center;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-drawer-cart:hover {
    background: var(--c-cream);
    border-color: var(--c-gold);
    color: var(--c-caramel) !important;
}

/* Hero Carousel Slider */
.ref-hero-slider {
    position: relative;
    background: #111419;
    border-radius: 4px;
    overflow: hidden;
    margin: 16px 0 35px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.ref-hero-slide {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: cover;
}

.ref-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    user-select: none;
}
.ref-slider-arrow:hover {
    background: #FFFFFF;
}
.ref-slider-arrow.left { left: 14px; }
.ref-slider-arrow.right { right: 14px; }

.ref-slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 30px 0;
}
.ref-slider-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #D7CCC8;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.ref-slider-dots .dot.active {
    background: #4E342E;
    transform: scale(1.15);
}

/* Bölüm Başlıkları */
.ref-section-heading {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #1A1A1A;
    margin: 40px 0 20px 0;
    letter-spacing: -0.3px;
}

/* 5 Kolonlu Ürün Grid / Slider */
.ref-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 12px;
}

@media (max-width: 1200px) {
    .ref-product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .ref-product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .ref-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ref-product-grid { grid-template-columns: 1fr; }
}

/* Ürün Kartı (Birebir Referans Görünümü) */
.ref-product-card {
    background: #FFFFFF;
    border: 1px solid #ECEFF1;
    border-radius: 6px;
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.ref-product-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border-color: #CFD8DC;
}

.ref-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #A82020, #801414);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 8px rgba(168, 32, 32, 0.35);
    letter-spacing: 0.3px;
    z-index: 5;
}

.ref-product-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}
.ref-product-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.ref-product-card:hover .ref-product-img-wrap img {
    transform: scale(1.04);
}

.ref-product-title {
    font-size: 13px;
    font-weight: 700;
    color: #263238;
    line-height: 1.35;
    height: 38px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    text-align: left;
}
.ref-product-title a {
    color: #263238;
    text-decoration: none;
}
.ref-product-title a:hover {
    color: #8D5B28;
}

.ref-price-favorite-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ref-prices {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.2;
    white-space: nowrap !important;
}

.ref-old-price {
    font-size: 11px;
    color: #9E9E9E;
    text-decoration: line-through;
    white-space: nowrap !important;
}

.ref-current-price {
    font-size: 15px;
    font-weight: 800;
    color: #1A1A1A;
    white-space: nowrap !important;
    display: inline-block;
}

.ref-fav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #A0938C;
    transition: transform 0.2s, color 0.2s;
    padding: 2px;
}
.ref-fav-btn:hover {
    color: var(--c-danger);
    transform: scale(1.15);
}
.ref-fav-btn.active {
    color: var(--c-danger);
}

/* Stepper & Sepete Ekle Buton Satırı */
.ref-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ref-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 34px;
    background: #FFFFFF;
}

.ref-stepper-btn {
    width: 26px;
    height: 100%;
    background: var(--c-cream);
    color: var(--c-espresso);
    border: none;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    user-select: none;
}
.ref-stepper-btn:hover {
    background: var(--c-latte);
    color: var(--c-caramel);
}

.ref-stepper-input {
    width: 28px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--c-espresso);
    outline: none;
    -moz-appearance: textfield;
}
.ref-stepper-input::-webkit-outer-spin-button,
.ref-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ref-add-cart-btn {
    flex: 1;
    height: 34px;
    background: linear-gradient(135deg, var(--c-espresso), var(--c-primary));
    color: #FFFFFF !important;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(28, 18, 12, 0.15);
}
.ref-add-cart-btn:hover {
    background: linear-gradient(135deg, var(--c-caramel), #D89842);
    box-shadow: 0 4px 12px rgba(200, 138, 53, 0.3);
    transform: translateY(-1px);
}
.ref-add-cart-btn:active {
    transform: scale(0.98);
}

/* Category Bento Grid (5'li Mozaik Banner) */
.ref-bento-section {
    margin: 45px 0 35px 0;
}

.ref-bento-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 16px;
}

@media (max-width: 900px) {
    .ref-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 200px 200px;
    }
    .ref-bento-tall {
        grid-column: span 2;
        grid-row: span 1 !important;
    }
}
@media (max-width: 600px) {
    .ref-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .ref-bento-tall {
        grid-column: span 1;
        height: 280px;
    }
    .ref-bento-item {
        height: 180px;
    }
}

.ref-bento-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.ref-bento-tall {
    grid-row: span 2;
}

.ref-bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ref-bento-item:hover .ref-bento-img {
    transform: scale(1.05);
}

.ref-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.45));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.ref-bento-item:hover .ref-bento-overlay {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.ref-bento-title {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    text-align: center;
}
.ref-bento-tall .ref-bento-title {
    font-size: 34px;
}

/* Dark Footer (Birebir Referans Ekranı) */
.ref-footer {
    background: #000000;
    color: #B0BEC5;
    padding: 45px 0 20px 0;
    margin-top: 50px;
    font-size: 13px;
}

.ref-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.3fr;
    gap: 28px;
    margin-bottom: 35px;
}

@media (max-width: 1024px) {
    .ref-footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .ref-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .ref-footer-grid { grid-template-columns: 1fr; }
}

.ref-footer-col h4 {
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: none;
    letter-spacing: 0.2px;
}

.ref-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ref-footer-col ul li {
    margin-bottom: 7px;
}

.ref-footer-col ul li a {
    color: #90A4AE;
    text-decoration: none;
    transition: color 0.2s;
}
.ref-footer-col ul li a:hover {
    color: #FFFFFF;
}

.ref-newsletter-form {
    display: flex;
    margin-top: 10px;
    border-radius: 3px;
    overflow: hidden;
}

.ref-newsletter-input {
    flex: 1;
    padding: 9px 12px;
    border: none;
    background: #FFFFFF;
    color: #212121;
    font-size: 12.5px;
    outline: none;
}

.ref-newsletter-btn {
    background: linear-gradient(135deg, var(--c-caramel), #D89842);
    color: #FFFFFF;
    border: none;
    padding: 0 16px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ref-newsletter-btn:hover {
    background: linear-gradient(135deg, #B57929, #C88A35);
}

.ref-footer-bottom {
    border-top: 1px solid #212121;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.ref-payment-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 800;
    color: #78909C;
    letter-spacing: 1px;
}
.ref-payment-logos span {
    background: #1A1A1A;
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid #333;
}


/* Arama Kutusu */
.search-form {
    flex: 1;
    max-width: 450px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--c-border);
    border-radius: 20px;
    font-size: 14px;
    background: var(--c-cream);
    color: var(--c-text);
    outline: none;
    transition: 0.2s;
}

.search-input:focus {
    border-color: var(--c-accent);
    background: var(--c-white);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--c-primary);
    color: var(--c-white);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header Sağ Eylemler (Giriş, Sepet) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
}

.btn-cart {
    background: var(--c-primary);
    color: var(--c-cream);
    position: relative;
}

.cart-count {
    background: var(--c-accent);
    color: var(--c-white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

/* Menü & Mega Menü */
.main-nav {
    background: var(--c-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2px;
    overflow-x: auto;
}

.nav-link {
    display: block;
    padding: 12px 18px;
    color: var(--c-cream);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: 0.2s;
}

.nav-link:hover, .nav-link.active {
    background: var(--c-primary-dark);
    color: var(--c-accent);
}

/* Banner / Hero */
.hero-banner {
    background: linear-gradient(rgba(44, 26, 20, 0.85), rgba(62, 39, 35, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%232C1A14"/></svg>');
    background-size: cover;
    color: var(--c-cream);
    padding: 60px 0;
    text-align: center;
    border-radius: var(--radius);
    margin: 24px 0;
}

.hero-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--c-cream);
}

.hero-subtitle {
    font-size: 17px;
    max-width: 650px;
    margin: 0 auto 24px;
    color: var(--c-latte);
}

/* Butonlar */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-primary { background: var(--c-primary); color: var(--c-cream); }
.btn-primary:hover { background: var(--c-primary-dark); color: var(--c-white); }
.btn-accent { background: var(--c-accent); color: var(--c-white); }
.btn-accent:hover { background: var(--c-accent-hover); }
.btn-outline { background: transparent; border: 1px solid var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: var(--c-cream); }
.btn-block { display: block; width: 100%; }

/* Ürün Kartı */
.product-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-img-wrap {
    position: relative;
    padding-top: 80%;
    background: #fbf6f0;
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--c-accent);
    color: var(--c-white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 12px;
    color: var(--c-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-prices {
    margin-top: auto;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--c-primary);
}

.price-old {
    font-size: 13px;
    color: #9E9E9E;
    text-decoration: line-through;
}

/* Bildirim Kutuları / Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success { background: #E8F5E9; border-left: 4px solid var(--c-success); color: #1B5E20; }
.alert-error { background: #FFEBEE; border-left: 4px solid var(--c-danger); color: #B71C1C; }
.alert-warning { background: #FFF3E0; border-left: 4px solid var(--c-warning); color: #E65100; }
.alert-info { background: #EFEBE9; border-left: 4px solid var(--c-primary); color: var(--c-primary); }

/* Formlar & Tablolar */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--c-text);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--c-white);
    color: var(--c-text);
    outline: none;
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(198, 125, 10, 0.15);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-border);
    text-align: left;
}

th {
    background: var(--c-latte);
    font-weight: 700;
    color: var(--c-primary);
}

/* WhatsApp Canlı Destek Butonu */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.2s, background 0.2s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    color: #ffffff;
}

.whatsapp-float i {
    font-size: 18px;
}

@media (max-width: 991px) {
    .whatsapp-float {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
        right: 16px !important;
        width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center !important;
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
    }
    .whatsapp-float span {
        display: none !important;
    }
    .whatsapp-float i {
        font-size: 24px !important;
        margin: 0 !important;
    }
}


/* Footer */
.main-footer {
    background: var(--c-primary-dark);
    color: var(--c-latte);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-col h4 {
    color: var(--c-cream);
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--c-latte);
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--c-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: #A1887F;
}

/* Toast Bildirim */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--c-primary-dark);
    color: var(--c-cream);
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    font-size: 14px;
    border-left: 4px solid var(--c-accent);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================================= */
/* ULTRA-MODERN E-COMMERCE HERO & SHOWCASE (YENİ NESİL STİL)                 */
/* ========================================================================= */

/* 1. Hero Carousel Container */
.modern-hero-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 16px 0 30px 0;
    box-shadow: 0 10px 30px rgba(44, 26, 20, 0.12);
    background: #111419;
}
.modern-hero-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    width: 300%;
}
.modern-hero-slide-item {
    width: 33.333333%;
    flex-shrink: 0;
    position: relative;
}
.modern-hero-slide-item img {
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    display: block;
}
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.hero-nav-arrow:hover {
    background: #FFFFFF;
    color: #8D5B28;
    transform: translateY(-50%) scale(1.08);
}
.hero-nav-arrow.left { left: 16px; }
.hero-nav-arrow.right { right: 16px; }

.modern-hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.modern-hero-dots .h-dot {
    width: 24px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.3s ease;
}
.modern-hero-dots .h-dot.active {
    width: 42px;
    background: #FFFFFF;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* 2. Değer Önerisi Şeridi (Trust Bar) */
.modern-trust-bar {
    background: #FFFFFF;
    border: 1px solid #EAE0D5;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(44, 26, 20, 0.04);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
}
.trust-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #FFF8F0;
    border: 1px solid #FFE4C9;
    color: #8D5B28;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.trust-item:hover .trust-icon-box {
    transform: scale(1.08);
    background: #8D5B28;
    color: #FFFFFF;
}
.trust-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
}
.trust-desc {
    font-size: 11.5px;
    color: #718096;
    margin: 2px 0 0 0;
}

/* 3. Kategori Hapları (Capsule Strip) */
.coffee-capsule-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 30px;
    scrollbar-width: none;
}
.coffee-capsule-strip::-webkit-scrollbar { display: none; }
.coffee-capsule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.coffee-capsule:hover, .coffee-capsule.active {
    background: #8D5B28;
    border-color: #8D5B28;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(141, 91, 40, 0.25);
}

/* 4. Bölüm Başlığı & Kontroller */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
}
.section-title-wrap h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0;
    letter-spacing: -0.3px;
}
.section-title-wrap p {
    font-size: 13px;
    color: #718096;
    margin: 4px 0 0 0;
}
.slider-control-buttons {
    display: flex;
    gap: 8px;
}
.slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}
.slider-btn:hover {
    background: #8D5B28;
    border-color: #8D5B28;
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(141, 91, 40, 0.25);
}

/* 5. AKICI CAROUSEL TRACK (Kırılmayan, Horizontal Scroll-Snap) */
.ref-product-grid {
    display: flex !important;
    gap: 16px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    padding: 6px 2px 18px 2px !important;
    margin-bottom: 8px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}
.ref-product-grid::-webkit-scrollbar {
    display: none !important;
}
.ref-product-grid > .ref-product-card {
    flex: 0 0 calc(20% - 13px) !important;
    min-width: 215px !important;
    max-width: 260px !important;
    scroll-snap-align: start !important;
}
@media (max-width: 1200px) {
    .ref-product-grid > .ref-product-card { flex: 0 0 calc(25% - 12px) !important; min-width: 200px !important; }
}
@media (max-width: 992px) {
    .ref-product-grid > .ref-product-card { flex: 0 0 calc(33.333% - 11px) !important; min-width: 190px !important; }
}
@media (max-width: 768px) {
    .ref-product-grid > .ref-product-card { flex: 0 0 calc(50% - 8px) !important; min-width: 165px !important; }
}
@media (max-width: 480px) {
    .ref-product-grid > .ref-product-card { flex: 0 0 calc(80% - 8px) !important; min-width: 160px !important; }
}

/* 6. YENİ NESİL LÜKS ÜRÜN KARTI */
.ref-product-card {
    background: #FFFFFF !important;
    border: 1px solid #E8EEF3 !important;
    border-radius: 14px !important;
    padding: 14px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
}
.ref-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 26px rgba(44, 26, 20, 0.08) !important;
    border-color: #D4A76A !important;
}

.ref-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.ref-fav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.ref-fav-btn:hover, .ref-fav-btn.active {
    background: #FEE2E2;
    color: #EF4444;
    border-color: #FECACA;
    transform: scale(1.1);
}

.ref-product-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #F8FAFC;
    overflow: hidden;
}
.ref-product-img-wrap img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
.ref-product-card:hover .ref-product-img-wrap img {
    transform: scale(1.08);
}

.ref-product-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1E293B !important;
    line-height: 1.4 !important;
    height: 38px !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.ref-product-title a {
    color: #1E293B;
    text-decoration: none;
    transition: color 0.15s;
}
.ref-product-title a:hover {
    color: #8D5B28;
}

.product-stars-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    margin-bottom: 8px;
}
.stars-gold {
    color: #F59E0B;
    letter-spacing: 1px;
}
.stars-score {
    font-weight: 700;
    color: #475569;
}

.ref-prices {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    white-space: nowrap !important;
}
.ref-old-price {
    font-size: 12px !important;
    color: #94A3B8 !important;
    text-decoration: line-through !important;
    white-space: nowrap !important;
}
.ref-current-price {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

/* Fiyat ve Para Biriminin Asla 2 Satıra Bölünmemesi */
.ref-prices,
.ref-current-price,
.ref-old-price,
.item-total-price,
.price-current,
.price-old,
.ref-cart-total,
.drawer-summary-row .summary-val,
.drawer-summary-total .summary-total-val,
.price-box {
    white-space: nowrap !important;
}

.ref-stepper {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    height: 34px;
}
.ref-stepper-btn {
    width: 26px;
    height: 100%;
    border: none;
    background: transparent;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ref-stepper-btn:hover {
    color: #0F172A;
}
.ref-stepper-input {
    width: 26px;
    background: transparent;
    font-weight: 700;
    font-size: 13px;
    color: #0F172A;
}

.ref-add-cart-btn {
    height: 34px;
    background: #8D5B28 !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}
.ref-add-cart-btn:hover {
    background: #6D3D15 !important;
    box-shadow: 0 4px 12px rgba(141, 91, 40, 0.3) !important;
}

/* 7. YENİ NESİL LÜKS BENTO KOLEKSİYON IZGARASI */
.modern-bento-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 18px;
    margin-bottom: 50px;
}
@media (max-width: 992px) {
    .modern-bento-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 200px 200px;
    }
    .bento-card-tall {
        grid-column: span 2;
        grid-row: span 1 !important;
    }
}
@media (max-width: 600px) {
    .modern-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-card-tall {
        grid-column: span 1;
        height: 280px;
    }
    .bento-card {
        height: 180px;
    }
}

.bento-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(44, 26, 20, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(44, 26, 20, 0.16);
    color: #FFFFFF;
}
.bento-card-tall {
    grid-row: span 2;
    padding: 32px 28px;
}
.bento-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.bento-card:hover .bento-bg-img {
    transform: scale(1.08);
}
.bento-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(20,10,6,0.85) 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}
.bento-card:hover .bento-gradient-overlay {
    opacity: 0.95;
}
.bento-content {
    position: relative;
    z-index: 3;
}
.bento-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.bento-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.bento-card-tall .bento-title {
    font-size: 28px;
}
.bento-link {
    font-size: 13px;
    font-weight: 700;
    color: #F5D6A8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}
.bento-card:hover .bento-link {
    gap: 8px;
    color: #FFFFFF;
}

/* 8. MARKA HİKAYESİ BÖLÜMÜ (ARTISAN STORY) */
.modern-story-card {
    background: linear-gradient(135deg, #2B170E 0%, #422214 100%);
    border-radius: 20px;
    padding: 48px 40px;
    color: #FFFFFF;
    margin-bottom: 60px;
    box-shadow: 0 12px 36px rgba(43, 23, 14, 0.15);
}
.story-badge {
    color: #D4A76A;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.story-heading {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 14px;
}
.story-text {
    font-size: 15px;
    line-height: 1.7;
    color: #E2D9D2;
    margin-bottom: 24px;
}
.story-stat-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.story-stat-number {
    font-size: 26px;
    font-weight: 800;
    color: #F5D6A8;
    margin-bottom: 2px;
}
.story-stat-label {
    font-size: 12px;
    color: #CBD5E1;
}

/* 9. MÜŞTERİ YORUMLARI BÖLÜMÜ */
.testimonial-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-stars {
    color: #F59E0B;
    font-size: 14px;
    margin-bottom: 12px;
}
.testimonial-quote {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 16px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #2563EB;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Mobil Sipariş & Alışveriş Sayfaları Kusursuz Uyum (Responsive Polish)
   ========================================================================== */

/* Ürün Detay Sayfası Kartları & Öğeleri */
.urun-detay-ana-kart {
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    margin-bottom: 24px;
    padding: 30px;
    gap: 36px;
}

.urun-detay-kutusu {
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    margin-bottom: 24px;
    padding: 28px;
}

.urun-fiyat-kutusu {
    background: var(--c-cream);
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.urun-satin-alma-satiri {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.urun-adet-kutusu {
    width: 90px;
}

.urun-sepete-ekle-btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
}

/* Tablet Uyumu (< 992px) */
@media (max-width: 991px) {
    .urun-detay-ana-kart {
        grid-template-columns: 1fr !important;
        padding: 20px 16px !important;
        gap: 20px !important;
    }
    .urun-detay-kutusu {
        padding: 20px 16px !important;
    }
    .urun-baslik {
        font-size: 22px !important;
    }
    .urun-fiyat-kutusu {
        padding: 12px 14px !important;
        gap: 10px 14px !important;
    }
    .odeme-ozet-kutu {
        position: static !important;
        margin-top: 20px;
    }
}

/* Mobil Uyumu (< 576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 12px !important;
    }
    .ref-brand-logo img {
        height: 34px !important;
        width: auto !important;
    }
    .ref-cart-btn {
        padding: 6px 10px !important;
    }
    .urun-detay-ana-kart {
        padding: 14px 12px !important;
        gap: 16px !important;
        border-radius: 12px !important;
    }
    .urun-detay-kutusu {
        padding: 16px 14px !important;
        border-radius: 12px !important;
    }
    .urun-baslik {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .urun-breadcrumb {
        font-size: 11.5px !important;
        margin-bottom: 10px !important;
    }
    .urun-satin-alma-satiri {
        gap: 8px !important;
    }
    .urun-adet-kutusu {
        width: 72px !important;
    }
    .urun-adet-kutusu input {
        padding: 10px 4px !important;
        font-size: 15px !important;
    }
    .urun-sepete-ekle-btn {
        font-size: 14.5px !important;
        padding: 12px 14px !important;
    }
    .urun-favori-btn {
        padding: 12px 14px !important;
    }
    .sepet-kutu, .odeme-card {
        padding: 16px 14px !important;
    }
    .odeme-header-card {
        padding: 14px 14px !important;
    }
}

/* ==========================================================================
   ANASAYFA MOBİL KUSURSUZ UYUM (HOMEPAGE MOBILE POLISH)
   ========================================================================== */

/* Bento Kartları Lüks Renk Geçişleri */
.modern-bento-grid .bento-card:nth-child(1) { background: linear-gradient(135deg, #3A1F10, #1F1007); }
.modern-bento-grid .bento-card:nth-child(2) { background: linear-gradient(135deg, #4A2E19, #28180B); }
.modern-bento-grid .bento-card:nth-child(3) { background: linear-gradient(135deg, #5C371B, #331C0C); }
.modern-bento-grid .bento-card:nth-child(4) { background: linear-gradient(135deg, #5C2631, #331219); }
.modern-bento-grid .bento-card:nth-child(5) { background: linear-gradient(135deg, #6B421B, #38210C); }

/* Tablet (< 992px) */
@media (max-width: 991px) {
    .modern-trust-bar {
        padding: 16px 14px;
        margin-bottom: 24px;
    }
    .modern-bento-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
        gap: 12px !important;
        margin-bottom: 35px !important;
    }
    .bento-card-tall {
        grid-column: span 2 !important;
        height: 180px !important;
    }
    .bento-card {
        height: 140px !important;
    }
    .modern-story-card {
        padding: 30px 24px !important;
        margin-bottom: 40px !important;
    }
}

/* Mobil (< 576px) */
@media (max-width: 576px) {
    /* Genel Bölüm Boşlukları */
    section.mb-5, section.my-5 {
        margin-top: 24px !important;
        margin-bottom: 24px !important;
    }
    .section-header-row {
        margin-bottom: 12px !important;
    }
    .section-title-wrap h2 {
        font-size: 19px !important;
        margin-bottom: 2px !important;
    }
    .section-title-wrap p {
        font-size: 12px !important;
        margin-bottom: 0 !important;
        color: #64748B !important;
    }
    /* Mobilde ok butonlarını gizle, dokunmatik swipe alanını genişlet */
    .slider-control-buttons {
        display: none !important;
    }

    /* 1. Hero Slider Mobilde İdeal Oran */
    .modern-hero-slider {
        margin: 8px 0 16px 0 !important;
        border-radius: 12px !important;
    }
    .modern-hero-slide-item img {
        height: 155px !important;
        object-fit: cover !important;
    }
    .hero-nav-arrow {
        display: none !important;
    }
    .modern-hero-dots {
        bottom: 8px !important;
    }
    .modern-hero-dots .h-dot {
        width: 16px !important;
        height: 4px !important;
    }
    .modern-hero-dots .h-dot.active {
        width: 28px !important;
    }

    /* 2. Değer Önerisi Şeridi (Trust Bar) - Mobilde Sıkışmayan 2x2 Kompakt Izgara */
    .modern-trust-bar {
        padding: 12px 8px !important;
        margin-bottom: 18px !important;
        border-radius: 12px !important;
    }
    .modern-trust-bar .row {
        --bs-gutter-x: 6px !important;
        --bs-gutter-y: 8px !important;
    }
    .trust-item {
        flex-direction: column !important;
        text-align: center !important;
        padding: 6px 2px !important;
        gap: 6px !important;
    }
    .trust-icon-box {
        width: 38px !important;
        height: 38px !important;
        font-size: 17px !important;
        border-radius: 10px !important;
    }
    .trust-title {
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
    }
    .trust-desc {
        display: none !important;
    }

    /* 3. Kategori Hapları */
    .coffee-capsule-strip {
        gap: 8px !important;
        margin-bottom: 18px !important;
        padding-bottom: 4px !important;
    }
    .coffee-capsule {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }

    /* 4. Ürün Kartları - Mobilde Yan Yana 2 Ürün Gösterimi (50%) */
    .ref-product-grid {
        gap: 10px !important;
        padding: 4px 2px 14px 2px !important;
        margin-bottom: 4px !important;
    }
    .ref-product-grid > .ref-product-card {
        flex: 0 0 calc(50% - 6px) !important;
        min-width: 152px !important;
        max-width: 185px !important;
        padding: 10px !important;
        border-radius: 12px !important;
    }
    .ref-product-img-wrap {
        height: 125px !important;
        margin-bottom: 6px !important;
    }
    .ref-product-title {
        font-size: 12px !important;
        height: 32px !important;
        line-height: 1.3 !important;
        margin-bottom: 3px !important;
    }
    .product-stars-row {
        font-size: 10px !important;
        margin-bottom: 3px !important;
    }
    .ref-prices {
        gap: 4px !important;
    }
    .ref-current-price {
        font-size: 14px !important;
    }
    .ref-old-price {
        font-size: 10.5px !important;
    }
    .ref-fav-btn {
        width: 26px !important;
        height: 26px !important;
        font-size: 12px !important;
    }
    /* Mobilde adet stepper gizlenir, sepete ekle butonu tam genişlik */
    .ref-stepper {
        display: none !important;
    }
    .ref-add-cart-btn {
        width: 100% !important;
        height: 32px !important;
        font-size: 11.5px !important;
        padding: 0 6px !important;
        border-radius: 6px !important;
    }
    .ref-action-row {
        margin-top: 4px !important;
    }

    /* 5. Bento Kategoriler - Mobilde Kompakt 2 Sütun */
    .modern-bento-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
        gap: 8px !important;
        margin-bottom: 24px !important;
    }
    .bento-card-tall {
        grid-column: span 2 !important;
        height: 140px !important;
        padding: 16px 14px !important;
    }
    .bento-card {
        height: 115px !important;
        padding: 12px !important;
        border-radius: 12px !important;
    }
    .bento-tag {
        font-size: 9.5px !important;
        padding: 2px 6px !important;
        margin-bottom: 3px !important;
    }
    .bento-title {
        font-size: 14px !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
    }
    .bento-link {
        font-size: 10.5px !important;
    }

    /* 6. Marka Hikayesi Kartı */
    .modern-story-card {
        padding: 22px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 28px !important;
    }
    .story-badge {
        font-size: 10.5px !important;
        letter-spacing: 2px !important;
        margin-bottom: 6px !important;
    }
    .story-heading {
        font-size: 19px !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
    }
    .story-text {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 16px !important;
    }
    .story-stat-box {
        padding: 8px 6px !important;
        border-radius: 10px !important;
    }
    .story-stat-number {
        font-size: 18px !important;
        font-weight: 800 !important;
    }
    .story-stat-label {
        font-size: 10.5px !important;
    }

    /* 7. Müşteri Yorumları & Blog Kartları */
    .testimonial-card {
        padding: 16px 14px !important;
        border-radius: 12px !important;
    }
    .testimonial-quote {
        font-size: 12.5px !important;
        line-height: 1.5 !important;
        margin-bottom: 10px !important;
    }
}

/* ==========================================================================
   MÜŞTERİ PANELİ MOBİL KUSURSUZ UYUM (CUSTOMER DASHBOARD MOBILE POLISH)
   ========================================================================== */

/* 1. Tüm Müşteri Sayfalarında Masaüstü 2 Sütun Izgara */
.musteri-layout {
    display: grid !important;
    grid-template-columns: 260px 1fr !important;
    gap: 24px !important;
    align-items: flex-start !important;
}

/* Mobilde Yatay Kayan Menü Çubuğu */
.musteri-hizli-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 10px 2px;
    margin-bottom: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.musteri-hizli-nav::-webkit-scrollbar {
    display: none;
}
.m-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.m-nav-pill.active, .m-nav-pill:hover {
    background: #2E1B12;
    border-color: #2E1B12;
    color: #FAF7F2;
}
.m-nav-toggle {
    cursor: pointer;
    background: #FAF7F2;
    border: 1px solid #D4C5B9;
    color: #8D5B28;
}
.m-nav-toggle.active {
    background: #8D5B28;
    color: #FFFFFF;
}

/* Tablet & Mobil (< 992px) */
@media (max-width: 991px) {
    /* 19 Müşteri sayfasının tümünde 1 sütuna geçiş */
    .musteri-layout,
    .grid[style*="grid-template-columns: 260px 1fr"],
    .grid[style*="grid-template-columns:260px 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .musteri-sidebar-wrap {
        margin-bottom: 16px;
    }
    .musteri-hosgeldin-kart {
        padding: 20px 18px !important;
    }
    .musteri-icerik-kart {
        padding: 20px 18px !important;
    }
}

/* Mobil (< 576px) */
@media (max-width: 576px) {
    .musteri-hosgeldin-kart {
        padding: 16px 14px !important;
        border-radius: 12px !important;
        gap: 12px !important;
    }
    .musteri-hosgeldin-kart h1 {
        font-size: 18px !important;
    }
    .musteri-hosgeldin-kart p {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }
    .musteri-aksiyon-butonlari {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
    }
    .musteri-aksiyon-butonlari a {
        flex: 1 !important;
        justify-content: center !important;
        font-size: 11.5px !important;
        padding: 8px 10px !important;
        white-space: nowrap !important;
    }

    /* 4 İstatistik Sayaç Kutusu - Mobilde 2x2 Kompakt Izgara */
    .musteri-istatistik-izgarasi {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .musteri-istatistik-izgarasi a {
        padding: 10px 8px !important;
        gap: 8px !important;
        border-radius: 10px !important;
    }
    .musteri-istatistik-izgarasi a > div:first-child {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
    }
    .musteri-istatistik-izgarasi a strong {
        font-size: 14px !important;
    }
    .musteri-istatistik-izgarasi a span {
        font-size: 10px !important;
    }
    .musteri-istatistik-izgarasi a small {
        display: none !important;
    }

    /* Kuponlar */
    .musteri-icerik-kart {
        padding: 16px 12px !important;
        border-radius: 12px !important;
    }
    .musteri-kupon-izgarasi {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .musteri-kupon-kutu {
        padding: 12px 14px !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    .musteri-kupon-kutu button {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }

    /* Oyun Kutusu */
    .musteri-oyun-baslik {
        padding: 12px 14px !important;
        gap: 8px !important;
    }
    .musteri-oyun-baslik h3 {
        font-size: 15px !important;
    }
    .musteri-oyun-baslik p {
        font-size: 11px !important;
    }
    .musteri-oyun-skorlar {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 6px !important;
    }
    .musteri-oyun-skorlar > div {
        padding: 4px 8px !important;
        flex: 1 !important;
    }
    .musteri-oyun-skorlar span[id^="oyun-"] {
        font-size: 14px !important;
    }
}

/* ==========================================================================
   BLOG & DEMLEME REHBERİ STİLLERİ (DESKTOP & MOBİL)
   ========================================================================== */
.blog-detay-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: flex-start;
}
.blog-article-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
}
.blog-cover-wrap {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 420px;
    background: #FAF7F2;
    text-align: center;
}
.blog-cover-wrap img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--c-accent);
    font-weight: 700;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.blog-article-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--c-primary);
    margin: 10px 0 20px;
    line-height: 1.35;
    font-weight: 700;
}
.blog-article-body {
    font-size: 16px;
    line-height: 1.9;
    color: #3E2723;
}
.blog-article-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2C1A14;
    margin: 28px 0 14px 0;
    line-height: 1.4;
    border-bottom: 2px solid #F0EAE1;
    padding-bottom: 8px;
}
.blog-article-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #6F4E37;
    margin: 22px 0 10px 0;
    line-height: 1.4;
}
.blog-article-body p {
    margin-bottom: 16px;
    color: #4E342E;
}
.blog-article-body ul, .blog-article-body ol {
    margin: 14px 0 18px 24px;
    padding: 0;
}
.blog-article-body li {
    margin-bottom: 8px;
    color: #4E342E;
}
.blog-article-body strong {
    color: #2C1A14;
}
.blog-article-body blockquote {
    border-left: 4px solid var(--c-caramel);
    padding: 12px 18px;
    margin: 20px 0;
    background: #FAF7F2;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #5D4037;
}
.blog-article-body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 12px 0;
}
.blog-article-body table {
    width: 100% !important;
    display: block;
    overflow-x: auto;
}

/* Blog Sağ Sidebar */
.blog-sidebar-card {
    background: #FFFFFF;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}
.blog-sidebar-title {
    color: var(--c-primary);
    font-size: 17px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--c-latte);
    padding-bottom: 10px;
    font-weight: 700;
}
.blog-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.blog-sidebar-item {
    padding-bottom: 12px;
    border-bottom: 1px solid #F2ECE5;
}
.blog-sidebar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.blog-sidebar-item-title {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.4;
    font-weight: 600;
}
.blog-sidebar-item-title a {
    color: var(--c-primary);
    transition: color 0.2s ease;
}
.blog-sidebar-item-title a:hover {
    color: var(--c-caramel);
}
.blog-sidebar-item-date {
    font-size: 11.5px;
    color: var(--c-text-muted);
}

/* Tablet & Küçük Ekranlar (< 992px) */
@media (max-width: 991px) {
    .blog-detay-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .blog-sidebar-card {
        position: static !important;
        padding: 22px 20px !important;
    }
    .blog-article-card {
        padding: 24px 20px !important;
    }
}

/* Telefon Mobil Ekranlar (< 576px) */
@media (max-width: 576px) {
    .blog-breadcrumb {
        font-size: 12px !important;
        margin-bottom: 12px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .blog-article-card {
        padding: 16px 14px !important;
        border-radius: 12px !important;
    }
    .blog-cover-wrap {
        max-height: 250px !important;
        margin-bottom: 14px !important;
        border-radius: 10px !important;
    }
    .blog-cover-wrap img {
        max-height: 250px !important;
    }
    .blog-article-title {
        font-size: 20px !important;
        line-height: 1.35 !important;
        margin: 8px 0 14px 0 !important;
    }
    .blog-meta {
        font-size: 12px !important;
        gap: 8px !important;
    }
    .blog-article-body {
        font-size: 14.5px !important;
        line-height: 1.8 !important;
    }
    .blog-article-body h2 {
        font-size: 17px !important;
        margin: 20px 0 10px 0 !important;
        padding-bottom: 6px !important;
    }
    .blog-article-body h3 {
        font-size: 15.5px !important;
        margin: 16px 0 8px 0 !important;
    }
    .blog-comment-text {
        font-size: 13.5px !important;
    }
    .blog-comment-btn {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    .blog-sidebar-card {
        padding: 18px 14px !important;
        border-radius: 12px !important;
    }
    .blog-sidebar-title {
        font-size: 15px !important;
    }
}

/* ==========================================================================
   MOBİL UYGULAMA (APP-LIKE) ALTYAPISI & ALT NAVİGASYON BARI
   ========================================================================== */
/* Dokunmatik Cihazlar İçin Genel Hissiyat & Taşma Önleme */
* {
    -webkit-tap-highlight-color: transparent;
}
html, body {
    max-width: 100%;
    overflow-x: clip;
}
body {
    -webkit-overflow-scrolling: touch;
}

/* Mobilde Sayfa Altının Nav Bar Tarafından Kapanmaması İçin Güvenli Boşluk */
@media (max-width: 991px) {
    body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom, 8px)) !important;
    }
}

/* Lüks Cam Efektli Sabit Alt Bar (Native App Bottom Navigation Bar) */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(58px + env(safe-area-inset-bottom, 8px));
    padding-bottom: env(safe-area-inset-bottom, 8px);
    background: rgba(28, 18, 12, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(212, 167, 106, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 1040;
    user-select: none;
    -webkit-user-select: none;
}

.app-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 58px;
    max-width: 540px;
    margin: 0 auto;
    padding: 0 6px;
}

.app-bottom-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    text-decoration: none;
    color: #C5B7AD;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    padding: 4px 0;
    position: relative;
}

.app-bottom-item i {
    font-size: 19px;
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}

.app-bottom-item span {
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.2px;
}

/* Tıklama / Dokunma Mikro-Tepkisi (Haptic Touch Feel) */
.app-bottom-item:active {
    transform: scale(0.92);
}

.app-bottom-item.active,
.app-bottom-item:hover {
    color: #FAF7F2;
}

.app-bottom-item.active i {
    color: #D4A76A;
    transform: translateY(-1px);
}

.app-bottom-item.active span {
    color: #FAF7F2;
    font-weight: 800;
}

.app-bottom-item.active::before {
    content: '';
    position: absolute;
    top: 4px;
    width: 16px;
    height: 2.5px;
    background: #D4A76A;
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(212, 167, 106, 0.6);
}

/* Sepet Rozeti */
.app-cart-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: linear-gradient(135deg, #E53E3E, #C53030);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #1C120C;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Mobil Menü Çekmecesi Lüks Dokunuşları */
.ref-app-drawer {
    box-shadow: 4px 0 24px rgba(28, 18, 12, 0.25);
}
.ref-drawer-menu .list-group-item {
    padding: 12px 18px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    border-color: #F0EAE1 !important;
    transition: background 0.15s ease;
}
.ref-drawer-menu .list-group-item:active {
    background: #FAF7F2 !important;
}
