/* E-ticaret: sepet simgesi, ürün kutusu, sepet ve sipariş sayfaları */
.shop-cart-link{position:relative;display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;color:inherit;flex:none;margin-left:.4rem;transition:background .15s}
.shop-cart-link:hover{background:color-mix(in srgb,var(--accent,#0e7490) 10%,transparent)}
.shop-cart-link svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.shop-cart-link circle{fill:currentColor;stroke:none}
.shop-cart-count{position:absolute;top:2px;right:0;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--accent,#0e7490);color:#fff;font-size:11px;font-weight:700;line-height:19px;text-align:center;box-shadow:0 0 0 2px #fff}
.shop-cart-count[hidden]{display:none}
@media (max-width:950px){.header-inner{gap:.5rem}.shop-cart-link{order:2;margin-left:auto}.header-inner .nav-burger{order:3}}

.shop-price{display:inline-flex;align-items:baseline;gap:.55rem;flex-wrap:wrap}
.shop-price s{color:#94a3b8;font-size:.92em}
.shop-price strong{font-weight:800;color:#0f172a}
.shop-card-price{margin:.1rem 0 .5rem;font-size:1.08rem}
.shop-box{margin:1.4rem 0 .4rem;padding:1.2rem 1.25rem;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 10px 30px -18px rgba(15,23,42,.35);max-width:520px}
.shop-box-price{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.shop-box-price .shop-price strong{font-size:1.9rem;letter-spacing:-.02em}
.shop-stock{font-size:.82rem;font-weight:700;color:#15803d;background:#f0fdf4;padding:.3rem .65rem;border-radius:999px}
.shop-stock.low{color:#b45309;background:#fffbeb}.shop-stock.out{color:#b91c1c;background:#fef2f2}
.shop-box-buy{display:flex;gap:.7rem;margin-top:1rem}
.shop-qty{display:inline-flex;align-items:center;border:1px solid #d6dde6;border-radius:12px;overflow:hidden;background:#fff;flex:none}
.shop-qty button{width:40px;height:48px;border:0;background:none;font-size:1.25rem;color:#334155;cursor:pointer}
.shop-qty button:hover{background:#f1f5f9}
.shop-qty input{width:46px;height:48px;border:0;text-align:center;font:inherit;font-weight:700;-moz-appearance:textfield;appearance:textfield;background:none}
.shop-qty input::-webkit-inner-spin-button,.shop-qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.shop-add,.shop-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:0 1.4rem;border:0;border-radius:12px;background:var(--accent,#0e7490);color:#fff;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;transition:filter .15s,transform .15s}
.shop-add{flex:1}
.shop-add:hover,.shop-btn:hover{filter:brightness(1.08)}
.shop-add:active,.shop-btn:active{transform:translateY(1px)}
.shop-add.done{background:#15803d}
.shop-add.done::after{content:" ✓"}
.shop-btn[disabled],.shop-add[disabled]{opacity:.55;cursor:not-allowed}
.shop-btn.wide{width:100%}
.shop-btn[hidden],.shop-add[hidden]{display:none}
.shop-box-note{margin:.8rem 0 0;font-size:.86rem;color:#64748b}
.shop-box .catalog-actions{margin-top:.9rem}
.shop-box-alt{display:flex;gap:.6rem;margin-top:.7rem;flex-wrap:wrap}
.shop-alt{flex:1 1 180px;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:46px;padding:0 1rem;border-radius:12px;border:1.5px solid #d6dde6;background:#fff;color:#0f172a;font-weight:700;text-decoration:none;transition:background .15s,border-color .15s}
.shop-alt:hover{background:#f8fafc;border-color:#94a3b8}
.shop-alt svg{width:20px;height:20px;flex:none}
.shop-alt-wa{border-color:#25d366;color:#128c4a}
.shop-alt-wa:hover{background:#f0fdf4;border-color:#16a34a}
.shop-box{color:#0f172a}
.shop-box a.shop-alt{color:#0f172a}
.shop-box a.shop-alt-wa{background:#25d366;border-color:#25d366;color:#fff}
.shop-box a.shop-alt-wa:hover{background:#1ebe5b;border-color:#1ebe5b}
.shop-box a.shop-alt-quote{background:#f97316;border-color:#f97316;color:#fff}
.shop-box a.shop-alt-quote:hover{background:#ea580c;border-color:#ea580c}
.shop-box p.shop-box-note{color:#64748b}

.shop-toast{position:fixed;left:50%;bottom:24px;z-index:1000;transform:translate(-50%,20px);opacity:0;display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;justify-content:center;max-width:calc(100vw - 32px);padding:.85rem 1.1rem;border-radius:14px;background:#0f172a;color:#fff;font-size:.95rem;box-shadow:0 18px 40px -12px rgba(0,0,0,.45);transition:opacity .25s,transform .25s}
.shop-toast.on{opacity:1;transform:translate(-50%,0)}
.shop-toast a{color:#7dd3fc;font-weight:700;text-decoration:none;white-space:nowrap}

.shop-hero{padding-bottom:1.4rem}
.shop-steps{display:flex;gap:.4rem;list-style:none;margin:1rem 0 0;padding:0;counter-reset:s;flex-wrap:wrap}
.shop-steps li{counter-increment:s;display:flex;align-items:center;gap:.5rem;padding:.45rem .9rem .45rem .45rem;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:.9rem;font-weight:600}
.shop-steps li::before{content:counter(s);display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;font-size:.8rem}
.shop-steps li.on{background:var(--accent,#0e7490);color:#fff}
.shop-steps li.on::before{color:var(--accent,#0e7490)}
.shop-steps li.done{background:color-mix(in srgb,var(--accent,#0e7490) 12%,#fff);color:var(--accent,#0e7490)}
.shop-steps li.done::before{content:"✓"}

.shop-page{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:1.6rem;align-items:start;padding-top:1.2rem;padding-bottom:4rem}
.shop-panel{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:1.3rem 1.4rem}
.shop-panel[hidden]{display:none}
.shop-panel h2{margin:0 0 1rem;font-size:1.25rem}
.shop-panel h3{margin:1.2rem 0 .4rem;font-size:1rem}
.shop-line{display:grid;grid-template-columns:76px minmax(0,1fr) auto auto 32px;gap:1rem;align-items:center;padding:.9rem 0;border-bottom:1px solid #eef2f6}
.shop-line:last-child{border-bottom:0}
.shop-line-img{width:76px;height:76px;border-radius:12px;overflow:hidden;background:#f1f5f9;display:block}
.shop-line-img img{width:100%;height:100%;object-fit:cover;display:block}
.shop-line-info{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.shop-line-info a{font-weight:700;color:#0f172a;text-decoration:none}
.shop-line-info a:hover{text-decoration:underline}
.shop-line-info small{color:#64748b}
.shop-line .shop-qty button{height:40px;width:34px}
.shop-line .shop-qty input{height:40px;width:40px}
.shop-line-total{min-width:96px;text-align:right}
.shop-remove{width:32px;height:32px;border:0;border-radius:8px;background:none;color:#94a3b8;font-size:1.4rem;line-height:1;cursor:pointer}
.shop-remove:hover{background:#fef2f2;color:#dc2626}
.shop-empty{text-align:center;padding:2.5rem 1rem}
.shop-empty[hidden]{display:none}
.shop-empty p{font-size:1.1rem;color:#475569;margin:0 0 1rem}

.shop-summary{position:sticky;top:96px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:1.3rem 1.4rem;box-shadow:0 18px 40px -28px rgba(15,23,42,.4)}
.shop-summary[hidden]{display:none}
.shop-summary h2{margin:0 0 1rem;font-size:1.15rem}
.shop-summary dl,.shop-done dl{margin:0 0 1rem;display:grid;gap:.55rem}
.shop-summary dl div,.shop-done dl div{display:flex;justify-content:space-between;gap:1rem}
.shop-summary dt,.shop-done dt{color:#64748b}
.shop-summary dd,.shop-done dd{margin:0;font-weight:600}
.shop-summary .total,.shop-done .total{padding-top:.7rem;border-top:1px solid #e2e8f0;font-size:1.15rem}
.shop-summary .total dt,.shop-done .total dt{color:#0f172a;font-weight:700}
.shop-summary .total dd,.shop-done .total dd{font-weight:800}
.shop-free{margin:0 0 .9rem;padding:.6rem .8rem;border-radius:10px;background:#f0fdf4;color:#166534;font-size:.88rem}
.shop-secure{margin:.8rem 0 0;text-align:center;font-size:.85rem;color:#64748b}
.shop-error{margin:.8rem 0;padding:.7rem .9rem;border-radius:10px;background:#fef2f2;color:#b91c1c;font-size:.92rem}
.shop-error[hidden],.shop-free[hidden]{display:none}

.shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem 1rem}
.shop-grid label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;font-weight:600;color:#334155}
.shop-grid label small{font-weight:400;color:#94a3b8}
.shop-grid .wide{grid-column:1/-1}
.shop-grid input,.shop-grid textarea{font:inherit;font-weight:400;padding:.75rem .85rem;border:1px solid #d6dde6;border-radius:10px;background:#fff;color:#0f172a;width:100%;box-sizing:border-box}
.shop-grid input:focus,.shop-grid textarea:focus{outline:2px solid color-mix(in srgb,var(--accent,#0e7490) 40%,transparent);border-color:var(--accent,#0e7490)}
.shop-form.checked :invalid{border-color:#ef4444;background:#fffafa}
.shop-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0}
.shop-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.3rem;flex-wrap:wrap}
.shop-link{border:0;background:none;color:#475569;font:inherit;font-weight:600;cursor:pointer;padding:.5rem 0}
.shop-link:hover{color:#0f172a}

.shop-pay{display:flex;gap:.8rem;align-items:flex-start;padding:1rem;border:2px solid var(--accent,#0e7490);border-radius:14px;background:color-mix(in srgb,var(--accent,#0e7490) 5%,#fff)}
.shop-pay input{margin-top:.25rem;accent-color:var(--accent,#0e7490)}
.shop-pay span{display:flex;flex-direction:column;gap:.25rem}
.shop-pay small{color:#475569;font-size:.88rem;line-height:1.5}
.shop-banks{list-style:none;margin:1rem 0;padding:0;display:grid;gap:.6rem}
.shop-banks li{display:grid;grid-template-columns:auto 1fr;gap:.15rem 1rem;padding:.85rem 1rem;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc}
.shop-banks li span{color:#475569;font-size:.9rem;text-align:right}
.shop-banks code{grid-column:1/-1;font-size:1rem;font-weight:700;letter-spacing:.03em;color:#0f172a;background:none;padding:0;word-break:break-all}
.shop-copy{grid-column:1/-1;justify-self:start;margin-top:.3rem;border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:.35rem .7rem;font:inherit;font-size:.85rem;font-weight:600;cursor:pointer}
.shop-review{margin-top:.5rem;font-size:.95rem;color:#334155}
.shop-check{display:flex;gap:.6rem;align-items:flex-start;margin:.9rem 0 0;font-size:.9rem;color:#334155;line-height:1.5}
.shop-check input{margin-top:.25rem;accent-color:var(--accent,#0e7490);flex:none}

.shop-done{padding-top:2.5rem;padding-bottom:4rem}
.shop-done-head{display:flex;gap:1.2rem;align-items:flex-start;margin-bottom:1.6rem}
.shop-done-head h1{margin:.2rem 0 .4rem}
.shop-done-head p{margin:0;color:#475569;max-width:640px}
.shop-done-icon{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#dcfce7;color:#15803d;font-size:1.7rem;font-weight:800}
.shop-done-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.4rem;align-items:start}
.shop-amount{font-size:1.05rem}
.shop-amount strong{display:block;font-size:1.9rem;letter-spacing:-.02em;color:#0f172a}
.shop-done-lines{list-style:none;margin:0 0 1rem;padding:0}
.shop-done-lines li{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0;border-bottom:1px solid #eef2f6}
.shop-done-lines small{color:#64748b}
.shop-keep{margin-top:1.4rem;color:#64748b;font-size:.9rem}

@media (max-width:900px){
  .shop-page{grid-template-columns:1fr}
  .shop-summary{position:static;order:-1}
}
@media (max-width:640px){
  .shop-line{grid-template-columns:64px minmax(0,1fr) auto;grid-template-areas:"img info rm" "img qty tot";gap:.5rem .8rem}
  .shop-line-img{grid-area:img;width:64px;height:64px;align-self:start}
  .shop-line-info{grid-area:info}
  .shop-line .shop-qty{grid-area:qty;justify-self:start}
  .shop-line-total{grid-area:tot;min-width:0;align-self:center}
  .shop-remove{grid-area:rm;justify-self:end;align-self:start}
  .shop-grid{grid-template-columns:1fr}
  .shop-panel,.shop-summary{padding:1.1rem}
  .shop-box-buy{flex-wrap:wrap}
  .shop-add{min-width:180px}
  .shop-actions{flex-direction:column-reverse;align-items:stretch}
  .shop-actions .shop-btn{width:100%}
  .shop-banks li span{text-align:left;grid-column:1/-1}
}
