/* Kars Mehmetbey - sayfa govdesi ve alt bilgi (km-home.css) */
:root { --km-ink: #17211c; --km-forest: #1f3a2c; --km-acc: #e7512f; --km-acc-d: #cc4321; --km-cream: #faf6ef; --km-sand: #f3ece0; --km-line: #ece4d6; --km-gold: #d9a441; --km-leaf: #4f8a5b; --km-mute: #7d8279; }
body { background: #fbf8f2; }

/* Bolum basliklari (Yeni Urunler, Firsat Kosesi...) */
#content .sub-col > h2 { display: flex; align-items: center; width: auto; height: auto; margin: 8px 0 16px; border: 0; }
#content .sub-col > h2 > span { display: inline-flex !important; align-items: center; gap: 10px; width: auto !important; height: auto !important; padding: 0 !important; background: none !important; border-radius: 0 !important; color: var(--km-ink) !important; font-size: 22px !important; font-weight: 800 !important; line-height: 1.2 !important; letter-spacing: -.2px; }
#content .sub-col > h2 > span:before { content: ""; display: inline-block; width: 6px; height: 24px; border-radius: 6px; background: linear-gradient(180deg, var(--km-acc) 0%, var(--km-gold) 100%); }

/* Kategori basliklari (Peynir Cesitleri...) */
.urunbaslik { margin: 14px 0 24px !important; }
.urunbaslik:after { z-index: 0; top: 50% !important; height: 1px !important; background: linear-gradient(90deg, rgba(230, 220, 203, 0) 0%, #e3d7c3 18%, #e3d7c3 82%, rgba(230, 220, 203, 0) 100%) !important; }
.urunbaslik b { z-index: 1; display: inline-block; padding: 10px 26px !important; border: 1px solid #e3d7c3 !important; border-radius: 999px !important; background: #fff !important; color: var(--km-ink) !important; font-size: 17px; font-weight: 800 !important; letter-spacing: .2px; box-shadow: 0 6px 18px rgba(23, 33, 28, .06) !important; transition: border-color .2s, color .2s, box-shadow .2s; }
.urunbaslik b .fa { margin-right: 8px; color: var(--km-leaf); }
.urunbaslik b .fa-check:before { content: "\f06c"; }
.urunbaslik a { text-decoration: none !important; }
.urunbaslik a:hover b { border-color: var(--km-acc) !important; color: var(--km-acc) !important; box-shadow: 0 10px 24px rgba(231, 81, 47, .14) !important; }

/* Kategori kutulari */
.kategory a { display: block; text-decoration: none !important; }
.kategory img { border: 1px solid var(--km-line) !important; border-radius: 18px !important; background: #fff; box-shadow: 0 6px 16px rgba(23, 33, 28, .05); transition: transform .2s, box-shadow .2s, border-color .2s; }
.kategory a:hover img { transform: translateY(-3px); border-color: #e3d2b8 !important; box-shadow: 0 14px 28px rgba(23, 33, 28, .10); }
.kategory p { height: auto !important; margin: 8px 0 12px !important; padding: 0 !important; border: 0 !important; background: none !important; color: var(--km-ink) !important; font-size: 13.5px !important; font-weight: 700 !important; line-height: 1.3 !important; }

/* Urun kartlari */
.product-thumb { border: 1px solid #efe7da !important; border-radius: 16px !important; background: #fff !important; box-shadow: 0 1px 2px rgba(23, 33, 28, .04), 0 6px 18px rgba(23, 33, 28, .06) !important; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.product-thumb:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(23, 33, 28, .12) !important; }
.product-thumb .image { overflow: hidden; }
.product-thumb .image img { transition: transform .45s ease; }
.product-thumb:hover .image img { transform: scale(1.04); }
.product-thumb .caption { background: #fff !important; }
.product-thumb .caption h4 a { color: var(--km-ink) !important; font-weight: 700; }
.product-thumb .caption h4 a:hover { color: var(--km-acc) !important; }
.product-thumb .price, .product-thumb .price-new { color: var(--km-acc-d) !important; font-weight: 800 !important; }
.product-thumb .price-old { color: #a59f94 !important; }
.product-thumb .button-group button { background: var(--km-ink) !important; color: #fff !important; font-weight: 700 !important; letter-spacing: .3px; transition: background .15s; }
.product-thumb .button-group button:first-child { background: var(--km-acc) !important; }
.product-thumb .button-group button:hover { background: var(--km-forest) !important; }
.product-thumb .button-group button:first-child:hover { background: var(--km-acc-d) !important; }

/* Kaydirma oklari */
.owl-buttons div, .owl-prev, .owl-next { border-color: var(--km-line) !important; border-radius: 8px !important; color: var(--km-ink) !important; background: #fff !important; transition: background .15s, color .15s; }
.owl-buttons div:hover, .owl-prev:hover, .owl-next:hover { background: var(--km-ink) !important; border-color: var(--km-ink) !important; color: #fff !important; }

/* ===== Alt bilgi ===== */
footer.kmf { position: relative; margin-top: 40px; padding: 0 !important; background: none !important; color: #c9d3cc; font-family: Montserrat, sans-serif; }
.kmf a { text-decoration: none !important; }
.kmf-trust { background: var(--km-sand); border-top: 1px solid var(--km-line); }
.kmf-trust-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 22px 0; }
.kmf-trust-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kmf-trust-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid #e6dccb; color: var(--km-forest); font-size: 19px; box-shadow: 0 4px 12px rgba(23, 33, 28, .05); }
.kmf-trust-ic .fa { font-size: 19px !important; width: auto; height: auto; margin: 0; line-height: 1; color: inherit; }
.kmf-trust-item b { display: block; color: var(--km-ink); font-size: 12.5px; font-weight: 800; letter-spacing: .3px; line-height: 1.3; }
.kmf-trust-item small { display: block; color: var(--km-mute); font-size: 12px; line-height: 1.35; }
.kmf-main { position: relative; overflow: hidden; background: radial-gradient(900px 400px at 85% -20%, rgba(217, 164, 65, .14), transparent 60%), linear-gradient(160deg, #1d3328 0%, #15251d 55%, #101c16 100%); }
.kmf-main:before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }
.kmf-grid { position: relative; display: flex; gap: 56px; padding: 52px 0 44px; }
.kmf-grid > * { min-width: 0; }
.kmf-brand { flex: 1.5 1 0; }
.kmf-col { flex: 1 1 0; }
.kmf-contact { flex: 1.3 1 0; }
.kmf-logo { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 16px; background: var(--km-cream); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.kmf-logo img { display: block; height: 64px; width: auto; max-width: 200px; }
.kmf-about { margin: 18px 0 20px; max-width: 360px; color: #b9c5bd; font-size: 13.5px; line-height: 1.7; }
.kmf-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.kmf-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff !important; font-size: 13.5px; font-weight: 700; transition: background .15s, border-color .15s, transform .08s; }
.kmf-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }
.kmf-btn:active { transform: translateY(1px); }
.kmf-btn .fa { font-size: 16px; color: var(--km-gold); }
.kmf-btn-wa { background: #25d366; border-color: #25d366; }
.kmf-btn-wa .fa { color: #fff; }
.kmf-btn-wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
.kmf-social { display: flex; gap: 8px; margin-top: 18px; }
.kmf-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #e7efe9 !important; font-size: 16px; transition: background .15s, color .15s; }
.kmf-social a:hover { background: var(--km-gold); color: var(--km-ink) !important; }
.kmf-col h5 { position: relative; margin: 6px 0 20px; padding-bottom: 12px; color: #f5ecd9; font-size: 14px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.kmf-col h5:after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--km-gold); }
.kmf-col ul { margin: 0; padding: 0; list-style: none; }
.kmf-col li { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; }
.kmf-col li a { color: #c9d3cc !important; transition: color .15s, padding .15s; }
.kmf-col li a:hover { color: #fff !important; padding-left: 4px; }
.kmf-contact li { display: flex; gap: 10px; color: #c9d3cc; }
.kmf-contact li .fa { flex: none; width: 16px; margin-top: 3px; color: var(--km-gold); text-align: center; }
.kmf-bottom { background: #0c1611; border-top: 1px solid rgba(255, 255, 255, .06); }
.kmf-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 15px; }
.kmf-bottom-in:before, .kmf-bottom-in:after { content: none; }
.kmf-bottom p { margin: 0; color: #93a198; font-size: 12.5px; }
.kmf-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.kmf-links a { color: #93a198 !important; font-size: 12.5px; }
.kmf-links a:hover { color: #fff !important; }
.kmf-banks { display: inline-flex; padding: 6px 12px; border-radius: 10px; background: #fff; }
.kmf-banks img { display: block; height: 22px; width: auto; max-width: 100%; }
@media (max-width: 1199px) {
  .kmf-trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .kmf-grid { flex-wrap: wrap; gap: 32px 40px; }
  .kmf-brand { flex: 1 1 100%; }
}
@media (max-width: 767px) {
  #content .sub-col > h2 > span { font-size: 18px !important; }
  .urunbaslik b { padding: 8px 18px !important; font-size: 15px; }
  .kmf-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; padding: 18px 0; }
  .kmf-trust-ic { width: 40px; height: 40px; border-radius: 12px; }
  .kmf-grid { flex-direction: column; gap: 28px; padding: 36px 0 30px; }
  .kmf-brand, .kmf-col, .kmf-contact { flex: none; }
  .kmf-col h5 { margin-bottom: 14px; }
  .kmf-bottom-in { flex-direction: column; align-items: flex-start; padding-bottom: 70px; }
  .kmf-banks img { height: 18px; }
}

/* ===== v3: daha kibar urun kartlari ===== */
.product-thumb .caption { height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 10px 10px 14px !important; bottom: 0 !important; }
.product-thumb .caption h4 { min-height: 34px !important; margin: 0 0 6px !important; line-height: 17px !important; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-thumb .caption h4 a { font-size: 13px !important; font-weight: 600 !important; }
.product-thumb .price { font-size: 16.5px !important; line-height: 1.2 !important; height: auto !important; width: auto !important; margin: 0 !important; }
.product-thumb .price-old { font-size: 12.5px !important; margin-right: 4px; }
.product-thumb .price-tax { display: none !important; }
.product-thumb .rating { display: none !important; }
.product-thumb .image img { border-radius: 0 !important; }
.product-thumb .button-group button { height: 34px !important; padding: 0 4px !important; font-size: 11px !important; line-height: 34px !important; }
#superdeal .product-thumb .image { padding: 14px 14px 0; }
#superdeal .product-thumb .image img { width: auto !important; max-width: 100%; max-height: 200px; margin: 0 auto; border-radius: 12px !important; }

/* Kategori listeleri: ilk satirlar + Tumunu gor */
@media (min-width: 1200px) { .km-limit > .leftrightx:nth-child(n+13) { display: none !important; } }
@media (min-width: 768px) and (max-width: 1199px) {
  .km-limit > .leftrightx { width: 25% !important; }
  .km-limit > .leftrightx:nth-child(n+9) { display: none !important; }
}
@media (max-width: 767px) { .km-limit > .leftrightx:nth-child(n+7) { display: none !important; } }
.km-limit { display: flex !important; flex-wrap: wrap; }
.km-limit:before, .km-limit:after { content: none !important; }
.km-limit > .leftrightx { float: none !important; display: flex; }
.km-limit > .leftrightx > .product-layout { flex: 1 1 auto; display: flex; width: 100%; }
.km-limit > .leftrightx .product-thumb { flex: 1 1 auto; width: 100%; }
.km-more-wrap { clear: both; padding: 6px 0 4px; text-align: center; }
.km-more { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border: 1px solid var(--km-line); border-radius: 999px; background: #fff; color: var(--km-ink) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; box-shadow: 0 4px 12px rgba(23, 33, 28, .05); transition: background .15s, color .15s, border-color .15s; }
.km-more .fa { font-size: 12px; transition: transform .15s; }
.km-more:hover { background: var(--km-ink); border-color: var(--km-ink); color: #fff !important; }
.km-more:hover .fa { transform: translateX(3px); }

/* ===== v3: ince alt bilgi ===== */
footer.kmf { margin-top: 28px; }
.kmf-trust-grid { gap: 10px; padding: 14px 0; }
.kmf-trust-item { gap: 10px; }
.kmf-trust-ic { width: 34px; height: 34px; border-radius: 10px; box-shadow: none; }
.kmf-trust-ic .fa { font-size: 15px !important; }
.kmf-trust-item b { font-size: 11.5px; }
.kmf-trust-item small { font-size: 11px; }
.kmf-grid { gap: 44px; padding: 30px 0 24px; }
.kmf-logo { padding: 6px 12px; border-radius: 12px; box-shadow: none; }
.kmf-logo img { height: 42px; }
.kmf-about { margin: 12px 0 14px; font-size: 12.5px; line-height: 1.6; }
.kmf-btn { height: 34px; padding: 0 12px; border-radius: 10px; font-size: 12.5px; }
.kmf-btn .fa { font-size: 14px; }
.kmf-col h5 { margin: 4px 0 12px; padding-bottom: 8px; font-size: 12px; }
.kmf-col li { margin: 0 0 6px; font-size: 12.5px; line-height: 1.5; }
.kmf-social { margin-top: 12px; }
.kmf-social a { width: 32px; height: 32px; font-size: 14px; }
.kmf-bottom-in { padding: 10px 15px; gap: 10px; }
.kmf-bottom p, .kmf-links a { font-size: 11.5px; }
.kmf-banks { padding: 4px 10px; border-radius: 8px; }
.kmf-banks img { height: 16px; }
@media (max-width: 767px) {
  .kmf-grid { gap: 20px; padding: 24px 0 18px; }
  .kmf-trust-grid { padding: 12px 0; }
  .kmf-bottom-in { padding-bottom: 64px; }
}
/* Firsat Kosesi: yatay vitrin karti */
@media (min-width: 768px) {
  #superdeal .product-thumb { display: flex; align-items: center; min-height: 250px; background: linear-gradient(120deg, #fff 0%, #fff 55%, #fbf3e6 100%) !important; }
  #superdeal .product-thumb > .image { flex: 0 0 52%; padding: 16px 0 16px 16px; }
  #superdeal .product-thumb > .image img { max-height: 220px; }
  #superdeal .product-thumb > .caption { flex: 1 1 auto; padding: 16px 22px !important; text-align: left !important; background: transparent !important; }
  #superdeal .product-thumb > .caption:before { content: "Fırsat ürünü"; display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: #fff1ec; color: var(--km-acc); font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
  #superdeal .product-thumb > .caption h4 { text-align: left !important; min-height: 0 !important; -webkit-line-clamp: 3; }
  #superdeal .product-thumb > .caption h4 a { font-size: 17px !important; font-weight: 800 !important; line-height: 1.3; }
  #superdeal .product-thumb .price { display: block; margin-top: 8px !important; font-size: 24px !important; text-align: left; }
  #superdeal .product-thumb .price-old { display: block; font-size: 13px !important; }
}
/* Alt sekmeler (Yeni Urunler / Kampanyali Urunler) */
#content .text-center > .nav-tabs { display: inline-flex; gap: 4px; float: none; margin: 10px auto 6px; padding: 5px; border: 1px solid var(--km-line) !important; border-radius: 999px; background: #fff; box-shadow: 0 4px 12px rgba(23, 33, 28, .05); }
#content .text-center > .nav-tabs:before, #content .text-center > .nav-tabs:after { content: none; }
#content .text-center > .nav-tabs > li { float: none; margin: 0; }
#content .text-center > .nav-tabs > li > a { margin: 0 !important; padding: 9px 20px !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; color: var(--km-ink) !important; font-size: 13.5px; font-weight: 700; transition: background .15s, color .15s; }
#content .text-center > .nav-tabs > li > a:hover { background: var(--km-sand) !important; }
#content .text-center > .nav-tabs > li.active > a, #content .text-center > .nav-tabs > li > a.selected { background: var(--km-ink) !important; color: #fff !important; }

/* ===== v4 ===== */
/* Alttaki tekrar eden "Yeni / Kampanyali Urunler" sekmeli blok gizlendi */
#content .sub-col:has(> .tab-content.margins), .km-hide { display: none !important; }

/* Ince ve sik guven bandi */
.kmf-trust { background: #fff; border-top: 1px solid var(--km-line); border-bottom: 1px solid var(--km-line); }
.kmf-trust-grid { display: flex !important; align-items: center; gap: 0 !important; height: 54px; padding: 0 !important; }
.kmf-trust-item { position: relative; flex: 1 1 0; justify-content: center; gap: 9px !important; padding: 0 10px; white-space: nowrap; }
.kmf-trust-item + .kmf-trust-item:before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 22px; margin-top: -11px; background: var(--km-line); }
.kmf-trust-ic { width: auto !important; height: auto !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: #b8872c !important; }
.kmf-trust-ic .fa { font-size: 16px !important; }
.kmf-trust-item b { font-size: 11px !important; font-weight: 800; letter-spacing: .5px; line-height: 1.2; }
.kmf-trust-item small { font-size: 10.5px !important; line-height: 1.25; }
@media (max-width: 1199px) {
  .kmf-trust .container { padding: 0; }
  .kmf-trust-grid { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .kmf-trust-grid::-webkit-scrollbar { display: none; }
  .kmf-trust-item { flex: none; padding: 0 18px; }
}
@media (max-width: 767px) {
  .kmf-trust-grid { height: 50px; padding: 0 !important; }
  .kmf-trust-item { padding: 0 14px; }
  .kmf-trust-item small { display: none; }
}
/* Kategori vitrini: sicak krem kartlar */
.kategory > a { border-radius: 18px; background: linear-gradient(180deg, #fffaf2 0%, #f7eedf 100%); border: 1px solid #efe3cf; box-shadow: 0 4px 12px rgba(23, 33, 28, .04); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.kategory > a:hover { transform: translateY(-3px); border-color: #e2cfae; box-shadow: 0 12px 24px rgba(23, 33, 28, .10); }
.kategory img { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; mix-blend-mode: multiply; transform: none; transition: transform .25s !important; }
.kategory > a:hover img { transform: scale(1.05) !important; box-shadow: none !important; }
.kategory > a center { display: block; }
.kategory p { margin-top: 10px !important; }

/* ===== v5: daha ince alt bilgi ===== */
footer.kmf { margin-top: 20px; }
.kmf-trust-grid { height: 44px !important; }
.kmf-trust-ic .fa { font-size: 14px !important; }
.kmf-trust-item small { display: none; }
.kmf-grid { align-items: flex-start; gap: 36px; padding: 20px 0 16px; }
.kmf-brand { display: flex; flex-direction: column; gap: 10px; }
.kmf-about { display: none; }
.kmf-logo { align-self: flex-start; padding: 4px 10px; border-radius: 10px; }
.kmf-logo img { height: 34px; }
.kmf-cta { gap: 8px; }
.kmf-btn { height: 32px; padding: 0 11px; font-size: 12px; }
.kmf-social { margin-top: 0; }
.kmf-col h5 { margin: 2px 0 10px; padding-bottom: 6px; font-size: 11.5px; letter-spacing: .8px; }
.kmf-col h5:after { width: 22px; }
.kmf-col ul { column-count: 2; column-gap: 24px; }
.kmf-contact ul { column-count: 1; }
.kmf-col li { margin: 0 0 5px; font-size: 12px; line-height: 1.45; -webkit-column-break-inside: avoid; break-inside: avoid; }
.kmf-contact li .fa { margin-top: 2px; }
.kmf-bottom-in { padding: 7px 15px; }
.kmf-banks img { height: 14px; }
@media (max-width: 767px) {
  .kmf-grid { gap: 16px; padding: 18px 0 12px; }
  .kmf-bottom-in { gap: 6px; padding-bottom: 62px; }
}
.kmf-col li a, .kmf-col li span { font-size: 12px !important; line-height: 1.45; }