/*
Theme Name: iDeiy Coupon Theme
Theme URI: https://hepsikupon.com/
Author: Durmuş YUĞURAN
Version: 1.23.35
Description: 
TR:
iDeiy Coupon Theme; yüksek dönüşüm odaklı, modern ve SEO uyumlu WordPress kupon & indirim kodu temasıdır.
Affiliate marketing için özel olarak geliştirilmiştir. Gelişmiş kupon ve fırsat (deal) yönetimi,
mağaza bazlı sayfalar, popüler kuponlar, tek tıkla kopyala & yönlendirme sistemi, /go/ redirect,
exit-page (çıkış sayfası), Schema.org (Coupon, Offer, Breadcrumb) yapısı, Core Web Vitals uyumlu
hızlı altyapı, A/B test sistemi, admin istatistik paneli, blog entegrasyonu ve tam mobil uyumluluk sunar.
Büyük ölçekli kupon, kampanya ve affiliate siteleri için profesyonel bir çözümdür.

EN:
iDeiy Coupon Theme is a modern, conversion-focused and SEO-optimized WordPress coupon & discount code theme.
Built specifically for affiliate marketing, it includes advanced coupon and deal management,
store-based pages, popular coupons, one-click copy & redirect flow, /go/ cloaking system,
exit-page tracking, Schema.org (Coupon, Offer, Breadcrumb) integration, Core Web Vitals ready
high-performance structure, A/B testing, admin statistics dashboard, blog integration
and full mobile responsiveness. Ideal for professional coupon, deal and affiliate websites.

Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Tags: kupon teması, indirim kodu teması, fırsat teması, affiliate tema, seo uyumlu tema, hızlı wordpress tema, alışveriş teması, e-ticaret kupon, kampanya teması, modern kupon teması, coupon theme, discount code theme, deal theme, affiliate coupon theme, seo friendly theme, fast wordpress theme, shopping coupon theme, promo code theme, marketing theme, coupon website theme
*/

/* =============================
   Panel: Profile form & Notifications
   ============================= */

.kmm-profile-form{margin-top:8px}
.kmm-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.kmm-field{display:flex;flex-direction:column;gap:8px}
.kmm-field__label{font-weight:600;color:var(--kmm-primary);font-size:14px}
.kmm-input{width:100%;height:44px;border-radius:14px;border:1px solid #c7d2fe;background:#f1f5f9;padding:0 14px;color:var(--kmm-primary);outline:none;box-shadow:0 1px 0 rgba(0,0,0,.02)}
.kmm-input:focus{border-color:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.14)}

.kmm-subtitle{margin:0;font-size:15px;font-weight:700;color:#111827}
.kmm-cards-mini{display:grid;grid-template-columns:1fr;gap:10px}
.kmm-mini{display:flex;align-items:center;justify-content:space-between;gap:12px}
.kmm-mini__left{display:flex;align-items:center;gap:12px;min-width:0}
.kmm-mini__logo{width:64px;height:40px;border-radius:12px;border:1px solid #e5e7eb;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 auto}
.kmm-mini__logo img{width:100%;height:100%;object-fit:contain}
.kmm-mini__text{min-width:0}
.kmm-mini__title a{color:var(--kmm-primary);font-weight:700;text-decoration:none;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}
.kmm-mini__meta{margin-top:4px;color:#6b7280;font-size:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}

.km-btn--mini{height:34px;padding:0 12px;border-radius:12px;font-size:13px}

@media (max-width:720px){
  .kmm-profile-grid{grid-template-columns:1fr}
  .kmm-mini__title a{max-width:220px}
}

:root{
  --kmm-primary:#111827;
  --kmm-text:#374151;
  --kmm-muted:#6B7280;
  --kmm-border:#E6EAF0;
  --kmm-radius:18px;
  --kmm-font:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --bg:#0b1020;
  --surface:#101a33;
  --surface-2:#0f1730;
  --card:#0f1833;
  --text:#e8eeff;
  --muted:#a9b4d6;
  --line: rgba(255,255,255,.10);
  --accent:#6ee7ff;
  --accent-2:#a78bfa;
  --good:#34d399;
  --warn:#fbbf24;
  --bad:#fb7185;
  --shadow: 0 10px 35px rgba(0,0,0,.35);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);

  margin:0;
  overflow-x:hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(124,58,237,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), #ffffff 65%, #f3f4f6);
  min-height:100vh;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%; height:auto}
.km-container{max-width:var(--container); margin:0 auto; padding:0 18px}
.km-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}

.km-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom:1px solid var(--line);
}
.km-header__inner{display:flex; align-items:center; gap:16px; padding:14px 0;}
.km-brand{display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:.2px;}
.km-logo{width:34px; height:34px; border-radius:10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 28px rgba(37,99,235,.16); flex:0 0 auto;}
.km-nav{margin-left:auto}
.km-nav ul{list-style:none; padding:0; margin:0; display:flex; gap:14px; flex-wrap:wrap}
.km-nav a{display:inline-flex; align-items:center; padding:10px 12px; border-radius: 12px; color: var(--muted);}
.km-nav a:hover{background: rgba(15,23,42,.04); color: var(--text)}
.km-search{display:flex; align-items:center; gap:10px; margin-left: 10px; flex: 0 0 340px; max-width: 44vw;}
.km-search input[type="search"]{width:100%; padding:11px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(15,23,42,.03); color: var(--text); outline: none;}
.km-btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid var(--line); background: rgba(15,23,42,.04); color: var(--text); padding:11px 14px; border-radius: 14px; cursor:pointer; transition: transform .06s ease; user-select:none;}
.km-btn:hover{background: rgba(15,23,42,.06)}
.km-btn:active{transform: translateY(1px)}
.km-btn--accent{background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(167,139,250,.22)); border-color: rgba(110,231,255,.30);}
.km-btn--good{border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.10)}
.km-pill{display:inline-flex; align-items:center; padding:6px 10px; border-radius: 999px; border:1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1; gap:8px; background: rgba(15,23,42,.03);}

.km-main{padding: 26px 0 48px}
.km-grid{display:grid; grid-template-columns: 1fr 320px; gap: 22px; align-items:start;}
.km-grid.layout-no-sidebar{grid-template-columns:1fr;}

@media (max-width: 980px){.km-grid{grid-template-columns: 1fr}.km-search{flex:1 1 auto; max-width:none}.km-nav{display:none}}

/* Header/mobile overflow fixes */
@media (max-width: 720px){
  /* Mobile header: top row (menu + auth), second row (search) */
  .km-header__inner{flex-wrap:wrap; align-items:center}

  /* Hide brand to keep header compact on mobile (as requested) */
  .km-brand{display:none !important}

  /* Ensure the menu toggle stays on the left */
  .km-menu-toggle{order:1; margin-right:10px}

  /* Search wrap becomes the right-side container for auth (row 1) + search (row 2) */
  .km-search-wrap{
    order:2;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    flex:1 1 auto;
    min-width:0;
  }

  /* Auth buttons on the top row, aligned to the right */
  .km-search-wrap .kmm-auth-btn{
    order:1;
    padding:10px 14px;
    border-radius:14px;
  }
  .km-search-wrap .kmm-auth-btn:first-of-type{margin-left:auto}
  .km-search-wrap .kmm-auth-btn + .kmm-auth-btn{margin-left:10px}

  /* Search form goes to the second row, full width */
  .km-search{
    order:2;
    flex:1 1 100%;
    max-width:100%;
    margin-left:0;
  }

  /* Nav order remains last; the flyout is controlled by body.km-nav-open */
  .km-nav{order:3}
}

/* Single coupon: hide the 'Paylaş:' label only on mobile */
@media (max-width: 720px){
  .single-coupon .kmm-share-inline__label{display:none !important}
}

.km-card{background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);}
.km-card__pad{padding:16px}
.km-section-title{margin: 0 0 14px; font-size: 18px; letter-spacing:.2px;}

.km-coupon{display:flex; gap:16px; align-items:stretch; padding: 16px;}
.km-coupon + .km-coupon{border-top: 1px solid var(--line)}
.km-coupon__thumb{width:74px; height:74px; border-radius: 16px; background: rgba(15,23,42,.04); border:1px solid var(--line); overflow:hidden; flex: 0 0 auto; display:flex; align-items:center; justify-content:center;}
.km-coupon__body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);
flex:1}
.km-coupon__title{margin:0 0 8px; font-size: 16px; line-height: 1.25; font-weight: 750;}
.km-coupon__meta{display:flex; flex-wrap:wrap; gap:10px; color: var(--muted); font-size: 13px;}
.km-coupon__actions{display:flex; flex-direction:column; gap:10px; justify-content:center; flex: 0 0 170px;}
@media (max-width: 620px){.km-coupon{flex-direction:column}.km-coupon__actions{flex-direction:row; flex-wrap:wrap; width:100%}}

.km-code{display:flex; align-items:center; justify-content:space-between; gap:10px; padding: 10px 12px; border-radius: 14px; border: 1px dashed rgba(37,99,235,.30); background: rgba(37,99,235,.07); color: var(--text); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13px; overflow:hidden;}
.km-code span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.km-code--deal{justify-content:flex-end;}
.km-code--deal span{display:none;}

/* Align deal button with copy button row (desktop) */
.km-coupon--type-deal .km-coupon__actions{justify-content:flex-start;}
.km-note{color: var(--muted); font-size: 13px; margin:0}

.widget{padding:16px}
.widget + .widget{border-top:1px solid var(--line)}
.widget-title{margin:0 0 10px; font-size: 14px; letter-spacing:.3px; text-transform:uppercase; color: var(--muted)}
.widget ul{margin:0; padding-left: 18px; color: var(--muted)}
.tagcloud a{display:inline-flex; margin: 6px 6px 0 0; padding:8px 10px; border-radius: 999px; border:1px solid var(--line); background: rgba(15,23,42,.03); font-size: 13px !important; color: var(--muted);}

.entry-title{margin:0 0 10px}
.entry-content{color: rgba(232,238,255,.92); line-height:1.7}
.entry-content p{margin: 0 0 12px}
.entry-content img{border-radius: 14px; border:1px solid var(--line)}
.km-breadcrumb{color: var(--muted); font-size: 13px; margin: 12px 0}
.km-pagination{display:flex; gap:10px; justify-content:center; margin-top: 18px}
.km-pagination a, .km-pagination span{padding:10px 12px; border-radius: 14px; border:1px solid var(--line); background: rgba(15,23,42,.03); color: var(--muted);}
.km-pagination .current{color: var(--text); border-color: rgba(110,231,255,.30); background: rgba(110,231,255,.10)}

.km-footer{border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); background: rgba(255,255,255,.70);}


/* Mobile nav */
.km-menu-toggle{display:none}
@media (max-width: 980px){
  .km-menu-toggle{display:inline-flex}
  .km-header__inner{gap:12px}
  .km-nav{display:block; margin-left:0}
  .km-nav ul{gap:8px}
  .km-nav a{padding:10px 10px}
  .km-nav{position:fixed; inset: 64px 14px auto 14px; max-height: calc(100vh - 90px); overflow:auto;
          background: var(--surface); border:1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
          padding: 10px; display:none}
  body.km-nav-open .km-nav{display:block}
}

/* Coupon card tweaks */
.km-coupon__actions .km-btn{padding:10px 12px}
.km-coupon__actions .km-code{padding:10px 12px}
.km-coupon__thumb{background: rgba(15,23,42,.03)}
.km-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  font-size:12px;
  line-height:1;
}
.km-badge--expired{border-color: rgba(225,29,72,.25); background: rgba(225,29,72,.06); color: var(--bad)}
.km-btn[disabled]{opacity:.55; cursor:not-allowed}


/* Premium coupon card */
.km-coupon{
  position:relative;
  border-radius: var(--radius);
  margin: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(37,99,235,.015));
}
.km-coupon:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(15,23,42,.10);
  border-color: rgba(37,99,235,.18);
}
.km-coupon{transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease}
.km-coupon + .km-coupon{border-top: none}
.km-coupon__thumb{
  width:86px; height:86px;
  border-radius: var(--kmm-radius);
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(124,58,237,.07));
}
.km-coupon__title a{background: linear-gradient(90deg, rgba(37,99,235,.0), rgba(37,99,235,.0));}
.km-coupon__title a:hover{color: rgba(37,99,235,1)}
.km-coupon__meta{gap:8px}
.km-meta-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.02);
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
}
.km-meta-chip--accent{border-color: rgba(37,99,235,.20); background: rgba(37,99,235,.06); color: rgba(15,23,42,.92)}
.km-meta-chip--verified{border-color: rgba(22,163,74,.22); background: rgba(22,163,74,.06); color: rgba(15,23,42,.92)}
.km-meta-chip--expire{border-color: rgba(217,119,6,.20); background: rgba(217,119,6,.06); color: rgba(15,23,42,.92)}
.km-meta-chip--expired{border-color: rgba(225,29,72,.22); background: rgba(225,29,72,.06); color: rgba(15,23,42,.92)}
.km-coupon__actions{
  flex: 0 0 200px;
  align-items:stretch;
}
.km-btn{
  font-weight: 650;
}
.km-btn--ghost{
  background: rgba(15,23,42,.03);
  border-color: rgba(15,23,42,.12);
}
.km-btn--accent{
  background: linear-gradient(135deg, rgba(37,99,235,.14), rgba(124,58,237,.12));
  border-color: rgba(37,99,235,.24);
}
.km-code{
  border-style: solid;
  border-color: rgba(37,99,235,.22);
  background: rgba(37,99,235,.06);
}
.km-code .km-btn{padding:9px 10px; border-radius: 12px}
.km-coupon__excerpt{
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
@media (max-width: 620px){
  .km-coupon{margin: 12px}
  .km-coupon__actions{flex: 1 1 auto}
  }


/* Requested color scheme */
body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);
 background: #efefef !important; }
h1,h2,h3,h4,h5,h6,
.entry-title,
.km-section-title,
.km-coupon__title,
.km-coupon__title a,
.km-brand span{ color:#6c7b8b; }

.km-card.km-coupon-list{
  background:#ffffff !important;
  border-color:#e50000 !important;
}
.km-card.km-coupon-list .km-coupon{
  background:#ffffff !important;
}

.km-code{
  color:#000000 !important;
}
.km-code span{ color:#000000 !important; }

.km-btn--accent{
  background:#1dc611 !important;
  border-color:#1dc611 !important;
  color:#ffffff !important;
}
.km-btn--accent:hover{ filter: brightness(0.96); }


/* Toast */
.kmm-toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0,0,0,.20);
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}
.kmm-toast.is-show{
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}


/* Store page */
.kmm-store-hero{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.kmm-store-hero__left{display:flex; gap:14px; align-items:center; flex: 1 1 auto;}
.kmm-store-logo{
  width:64px;height:64px;border-radius:20px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  padding:10px;
  object-fit:contain;
}
.kmm-store-stats{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px;}
.kmm-store-stats .km-meta-chip{font-weight:650}
.kmm-filterbar{
  display:flex; gap:10px; flex-wrap:wrap;
  align-items:center;
  padding: 12px 14px;
  border-top: 1px solid rgba(15,23,42,.08);
  background: rgba(15,23,42,.01);
}
.kmm-filterbar select{
  appearance:none;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  color:var(--kmm-primary);
}
.kmm-filterbar .km-btn{padding:10px 12px}
.kmm-table{
  width:100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.kmm-table th, .kmm-table td{
  text-align:left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  font-size: 14px;
}
.kmm-table th{color:#6c7b8b; font-weight:750}
.kmm-table td{color: rgba(15,23,42,.92)}
.kmm-table a{color: inherit}

/* Make tables mobile-friendly (prevents horizontal overflow) */
@media (max-width: 640px){
  .kmm-table-wrap{overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%;}
  .kmm-table{min-width:560px}
}

/* Responsive tables (Popular coupons etc.) */
.kmm-table-wrap{width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch}
@media (max-width: 640px){
  .kmm-table{min-width: 640px}
  .km-card{max-width:100%}
}


/* Typography tweaks (darker) */
body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);
 color: rgba(15,23,42,.92); }
.km-note{ color: rgba(15,23,42,.72); }
.km-meta-chip{ color: rgba(15,23,42,.78); }
h1,h2,h3,h4,h5,h6,
.entry-title,
.km-section-title,
.km-coupon__title,
.km-coupon__title a,
.km-brand span{ color:#556372 !important; }

/* Logo sizing 200x115 */
.kmm-logo-200{
  width:200px;
  height:115px;
  border-radius: var(--kmm-radius);
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  padding:10px;
  object-fit:contain;
  display:block;
}
.km-coupon__thumb{
  width:200px !important;
  height:115px !important;
  border-radius:var(--kmm-radius) !important;
  overflow:hidden;
  background:#fff !important;
  border:1px solid rgba(15,23,42,.10);
  padding:10px;
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
}
.km-coupon__thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
}
@media (max-width: 620px){
  .kmm-logo-200{ width:160px; height:92px; }
  .km-coupon__thumb{ width:160px !important; height:92px !important; }
}

/* Mini action button (for tables) */
.km-btn--mini{
  padding:7px 10px !important;
  font-size: 12px !important;
  border-radius: 12px !important;
}
.kmm-inline-code{
  font-weight: 750;
  letter-spacing: .3px;
}


/* Home sidebar blocks */
.kmm-side-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
.kmm-store-mini{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:14px;
  background:#fff;
  text-decoration:none;
}
.kmm-store-mini:hover{ box-shadow:0 10px 26px rgba(15,23,42,.08); }
.kmm-store-mini img{
  width:88px;
  height:50px;
  object-fit:contain;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  padding:6px;
}
.kmm-store-mini strong{
  color:#556372;
  font-size:14px;
  line-height:1.2;
}
.kmm-tax-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.kmm-tax-list a{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  text-decoration:none;
  color: rgba(15,23,42,.82);
  font-size: 13px;
  font-weight: 650;
}
.kmm-tax-list a:hover{ box-shadow:0 10px 26px rgba(15,23,42,.08); }


/* Ensure single coupon store logo size */
.kmm-store-head .kmm-logo-200{
  width:200px !important;
  height:115px !important;
}


/* Blog post content readable */
.single-post .entry-content, .single-post .entry-content p, .single-post .entry-content li{
  color:#000000;
}


/* Store directory */
.kmm-store-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}
@media (min-width: 640px){
  .kmm-store-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 980px){
  .kmm-store-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.kmm-store-tile{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:14px 12px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--kmm-radius);
  background:#fff;
  text-decoration:none;
  transition:transform .12s ease, box-shadow .12s ease;
}
.kmm-store-tile:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15,23,42,.10);
}
.kmm-store-tile__logo{
  width:200px;
  height:115px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
  padding:8px;
}
.kmm-store-tile__logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.kmm-store-tile__name{
  font-weight:750;
  color:#556372;
  text-align:center;
}


/* Letter filter for store directory */
.kmm-letter-nav{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.kmm-letter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:750;
  color: rgba(15,23,42,.82);
}
.kmm-letter.is-active{
  border-color:#e50000;
  box-shadow:0 12px 28px rgba(229,0,0,.10);
}

/* Fix store logo box sizing */
.kmm-store-tile{
  width:100%;
}
.kmm-store-tile__logo{
  width: 100%;
  max-width: 200px;
  height: 115px;
  padding: 8px;
  box-sizing: border-box;
}


/* Store page header button right */
.kmm-store-head-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.kmm-store-head-left{flex:1 1 520px; min-width:280px;}
.kmm-store-head-right{flex:0 0 auto; display:flex; align-items:center; justify-content:flex-end; padding-bottom:6px;}
.kmm-store-head-right .km-btn{white-space:nowrap;}


/* Store head layout */
.kmm-store-head-left{display:flex; gap:16px; align-items:flex-start;}
.kmm-store-head__logo{
  width:220px;
  flex:0 0 auto;
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--kmm-radius);
  background:#fff;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}
.kmm-store-head__logo img{width:200px;height:115px;object-fit:contain;}
.kmm-store-head__info{flex:1 1 auto; min-width:260px;}
.kmm-store-stats{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px;}
.kmm-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;border:1px solid rgba(15,23,42,.10);background:#fff;font-weight:700;}
.kmm-pill--ok{border-color:rgba(29,198,17,.35);}
.kmm-pill--active{border-color:rgba(229,0,0,.25);}
.kmm-store-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.kmm-store-head-right{display:flex;justify-content:flex-end;align-items:center;padding-bottom:6px;}


/* Darker menu text */
.km-header-nav a{color:#111111 !important;font-weight:600;}
.km-header-nav a:hover{color:#000000;}

/* Marka page filter button */
.km-filters .km-btn{background:#1dc611;color:#ffffff;border-color:#1dc611;}
.km-filters .km-btn:hover{filter:brightness(0.95);}


/* Stronger menu & filter text */
.km-header-nav a{color:#0b0b0b !important;font-weight:700;}
.km-header-nav a:hover{color:#000000;}
.km-filters .km-btn,
.km-filters button{
  color:#0b0b0b !important;
  font-weight:700;
}
.km-filters .km-btn.is-disabled,
.km-filters .km-btn:disabled{
  color:#666 !important;
  opacity:1;
}
.km-filters select,
.km-filters input{color:#0b0b0b;font-weight:600;}


/* Coupon/Deal cards: tighter height + excerpt */
.kmm-card__excerpt{
  margin:6px 0 0;
  color: rgba(15,23,42,.72);
  font-size:14px;
  line-height:1.35;
}
.km-coupon-card{
  padding:14px !important;
}
.km-coupon-card__body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);

  gap:10px !important;
}
.km-coupon-card__actions{
  margin-top:10px !important;
}
/* Deal cards sometimes look tall: prevent huge empty area */
.km-coupon-card__meta{
  margin-top:8px !important;
  gap:8px !important;
  flex-wrap:wrap;
}


/* tighter cards */
.km-coupon-card, .kmm-coupon-card{padding:12px !important;}
.km-coupon-card__body, .kmm-coupon-card__body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);
gap:8px !important;}
.km-coupon-card__actions, .kmm-coupon-card__actions{margin-top:8px !important;}
.km-coupon-card__logo, .kmm-coupon-card__logo{min-height:0;}
.km-btn{line-height:1.1;}


/* v1.11.6 UI fixes: darker menu, tighter cards, button width, logo spacing */
.km-header .km-header-nav a,
.km-header .km-header-nav a:visited,
.km-header-nav a{
  color:#000000 !important;
  opacity:1 !important;
  font-weight:700 !important;
}
.km-header .km-header-nav .current-menu-item > a,
.km-header .km-header-nav a:hover{
  color:#000000 !important;
}
/* Deal / action buttons: less horizontal empty space */
.km-coupon-card__actions .km-btn,
.km-coupon-card__actions a.km-btn{
  padding:12px 18px !important;
  border-radius:999px;
}
/* Reduce empty space in cards (especially deals) */
.km-coupon-card{
  padding:12px !important;
}
.km-coupon-card__body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);

  gap:8px !important;
}
.km-coupon-card__content{
  padding-right:0 !important;
}
.km-coupon-card__actions{
  margin-top:8px !important;
}
.km-coupon-card__right{
  display:flex;
  flex-direction:column;
  justify-content:flex-start !important;
  gap:8px;
}
/* Logo-left spacing smaller */
.km-coupon-card__logo-wrap,
.km-coupon-card__logo,
.km-coupon-card__left{
  margin-left:0 !important;
}
.km-coupon-card__logo{
  padding:10px !important;
}
.km-coupon-card__left{
  padding-left:0 !important;
}


/* v1.11.7 stronger menu color */
.km-header a, .km-header-nav a{color:#000 !important; opacity:1 !important; font-weight:700 !important;}
.km-header-nav a:hover{color:#000 !important;}


/* v1.11.8 fixes (3,4,5): tighter cards, compact action button, smaller left gutter */
/* 3) Reduce card height and empty space (home + archives + store) */
.km-coupon-card{
  padding:12px !important;
  border-radius:var(--kmm-radius);
}
.km-coupon-card__body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);

  display:flex;
  align-items:flex-start;
  gap:10px !important;
}
.km-coupon-card__content{
  flex:1 1 auto;
  min-width:0;
}
.km-coupon-card__right{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:flex-start !important;
  gap:10px !important;
}
.km-coupon-card__meta{
  margin-top:8px !important;
  gap:8px !important;
  row-gap:8px !important;
}
.km-coupon-card__actions{
  margin-top:8px !important;
}

/* Deal cards sometimes stretch because of min-height; neutralize */
.km-coupon-card__logo-wrap,
.km-coupon-card__logo{
  min-height:unset !important;
}

/* 4) "Fırsata Git" button: less horizontal padding (not too wide) */
.km-coupon-card__actions .km-btn,
.km-coupon-card__actions a.km-btn{
  padding:12px 16px !important;
  min-width:unset !important;
  width:auto !important;
}

/* 5) Reduce space between left edge and logo (about 1/3 of current) */
.km-coupon-card__left{
  padding-left:0 !important;
  margin-left:0 !important;
}
.km-coupon-card__logo-wrap{
  margin-left:0 !important;
  padding-left:0 !important;
}
.km-coupon-card__logo{
  padding:8px !important;
}


/* v1.11.9 Bigger action buttons (2x height, same width) */
/* Fırsata Git & Kopyala buttons */
.km-coupon-card__actions .km-btn,
.km-coupon-card__actions .kmm-copy-btn,
.km-coupon-card__actions button{
  padding-top:22px !important;
  padding-bottom:22px !important;
  font-size:18px !important;
  line-height:1 !important;
}


/* v1.12.0 - make mini buttons 2x taller (keep width) */
.km-coupon__actions .km-btn--mini{
  padding-top: 22px !important;
  padding-bottom: 22px !important;
  font-size: 18px !important;
  line-height: 1 !important;
}
.km-code .km-btn--mini{padding-top:22px !important;padding-bottom:22px !important;}


/* v1.12.1 Fixed button sizes */
/* Copy button: 100x50 */
.km-coupon__actions .km-btn--copy{
  width:100px !important;
  height:50px !important;
  padding:0 !important;
  font-size:16px !important;
  font-weight:800;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  border-radius:10px;
}

/* Deal/Go button: 140x50 */
.km-coupon__actions .km-btn--deal{
  width:140px !important;
  height:50px !important;
  padding:0 !important;
  font-size:16px !important;
  font-weight:800;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
  border-radius:10px;
}

/* v1.17.3 - Single deal CTA style (matches the provided visual) */
.kmm-deal-cta{
  display:flex;
  justify-content:flex-end;
  margin:10px 0 14px;
  padding:12px;
  border-radius:var(--kmm-radius);
  background:#eef6ff;
  border:2px solid #bcd6ff;
}
.kmm-deal-btn{
  width:140px;
  height:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background: linear-gradient(135deg, #06b6d4, #22d3ee);
  color:#fff !important;
  font-weight:800;
  letter-spacing:.2px;
  text-decoration:none;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}
.kmm-deal-btn:hover{ filter: brightness(1.03); }
.kmm-deal-btn:active{ transform: translateY(1px); }


/* v1.12.2 Mobile fixes for single store page */
@media (max-width: 768px){
  .km-grid{ grid-template-columns: 1fr !important; }
  .km-grid > aside{ order: 2; }
  .km-grid > div{ order: 1; }

  .kmm-store-head-row{ align-items:stretch !important; }
  .kmm-store-head-left{
    flex:1 1 100% !important;
    min-width:0 !important;
    width:100% !important;
    flex-direction:column !important;
    align-items:stretch !important;
  }
  .kmm-store-head__logo{ width:100% !important; max-width:100% !important; }
  .kmm-store-head__logo img{ width:180px !important; height:90px !important; }
  .kmm-store-head-right{
    width:100% !important;
    justify-content:flex-start !important;
    padding-bottom:0 !important;
  }
  .kmm-store-head-right .km-btn{ width:100% !important; }

  .km-filters{ display:flex !important; flex-wrap:wrap !important; gap:10px !important; }
  .km-filters > *{ flex:1 1 150px !important; min-width:140px !important; }
  .km-filters select,.km-filters input,.km-filters .km-btn{ width:100% !important; }

  .km-coupon-card__body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);
 flex-direction:column !important; align-items:stretch !important; }
  .km-coupon-card__right{ width:100% !important; align-items:stretch !important; }
  .km-coupon__actions{ width:100% !important; justify-content:flex-end !important; gap:10px !important; }
  .km-code{ width:100% !important; justify-content:flex-end !important; gap:10px !important; }
}

@media (max-width: 420px){
  .km-coupon__actions{ justify-content:space-between !important; }
  .km-code{ flex:1 1 auto !important; justify-content:space-between !important; }
}


/* === v1.13.0 Neon/Startup (Cyan) theme layer === */
:root{
  --kmm-primary:#111827;
  --kmm-text:#374151;
  --kmm-muted:#6B7280;
  --kmm-border:#E6EAF0;
  --kmm-radius:18px;
  --kmm-font:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --kmm-neon: #06B6D4;
  --kmm-neon-2: #22D3EE;
  --kmm-ink: #0b0b0b;
  --kmm-text: #334155;
  --kmm-card: rgba(255,255,255,.78);
  --kmm-border: rgba(15,23,42,.10);
  --kmm-shadow: 0 16px 40px rgba(15,23,42,.10);
  --kmm-glow: 0 0 0 1px rgba(6,182,212,.25), 0 18px 50px rgba(6,182,212,.12);
}

body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);
 color: var(--kmm-text); }

/* Header: app-like */
.km-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.km-header:after{
  content:"";
  display:block;
  height:2px;
  background: linear-gradient(90deg, rgba(6,182,212,0), var(--kmm-neon), rgba(34,211,238,0));
}

/* Menu hover underline neon */
.km-header-nav a{ position: relative; }
.km-header-nav a:after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-10px;
  height:2px;
  background: linear-gradient(90deg, var(--kmm-neon), var(--kmm-neon-2));
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .18s ease;
  border-radius:999px;
}
.km-header-nav a:hover:after,
.km-header-nav .current-menu-item > a:after{ transform: scaleX(1); }

/* Cards: glass + neon hover */
.km-card,
.km-coupon-card{
  background: var(--kmm-card) !important;
  border: 1px solid var(--kmm-border) !important;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
  backdrop-filter: blur(10px);
}
.km-card:hover,
.km-coupon-card:hover{
  box-shadow: var(--kmm-shadow), var(--kmm-glow);
  transform: translateY(-2px);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* Coupon card accent strip */
.km-coupon-card{
  position: relative;
  overflow: hidden;
}
.km-coupon-card:before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:4px;
  background: linear-gradient(180deg, var(--kmm-neon), var(--kmm-neon-2));
  opacity:.9;
}

/* Buttons: neon gradient for go/deal */
.km-coupon__actions .km-btn--deal{
  background: linear-gradient(90deg, var(--kmm-neon), var(--kmm-neon-2)) !important;
  border-color: rgba(6,182,212,.45) !important;
  box-shadow: 0 10px 24px rgba(6,182,212,.18);
}
.km-coupon__actions .km-btn--deal:hover{
  box-shadow: 0 14px 34px rgba(6,182,212,.26);
  filter: brightness(1.02);
}
.km-coupon__actions .km-btn--copy{
  box-shadow: 0 10px 22px rgba(29,198,17,.14);
}
.km-coupon__actions .km-btn--copy:hover{
  box-shadow: 0 14px 30px rgba(29,198,17,.22);
}

/* Chips active */
.kmm-letter.is-active{
  border-color: var(--kmm-neon) !important;
  box-shadow: 0 12px 28px rgba(6,182,212,.16) !important;
}
.kmm-letter{ transition: transform .18s ease, box-shadow .18s ease; }
.kmm-letter:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(6,182,212,.12);
}

/* Focus */
input:focus, select:focus, textarea:focus{
  outline: none;
  box-shadow: 0 0 0 4px rgba(6,182,212,.14);
  border-color: rgba(6,182,212,.55);
}


/* v1.13.1 tweaks */
/* Header search: 30% shorter */
.km-header .km-search,
.km-header .km-header-search{
  max-width: 70% !important;
}
.km-header .km-search input,
.km-header .km-header-search input{
  max-width: 260px;
}


/* Ensure the coupon row is the positioning context */
.km-coupon,
.km-coupon-card{
  position: relative !important;
}

/* Place the discount ribbon at top-left so it never touches the action area on the right */
/* Reserve vertical space for the ribbon on dense cards */


/* Yoast breadcrumbs styling */
.kmm-breadcrumbs #breadcrumbs{font-size:13px; color:#64748b;}
.kmm-breadcrumbs a{color:inherit; text-decoration:none;}
.kmm-breadcrumbs a:hover{text-decoration:underline;}


/* v1.13.6 single coupon content color */
.single-coupon .entry-content, .single-coupon .entry-content p, .single-coupon .entry-content li{color:#0b0b0b !important;}
.single-coupon .entry-content a{color:#0b0b0b !important; text-decoration:underline;}

/* v1.13.7: Single kupon mobilde baslik logo ustunde + store chip gizle */
@media (max-width: 768px){
  .single-coupon .kmm-store-head{
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .single-coupon .kmm-store-head > div{
    order: 1 !important;
    width: 100% !important;
  }
  .single-coupon .kmm-store-head img{
    order: 2 !important;
    margin-top: 10px !important;
  }
  /* Mobilde marka ismi chip (kucuk simgeli alan) gorunmesin */
  .single-coupon .kmm-store-head .km-meta-chip{
    display: none !important;
  }
}


/* v1.14.0 Membership UI */
.km-search-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.km-search-wrap .km-search{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 0 1 auto;
}
.km-search-wrap .km-search input[type="search"]{
  width: 260px;
}
@media (min-width: 992px){
  .km-search-wrap .km-search input[type="search"]{
    width: 240px; /* slightly shorter */
  }
}
.km-search-wrap .kmm-auth-btn{
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
.kmm-fav-btn{
  margin-left:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.7);
  text-decoration:none;
  cursor:pointer;
  line-height:1;
}
.kmm-fav-btn.is-fav{
  border-color: rgba(6,182,212,.65);
  box-shadow: 0 0 0 4px rgba(6,182,212,.14);
}


/* v1.14.3 fav buttons on single views */
.single-coupon .entry-title{display:inline-block; margin-right:10px;}
.kmm-store-hero__left h1{display:inline-block; margin-right:10px;}
.kmm-store-hero__left .kmm-fav-btn{vertical-align:middle;}


/* v1.15.0 User Panel dashboard */
.kmm-user-panel, .kmm-user-panel *{ color:#0b0b0b !important; }
.kmm-up-hero{ display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }
.kmm-up-title{ margin:0; font-size:24px; }
.kmm-up-sub{ opacity:.8; font-size:13px; }
.kmm-dot{ margin:0 6px; opacity:.6; }
.kmm-up-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:12px; }
.kmm-stat{ display:flex; align-items:center; gap:10px; }
.kmm-stat__num{ font-size:28px; font-weight:800; line-height:1; }
.kmm-stat__label{ margin-top:0; opacity:.75; font-size:13px; display:flex; align-items:center; }
.kmm-up-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:12px; }
.kmm-up-wide{ grid-column:1 / -1; }
.kmm-section__head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.kmm-section__head h3{ margin:0; font-size:16px; }
.kmm-empty{ margin:0; opacity:.75; }
.kmm-list{ display:flex; flex-direction:column; gap:10px; }
.kmm-item{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border:1px solid rgba(15,23,42,.08); border-radius:16px; background:rgba(255,255,255,.55); }
.kmm-item__main{ display:flex; align-items:center; gap:10px; text-decoration:none; flex:1 1 auto; min-width:0; }
.kmm-item__logo{ width:44px; height:44px; border-radius:12px; overflow:hidden; background:#fff; border:1px solid rgba(15,23,42,.08); flex:0 0 auto; display:flex; align-items:center; justify-content:center; }
.kmm-item__logo img{ width:100%; height:100%; object-fit:contain; }
.kmm-item__ph{ width:100%; height:100%; background:linear-gradient(135deg, rgba(6,182,212,.15), rgba(99,102,241,.15)); }
.kmm-item__text{ min-width:0; }
.kmm-item__title{ font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.kmm-item__meta{ font-size:12px; opacity:.75; margin-top:2px; }
.kmm-item__remove{ width:36px; height:36px; border-radius:999px; border:1px solid rgba(15,23,42,.12); background:rgba(255,255,255,.7); cursor:pointer; font-size:22px; line-height:1; }
.kmm-item__remove:hover{ box-shadow:0 0 0 4px rgba(6,182,212,.14); }
.kmm-reuse{ height:40px; padding:0 14px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; white-space:nowrap; }

/* Panel - action buttons (Profili Düzenle / Çıkış) should look like real buttons */
.kmm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(255,255,255,.78);
  text-decoration:none;
  font-weight:800;
  cursor:pointer;
}
.kmm-btn:hover{ box-shadow:0 0 0 4px rgba(6,182,212,.14); }
.kmm-btn--ghost{ background:rgba(255,255,255,.72); }
.kmm-btn--primary{ background: var(--kmm-deal); border-color: var(--kmm-deal); color:#fff; }
.kmm-btn--primary:hover{ filter:brightness(.96); }
@media (max-width: 900px){
  .kmm-up-stats{ grid-template-columns:1fr; }
  .kmm-up-grid{ grid-template-columns:1fr; }
}


/* v1.15.1 Blog read more button */
.kmm-readmore-btn{background:#1dc611 !important; color:#fff !important; border-color:#1dc611 !important;}
.kmm-readmore-btn:hover{filter:brightness(0.95);}


/* v1.15.2 Panel icons & badges */
.kmm-ico{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:6px;background:rgba(6,182,212,.14);margin-right:6px;font-size:12px;}
.kmm-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:linear-gradient(135deg, rgba(6,182,212,.18), rgba(99,102,241,.18));border:1px solid rgba(15,23,42,.08);}
.kmm-badge .kmm-ico{margin-right:0;background:rgba(255,255,255,.5);}

/* v1.15.2 Share buttons */
.kmm-share__row{display:flex;flex-wrap:wrap;gap:10px;}
.kmm-share__btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 14px;border-radius:999px;border:1px solid rgba(15,23,42,.12);background:rgba(255,255,255,.65);text-decoration:none;cursor:pointer;}
.kmm-share__btn:hover{box-shadow:0 0 0 4px rgba(6,182,212,.14);}
.kmm-share__copy{background:#1dc611;color:#fff;border-color:#1dc611;}
.kmm-share__copy:hover{filter:brightness(0.95);}


/* v1.15.3 Auth pages */
.kmm-auth-wrap{max-width:520px;margin:0 auto;}
.kmm-auth-card{position:relative; overflow:hidden;}
.kmm-auth-card:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(600px 200px at 20% 0%, rgba(6,182,212,.20), transparent 60%),
              radial-gradient(600px 200px at 80% 0%, rgba(99,102,241,.18), transparent 60%);
  pointer-events:none;
}
.kmm-auth-card > *{position:relative;}
.kmm-auth-head{display:flex; align-items:flex-start; gap:12px; margin-bottom:12px;}
.kmm-auth-ico{width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.65); border:1px solid rgba(15,23,42,.10);
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}
.kmm-auth-title{margin:0;font-size:22px;}
.kmm-auth-sub{opacity:.78;font-size:13px;margin-top:4px;}
.kmm-auth-error{margin:10px 0; padding:10px 12px; border-radius:14px; background:rgba(185,28,28,.08); border:1px solid rgba(185,28,28,.18); color:#b91c1c;}
.kmm-auth-form{display:flex; flex-direction:column; gap:10px;}
.kmm-auth-label{font-size:13px; opacity:.8;}
.kmm-field{display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:16px;
  border:1px solid rgba(15,23,42,.10); background:rgba(255,255,255,.65);
}
.kmm-field-ico{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  background:rgba(6,182,212,.12); color:#0f172a;
}
.kmm-field input{border:none; outline:none; background:transparent; width:100%; color:#0b0b0b;}
.kmm-auth-submit{width:100%; height:48px;}
.kmm-auth-foot{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; flex-wrap:wrap;}
.kmm-auth-link{height:40px;}

/* v1.15.3 Keep tag emoji only on single coupon */
body:not(.single-coupon) img.emoji[alt='🏷']{display:none !important;}


/* v1.15.4 Auth text color */
.kmm-auth-card, .kmm-auth-card *{color:#0b0b0b !important;}
.kmm-auth-sub{opacity:.8;}
.kmm-field input{color:#0b0b0b !important;}


/* v1.15.5 Auth link color */
.kmm-auth-card a{color:#0b0b0b !important;}

/* v1.18.2 Google login button */
.kmm-google-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:46px;border-radius:16px;
  border:1px solid rgba(15,23,42,.14); background:rgba(255,255,255,.9); text-decoration:none; font-weight:700;}
.kmm-google-btn:hover{box-shadow:0 0 0 4px rgba(59,130,246,.12);} 
.kmm-google-ico{width:18px;height:18px;border-radius:4px;display:inline-block;
  background:conic-gradient(from 0deg,#ea4335 0 25%,#fbbc05 0 50%,#34a853 0 75%,#4285f4 0 100%);} 


/* v1.15.6 Inline share under description */
.kmm-share-inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;}
.kmm-share-inline__label{font-size:13px;opacity:.7;}
.kmm-share-btn{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:999px;
  border:1px solid rgba(15,23,42,.14);background:rgba(255,255,255,.9);color:#111827;
  text-decoration:none;font-weight:700;font-size:13px;line-height:1;}
.kmm-share-btn__ic{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;
  background:rgba(17,24,39,.08);}
.kmm-share-btn__tx{display:inline-block;}
.kmm-share-btn:hover{background:#111827;color:#fff;box-shadow:0 0 0 4px rgba(59,130,246,.14);}
.kmm-share-btn:hover .kmm-share-btn__ic{background:rgba(255,255,255,.18);}
@media (max-width: 540px){
  .kmm-share-btn{padding:8px;gap:0;}
  .kmm-share-btn__tx{display:none;}
  .kmm-share-btn__ic{width:32px;height:32px;}
}
.kmm-share-icbtn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:999px;border:1px solid rgba(15,23,42,.12);background:rgba(255,255,255,.65);color:#0b0b0b;text-decoration:none;cursor:pointer;}
.kmm-share-icbtn:hover{box-shadow:0 0 0 4px rgba(6,182,212,.14);}
.kmm-share-icbtn--fb{background:#1877F2;border-color:#1877F2;color:#fff;}
.kmm-share-icbtn--x{background:#111827;border-color:#111827;color:#fff;}
.kmm-share-icbtn--wa{background:#25D366;border-color:#25D366;color:#fff;}
.kmm-share-icbtn--tg{background:#229ED9;border-color:#229ED9;color:#fff;}
.kmm-share-icbtn--copy{background:#1dc611;border-color:#1dc611;color:#fff;}
.kmm-share-icbtn--copy:hover{filter:brightness(.95);}


/* Panel: new items badge */
.kmm-badge-new{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 6px;margin-left:8px;border-radius:999px;background:#1dc611;color:#fff;font-size:12px;font-weight:700;line-height:1;}


/* Deal cards compact */
.km-coupon--type-deal .km-coupon__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.km-coupon--type-deal .km-coupon__body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);

  padding-bottom:6px;
}

/* v1.19.6 Panel profile inputs: improve contrast (previously too white on white) */
.kmm-profile-form .kmm-input{
  background:#f3f6fb !important;
  color:#0b0b0b !important;
  border:1px solid rgba(15,23,42,.14) !important;
}
.kmm-profile-form .kmm-field__label{color:#0b0b0b;}
.km-coupon--type-deal{
  padding-bottom:8px;
}
.km-coupon--type-deal .km-coupon__thumb{
  align-self:center;
}

/* v1.17.1 Deal cards: reduce height */
.km-coupon--type-deal{padding-top:10px !important; padding-bottom:10px !important;}
.km-coupon--type-deal .km-coupon__actions{justify-content:center !important;}
.km-coupon--type-deal .km-coupon__actions .km-btn--deal{height:50px !important;}


/* =========================================================
   iDeiy Coupon Theme — Modern Trust (Ruby + Parliament Blue)
   ========================================================= */
:root{
  --kmm-primary:#111827;
  --kmm-text:#374151;
  --kmm-muted:#6B7280;
  --kmm-border:#E6EAF0;
  --kmm-radius:18px;
  --kmm-font:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --kmm-bg: #F5F7FA;
  --kmm-card: #FFFFFF;
  --kmm-border: #E6EAF0;
  --kmm-heading: #111827;
  --kmm-text: #374151;
  --kmm-muted: #6B7280;

  --kmm-copy: #9B111E;          /* Ruby red */
  --kmm-copy-hover: #7F0D18;
  --kmm-deal: #2E3A87;          /* Parliament blue */
  --kmm-deal-hover: #242E6D;

  --kmm-focus: rgba(46,58,135,.18);
  --kmm-shadow: 0 10px 30px rgba(17,24,39,.08);
}

body{
  font-family:var(--kmm-font);
  color:var(--kmm-text);
 background: var(--kmm-bg) !important; color: var(--kmm-text) !important; }
h1,h2,h3,h4,h5,h6,
.site-title, .km-title, .kmm-title{ color: var(--kmm-heading) !important; }

.site-header, header.site-header{
  background: rgba(255,255,255,.86) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--kmm-border) !important;
}
.main-navigation a,
.kmm-nav a{
  color: var(--kmm-heading) !important;
  font-weight: 700;
  opacity: .92;
}
.main-navigation a:hover,
.kmm-nav a:hover{ color: var(--kmm-deal) !important; }

.km-card, .km-coupon, .kmm-panel-card, .kmm-card,
.kmm-box, .kmm-widget, .widget, .sidebar .widget{
  background: var(--kmm-card) !important;
  border: 1px solid var(--kmm-border) !important;
  border-radius: var(--kmm-radius) !important;
  box-shadow: var(--kmm-shadow) !important;
}

input[type="text"], input[type="search"], input[type="email"], input[type="password"], textarea, select{
  border: 1px solid var(--kmm-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--kmm-heading) !important;
}
input:focus, textarea:focus, select:focus{
  outline: none !important;
  box-shadow: 0 0 0 4px var(--kmm-focus) !important;
  border-color: rgba(46,58,135,.55) !important;
}

.km-btn, .button, button, input[type="submit"]{
  border-radius: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .2px;
  box-shadow: 0 10px 24px rgba(17,24,39,.10);
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease, filter .12s ease;
}
.km-btn:hover, .button:hover, button:hover, input[type="submit"]:hover{ transform: translateY(-1px); }

.km-btn--success, .km-btn--copy, .kmm-btn-copy, .kmm-copy-btn{
  background: var(--kmm-copy) !important;
  color: #fff !important;
  border: none !important;
}
.km-btn--success:hover, .km-btn--copy:hover, .kmm-btn-copy:hover, .kmm-copy-btn:hover{ background: var(--kmm-copy-hover) !important; }

.km-btn--accent, .kmm-out-btn, .kmm-deal-btn{
  background: var(--kmm-deal) !important;
  color: #fff !important;
  border: none !important;
}
.km-btn--accent:hover, .kmm-out-btn:hover, .kmm-deal-btn:hover{ background: var(--kmm-deal-hover) !important; }

.km-btn--ghost, .km-btn--secondary, .kmm-btn-secondary{
  background: #EEF2FF !important;
  color: var(--kmm-deal) !important;
  border: 1px solid rgba(46,58,135,.18) !important;
  box-shadow: none !important;
}

.kmm-badge-new{ background: var(--kmm-deal) !important; color:#fff !important; }

.site-footer, footer.site-footer{
  border-top: 1px solid var(--kmm-border) !important;
  background: #fff !important;
  color: var(--kmm-muted) !important;
}


/* =========================================================
   Auth screens (Login / Register / Forgot) — Modern UI
   ========================================================= */
.kmm-auth-screen{
  min-height: calc(100vh - 140px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 16px;
}
.kmm-auth-card{
  width: min(520px, 100%);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--kmm-border, #E6EAF0);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(17,24,39,.12);
  padding: 22px 22px 18px;
  position:relative;
  overflow:hidden;
}
.kmm-auth-card:before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(900px 220px at 20% 0%, rgba(46,58,135,.18), transparent 55%),
              radial-gradient(700px 200px at 85% 10%, rgba(155,17,30,.14), transparent 60%);
  pointer-events:none;
}
.kmm-auth-card > *{ position:relative; z-index:1; }
.kmm-auth-head{ text-align:center; margin-bottom: 14px; }
.kmm-auth-badge{
  width:48px;height:48px;border-radius:16px;
  display:inline-flex;align-items:center;justify-content:center;
  background: rgba(46,58,135,.10);
  color: var(--kmm-deal, #2E3A87);
  margin: 0 auto 10px;
  font-size: 20px;
}
.kmm-auth-title{
  font-size: 24px;
  margin: 0 0 6px;
  color: var(--kmm-heading, #111827);
}
.kmm-auth-sub{
  margin: 0;
  color: var(--kmm-muted, #6B7280);
  font-size: 14px;
}
.kmm-auth-form{ margin-top: 10px; }
.kmm-auth-label{ display:block; font-weight: 800; margin: 12px 0 6px; color: var(--kmm-heading,#111827); }
.kmm-field{ display:flex; gap:10px; align-items:center; padding: 10px 12px; border-radius: 14px; border:1px solid var(--kmm-border,#E6EAF0); background:#fff; }
.kmm-field input{ border:none !important; box-shadow:none !important; padding:0 !important; height: 22px; flex:1; background:transparent !important; color: var(--kmm-heading,#111827) !important; }
.kmm-field-ico{ color: var(--kmm-muted,#6B7280); display:flex; }
.kmm-auth-submit{ width:100%; height:50px; margin-top: 14px; }
.kmm-auth-error{
  background: #FEF2F2;
  border:1px solid #FECACA;
  color:#991B1B;
  border-radius: 14px;
  padding: 10px 12px;
  margin: 10px 0;
  font-weight:700;
}
.kmm-auth-success{
  background:#ECFDF5;
  border:1px solid #A7F3D0;
  color:#065F46;
  border-radius:14px;
  padding:10px 12px;
  margin: 10px 0;
  font-weight:800;
}
.kmm-google-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  height:50px;
  border-radius: 14px;
  background: #fff;
  border:1px solid var(--kmm-border,#E6EAF0);
  color: var(--kmm-heading,#111827);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
}
.kmm-google-btn:hover{ filter: brightness(.98); }
.kmm-google-ico{
  width:18px;height:18px;border-radius:4px;
  background: conic-gradient(from 220deg, #4285F4 0 25%, #34A853 0 50%, #FBBC05 0 75%, #EA4335 0);
}
.kmm-auth-foot{ display:flex; justify-content:center; gap:10px; margin-top: 14px; flex-wrap: wrap; }
.kmm-auth-link{ height:42px; display:inline-flex; align-items:center; }
.kmm-auth-row{ display:flex; justify-content:flex-end; margin-top: 10px; }
.kmm-forgot-link{ color: var(--kmm-deal,#2E3A87); font-weight: 900; font-size: 13px; text-decoration:none; }
.kmm-forgot-link:hover{ text-decoration:underline; }

@media (max-width: 480px){
  .kmm-auth-card{ padding: 18px 16px 14px; border-radius: 20px; }
  .kmm-auth-title{ font-size: 22px; }
}


/* Store App Box */
.kmm-app-box__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.kmm-app-badges{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.kmm-app-badge{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width: 150px;
  height: 52px;
  padding: 8px 12px;
  border-radius: 14px;
  text-decoration:none;
  border:1px solid var(--kmm-border);
  color: #fff;
  box-shadow: 0 8px 18px rgba(17,24,39,.10);
  transition: transform .12s ease, filter .12s ease;
}
.kmm-app-badge:hover{transform: translateY(-1px); filter: brightness(1.04);}
.kmm-app-badge__sub{font-size:11px;opacity:.92;font-weight:800;}
.kmm-app-badge__title{font-size:13px;font-weight:900;margin-top:1px;}
.kmm-app-badge--play{ background: linear-gradient(135deg, #22c55e, #16a34a, #0ea5e9); }
.kmm-app-badge--apple{ background: linear-gradient(135deg, #111827, #7c3aed, #ec4899); }
.kmm-app-qr{ text-align:center; }
.kmm-app-qr__label{ font-size:12px; font-weight:800; color: var(--kmm-muted); margin-bottom:6px; }
.kmm-app-qr img{ border-radius: 12px; border:1px solid var(--kmm-border); background:#fff; }
@media (max-width: 768px){
  .kmm-app-badge{min-width:140px;height:50px;}
}



/* Panel - Yeni Kuponlar grid */
.kmm-latest-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 900px){
  .kmm-latest-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .kmm-latest-grid{ grid-template-columns: 1fr; }
}
.kmm-latest-card{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding: 12px 12px;
  border:1px solid var(--kmm-border);
  border-radius: var(--kmm-radius);
  background:#fff;
  text-decoration:none;
  min-width:0;
}
.kmm-latest-left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.kmm-latest-logo{
  width: 40px;
  height: 23px;
  border-radius: 8px;
  background: rgba(99,102,241,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex: 0 0 auto;
}
.kmm-latest-logo img{
  width: 40px;
  height: 23px;
  object-fit: contain;
  display:block;
}
.kmm-latest-title{
  font-weight: 800;
  color: var(--kmm-primary);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kmm-latest-meta{
  color: var(--kmm-muted);
  font-size: 12px;
  margin-top: 3px;
}


/* Panel - Favori kart logo boyutlari */
.kmm-card-mini__logo{
  width: 40px;
  height: 23px;
  border-radius: 8px;
  overflow:hidden;
  background: rgba(99,102,241,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.kmm-card-mini__logo img{
  width: 40px;
  height: 23px;
  object-fit: contain;
  display:block;
}


/* Panel - Yeni Kuponlar taşma düzeltme */
.kmm-latest-text{ min-width:0; }
.kmm-latest-title{
  white-space: normal;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Panel - Favoriler iki kolon düzeni */
.kmm-two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.kmm-two-col > section{ min-width:0; }
@media (max-width: 900px){
  .kmm-two-col{ grid-template-columns: 1fr; }
}


/* Panel - Favori kart düzeni (logo + isim solda, X sağda) */
.kmm-grid{ display:grid; grid-template-columns: 1fr; gap: 10px; }
.kmm-card-mini{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 12px;
  border: 1px solid var(--kmm-border);
  border-radius: var(--kmm-radius);
  background:#fff;
  max-width:100%;
  overflow:hidden;
}
.kmm-card-mini__link{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width:0;
  flex: 1 1 auto;
  text-decoration:none;
}
.kmm-card-mini__title{
  font-weight: 800;
  color: var(--kmm-primary);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kmm-x{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--kmm-border);
  background: #fff;
  color: var(--kmm-muted);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.kmm-x:hover{ color: #111827; border-color: #cfd6e4; }


/* Panel - Kupon geçmişi 'Tekrar Kullan' butonu kopyala rengi ile */
.kmm-row__right .kmm-btn--mini{
  /* shrink by ~50% */
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1;
  height: 32px;
  border-radius: 999px;
  font-weight: 800;
}
.kmm-row__right .kmm-btn--mini.kmm-btn-copy{ background: var(--kmm-copy) !important; color:#fff !important; }
.kmm-row__right .kmm-btn--mini.kmm-btn-copy:hover{ background: var(--kmm-copy-hover) !important; }


/* Panel - Kupon geçmişi satır hizalama */
.kmm-list .kmm-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.kmm-list .kmm-row__left{ min-width:0; }
.kmm-list .kmm-row__right{ flex:0 0 auto; }


/* Store - App buttons inline next to 'Mağazaya Git' */
.kmm-store-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}
.kmm-app-mini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  color:#fff;
  text-decoration:none;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .2px;
  box-shadow: 0 6px 14px rgba(17,24,39,.10);
}
.kmm-app-mini--play{ background: linear-gradient(135deg, #22c55e, #0ea5e9); }
.kmm-app-mini--apple{ background: linear-gradient(135deg, #111827, #ec4899); }
.kmm-app-qr-mini{
  width: 70px;
  height: 70px;
  border-radius: 10px;
  border:1px solid var(--kmm-border);
  background:#fff;
  display:block;
}

/* === Lighthouse / PageSpeed Contrast Fixes (AA) === */
:root{
  --kmm-text: #111827;          /* readable near-black */
  --kmm-auth-accent: #1E40AF;   /* trust blue */
}
body{ color: var(--kmm-text); }

/* Auth buttons (Üye Ol / Giriş) */
.kmm-auth-btn,
a.kmm-auth-btn,
.km-btn.kmm-auth-btn,
.km-btn-accent.kmm-auth-btn{
  background: var(--kmm-auth-accent) !important;
  color: #FFFFFF !important;
  font-weight: 700;
}

/* Footer text contrast */
.km-footer,
.km-footer p,
.km-footer a,
.km-footer span,
.km-footer div,
.km-footer .site-info,
.km-footer .km-footer-copy{
  color: var(--kmm-text) !important;
}

/* Menu link contrast (prevent 'silik' look) */
.km-header a,
.km-header .km-nav a{
  opacity: 1 !important;
}

body.palette-trust{--primary:#1E40AF;--copy:#9F1239;--deal:#1E40AF;}
body.palette-modern{--primary:#6366F1;--copy:#BE123C;--deal:#2563EB;}
body.palette-dark{--primary:#020617;--copy:#B91C1C;--deal:#0284C7;}
.kmm-btn-copy{background:var(--copy);color:#fff;}
.km-btn--accent{background:var(--deal);color:#fff;}
body.layout-boxed .km-container{max-width:1200px;margin:auto;}
body.grid-2 .coupon-grid{grid-template-columns:repeat(2,1fr);}
body.grid-3 .coupon-grid{grid-template-columns:repeat(3,1fr);}
body.grid-4 .coupon-grid{grid-template-columns:repeat(4,1fr);}


/* === Coupons Settings: Layout application === */
.km-grid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
}
.km-sidebar{ width:100%; }
body.sidebar-left .km-grid{
  grid-template-columns: 320px 1fr;
  grid-template-areas: "sidebar content";
}
body.sidebar-left .km-grid > div:first-child{ grid-area: content; }
body.sidebar-left .km-grid > .km-sidebar{ grid-area: sidebar; }
body.sidebar-right .km-grid{
  grid-template-areas: "content sidebar";
}
body.sidebar-right .km-grid > div:first-child{ grid-area: content; }
body.sidebar-right .km-grid > .km-sidebar{ grid-area: sidebar; }
body.sidebar-none .km-grid{
  grid-template-columns: 1fr;
}
body.sidebar-none .km-grid > .km-sidebar{ display:none; }

@media (max-width: 900px){
  body.mobile-sidebar-hide .km-grid{ grid-template-columns:1fr; }
  body.mobile-sidebar-hide .km-grid > .km-sidebar{ display:none; }
  .km-grid{ gap:14px; }
}

/* Boxed width */
body.layout-boxed .km-container{ max-width: 1200px; margin-left:auto; margin-right:auto; }

/* Coupon cards size */
body.card-compact .km-coupon{ padding: 10px; gap: 12px; }
body.card-normal .km-coupon{ padding: 16px; gap: 16px; }

/* Coupon list as grid (optional) */
body.grid-2 .km-card.km-coupon-list,
body.grid-3 .km-card.km-coupon-list,
body.grid-4 .km-card.km-coupon-list{
  display:grid;
  gap: 12px;
}
body.grid-2 .km-card.km-coupon-list{ grid-template-columns: repeat(2, minmax(0,1fr)); }
body.grid-3 .km-card.km-coupon-list{ grid-template-columns: repeat(3, minmax(0,1fr)); }
body.grid-4 .km-card.km-coupon-list{ grid-template-columns: repeat(4, minmax(0,1fr)); }
body.grid-2 .km-card.km-coupon-list .km-coupon,
body.grid-3 .km-card.km-coupon-list .km-coupon,
body.grid-4 .km-card.km-coupon-list .km-coupon{
  height: 100%;
}

/* On smaller screens, reduce columns automatically */
@media (max-width: 980px){
  body.grid-3 .km-card.km-coupon-list,
  body.grid-4 .km-card.km-coupon-list{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  body.grid-2 .km-card.km-coupon-list,
  body.grid-3 .km-card.km-coupon-list,
  body.grid-4 .km-card.km-coupon-list{ grid-template-columns: 1fr; }
}


/* === Coupons Settings: Palette mapping to theme vars === */
body.palette-trust{
  --kmm-primary: #1E40AF;
  --kmm-secondary: #0EA5E9;
  --kmm-copy: #9F1239;
  --kmm-copy-hover: #7f0f2d;
  --kmm-deal: #1E40AF;
}
body.palette-modern{
  --kmm-primary: #6366F1;
  --kmm-secondary: #22D3EE;
  --kmm-copy: #BE123C;
  --kmm-copy-hover: #9f0f33;
  --kmm-deal: #2563EB;
}
body.palette-dark{
  --kmm-primary: #020617;
  --kmm-secondary: #0EA5E9;
  --kmm-copy: #B91C1C;
  --kmm-copy-hover: #991b1b;
  --kmm-deal: #0284C7;
}

.km-btn--accent{ background: var(--kmm-deal) !important; color:#fff !important; }

/* Sidebar direction fix */
.layout-has-sidebar{
 display:grid;
 grid-template-columns:1fr 320px;
 gap:24px;
}
.sidebar-left .layout-has-sidebar{
 grid-template-columns:320px 1fr;
}
.sidebar-none .layout-has-sidebar{
 grid-template-columns:1fr;
}
@media(max-width:991px){
 .layout-has-sidebar{grid-template-columns:1fr!important;}
}

/* === Sidebar Layout Hard Fix === */
.km-grid.layout-has-sidebar{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
.km-grid.layout-has-sidebar > .km-main{ min-width: 0; }
.sidebar-left .km-grid.layout-has-sidebar{ grid-template-columns: 320px 1fr; }
.sidebar-none .km-grid.layout-has-sidebar{ grid-template-columns: 1fr; }
.sidebar-none .km-sidebar{ display:none; }
@media (max-width: 991px){
  .km-grid.layout-has-sidebar{ grid-template-columns: 1fr !important; }
}

/* =========================================================
   NO-GRID COUPON LAYOUT (force classic list view)
   ---------------------------------------------------------
   İstek: Kuponlar grid görünümde değil, eski (liste) görünümde
   kalsın. Sidebar sağ/sol değişiminde kayma/taşma yapmasın.
   ========================================================= */

/* Anasayfa "En Yeni Kuponlar" alanı: grid yerine tek kolon liste */
.kmm-latest-grid{
  display: block !important;
}
.kmm-latest-grid > *{
  width: 100% !important;
}

/* Kupon listeleme için grid modlarını devre dışı bırak */
body.grid-2 .coupon-grid,
body.grid-3 .coupon-grid,
body.grid-4 .coupon-grid{
  grid-template-columns: 1fr !important;
}

body.grid-2 .km-card.km-coupon-list,
body.grid-3 .km-card.km-coupon-list,
body.grid-4 .km-card.km-coupon-list{
  display: block !important;
}

/* Güvenlik: herhangi bir grid konteyneri içinde kartlar taşmasın */
.km-main,
.km-card,
.km-coupon{
  min-width: 0;
  max-width: 100%;
}

/* =============================================
   iDeiy Modern UI (digital/modern look)
   ============================================= */
:root{
  --ideiy-bg: #f7f9fc;
  --ideiy-surface: #ffffff;
  --ideiy-text: #0b1220;
  --ideiy-muted: #5b6577;
  --ideiy-border: rgba(15, 23, 42, .10);
  --ideiy-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --ideiy-radius: 18px;
}

body{
  background: radial-gradient(900px 420px at 20% 0%, rgba(99,102,241,.10), transparent 60%),
              radial-gradient(900px 420px at 80% 0%, rgba(34,197,94,.08), transparent 60%),
              var(--ideiy-bg);
  color: var(--ideiy-text);
}

.km-card,
.km-panel,
.km-box,
.kmm-card,
.kmm-store-card{
  background: var(--ideiy-surface);
  border: 1px solid var(--ideiy-border);
  border-radius: var(--ideiy-radius);
  box-shadow: var(--ideiy-shadow);
}

.km-section-title,
h1,h2,h3{
  letter-spacing: -0.015em;
}

.km-note,
.km-muted,
.km-meta{
  color: var(--ideiy-muted);
}

.km-btn,
button.km-btn{
  border-radius: 14px;
  border: 1px solid var(--ideiy-border);
  transition: transform .08s ease, box-shadow .12s ease, background-color .12s ease;
}
.km-btn:hover,
button.km-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
}
.km-btn:active,
button.km-btn:active{
  transform: translateY(0);
}

/* Inputs */
input[type="text"], input[type="search"], input[type="url"], input[type="email"], input[type="number"],
select, textarea{
  border-radius: 14px;
  border: 1px solid var(--ideiy-border);
  background: rgba(255,255,255,.92);
}

/* Store banner (single brand page) */
.kmm-store-banner{
  width: 100%;
  max-width: 960px;
  margin: 14px 0 0;
  border-radius: var(--ideiy-radius);
  border: 1px solid var(--ideiy-border);
  background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(34,197,94,.05));
  box-shadow: var(--ideiy-shadow);
  overflow: hidden;
  aspect-ratio: 960 / 220;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kmm-store-banner img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1020px){
  .kmm-store-banner{ max-width: 100%; }
}



/* =========================================================
   v1.23.15 Mobile-only UX
   - Hide sidebar everywhere on mobile
   - Mobile header layout: ☰ + (Üye Ol/Giriş | Panelim) in one row
     then search input + Ara button below
   - Hide brand (logo + site name) on mobile
   ========================================================= */
@media (max-width: 991px){

  /* Hide sidebar everywhere */
  .km-sidebar, .sidebar, #sidebar, .widget-area, .kmm-sidebar{
    display: none !important;
  }
  /* Ensure main content is full width */
  .km-grid{
    grid-template-columns: 1fr !important;
  }
  .km-grid > *{
    min-width: 0 !important;
  }

  /* Header: hide brand (logo + site title) */
  .km-brand{
    display:none !important;
  }

  /* Header: hide desktop nav list; keep ☰ toggle */
  .km-nav{
    display:none !important;
  }

  /* Header layout */
  .km-header__inner{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:10px !important;
  }

  /* Menu toggle (☰) first */
  .km-menu-toggle{
    order:1 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:44px !important;
    height:40px !important;
  }

  /* Search wrap holds auth buttons + form */
  .km-search-wrap{
    order:2 !important;
    flex:1 1 auto !important;
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    gap:8px !important;
    margin-left:auto !important;
  }

  /* Auth buttons on the same top row, aligned right */
  .km-search-wrap .kmm-auth-btn{
    order:1 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:10px 12px !important;
    border-radius:12px !important;
    white-space:nowrap !important;
  }
  .km-search-wrap .kmm-auth-btn:first-of-type{
    margin-left:auto !important;
  }

  /* Search form below (full width) */
  .km-search-wrap form{
    order:2 !important;
    flex:0 0 100% !important;
    width:100% !important;
    display:flex !important;
    gap:8px !important;
  }
  .km-search-wrap input[type="search"]{
    flex:1 1 auto !important;
    min-width:0 !important;
    height:44px !important;
    border-radius:12px !important;
  }
  .km-search-wrap button[type="submit"],
  .km-search-wrap .km-btn--accent{
    height:44px !important;
    border-radius:12px !important;
    background:#111827 !important;  /* dark */
    color:#ffffff !important;
    border:1px solid rgba(255,255,255,.12) !important;
  }
  .km-search-wrap button[type="submit"]:hover,
  .km-search-wrap .km-btn--accent:hover{
    background:#1f2937 !important;
    color:#ffffff !important;
    filter:none !important;
  }
}



/* v1.23.19 Share buttons refresh (single coupon) */
.kmm-share-inline{gap:8px;}
.kmm-share-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  text-decoration:none;
  font-size:13px;
  line-height:1;
}
.kmm-share-btn__ic{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;}
.kmm-share-btn__tx{white-space:nowrap;}
.kmm-share-btn:hover{background:#1f2937;color:#fff;}
@media (max-width: 480px){
  .kmm-share-btn{padding:7px 10px;font-size:12px;}
  .kmm-share-btn__tx{display:none;} /* tiny screens: icon only */
}

/* Related store coupons section should match main card width */
.km-related{width:100%;}
.km-related .kmm-table-wrap{width:100%;overflow-x:auto;}


/* === Hotfix: share buttons readability === */
.kmm-share-inline{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px;}
.kmm-share-btn{
  background:#ffffff !important;
  color:#111827 !important;
  border:1px solid rgba(15,23,42,.14) !important;
}
.kmm-share-btn .kmm-share-btn__tx{color:inherit !important;}
.kmm-share-btn .kmm-share-btn__ic{background:rgba(17,24,39,.08) !important;}
.kmm-share-btn:hover{
  background:#111827 !important;
  color:#ffffff !important;
}
.kmm-share-btn:hover .kmm-share-btn__ic{background:rgba(255,255,255,.18) !important;}



/* Sidebar store coupons list */
.kmm-side-list{display:flex;flex-direction:column;gap:10px;}
.kmm-side-item{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.kmm-side-item__title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none;color:inherit;font-weight:600;}



/* v1.23.29 Auth premium refinement */
.kmm-auth-wrap{max-width:460px !important;}
@media (max-width: 540px){
  .kmm-auth-wrap{max-width:100% !important; padding:0 14px;}
}
.kmm-auth-card{
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 18px 60px rgba(15,23,42,.10) !important;
  backdrop-filter: blur(10px);
}
.kmm-auth-card:before{
  background:
    radial-gradient(900px 260px at 15% -10%, rgba(99,102,241,.22), transparent 62%),
    radial-gradient(900px 260px at 85% -10%, rgba(6,182,212,.22), transparent 62%),
    radial-gradient(600px 220px at 50% 110%, rgba(34,197,94,.10), transparent 55%) !important;
}
.kmm-field{
  padding: 12px 14px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}
.kmm-field input{
  font-size: 15px;
}
.kmm-field:focus-within{
  border-color: rgba(99,102,241,.55) !important;
  box-shadow: 0 0 0 4px rgba(99,102,241,.15), inset 0 1px 0 rgba(255,255,255,.75);
}
.kmm-field-ico{
  background: rgba(99,102,241,.12) !important;
  color: #111827 !important;
}
.kmm-auth-submit{
  height: 50px !important;
  border-radius: 18px !important;
  background: linear-gradient(90deg,#111827,#1f2937) !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(17,24,39,.18) !important;
}
.kmm-auth-submit:hover{
  filter: brightness(1.04);
}

/* Google button: colorful premium border */
.kmm-google-btn{
  height: 44px !important;
  border-radius: 16px !important;
  border: 1px solid transparent !important;
  background:
    linear-gradient(rgba(255,255,255,.96), rgba(255,255,255,.96)) padding-box,
    linear-gradient(90deg,#ea4335,#fbbc05,#34a853,#4285f4) border-box !important;
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
}
.kmm-google-btn:hover{
  box-shadow: 0 0 0 4px rgba(66,133,244,.12), 0 14px 36px rgba(15,23,42,.12) !important;
}
.kmm-google-ico{
  width: 20px !important;
  height: 20px !important;
  border-radius: 6px !important;
  background: conic-gradient(from 0deg,#ea4335 0 25%,#fbbc05 0 50%,#34a853 0 75%,#4285f4 0 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}



/* v1.23.30 Google buttons: premium gradient border */
.kmm-google-btn{
  position:relative;
  border:1px solid transparent !important;
  background:
    linear-gradient(rgba(255,255,255,.95), rgba(255,255,255,.95)) padding-box,
    conic-gradient(from 0deg,#ea4335 0 25%,#fbbc05 0 50%,#34a853 0 75%,#4285f4 0 100%) border-box !important;
  color:#0b0b0b !important;
  box-shadow:0 8px 20px rgba(15,23,42,.08);
}
.kmm-google-btn:hover{
  transform: translateY(-1px);
  box-shadow:0 10px 26px rgba(15,23,42,.12), 0 0 0 4px rgba(66,133,244,.12);
}
.kmm-google-btn:active{
  transform: translateY(0);
  box-shadow:0 8px 20px rgba(15,23,42,.10);
}
.kmm-google-btn .kmm-google-ico{
  width:18px;height:18px;
  background:conic-gradient(from 0deg,#ea4335 0 25%,#fbbc05 0 50%,#34a853 0 75%,#4285f4 0 100%) !important;
}


/* === Mobile: Related Brand Coupons (single coupon) should NOT require horizontal scroll === */
@media (max-width: 640px){
  .km-related--in-main .kmm-table-wrap{overflow:visible !important;}
  .km-related--in-main .kmm-table{min-width:0 !important; display:block;}
  .km-related--in-main .kmm-table thead{display:none !important;}
  .km-related--in-main .kmm-table tbody{display:block;}
  .km-related--in-main .kmm-table tr{
    display:block;
    border:1px solid rgba(15,23,42,.10);
    border-radius:14px;
    padding:10px 12px;
    margin:10px 0;
    background: rgba(255,255,255,.85);
  }
  .km-related--in-main .kmm-table td{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:8px 0;
    border:none;
  }
  .km-related--in-main .kmm-table td:nth-child(1){
    display:block;
    padding:2px 0 8px;
    font-weight:800;
  }
  .km-related--in-main .kmm-table td:nth-child(2)::before{
    content: "Kupon";
    font-size:12px;
    font-weight:750;
    color: rgba(15,23,42,.60);
  }
  .km-related--in-main .kmm-table td:nth-child(3){
    justify-content:flex-end;
  }
  .km-related--in-main .kmm-table td:nth-child(3) .km-btn{
    width:100%;
    justify-content:center;
  }
  .km-related--in-main .kmm-inline-code{
    max-width: 100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
}




/* === v1.23.33 Mobile header tidy (remove hamburger) === */
@media (max-width: 980px){
  /* remove hamburger on mobile completely */
  .km-header-toggle,
  .km-header__toggle,
  .km-mobile-toggle,
  .mobile-menu-toggle,
  .km-nav-toggle,
  .kmm-menu-toggle,
  .km-hamburger,
  .hamburger,
  button[aria-controls="primary-menu"],
  button[aria-controls="site-navigation"]{
    display:none !important;
  }

  /* make header rows align cleanly */
  .km-header__inner,
  .km-header__row,
  .km-header__row--top{
    display:flex !important;
    align-items:center !important;
  }

  /* top row: auth buttons align right */
  .km-header__row--top{
    justify-content:flex-end !important;
    gap:10px !important;
    padding:10px 12px 6px !important;
  }

  /* ensure any brand block doesn't take space */
  .km-brand,
  .site-branding,
  .km-header__brand{
    display:none !important;
  }

  /* search row full width below */
  .km-header__row--search,
  .km-search-wrap{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    padding:0 12px 10px !important;
    width:100% !important;
  }
  .km-search-wrap input[type="search"],
  .km-search-wrap input[type="text"],
  .km-header__row--search input[type="search"],
  .km-header__row--search input[type="text"]{
    flex:1 1 auto !important;
    min-width:0 !important;
  }
  .km-search-wrap button,
  .km-header__row--search button{
    flex:0 0 auto !important;
    white-space:nowrap !important;
  }
}



/* --- Mobile header search/auth layout --- */
.km-search-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.km-search-wrap .km-search{display:flex;align-items:center;gap:10px;flex:1 1 auto}
.km-search-wrap .km-search input[type="search"]{flex:1 1 auto;min-width:0}
.km-search-wrap .km-search-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}

@media (max-width: 768px){
  .km-search-wrap{flex-direction:column;align-items:stretch;gap:10px}
  .km-search-wrap .km-search-actions{justify-content:flex-end;width:100%}
  .km-search-wrap .km-search{width:100%}
  .km-search-wrap .km-search-submit{flex:0 0 auto;white-space:nowrap}
}