/*
Theme Name: Mis360-Mobilya
Theme URI: https://emdiefhome.com.tr/
Author: Serkan AKKAYA & MİS360
Author URI: https://misteknoloji360.com.tr/
Description: Emdief Home markasına özel, Montessori felsefesiyle tasarlanmış, renkli çocuk dünyasını kurumsal güven ve yüksek e-ticaret performansıyla buluşturan ultra hızlı WooCommerce teması.
Version: 1.3.3
Requires at least: 6.0
Requires PHP: 7.4
Requires Plugins: woocommerce
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mis360-mobilya
Tags: e-commerce, woocommerce, montessori, kids-furniture, colorful, modern, corporate, responsive-layout, block-patterns, custom-colors, custom-header, custom-menu, featured-images, full-width-template
*/

/* ==========================================================================
   Montessori & Corporate Design Tokens (CSS Custom Properties)
   ========================================================================== */
:root {
  /* Kurumsal & Zemin Tonları */
  --emd-bg-main: #fdfbf7;           /* Sıcak süt beyazı / Doğal huş zemin */
  --emd-bg-surface: #ffffff;        /* Kart ve panel beyazı */
  --emd-bg-warm: #f8f4ed;           /* Sıcak ahşap bej ton */
  --emd-bg-alt: #f1f5f9;            /* Alternatif açık gri zemin */

  /* Kurumsal Metin & Çizgiler */
  --emd-text-main: #1e293b;         /* Koyu arduvaz / Okunabilir kurumsal metin */
  --emd-text-muted: #64748b;        /* İkincil açıklama metinleri */
  --emd-text-light: #94a3b8;        /* Pasif etiket ve ipucu metinleri */
  --emd-border: #e9e3d8;            /* Yumuşak ahşap uyumlu sınır rengi */
  --emd-border-focus: #f59e0b;      /* Odaklanma çerçevesi */

  /* Canlı Montessori Vurgu Renkleri */
  --emd-primary: #f59e0b;           /* Montessori Güneş Sarısı (Öğrenme & Enerji) */
  --emd-primary-hover: #d97706;
  --emd-primary-light: #fef3c7;
  --emd-primary-rgb: 245, 158, 11;

  --emd-secondary: #0284c7;         /* Keşif Mavisi (Özgürlük & Güven) */
  --emd-secondary-hover: #0369a1;
  --emd-secondary-light: #e0f2fe;

  --emd-coral: #ff6b6b;             /* Neşeli Mercan (Sıcaklık & Sevgi) */
  --emd-coral-hover: #fa5252;
  --emd-coral-light: #ffe3e3;

  --emd-mint: #10b981;              /* Doğa & Ahşap Yeşili (Sağlık & Ekoloji) */
  --emd-mint-hover: #059669;
  --emd-mint-light: #d1fae5;

  --emd-lavender: #8b5cf6;          /* Hayal Gücü Moru (Yaratıcılık) */
  --emd-lavender-hover: #7c3aed;
  --emd-lavender-light: #ede9fe;

  --emd-wood: #b45309;              /* Sıcak Montessori Tonu */
  --emd-wood-light: #fffbeb;

  /* E1 & Güvenlik Rozetleri */
  --emd-badge-eco: #10b981;
  --emd-badge-safe: #0284c7;
  --emd-badge-sale: #ef4444;

  /* Yumuşak Montessori Kavisleri & Gölgeler */
  --emd-radius-sm: 8px;
  --emd-radius-md: 14px;
  --emd-radius-lg: 20px;
  --emd-radius-xl: 28px;
  --emd-radius-full: 9999px;

  --emd-shadow-soft: 0 4px 20px -2px rgba(30, 41, 59, 0.05);
  --emd-shadow-card: 0 10px 25px -4px rgba(30, 41, 59, 0.07), 0 4px 10px -2px rgba(30, 41, 59, 0.03);
  --emd-shadow-hover: 0 20px 30px -6px rgba(245, 158, 11, 0.15), 0 8px 16px -4px rgba(30, 41, 59, 0.06);

  /* Akıcı Tipografi */
  --emd-font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --emd-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Sayfa Genişlikleri */
  --emd-container: 1240px;
  --emd-container-wide: 1400px;
}

/* Temel Sıfırlama */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--emd-font-body);
  color: var(--emd-text-main);
  background-color: var(--emd-bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
}

/* ==========================================================================
   TRENDYOL PRODUCT SLIDERS & CARDS (PRIMARY STYLES)
   ========================================================================== */
.trendyol-slider-section {
    padding: 20px 0 !important;
}
.trendyol-banner-box {
    border-radius: 16px !important;
    padding: 16px 20px 22px !important;
    position: relative !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    margin: 15px 0 25px !important;
}
.banner-theme-orange {
    background: linear-gradient(90deg, #ff5e00 0%, #ff7a18 45%, #ff2e63 100%) !important;
}
.banner-theme-purple {
    background: linear-gradient(90deg, #6d28d9 0%, #8b5cf6 45%, #ec4899 100%) !important;
}
.banner-theme-emerald {
    background: linear-gradient(90deg, #047857 0%, #059669 45%, #06b6d4 100%) !important;
}
.banner-theme-blue {
    background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 45%, #4f46e5 100%) !important;
}

.trendyol-banner-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
    color: #ffffff !important;
}
.trendyol-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}
.trendyol-section-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.trendyol-countdown-box {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.countdown-digit {
    background: #ffffff !important;
    color: #1e293b !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    min-width: 28px !important;
    text-align: center !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12) !important;
}
.countdown-colon {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
}
.trendyol-view-all-link {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
}
.trendyol-view-all-link:hover {
    background: #ffffff !important;
    color: #1e293b !important;
}
.trendyol-track-wrapper {
    position: relative !important;
}
.trendyol-nav-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 15 !important;
    font-size: 18px !important;
    font-weight: bold !important;
}
.trendyol-nav-prev { left: -14px !important; }
.trendyol-nav-next { right: -14px !important; }

.trendyol-products-track {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 6px 2px 10px !important;
    margin: 0 !important;
    list-style: none !important;
}
.trendyol-products-track::-webkit-scrollbar { display: none !important; }

.trendyol-card {
    flex: 0 0 210px !important;
    min-width: 210px !important;
    max-width: 230px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
}
.trendyol-card-thumb {
    position: relative !important;
    width: 100% !important;
    height: 185px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.trendyol-image-wrap {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.trendyol-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 6px !important;
    display: block !important;
}
.trendyol-circle-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    z-index: 5 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2) !important;
    text-transform: uppercase !important;
}
.badge-circle-orange { background: linear-gradient(135deg, #ff6000 0%, #ff385c 100%) !important; }
.badge-circle-purple { background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%) !important; }
.badge-circle-emerald { background: linear-gradient(135deg, #059669 0%, #06b6d4 100%) !important; }
.badge-circle-pink { background: linear-gradient(135deg, #e11d48 0%, #fb7185 100%) !important; }

.trendyol-heart-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    z-index: 5 !important;
}
.trendyol-stamp-badge {
    position: absolute !important;
    bottom: 6px !important;
    left: 6px !important;
    background: #ffcc00 !important;
    color: #111827 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    border: 1.5px solid #ffffff !important;
    z-index: 4 !important;
}
.trendyol-card-content {
    padding: 10px 12px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    background: #ffffff !important;
}
.trendyol-pills-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 5px !important;
    flex-wrap: wrap !important;
}
.pill-cargo {
    background: #334155 !important;
    color: #ffffff !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
}
.pill-fast-shipping {
    color: #059669 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
}
.trendyol-card-title {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    line-height: 1.35 !important;
    margin: 0 0 5px !important;
    height: 32px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.trendyol-card-title a { color: inherit !important; text-decoration: none !important; }
.trendyol-card-title strong { color: #0f172a !important; font-weight: 800 !important; }
.trendyol-urgency-row {
    color: #ea580c !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.trendyol-rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10.5px !important;
    color: #64748b !important;
    margin-bottom: 6px !important;
}
.rating-score { font-weight: 800 !important; color: #1e293b !important; }
.rating-stars { color: #f59e0b !important; font-size: 11px !important; }
.rating-count { color: #94a3b8 !important; }
.trendyol-lowest-price-tag {
    color: #dc2626 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}
.trendyol-pricing-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin-top: auto !important;
}
.tag-discount-pct {
    background: #ea580c !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
}
.old-price {
    font-size: 11px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
}
.current-price-val {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #ea580c !important;
    width: 100% !important;
}
.trendyol-basket-row {
    color: #059669 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    margin-top: 3px !important;
    background: #ecfdf5 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    width: fit-content !important;
}
.trendyol-basket-row strong { font-weight: 900 !important; font-size: 12px !important; }
.trendyol-btn-add-cart {
    margin-top: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}
.trendyol-btn-add-cart:hover {
    background: #ea580c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
}
@media (max-width: 768px) {
    .trendyol-card {
        flex: 0 0 165px !important;
        min-width: 165px !important;
    }
    .trendyol-nav-arrow { display: none !important; }
}
/* Kargo Kampanya Banner & Kural Rozetleri */
.emdief-cargo-promo-banner {
    padding: 16px 0 !important;
}
.cargo-promo-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-radius: 16px !important;
    padding: 18px 24px !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    flex-wrap: wrap !important;
}
.cargo-promo-left {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex: 1 1 480px !important;
}
.cargo-truck-icon-wrap {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
}
.cargo-badge-pill {
    display: inline-block !important;
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 4px !important;
}
.cargo-headline {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 3px !important;
    line-height: 1.3 !important;
}
.cargo-headline span {
    color: #38bdf8 !important;
}
.cargo-sub {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}
.cargo-promo-right {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}
.cargo-benefit-tag {
    font-size: 12px !important;
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.btn-cargo-shop {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: transform 0.2s ease !important;
}
.btn-cargo-shop:hover {
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}
.pill-cargo-info {
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    border: 1px solid #e2e8f0 !important;
}