
/* ============================================
   DKRUG MODERN COMMON STYLES
   Tertemiz, düzenli ve çalışan versiyon
   ============================================ */

/* ===== 0. DESIGN TOKENS & RESET ===== */
:root {
    --dk-primary: #1a1a1a;
    --dk-secondary: #f5f0eb;
    --dk-accent: #c9a96e;
    --dk-accent-hover: #b8945a;
    --dk-text: #333333;
    --dk-text-light: #666666;
    --dk-white: #ffffff;
    --dk-border: #e8e4df;
    --dk-radius: 12px;
    --dk-radius-sm: 8px;
    --header-top-height: 40px; 
    --header-main-height: 80px;
    --dk-shadow: 0 4px 24px rgba(0,0,0,0.08);
    --dk-shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --dk-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --dk-font-heading: 'Playfair Display', Georgia, serif;
    --dk-font-body: 'Inter', -apple-system, sans-serif;
}

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

html {
    scrollbar-gutter: stable;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--dk-font-body);
    color: var(--dk-text);
    background: var(--dk-white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.search-active,
body.modal-open,
body.cart-open,
body.no-scroll {
    overflow: hidden !important;
}

/* ===== 1. TOP BAR ===== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-top-height);
    background: var(--dk-primary);
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    z-index: 1001;
    line-height: normal;
    overflow: hidden; /* <-- EKLENDİ */
}

.top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* --- SOL: Slider Alanı --- */
.top-bar-left {
    flex: 1;
    height: 40px;
    overflow: hidden;
    position: relative;
    min-width: 0; /* flex shrink için gerekli */
}

.top-bar-slider {
    display: flex;
    flex-direction: column;
    animation: slideUp 9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.top-bar-item {
    height: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    padding-left: 4px; /* soldan hafif boşluk */
}

.top-bar-item svg {
    width: 16px;
    height: 16px;
    color: var(--dk-accent);
    flex-shrink: 0;
}

@keyframes slideUp {
    0%, 28%   { transform: translateY(0); }
    33%, 61%  { transform: translateY(-40px); }
    66%, 94%  { transform: translateY(-80px); }
    100%      { transform: translateY(-120px); }
}

/* --- SAĞ: REA --- */
.top-bar-right {
    font-weight: 600;
    color: var(--dk-accent);
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding-left: 24px;
    flex-shrink: 0; /* küçülmesini engelle */
    margin-left: 16px; /* soldan ekstra boşluk */
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .top-bar-inner { justify-content: center; }
}



/* ===== 2. MAIN HEADER ===== */
.main-header {
    position: fixed;
    top: var(--header-top-height);
    left: 0;
    right: 0;
    width: 100%;
    background: var(--dk-white);
    z-index: 1000;
    transition: var(--dk-transition);
    border-bottom: 1px solid var(--dk-border);
}

.main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-main-height);
}

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

/* Hamburger Menu Button */
.menu-toggle-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: var(--dk-radius-sm);
    transition: var(--dk-transition);
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle-btn:hover {
    background: var(--dk-secondary);
}

.menu-toggle-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dk-primary);
    border-radius: 2px;
    transition: var(--dk-transition);
}

/* Logo */
.logo {
    font-family: var(--dk-font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dk-primary);
    text-decoration: none;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--dk-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.logo:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-list a {
    text-decoration: none;
    color: var(--dk-text);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: var(--dk-transition);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dk-accent);
    transition: width 0.3s ease;
}

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

.nav-list a:hover {
    color: var(--dk-primary);
}

.nav-sale {
    color: #c0392b !important;
    font-weight: 700 !important;
}

.nav-sale::after {
    background: #c0392b !important;
}

/* Header Right Icons */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dk-primary);
    text-decoration: none;
    position: relative;
    transition: var(--dk-transition);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    -webkit-tap-highlight-color: transparent;
}

.header-icon-btn:hover {
    background: var(--dk-secondary);
    color: var(--dk-accent);
}

.header-icon-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--dk-accent);
    color: var(--dk-primary);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.icon-badge.visible {
    opacity: 1;
    visibility: visible;
}

/* ===== 3. SEARCH POPUP ===== */
.search-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,26,26,0.95);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-popup-inner {
    width: 100%;
    max-width: 700px;
    padding: 0 24px;
    position: relative;
}

.search-close-btn {
    position: absolute;
    top: -60px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--dk-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--dk-transition);
    -webkit-tap-highlight-color: transparent;
}

.search-close-btn:hover {
    background: var(--dk-accent);
    color: var(--dk-primary);
    border-color: var(--dk-accent);
}

.search-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-field-wrap {
    position: relative;
}

.search-field-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dk-accent);
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-input-field {
    width: 100%;
    padding: 22px 24px 22px 60px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    color: var(--dk-white);
    font-size: 1.1rem;
    font-family: var(--dk-font-body);
    outline: none;
    transition: var(--dk-transition);
}

.search-input-field::placeholder {
    color: rgba(255,255,255,0.4);
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 300;
}

.search-input-field:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--dk-accent);
    box-shadow: 0 0 0 4px rgba(201,169,110,0.15);
}

/* Search Results */
#search-results-display {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: var(--dk-white);
    border-radius: var(--dk-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
    z-index: 99999;
    display: none;
}

#search-results-display.active {
    display: block;
}

.search-item-row {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f2f2f2;
    text-decoration: none;
    transition: background 0.2s ease;
}

.search-item-row:hover {
    background-color: #f9f9f9;
}

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

.search-item-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-right: 15px;
}

.search-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.search-item-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-item-title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin: 0 0 2px 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.search-item-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 4px;
}

.search-item-price del {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
    font-weight: 400;
}

.search-item-price ins,
.search-item-price {
    color: #d30000;
    font-weight: 700;
    text-decoration: none;
}

.no-results-found {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* ===== 4. MOBILE MENU ===== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--dk-white);
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.mobile-menu-drawer.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--dk-border);
}

.mobile-menu-header .logo {
    font-size: 1.4rem;
}

.mobile-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--dk-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dk-primary);
    transition: var(--dk-transition);
    -webkit-tap-highlight-color: transparent;
}

.mobile-close-btn:hover {
    background: var(--dk-accent);
}

.mobile-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--dk-border);
}

.mobile-nav-list a {
    display: block;
    padding: 18px 24px;
    color: var(--dk-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--dk-transition);
}

.mobile-nav-list a:hover {
    background: var(--dk-secondary);
    color: var(--dk-primary);
    padding-left: 32px;
}

.mobile-sale {
    color: #c0392b !important;
    font-weight: 700 !important;
}

.mobile-menu-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--dk-border);
    font-size: 0.8rem;
    color: var(--dk-text-light);
    text-align: center;
}

/* ===== 5. MINI CART ===== */
.mini-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.mini-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: var(--dk-white);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.mini-cart-drawer.active {
    transform: translateX(0);
}

.mini-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--dk-border);
    flex-shrink: 0;
}

.mini-cart-header h3 {
    font-family: var(--dk-font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dk-primary);
}

.mini-cart-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--dk-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dk-primary);
    transition: var(--dk-transition);
    -webkit-tap-highlight-color: transparent;
}

.mini-cart-close:hover {
    background: var(--dk-accent);
}

.mini-cart-close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mini-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

/* Empty State */
.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-icon {
    width: 64px;
    height: 64px;
    color: var(--dk-border);
    margin: 0 auto 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-empty-state p {
    color: var(--dk-text-light);
    margin-bottom: 24px;
    font-size: 1rem;
}

.cart-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dk-accent);
    color: var(--dk-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: var(--dk-transition);
}

.cart-empty-btn:hover {
    background: var(--dk-accent-hover);
    transform: translateY(-2px);
}

/* Cart Items */
.cart-filled-state {
    padding: 0;
}

.mini-cart-item {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid var(--dk-border);
    align-items: flex-start;
    gap: 15px;
}

.mini-cart-item .item-image {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--dk-radius-sm);
    flex-shrink: 0;
    background: var(--dk-secondary);
}

.item-details-left {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.item-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.item-variant {
    color: var(--dk-text-light);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--dk-border);
    border-radius: var(--dk-radius-sm);
    width: 90px;
    overflow: hidden;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    background: var(--dk-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
    user-select: none;
}

.quantity-btn:hover {
    background: var(--dk-border);
}

.quantity-input {
    width: 34px;
    height: 28px;
    padding: 0;
    border: none;
    border-left: 1px solid var(--dk-border);
    border-right: 1px solid var(--dk-border);
    text-align: center;
    font-size: 0.9rem;
    background: var(--dk-white);
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Price & Remove */
.item-price-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    margin-left: 10px;
}

.item-price {
    color: #800020;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.item-regular-price {
    font-size: 0.9rem;
    color: var(--dk-text-light);
    text-decoration: line-through;
    font-weight: 500;
    white-space: nowrap;
}

.remove-item-btn {
    font-size: 0.8rem;
    color: var(--dk-text-light);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    margin-top: 8px;
    transition: color 0.2s ease;
}

.remove-item-btn:hover {
    color: var(--dk-primary);
    text-decoration: none;
}

/* Cart Footer */
.mini-cart-footer {
    padding: 24px;
    border-top: 1px solid var(--dk-border);
    background: var(--dk-secondary);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 4px 0;
    font-size: 0.9rem;
}

.cart-summary-line.discount-line {
    display: none;
}

.cart-summary-line.discount-line.visible {
    display: flex;
}

.cart-summary-line.grand-total-line {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--dk-border);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dk-primary);
}

.summary-value.discount-amount {
    color: #800020;
}

.cart-divider {
    border: none;
    border-top: 1px solid var(--dk-border);
    margin: 12px 0;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--dk-primary);
    color: var(--dk-white);
    text-align: center;
    text-decoration: none;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 15px;
    transition: var(--dk-transition);
    border: none;
    cursor: pointer;
}

.checkout-btn:hover {
    background: var(--dk-accent);
    color: var(--dk-primary);
}

/* ===== 6. GOOGLE REVIEWS ===== */
.google-reviews-section {
    padding: 100px 0;
    background: var(--dk-white);
}

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

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--dk-secondary);
    padding: 16px 24px;
    border-radius: var(--dk-radius);
}

.google-logo {
    width: 40px;
    height: 40px;
}

.rating-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-score {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dk-primary);
    font-family: var(--dk-font-heading);
}

.stars-outer {
    position: relative;
    display: inline-block;
    font-size: 1.1rem;
    color: #ddd;
    letter-spacing: 2px;
}

.stars-inner {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: var(--dk-accent);
}

.stars-fill {
    letter-spacing: 2px;
}

.review-count {
    font-size: 0.8rem;
    color: var(--dk-text-light);
}

.reviews-title {
    font-family: var(--dk-font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--dk-primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--dk-secondary);
    border-radius: var(--dk-radius);
    padding: 28px;
    transition: var(--dk-transition);
    border: 1px solid transparent;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dk-shadow);
    border-color: var(--dk-border);
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-name {
    font-weight: 600;
    color: var(--dk-primary);
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.78rem;
    color: var(--dk-text-light);
}

.review-stars {
    color: var(--dk-accent);
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.92rem;
    color: var(--dk-text);
    line-height: 1.7;
    font-style: italic;
}

.reviews-footer {
    text-align: center;
    margin-top: 40px;
}

.view-all-reviews {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dk-accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--dk-transition);
    padding: 12px 24px;
    border: 1px solid var(--dk-accent);
    border-radius: 100px;
}

.view-all-reviews:hover {
    background: var(--dk-accent);
    color: var(--dk-primary);
}

.view-all-reviews svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===== 7. FOOTER ===== */
.modern-footer {
    background: var(--dk-primary);
    color: rgba(255,255,255,0.7);
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    font-family: var(--dk-font-heading);
    font-size: 1.6rem;
    color: var(--dk-white);
    margin-bottom: 16px;
    font-weight: 400;
}

.brand-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h3 {
    font-family: var(--dk-font-heading);
    font-size: 1.1rem;
    color: var(--dk-white);
    margin-bottom: 20px;
    font-weight: 400;
}

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

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

.footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--dk-transition);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--dk-accent);
    transform: translateX(4px);
}

/* Newsletter */
.newsletter-desc {
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.6;
    max-width: 280px;
}

.m-newsletter-form {
    display: flex;
    gap: 8px;
}

.m-newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    color: var(--dk-white);
    font-size: 0.85rem;
    outline: none;
    transition: var(--dk-transition);
    font-family: var(--dk-font-body);
}

.m-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.m-newsletter-form input:focus {
    border-color: var(--dk-accent);
    background: rgba(255,255,255,0.12);
}

.m-newsletter-form button {
    padding: 12px 20px;
    background: var(--dk-accent);
    color: var(--dk-primary);
    border: none;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--dk-transition);
    white-space: nowrap;
}

.m-newsletter-form button:hover {
    background: var(--dk-accent-hover);
}

/* Footer Methods */
.footer-methods {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 40px 0;
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: center;
}

.method-box h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.icons-row {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.icons-row img {
    height: 40px;
    width: auto;
    opacity: 1;
    transition: transform 0.3s ease;
}

.icons-row img:hover {
    transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

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

.bottom-left p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.bottom-center {
    font-family: var(--dk-font-heading);
    font-size: 1.2rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 2px;
}

.bottom-right {
    display: flex;
    justify-content: flex-end;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--dk-transition);
}

.footer-socials a:hover {
    background: var(--dk-accent);
    transform: translateY(-2px);
}

.footer-socials img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* WhatsApp Float */
.wp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--dk-transition);
    text-decoration: none;
}

.wp-float:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.wp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* ===== 8. BREADCRUMB ===== */
.breadcrumb-nav {
    padding: 16px 30px;
    min-height: 24px;
    max-width: 1800px;
    margin: 0 auto;
}

.breadcrumb-nav:empty {
    visibility: hidden;
    min-height: 24px;
    margin-bottom: 16px;
}

.breadcrumb-nav:not(:empty) {
    visibility: visible;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
    font-size: 14px;
    color: var(--dk-text-light);
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #ccc;
}

.breadcrumb-list a {
    color: var(--dk-text);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--dk-primary);
    text-decoration: underline;
}

.breadcrumb-list li.active {
    color: #999;
    font-weight: 500;
}

/* ===== 9. MAIN CONTENT SPACING ===== */
.main-content {
    padding-top: calc(var(--header-top-height) + var(--header-main-height));
}

/* ===== 10. PRODUCT CAROUSEL ===== */
.product-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.product-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-carousel-track::-webkit-scrollbar {
    display: none;
}

.product-slide {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--dk-white);
    border: 1px solid var(--dk-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.2s;
    opacity: 0;
    pointer-events: none;
}

.product-carousel-wrapper:hover .carousel-nav {
    opacity: 1;
    pointer-events: auto;
}

.carousel-nav:hover {
    background: var(--dk-primary);
    color: var(--dk-white);
    border-color: var(--dk-primary);
}

.carousel-nav.prev { left: 16px; }
.carousel-nav.next { right: 16px; }
.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: var(--dk-primary);
    width: 24px;
    border-radius: 3px;
}

.scroll-hint {
    display: none;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
    font-size: 12px;
    color: #999;
    animation: pulseHint 2s ease-in-out infinite;
}

@keyframes pulseHint {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ===== 11. RESPONSIVE ===== */
@media (max-width: 1024px) {
    .menu-toggle-btn { display: flex; }
    .desktop-nav { display: none !important; }
    .grid-container { grid-template-columns: 1fr 1fr; gap: 40px; }
    .product-slide { width: 240px; }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .top-bar-inner { justify-content: center; }

    .header-main { height: 60px; }
    .logo { font-size: 1.4rem; }

    .main-content {
        padding-top: calc(var(--header-top-height) + 60px);
    }

    .mini-cart-drawer { width: 100%; }

    .grid-container { grid-template-columns: 1fr; gap: 32px; }
    .method-grid { grid-template-columns: 1fr; gap: 32px; }

    .bottom-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .bottom-right { order: 1; justify-content: center; width: 100%; }
    .bottom-center { order: 2; width: 100%; }
    .bottom-left { order: 3; width: 100%; }
    .footer-socials { justify-content: center; }

    .reviews-header { flex-direction: column; align-items: flex-start; }
    .reviews-grid { grid-template-columns: 1fr; }

    .product-slide { width: 200px; }
    .carousel-dots { display: flex; }
    .scroll-hint { display: flex; }
    .carousel-nav { display: none; }

    .search-popup-inner { padding: 0 16px; }
    .search-close-btn { right: 16px; }

    .breadcrumb-nav { display: none !important; }
}

@media (max-width: 480px) {
    .logo { font-size: 1.2rem; }
    .header-icon-btn { width: 40px; height: 40px; }
    .header-icon-btn svg { width: 18px; height: 18px; }

    .m-newsletter-form { flex-direction: column; }
    .m-newsletter-form button { width: 100%; }

    .mini-cart-header { padding: 15px 20px; }
    .mini-cart-item { padding: 12px 15px; }
    .mini-cart-item .item-image { width: 65px; height: 85px; }
    .item-name { max-width: 140px; }
    .mini-cart-footer { padding: 15px 20px; }

    .product-slide { width: 160px; }
}

/* ===== 12. UTILITY CLASSES ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==========================================
   DKRUG CHATBOT STILLERI
   ========================================== */

.chat-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--dk-accent, #c9a96e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 99999;
    border: none;
}

.chat-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(201, 169, 110, 0.6);
}

.chat-trigger svg {
    width: 24px;
    height: 24px;
}

.chat-trigger.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: var(--dk-white, #fff);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 99999;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    background: var(--dk-primary, #1a1a1a);
    color: var(--dk-white, #fff);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
}

.chat-status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#close-chat {
    background: none;
    border: none;
    color: var(--dk-white, #fff);
    font-size: 18px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#close-chat:hover {
    background: rgba(255,255,255,0.1);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--dk-secondary, #f5f0eb);
}

.bot-msg, .user-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    animation: msgSlide 0.3s ease;
}

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

.bot-msg {
    background: var(--dk-white, #fff);
    color: var(--dk-text, #333);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.bot-msg a {
    color: var(--dk-accent, #c9a96e);
    text-decoration: none;
}

.bot-msg a:hover {
    text-decoration: underline;
}

.bot-msg ul {
    margin: 8px 0;
    padding-left: 18px;
}

.bot-msg li {
    margin: 4px 0;
}

.user-msg {
    background: var(--dk-accent, #c9a96e);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-typing {
    padding: 0 20px 10px;
    display: flex;
    gap: 4px;
    align-items: center;
    background: var(--dk-secondary, #f5f0eb);
}

.chat-typing span {
    width: 8px;
    height: 8px;
    background: var(--dk-accent, #c9a96e);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.chat-typing span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.chat-input {
    display: flex;
    padding: 12px 16px;
    gap: 10px;
    background: var(--dk-white, #fff);
    border-top: 1px solid var(--dk-border, #e8e4df);
    flex-shrink: 0;
}

#chat-input {
    flex: 1;
    border: 1px solid var(--dk-border, #e8e4df);
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--dk-font-body, 'Inter', sans-serif);
}

#chat-input:focus {
    border-color: var(--dk-accent, #c9a96e);
}

#send-chat {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dk-accent, #c9a96e);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

#send-chat:hover {
    background: var(--dk-accent-hover, #b8945a);
    transform: scale(1.05);
}

#send-chat svg {
    width: 18px;
    height: 18px;
}

/* Mobil uyum */
@media (max-width: 480px) {
    .chat-window {
        right: 12px;
        left: 12px;
        width: auto;
        bottom: 80px;
        height: calc(100vh - 100px);
        max-height: none;
        border-radius: 12px;
    }
    
    .chat-trigger {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }
}
