/* SLIMFIT – Günlük diyet menüsü oluşturucu */
.gm-hero .page-hero-card{position:relative;overflow:hidden}
.gm-free{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;background:#e7f8ee;color:#12884f;font-size:12.5px;font-weight:800;letter-spacing:.02em}
.gm-hero h1{margin:12px 0 8px}
.gm-hero-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}

.gm-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 22px;border-radius:999px;border:0;font:inherit;font-weight:800;font-size:15px;cursor:pointer;text-decoration:none;transition:transform .12s,box-shadow .2s,filter .2s;-webkit-tap-highlight-color:transparent}
.gm-btn:active{transform:scale(.97)}
.gm-btn small{font-size:11px;font-weight:800;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.25);letter-spacing:.03em}
.gm-btn-main{background:linear-gradient(135deg,#46a8ff 0%,#1f6fff 55%,#1552e6 100%);color:#fff;box-shadow:0 10px 24px rgba(31,111,255,.3)}
.gm-btn-main:hover{filter:brightness(1.06);color:#fff}
.gm-btn-main.is-busy i{animation:gm-spin .7s linear infinite}
.gm-btn-wa{background:#25d366;color:#fff;box-shadow:0 10px 24px rgba(37,211,102,.3)}
.gm-btn-wa:hover{filter:brightness(1.05);color:#fff}
.gm-btn-ghost{background:#fff;color:#0b1b3f;border:1px solid #dbe4f0}
.gm-btn-ghost:hover{border-color:#b9cbe5;color:#0b1b3f}
.gm-btn-block{width:100%}
.gm-btn[disabled]{opacity:.7;cursor:wait}
@keyframes gm-spin{to{transform:rotate(360deg)}}

.gm-section{padding-top:8px}
.gm-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
@media (min-width:980px){.gm-layout{grid-template-columns:minmax(0,1fr) 320px}.gm-side{position:sticky;top:110px}}

/* Özet */
.gm-box{transition:opacity .2s}
.gm-box.is-loading{opacity:.45;pointer-events:none}
.gm-summary{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;align-items:center;padding:18px;border-radius:22px;background:linear-gradient(160deg,#0b1b3f,#16306a);color:#fff;box-shadow:0 16px 40px rgba(15,40,90,.18);margin-bottom:14px}
.gm-sum-kcal small{display:block;font-size:12px;opacity:.75;font-weight:700}
.gm-sum-kcal b{font-size:40px;line-height:1;font-weight:800;letter-spacing:-.03em}
.gm-sum-kcal span{margin-left:4px;font-weight:700;opacity:.8}
.gm-sum-mac{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gm-sum-mac div{padding:9px 10px;border-radius:14px;background:rgba(255,255,255,.08)}
.gm-sum-mac i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}
.gm-sum-mac small{font-size:11.5px;opacity:.8}
.gm-sum-mac b{display:block;font-size:16px;margin-top:2px}
.gm-sum-bar{grid-column:1/-1;display:flex;height:8px;border-radius:6px;overflow:hidden;background:rgba(255,255,255,.12)}
.gm-sum-bar i{display:block;height:100%}
.gm-note{grid-column:1/-1;margin:0;font-size:12px;opacity:.75;line-height:1.45}
.m-p{background:#22c38e}.m-k{background:#f5a524}.m-y{background:#ff5d8f}
@media (max-width:560px){.gm-summary{grid-template-columns:1fr}.gm-sum-kcal b{font-size:36px}}

/* Öğünler */
.gm-meals{list-style:none;margin:0;padding:0;display:grid;gap:12px;counter-reset:gm}
.gm-meal{position:relative;padding:14px 16px 12px;border-radius:22px;background:#fff;border:1px solid #e4ebf5;box-shadow:0 1px 2px rgba(15,40,90,.04),0 10px 28px rgba(15,40,90,.06)}
.gm-meal header{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.gm-time{flex:none;font-size:11.5px;font-weight:800;color:#1559dc;background:#e9f1ff;padding:4px 8px;border-radius:8px}
.gm-meal h3{flex:1;margin:0;font-size:16px;font-weight:800;color:#0b1b3f}
.gm-meal h3 i{color:#1f6fff;margin-right:4px;font-size:14px}
.gm-kcal{flex:none;font-size:14px;font-weight:800;color:#0b1b3f}
.gm-item,.gm-slimfit{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #eef2f8;text-decoration:none;color:inherit}
.gm-item:first-of-type{border-top:0}
.gm-item>span,.gm-slimfit>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.gm-item a{font-weight:700;color:#0b1b3f;text-decoration:none}
.gm-item a:hover{color:#1559dc;text-decoration:underline}
.gm-item small,.gm-slimfit small{font-size:12.5px;color:#66758f}
.gm-item em,.gm-slimfit em{flex:none;font-style:normal;font-weight:800;font-size:16px;color:#0b1b3f;text-align:right;line-height:1.1}
.gm-item em small,.gm-slimfit em small{display:block;font-size:11px;font-weight:600}
.gm-macs{display:flex;flex-wrap:wrap;gap:6px;margin-top:3px}
.gm-mac{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;color:#34435f;background:#f4f7fc;padding:2px 7px 2px 3px;border-radius:7px}
.gm-mac i{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:5px;color:#fff;font-style:normal;font-size:9px;font-weight:800}
.gm-meal footer{margin-top:6px;padding-top:8px;border-top:1px dashed #dbe4f0}
.gm-meal.is-slimfit{background:linear-gradient(120deg,#fff 0%,#f3f8ff 100%);border-color:#d6e4fa}
.gm-slimfit{border-top:0;padding:4px 0 2px}
.gm-slimfit img{flex:none;width:54px;height:auto;filter:drop-shadow(0 8px 10px rgba(15,40,90,.25));transform:rotate(-4deg)}
.gm-slimfit b{font-weight:800;color:#0b1b3f}
.gm-slimfit:hover b{color:#1559dc}

.gm-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.gm-actions .gm-btn-main{flex:1 1 240px}

/* Yan kolon */
.gm-card{padding:18px;border-radius:22px;background:#fff;border:1px solid #e4ebf5;box-shadow:0 10px 28px rgba(15,40,90,.06);margin-bottom:14px}
.gm-card h2{font-size:18px;margin:0 0 8px;color:#0b1b3f}
.gm-dyt{text-align:center;background:linear-gradient(170deg,#effcf4,#fff 60%);border-color:#cdeedb}
.gm-dyt-ic{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:18px;background:#25d366;color:#fff;font-size:24px;margin-bottom:10px;box-shadow:0 10px 22px rgba(37,211,102,.3)}
.gm-dyt p{font-size:14px;color:#34435f;margin:0 0 14px}
.gm-dyt small{display:block;margin-top:8px;font-size:12px;color:#66758f}
.gm-rules ul{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
.gm-rules li{display:flex;gap:9px;font-size:13.5px;color:#34435f}
.gm-rules li i{flex:none;width:18px;color:#1f6fff;margin-top:3px}
.gm-link{font-weight:800;color:#1559dc;text-decoration:none;font-size:14px}
.gm-more{display:grid;gap:4px;padding:10px 14px}
.gm-more a{display:flex;gap:10px;align-items:center;padding:9px 4px;font-weight:700;color:#0b1b3f;text-decoration:none;font-size:14px}
.gm-more a i{width:18px;color:#1f6fff}

/* Mobil sabit alt çubuk */
.gm-sticky{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:60;display:none;gap:8px;padding:8px;border-radius:999px;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 14px 40px rgba(15,40,90,.2);border:1px solid #e4ebf5}
.gm-sticky .gm-btn{flex:1;min-height:46px;padding:0 12px;font-size:14px}
@media (max-width:979px){.gm-sticky{display:flex}body{padding-bottom:78px}.gm-hero-cta .gm-btn{flex:1 1 100%}}

@media print{
  header,footer,.gm-hero-cta,.gm-actions,.gm-side,.gm-sticky,.sf-faq,.page-hero .kc-crumbs,nav{display:none!important}
  .gm-layout{display:block}.gm-summary{background:#fff!important;color:#000;box-shadow:none;border:1px solid #ccc}
  .gm-meal{break-inside:avoid;box-shadow:none}
}
.gm-switch{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.gm-switch a{padding:7px 13px;border-radius:999px;border:1px solid rgba(255,255,255,.25);font-size:13px;font-weight:700;color:inherit;text-decoration:none;opacity:.9}
.gm-switch a[aria-current]{background:#fff;color:#0b1b3f;border-color:#fff;opacity:1}
.gm-hub{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}
.gm-hub-card{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:22px;background:#fff;border:1px solid #e4ebf5;box-shadow:0 10px 28px rgba(15,40,90,.06);text-decoration:none;color:#0b1b3f;transition:transform .15s,box-shadow .15s}
.gm-hub-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(31,111,255,.14)}
.gm-hub-kcal{font-size:34px;font-weight:800;letter-spacing:-.03em;background:linear-gradient(100deg,#2f95ff,#1552e6);-webkit-background-clip:text;background-clip:text;color:transparent}
.gm-hub-kcal small{font-size:14px;margin-left:4px;-webkit-text-fill-color:#66758f}
.gm-hub-card b{font-size:17px}
.gm-hub-card>small{color:#66758f;font-size:13.5px;line-height:1.45}
.gm-hub-mac{font-size:12.5px;color:#34435f;font-weight:600}
.gm-hub-mac em{display:block;font-style:normal;color:#66758f;font-weight:500}
.gm-hub-go{margin-top:auto;padding-top:6px;font-weight:800;color:#1559dc;font-size:14px}

/* Hesaplayıcılar */
.hc-form{display:grid;gap:14px}
.hc-seg{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hc-seg input{position:absolute;opacity:0}
.hc-seg span{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:14px;border:1px solid #dbe4f0;font-weight:700;color:#34435f;cursor:pointer}
.hc-seg input:checked+span{background:#0b1b3f;color:#fff;border-color:#0b1b3f}
.hc-seg input:focus-visible+span{outline:2px solid #1f6fff;outline-offset:2px}
.hc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.hc-form label>span{display:block;font-size:12.5px;font-weight:700;color:#66758f;margin-bottom:5px}
.hc-form input[type=number],.hc-form select{width:100%;min-height:50px;padding:0 14px;border-radius:14px;border:1px solid #dbe4f0;background:#f7faff;font:inherit;font-size:17px;color:#0b1b3f}
.hc-form input:focus,.hc-form select:focus{outline:0;border-color:#1f6fff;box-shadow:0 0 0 4px rgba(31,111,255,.12);background:#fff}
.hc-check{display:flex;gap:10px;align-items:center;font-weight:600;color:#34435f}
.hc-check input{width:20px;height:20px;accent-color:#1f6fff}
.hc-err{background:#fdecee;border-color:#f6c6cb;color:#b4232f}
.hc-err p{margin:0}
.hc-result{margin-top:14px}
.hc-result .gm-sum-mac{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
.hc-result .gm-sum-kcal span{display:inline-block}
.hc-scale{grid-column:1/-1;position:relative;height:10px;border-radius:6px;background:linear-gradient(90deg,#5fb2ff 0 14%,#22c38e 14% 40%,#f5a524 40% 60%,#ff5d6c 60% 100%)}
.hc-scale i{position:absolute;top:-5px;width:4px;height:20px;border-radius:3px;background:#fff;box-shadow:0 0 0 2px #0b1b3f;transform:translateX(-2px)}
.hc-next{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.hc-next .gm-btn{flex:1 1 260px}
.gm-btn-save{border-color:#bcd3f5;color:#1559dc}
.gm-shop{margin-top:12px;padding:14px 16px;border-radius:22px;background:#fff;border:1px solid #e4ebf5;box-shadow:0 10px 28px rgba(15,40,90,.06)}
.gm-shop summary{cursor:pointer;font-weight:800;color:#0b1b3f;list-style:none;display:flex;align-items:center;gap:8px}
.gm-shop summary::-webkit-details-marker{display:none}
.gm-shop summary i{color:#1f6fff}
.gm-shop summary small{margin-left:auto;color:#66758f;font-weight:600}
.gm-shop ul{list-style:none;margin:12px 0;padding:0;display:grid;gap:6px}
.gm-shop label{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:#34435f;cursor:pointer}
.gm-shop input{width:18px;height:18px;margin-top:2px;accent-color:#15a862}
.gm-shop input:checked+span{text-decoration:line-through;color:#97a3b8}
