/* =========================================================
   ScriptMarket — Redesign (Light & Clean SaaS)
   Sadece layouts/shop.blade.php kullanan vitrin sayfaları içindir.
   app.css'e dokunmaz; diğer sayfalar etkilenmez.
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-muted: #eef1f6;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --ink: #0f172a;
  --text: #334155;
  --text-soft: #64748b;
  --text-faint: #94a3b8;
  --brand: #4f46e5;
  --brand-hover: #4338ca;
  --brand-soft: #eef2ff;
  --brand-ring: rgba(79, 70, 229, 0.14);
  --star: #f59e0b;
  --success: #10b981;
  --success-soft: #ecfdf5;
  --danger: #ef4444;
  --sale: #e11d48;
  --sale-soft: #fff1f2;
  --r-sm: 9px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --sh-md: 0 10px 26px -14px rgba(15, 23, 42, 0.16);
  --sh-lg: 0 24px 50px -24px rgba(15, 23, 42, 0.22);
  --nav-h: 68px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body.rd { margin: 0; font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.rd * { box-sizing: border-box; }
body.rd a { color: inherit; text-decoration: none; }
body.rd img { display: block; max-width: 100%; }
body.rd h1, body.rd h2, body.rd h3, body.rd h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.025em; line-height: 1.18; margin: 0; }
body.rd p { margin: 0; }

.rd-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

/* Buttons */
.rd .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 600; font-size: 0.92rem; border: 1px solid transparent; border-radius: var(--r-sm); padding: 0.72rem 1.3rem; transition: all 0.18s var(--ease); white-space: nowrap; cursor: pointer; font-family: inherit; }
.rd .btn i { font-size: 0.82em; }
.rd .btn-primary { background: var(--ink); color: #fff; }
.rd .btn-primary:hover { background: var(--brand); transform: translateY(-1px); box-shadow: var(--sh-md); }
.rd .btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--border-strong); }
.rd .btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink); }
.rd .btn-soft { background: var(--brand-soft); color: var(--brand); }
.rd .btn-soft:hover { background: #e0e3ff; }
.rd .btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.rd .btn-sm { padding: 0.5rem 0.95rem; font-size: 0.82rem; }
.rd .btn-block { width: 100%; }

.rd .chip { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em; padding: 0.32rem 0.7rem; border-radius: var(--r-pill); background: var(--bg-soft); color: var(--text-soft); border: 1px solid var(--border); }
.rd .chip-brand { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.rd .chip-new { background: var(--success-soft); color: var(--success); border-color: transparent; }
.rd .chip-sale { background: var(--sale-soft); color: var(--sale); border-color: transparent; }
.rd .chip-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brand); }

/* Navbar (shop layout) */
.rd-nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: rgba(255,255,255,0.86); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--border); }
.rd-nav-in { height: 100%; display: flex; align-items: center; gap: 2rem; }
.rd-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.18rem; color: var(--ink); letter-spacing: -0.03em; }
.rd-brand img { height: 36px; width: auto; mix-blend-mode: multiply; }
.rd-brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.95rem; font-weight: 800; }
.rd-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0 0 0 0.5rem; padding: 0; }
.rd-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-soft); padding: 0.5rem 0.85rem; border-radius: var(--r-sm); transition: all 0.16s var(--ease); }
.rd-links a:hover { color: var(--ink); background: var(--bg-soft); }
.rd-links a.active { color: var(--ink); background: var(--bg-muted); }
.rd-nav-act { margin-left: auto; display: flex; align-items: center; gap: 0.7rem; }
.rd-cart { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--text-soft); border: 1px solid var(--border); transition: all 0.16s var(--ease); }
.rd-cart:hover { color: var(--ink); border-color: var(--border-strong); background: var(--bg-soft); }
.rd-cart-badge { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; background: var(--brand); color: #fff; font-size: 0.66rem; font-weight: 700; border-radius: var(--r-pill); display: grid; place-items: center; border: 2px solid #fff; }
.rd-usermenu { position: relative; }
.rd-userbtn { display: flex; align-items: center; gap: 0.5rem; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 0.4rem 0.85rem; color: var(--text); cursor: pointer; font: inherit; font-size: 0.85rem; font-weight: 600; }
.rd-userbtn img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.rd-userdrop { display: none; position: absolute; top: calc(100% + 0.5rem); right: 0; width: 210px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-lg); z-index: 500; }
.rd-userdrop a, .rd-userdrop button { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem; font-size: 0.86rem; color: var(--text); width: 100%; background: none; border: none; cursor: pointer; font: inherit; text-align: left; }
.rd-userdrop a:hover, .rd-userdrop button:hover { background: var(--bg-soft); }
.rd-userdrop .logout { color: var(--danger); border-top: 1px solid var(--border); }

/* Toast */
.rd-toasts { position: fixed; top: calc(var(--nav-h) + 1rem); right: 1.25rem; z-index: 900; display: flex; flex-direction: column; gap: 0.6rem; }
.rd-toast { display: flex; align-items: center; gap: 0.6rem; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--success); border-radius: var(--r-md); padding: 0.85rem 1.1rem; box-shadow: var(--sh-lg); font-size: 0.88rem; color: var(--ink); }
.rd-toast.err { border-left-color: var(--danger); }
.rd-toast.warn { border-left-color: var(--star); }

/* Sections */
.rd-sec { padding: clamp(2.5rem, 4.5vw, 3.5rem) 0; }
.rd-sec-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.rd-sechead { margin-bottom: clamp(1.4rem, 2.6vw, 1.9rem); }
.rd-sechead.between { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.rd-eyebrow { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 0.55rem; }
.rd-sectitle { font-size: clamp(1.5rem, 3vw, 2.05rem); }
.rd-secsub { color: var(--text-soft); font-size: 1rem; margin-top: 0.6rem; max-width: 56ch; }

.rd-grid { display: grid; gap: 1.25rem; }
.rd-grid-3 { grid-template-columns: repeat(3, 1fr); }
.rd-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Product card */
.rd .pcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease); position: relative; }
.rd .pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--border-strong); }
.rd .pcard-thumb { aspect-ratio: 16 / 10; background: var(--bg-muted); overflow: hidden; position: relative; display: block; }
.rd .pcard-thumb img { width: 100%; height: 100%; object-fit: contain; padding: .55rem; transition: transform 0.4s var(--ease); }
.rd .pcard:hover .pcard-thumb img { transform: scale(1.04); }
.rd .pcard-badges { display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 0; }
.rd .pcard-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.rd .pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.rd .pcard-rating { display: inline-flex; align-items: center; gap: 0.28rem; font-size: 0.78rem; font-weight: 600; color: var(--text-soft); }
.rd .pcard-rating i { color: var(--star); font-size: 0.74rem; }
.rd .pcard-rating .ct { color: var(--text-faint); font-weight: 500; }
.rd .pcard-name { font-size: 1.02rem; font-weight: 700; color: var(--ink); line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rd .pcard-desc { font-size: 0.86rem; color: var(--text-soft); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rd .pcard-tech { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.rd .tech { font-size: 0.7rem; font-weight: 600; color: var(--text-soft); background: var(--bg-soft); border: 1px solid var(--border); padding: 0.18rem 0.5rem; border-radius: 6px; }
.rd .pcard-foot { margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.rd .price { font-size: 1.12rem; font-weight: 800; color: var(--ink); }
.rd .price-old { font-size: 0.82rem; color: var(--text-faint); text-decoration: line-through; margin-right: 0.4rem; font-weight: 500; }
.rd .price-sale { color: var(--success); }

/* Light Catalog Hero */
.lcat { background: var(--bg); padding: clamp(2.25rem, 4.5vw, 3.25rem) 0 clamp(2.75rem, 5vw, 4rem); border-bottom: 1px solid var(--border); }
.lcat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.lcat-status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--text-soft); margin-bottom: 0.85rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); position: relative; display: inline-block; }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--success); opacity: 0.5; animation: rd-ping 1.8s var(--ease) infinite; }
@keyframes rd-ping { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.5); opacity: 0; } }
.lcat-title { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; color: var(--ink); }
.lcat-title .g { background: linear-gradient(100deg, #6366f1, #0ea5e9, #10b981, #f59e0b, #ec4899, #6366f1); background-size: 280% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rd-gradflow 7s linear infinite; }
@keyframes rd-gradflow { to { background-position: 280% 0; } }
.lcat-sub { color: var(--text-soft); font-size: 1rem; margin-top: 0.7rem; max-width: 46ch; }
.lcat-search { display: flex; align-items: center; width: clamp(280px, 34vw, 420px); background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-md); padding: 0.35rem 0.35rem 0.35rem 1.05rem; transition: all 0.18s var(--ease); }
.lcat-search:focus-within { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.lcat-search i { color: var(--text-faint); margin-right: 0.7rem; font-size: 0.9rem; }
.lcat-search:focus-within i { color: var(--brand); }
.lcat-search input { flex: 1; border: none; outline: none; background: transparent; font: inherit; font-size: 0.95rem; color: var(--ink); padding: 0.65rem 0; min-width: 0; }
.lcat-search input::placeholder { color: var(--text-faint); }
.lcat-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; align-items: center; }
.lcat-chip { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.83rem; font-weight: 650; color: var(--text-soft); background: var(--surface); border: 1px solid var(--border); padding: 0.45rem 0.95rem; border-radius: var(--r-pill); cursor: pointer; transition: all 0.16s var(--ease); font-family: inherit; text-decoration: none; }
.lcat-chip .pd { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--brand)); }
.lcat-chip:hover { border-color: var(--border-strong); color: var(--ink); transform: translateY(-1px); }
.lcat-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.lcat-count { font-size: 0.85rem; color: var(--text-faint); margin-left: auto; }
.lcat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.lcat-grid .pcard { border-top: 3px solid var(--c, var(--border)); }
.lcat-grid .chip-cat { color: var(--c, var(--brand)); display: inline-flex; align-items: center; gap: 0.4rem; }
.lcat-grid .chip-cat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--brand)); }
.lcat-grid .pcard { opacity: 0; transform: translateY(12px); }
.lcat-grid .pcard.in { animation: rd-rvin 0.5s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rd-rvin { to { opacity: 1; transform: none; } }
.lcat-empty { grid-column: 1 / -1; text-align: center; padding: 3.5rem 1rem; color: var(--text-soft); }
.lcat-empty strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 0.3rem; }

/* Value band */
.valueband { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.valueband .rd-wrap { padding-top: clamp(1.75rem, 3.5vw, 2.5rem); padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.vb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 2.2rem; }
.vb-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.vb-ic { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; }
.vb-item h4 { font-size: 0.92rem; margin-bottom: 0.18rem; }
.vb-item p { font-size: 0.83rem; color: var(--text-soft); line-height: 1.5; }

/* CTA */
.rd-cta { background: var(--ink); border-radius: var(--r-xl); padding: clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
body.rd .rd-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
body.rd .rd-cta p { color: rgba(255,255,255,0.72); font-size: 1.05rem; margin: 0.85rem auto 2rem; max-width: 52ch; }
.rd-cta .btn-primary { background: #fff; color: var(--ink); }
.rd-cta .btn-primary:hover { background: var(--brand); color: #fff; }
.rd-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.rd-cta .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* Footer */
.rd-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: clamp(3rem, 5vw, 4rem) 0 2rem; }
.rd-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.rd-footer-desc { font-size: 0.88rem; color: var(--text-soft); margin: 1rem 0 1.25rem; max-width: 34ch; line-height: 1.7; }
.rd-footer-contact { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; padding: 0; margin: 0; }
.rd-footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--text-soft); line-height: 1.5; }
.rd-footer-contact li i { width: 18px; padding-top: 0.2rem; color: var(--brand); flex-shrink: 0; text-align: center; }
.rd-footer-contact li a { color: var(--text-soft); transition: color 0.15s var(--ease); }
.rd-footer-contact li a:hover { color: var(--brand); }
.rd-social { display: flex; gap: 0.55rem; }
.rd-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); transition: all 0.16s var(--ease); }
.rd-social a:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.rd-footer-h { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 1rem; }
.rd-footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; padding: 0; margin: 0; }
.rd-footer-links a { font-size: 0.88rem; color: var(--text-soft); transition: color 0.15s var(--ease); }
.rd-footer-links a:hover { color: var(--brand); }
.rd-footer-bot { margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--text-faint); }
.rd-footer-pay { display: flex; align-items: center; gap: 0.6rem; font-size: 1.1rem; color: var(--text-faint); }

/* Products listing */
.rd-pagehead { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 2.25rem 0; }
.rd-pagehead h1 { font-size: clamp(1.6rem, 3vw, 2rem); }
.rd-pagehead .ct { color: var(--text-soft); font-size: 0.9rem; margin-top: 0.3rem; }
.rd-select { appearance: none; background: var(--surface) url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.95rem center; border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 0.6rem 2.4rem 0.6rem 0.95rem; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.rd-shop { display: grid; grid-template-columns: 258px 1fr; gap: 2rem; align-items: start; }
.rd-filters { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.4rem; position: sticky; top: calc(var(--nav-h) + 1.25rem); }
.rd-filter-h { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 0.85rem; }
.rd-filter-list { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; padding: 0; margin: 0; }
.rd-filter-list a { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0.7rem; border-radius: var(--r-sm); font-size: 0.88rem; color: var(--text-soft); transition: all 0.15s var(--ease); }
.rd-filter-list a:hover { background: var(--bg-soft); color: var(--ink); }
.rd-filter-list a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.rd-filter-list .n { font-size: 0.72rem; background: var(--bg-muted); color: var(--text-soft); padding: 0.08rem 0.45rem; border-radius: var(--r-pill); }
.rd-divider { border: none; border-top: 1px solid var(--border); margin: 1.25rem 0; }
.rd-price-in { display: flex; gap: 0.5rem; align-items: center; }
.rd-price-in input { width: 100%; border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 0.5rem 0.6rem; font: inherit; font-size: 0.85rem; color: var(--ink); outline: none; }
.rd-price-in input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.rd-shopgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.rd-pag { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2.5rem; }
.rd-pag a, .rd-pag span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--border); font-size: 0.88rem; font-weight: 600; color: var(--text-soft); background: var(--surface); }
.rd-pag a:hover { border-color: var(--border-strong); color: var(--ink); }
.rd-pag .active { background: var(--ink); color: #fff; border-color: var(--ink); }
.rd-pag .disabled { opacity: 0.4; }
.rd-mobfilter { display: none; }

/* Product detail */
.rd-crumb { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 0.85rem 0; }
.rd-crumb nav { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-faint); flex-wrap: wrap; }
.rd-crumb a { color: var(--text-soft); }
.rd-crumb a:hover { color: var(--brand); }
.rd-crumb i { font-size: 0.6rem; }
.rd-crumb .cur { color: var(--ink); font-weight: 600; }
.rd-pd { display: grid; grid-template-columns: 1fr 372px; gap: 3rem; align-items: start; padding: 2.5rem 0 4.5rem; }
.rd-pd-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.rd-pd-title { font-size: clamp(1.6rem, 3.2vw, 2.15rem); margin-bottom: 0.85rem; }
.rd-pd-lead { font-size: 1.02rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 1.25rem; }
.rd-pd-meta { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-soft); }
.rd-pd-meta .it { display: flex; align-items: center; gap: 0.42rem; }
.rd-pd-meta .it i { color: var(--text-faint); }
.rd-pd-meta .it strong { color: var(--ink); font-weight: 700; }
/* Ana ekran: orijinal en-boy korunur, kırpılmaz; uzun ekran görüntüleri için
   yüksekliği viewport ile sınırlandır (yan yana kayma yok, hep sığar). */
/* Küçük önizlemeler: tüm görsel görünür (contain), kırpma yok. */
.rd-tabs { display: flex; gap: 0.3rem; border-bottom: 1px solid var(--border); margin: 2rem 0 1.5rem; flex-wrap: wrap; }
.rd-tabs a { font-size: 0.9rem; font-weight: 600; color: var(--text-soft); padding: 0.75rem 1rem; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; transition: all 0.15s var(--ease); }
.rd-tabs a:hover { color: var(--ink); }
.rd-tabs a.active { color: var(--brand); border-bottom-color: var(--brand); }
.rd-tabpane { display: none; }
.rd-tabpane.active { display: block; }
.rd-prose { color: var(--text); font-size: 0.95rem; line-height: 1.8; }
.rd-prose p { margin-bottom: 1rem; }
.rd-prose h3 { font-size: 1.15rem; margin: 1.5rem 0 0.7rem; }
.rd-prose ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.rd-prose li { margin-bottom: 0.4rem; }
.rd-buy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.6rem; position: sticky; top: calc(var(--nav-h) + 1.25rem); box-shadow: var(--sh-md); }
.rd-buy-price { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.rd-buy-price .cur { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.rd-buy-price .old { font-size: 1rem; color: var(--text-faint); text-decoration: line-through; }
.rd-lic-label { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 0.7rem; }
.rd-lic { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-bottom: 1.4rem; }
.rd-lic-tab { border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 0.85rem; cursor: pointer; transition: all 0.15s var(--ease); }
.rd-lic-tab:hover { border-color: var(--border-strong); }
.rd-lic-tab.active { border-color: var(--brand); background: var(--brand-soft); }
.rd-lic-tab .nm { font-size: 0.84rem; font-weight: 700; color: var(--ink); }
.rd-lic-tab .pr { font-size: 1rem; font-weight: 800; color: var(--ink); margin: 0.2rem 0; }
.rd-lic-tab .sub { font-size: 0.72rem; color: var(--text-faint); }
.rd-incl { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin: 1.4rem 0; padding: 0; }
.rd-incl li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; color: var(--text); }
.rd-incl i { color: var(--success); font-size: 0.9rem; }
.rd-spec { display: flex; justify-content: space-between; font-size: 0.84rem; padding: 0.1rem 0; }
.rd-spec .k { color: var(--text-faint); }
.rd-spec .v { color: var(--ink); font-weight: 600; }
.rd-secure { margin-top: 1.4rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 0.55rem; font-size: 0.78rem; color: var(--text-faint); }
.rd-secure .fa-lock { color: var(--success); }
.rd-review { border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.25rem; margin-bottom: 0.9rem; }
.rd-review-stars { color: var(--star); font-size: 0.82rem; margin-bottom: 0.5rem; }
.rd-review-title { font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.rd-review-body { font-size: 0.88rem; color: var(--text-soft); line-height: 1.65; margin-bottom: 0.9rem; }
.rd-review-author { display: flex; align-items: center; gap: 0.6rem; }
.rd-review-author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.rd-review-author .nm { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.rd-review-author .dt { font-size: 0.76rem; color: var(--text-faint); }
.rd-form-group { margin-bottom: 1rem; }
.rd-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.rd-input { width: 100%; border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 0.65rem 0.8rem; font: inherit; font-size: 0.9rem; color: var(--ink); outline: none; }
.rd-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }

/* Cart */
.rd-cart-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.rd-citem { display: flex; align-items: center; gap: 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1rem; margin-bottom: 0.85rem; }
.rd-citem-img { width: 92px; height: 60px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-muted); flex-shrink: 0; }
.rd-citem-img img { width: 100%; height: 100%; object-fit: cover; }
.rd-citem-info { flex: 1; min-width: 0; }
.rd-citem-name { font-weight: 700; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.25rem; }
.rd-citem-lic { font-size: 0.8rem; color: var(--text-soft); display: flex; align-items: center; gap: 0.35rem; }
.rd-citem-lic i { color: var(--brand); }
.rd-citem-right { text-align: right; flex-shrink: 0; }
.rd-citem-price { font-weight: 800; color: var(--ink); font-size: 1rem; }
.rd-citem-rm { background: none; border: none; color: var(--text-faint); font-size: 0.8rem; margin-top: 0.4rem; display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; transition: color 0.15s var(--ease); font-family: inherit; }
.rd-citem-rm:hover { color: var(--danger); }
.rd-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.6rem; position: sticky; top: calc(var(--nav-h) + 1.25rem); }
.rd-summary h3 { font-size: 1.1rem; margin-bottom: 1.3rem; }
.rd-sum-row { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 0.6rem; }
.rd-sum-row .k { color: var(--text-soft); }
.rd-sum-row .v { color: var(--ink); font-weight: 600; }
.rd-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 1rem 0 1.4rem; }
.rd-sum-total .k { font-size: 0.95rem; color: var(--text-soft); }
.rd-sum-total .v { font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.rd-empty { text-align: center; padding: 4.5rem 2rem; background: var(--bg-soft); border: 1px dashed var(--border-strong); border-radius: var(--r-xl); }
.rd-empty .ic { font-size: 2.6rem; margin-bottom: 1rem; opacity: 0.5; }
.rd-empty h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.rd-empty p { color: var(--text-soft); margin-bottom: 1.75rem; }

/* Faux screenshot placeholder */
.mock { position: relative; overflow: hidden; background: linear-gradient(135deg, hsl(var(--h,238) 80% 96%), hsl(var(--h,238) 60% 88%)); }
.mock::before { content: ''; position: absolute; left: 11%; right: 11%; top: 15%; bottom: 0; background: #fff; border-radius: 9px 9px 0 0; box-shadow: 0 12px 30px -14px rgba(15,23,42,.3); }
.mock::after { content: ''; position: absolute; left: 16%; right: 16%; top: 24%; height: 7px; border-radius: 4px; background: hsl(var(--h,238) 55% 68%); box-shadow: 0 16px 0 -1px hsl(var(--h,238) 35% 88%), 0 32px 0 -1px hsl(var(--h,238) 35% 88%), 0 48px 0 -1px hsl(var(--h,238) 35% 88%); }
.mock-dot { position: absolute; top: 18.5%; left: 15%; width: 6px; height: 6px; border-radius: 50%; background: #fb7185; box-shadow: 10px 0 0 #fbbf24, 20px 0 0 #34d399; z-index: 2; }

@media (max-width: 1024px) { .lcat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .rd-grid-3, .rd-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .rd-shop { grid-template-columns: 1fr; }
  .rd-filters { position: static; }
  .rd-pd { grid-template-columns: 1fr; }
  .rd-buy { position: static; }
  .rd-cart-wrap { grid-template-columns: 1fr; }
  .rd-summary { position: static; }
  .vb-grid { grid-template-columns: repeat(2, 1fr); }
  .rd-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .rd-links { display: none; }
  .rd-mobfilter { display: block; width: 100%; margin-bottom: 1.25rem; }
  .rd-filters { display: none; }
  .rd-filters.open { display: block; }
}
@media (max-width: 760px) { .lcat-grid { grid-template-columns: repeat(2, 1fr); } .lcat-head { gap: 1rem; } .rd-shopgrid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) {
  .rd-grid-3, .rd-grid-4, .lcat-grid, .rd-shopgrid { grid-template-columns: 1fr; }
  .rd-footer-grid { grid-template-columns: 1fr; }
  .rd-lic { grid-template-columns: 1fr; }
  .lcat-search { width: 100%; }
  .vb-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot::after, .lcat-title .g, .lcat-grid .pcard.in { animation: none; }
  .lcat-grid .pcard { opacity: 1; transform: none; }
}

/* ===== Kullanıcı Paneli (Dashboard) ===== */
.ds-wrap { padding: clamp(1.75rem, 4vw, 2.75rem) 0 4rem; }
.ds-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.ds-side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 0.6rem; position: sticky; top: calc(var(--nav-h) + 1.25rem); }
.ds-user { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 0.8rem; border-bottom: 1px solid var(--border); margin-bottom: 0.5rem; }
.ds-user img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ds-user .nm { font-size: 0.9rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.ds-user .em { font-size: 0.74rem; color: var(--text-faint); }
.ds-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.ds-nav a { display: flex; align-items: center; gap: 0.65rem; padding: 0.65rem 0.85rem; border-radius: var(--r-sm); font-size: 0.88rem; font-weight: 600; color: var(--text-soft); transition: all 0.15s var(--ease); }
.ds-nav a i { width: 18px; text-align: center; color: var(--text-faint); }
.ds-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.ds-nav a.active { background: var(--brand-soft); color: var(--brand); }
.ds-nav a.active i { color: var(--brand); }
.ds-nav .logout { color: var(--danger); border: none; background: none; width: 100%; cursor: pointer; font: inherit; text-align: left; }
.ds-nav .logout:hover { background: var(--sale-soft); }
.ds-head { margin-bottom: 1.5rem; }
.ds-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
.ds-head p { color: var(--text-soft); font-size: 0.9rem; margin-top: 0.25rem; }
.ds-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 1.25rem; }
.ds-card h3 { font-size: 1.05rem; margin-bottom: 1.1rem; }
.ds-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.ds-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.25rem; }
.ds-stat .v { font-size: 1.75rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.ds-stat .l { font-size: 0.8rem; color: var(--text-soft); margin-top: 0.2rem; }
.ds-stat .ic { width: 38px; height: 38px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: 0.7rem; font-size: 0.95rem; }
.ds-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.ds-table th { text-align: left; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--border); }
.ds-table td { padding: 0.85rem 0.75rem; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: middle; }
.ds-table tr:last-child td { border-bottom: none; }
.ds-table tr:hover td { background: var(--bg-soft); }
.ds-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: var(--r-pill); }
.ds-b-green { background: var(--success-soft); color: var(--success); }
.ds-b-amber { background: #fef3c7; color: #b45309; }
.ds-b-red { background: var(--sale-soft); color: var(--sale); }
.ds-b-gray { background: var(--bg-muted); color: var(--text-soft); }
.ds-b-blue { background: var(--brand-soft); color: var(--brand); }
.ds-key { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 0.82rem; background: var(--bg-soft); border: 1px solid var(--border); padding: 0.3rem 0.6rem; border-radius: 6px; color: var(--ink); }
.ds-empty { text-align: center; padding: 3rem 1rem; color: var(--text-soft); }
.ds-empty .ic { font-size: 2.2rem; opacity: 0.5; margin-bottom: 0.6rem; }
.ds-field { margin-bottom: 1.1rem; }
.ds-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.ds-input { width: 100%; border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 0.7rem 0.9rem; font: inherit; font-size: 0.9rem; color: var(--ink); outline: none; background: #fff; }
.ds-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.ds-input:disabled, .ds-input[readonly] { background: var(--bg-soft); color: var(--text-faint); cursor: not-allowed; }
.ds-hint { font-size: 0.76rem; color: var(--text-faint); margin-top: 0.35rem; }
.ds-msg { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.ds-msg.me { flex-direction: row-reverse; }
.ds-msg-b { max-width: 78%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-md); padding: 0.85rem 1rem; }
.ds-msg.me .ds-msg-b { background: var(--brand-soft); border-color: transparent; }
.ds-msg-meta { font-size: 0.72rem; color: var(--text-faint); margin-bottom: 0.3rem; }
.ds-msg-b p { font-size: 0.88rem; color: var(--text); line-height: 1.6; white-space: pre-wrap; }
.ds-alert { padding: 0.85rem 1.1rem; border-radius: var(--r-md); font-size: 0.88rem; margin-bottom: 1.25rem; border: 1px solid; }
.ds-alert-ok { background: var(--success-soft); border-color: rgba(16,185,129,0.3); color: #047857; }
.ds-alert-err { background: var(--sale-soft); border-color: rgba(225,29,72,0.3); color: var(--sale); }
@media (max-width: 900px) {
  .ds-layout { grid-template-columns: 1fr; }
  .ds-side { position: static; }
  .ds-nav { flex-direction: row; flex-wrap: wrap; }
  .ds-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ds-stats { grid-template-columns: 1fr; }
  .ds-table { font-size: 0.8rem; }
  .ds-table th:nth-child(n+4), .ds-table td:nth-child(n+4) { display: none; }
}

/* ===== Giriş / Kayıt (Auth) ===== */
.au-wrap { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; background: var(--bg-soft); padding: clamp(2rem, 5vw, 3.5rem) 1rem; }
.au-card { width: 100%; }
.au-card.sm { max-width: 440px; }
.au-card.lg { max-width: 720px; }
.au-back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--text-soft); margin-bottom: 0.9rem; }
.au-back:hover { color: var(--brand); }
.au-back i { font-size: 0.7rem; }
.au-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: clamp(1.75rem, 4vw, 2.5rem); }
.au-title { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.au-sub { font-size: 0.9rem; color: var(--text-soft); margin-top: 0.35rem; }
.au-sub a { color: var(--brand); font-weight: 600; }
.au-social { display: flex; gap: 0.65rem; margin: 1.5rem 0 0; }
.au-soc { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; padding: 0.7rem 1rem; border: 1px solid var(--border-strong); border-radius: var(--r-sm); color: var(--ink); background: var(--bg); transition: all 0.16s var(--ease); }
.au-soc:hover { background: var(--bg-soft); border-color: var(--ink); }
.au-or { display: flex; align-items: center; gap: 0.75rem; margin: 1.5rem 0; }
.au-or::before, .au-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.au-or span { font-size: 0.74rem; color: var(--text-faint); white-space: nowrap; }
.au-field { margin-bottom: 1.1rem; }
.au-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.au-field label .req { color: var(--danger); }
.au-input { width: 100%; border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 0.75rem 0.95rem; font: inherit; font-size: 0.9rem; color: var(--ink); outline: none; background: #fff; }
.au-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.au-pw { position: relative; }
.au-pw .au-input { padding-right: 2.75rem; }
.au-pw button { position: absolute; right: 0; top: 0; height: 100%; width: 44px; background: none; border: none; cursor: pointer; color: var(--text-faint); display: grid; place-items: center; }
.au-pw button:hover { color: var(--brand); }
.au-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.4rem; }
.au-row a { font-size: 0.8rem; color: var(--brand); font-weight: 600; }
.au-check { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; color: var(--text-soft); line-height: 1.5; }
.au-check input { width: 16px; height: 16px; accent-color: var(--brand); margin-top: 0.15rem; flex-shrink: 0; }
.au-check a { color: var(--brand); font-weight: 600; }
.au-sec { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); margin: 1.75rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.au-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.au-corp { background: var(--bg-soft); border: 1px dashed var(--border-strong); border-radius: var(--r-md); padding: 1.25rem; margin-top: 0.5rem; }
.au-alt { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-soft); }
.au-alt a { color: var(--brand); font-weight: 700; }
.au-note { margin-top: 1.1rem; font-size: 0.74rem; color: var(--text-faint); text-align: center; line-height: 1.6; }
.au-note a { color: var(--text-faint); text-decoration: underline; }
.au-note a:hover { color: var(--brand); }
.au-err { background: var(--sale-soft); border: 1px solid rgba(225,29,72,0.3); color: var(--sale); border-radius: var(--r-md); padding: 0.8rem 1rem; font-size: 0.85rem; margin-bottom: 1.25rem; display: flex; gap: 0.5rem; }
.au-err div div { line-height: 1.5; }
@media (max-width: 560px) { .au-grid2 { grid-template-columns: 1fr; } }

/* ── Tab içerikleri için ortak collapse (Açıklama, Özellikler) ──────────── */
.rd-collapse { position: relative; }
.rd-collapse-body { transition: max-height 0.35s var(--ease); }
.rd-collapse.is-collapsed .rd-collapse-body { max-height: 420px; overflow: hidden; }
.rd-collapse-fade { display: none; }
.rd-collapse.is-collapsed .rd-collapse-fade {
  display: block; position: absolute; left: 0; right: 0; bottom: 44px; height: 90px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--surface) 92%);
  pointer-events: none;
}
.rd-collapse-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.6rem; padding: 0.55rem 1rem;
  background: var(--bg-muted); color: var(--brand);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.rd-collapse-toggle:hover { background: var(--brand-soft); border-color: var(--brand); }
.rd-collapse-toggle i { font-size: 0.72rem; }
.rd-collapse .rd-collapse-less { display: none; }
.rd-collapse.is-collapsed .rd-collapse-less { display: none; }
.rd-collapse.is-collapsed .rd-collapse-more { display: inline-flex; align-items: center; gap: 0.4rem; }
.rd-collapse:not(.is-collapsed) .rd-collapse-more { display: none; }
.rd-collapse:not(.is-collapsed) .rd-collapse-less { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ── Sepet upsell (slim, tek satır) ──────────────────────────────────── */
.cu-wrap { margin: 1.25rem 0; padding: 1rem 1.1rem; border: 1px dashed var(--border); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--brand-soft) 0%, transparent 100%); }
.cu-head { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.cu-title { font-weight: 700; color: var(--ink); font-size: .95rem; }
.cu-sub { font-size: .8rem; color: var(--text-soft); }
.cu-list { display: flex; flex-direction: column; gap: .55rem; }
.cu-item { display: flex; align-items: center; gap: .85rem; padding: .65rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color .15s var(--ease); }
.cu-item:hover { border-color: var(--brand); }
.cu-thumb { width: 56px; height: 44px; flex-shrink: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-muted); display: block; }
.cu-thumb img { width: 100%; height: 100%; object-fit: contain; padding: .25rem; }
.cu-info { flex: 1; min-width: 0; }
.cu-name { font-weight: 600; color: var(--ink); font-size: .9rem; line-height: 1.3; display: block; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cu-name:hover { color: var(--brand); }
.cu-cat { font-size: .72rem; color: var(--text-faint); margin-top: .15rem; }
.cu-right { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.cu-price { font-weight: 700; color: var(--ink); font-size: .95rem; white-space: nowrap; }
@media (max-width: 560px) {
  .cu-item { flex-wrap: wrap; }
  .cu-right { width: 100%; justify-content: space-between; }
}

/* ── Checkout nudge (minimal, dismissable) ───────────────────────────── */
.co-nudge { position: relative; display: flex; gap: 1rem; padding: 1rem 1.1rem; margin-bottom: 1.5rem; background: linear-gradient(135deg, #fffbeb 0%, #fef9c3 100%); border: 1px solid #fcd34d; border-radius: var(--r-lg); }
.co-nudge-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(245,158,11,.15); color: #f59e0b; display: flex; align-items: center; justify-content: center; }
.co-nudge-body { flex: 1; min-width: 0; }
.co-nudge-t { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #b45309; margin-bottom: .15rem; }
.co-nudge-msg { font-size: .88rem; color: #78350f; line-height: 1.5; }
.co-nudge-actions { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.co-nudge-link { font-size: .8rem; color: #b45309; font-weight: 600; text-decoration: none; }
.co-nudge-link:hover { text-decoration: underline; }
.co-nudge-x { position: absolute; top: .4rem; right: .55rem; background: transparent; border: none; color: #b45309; font-size: 1.3rem; line-height: 1; cursor: pointer; padding: .25rem .5rem; }
.co-nudge-x:hover { color: #78350f; }
@media (max-width: 720px) { .co-nudge { flex-wrap: wrap; } .co-nudge-actions { width: 100%; justify-content: stretch; } }


/* ── Yeni galeri sistemi (sabit oran 16:10, eşit thumb'ler, prev/next) ── */
.rd-gal { margin: 1.75rem 0; }
.rd-gal-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-muted);
  overflow: hidden;
}
.rd-gal-main {
  max-width: 100%; max-height: 100%;
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s var(--ease);
  cursor: zoom-in;
  background: var(--bg-muted);
}
.rd-gal-arr {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: #fff; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.9rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
  z-index: 2;
}
.rd-gal-arr:hover { background: rgba(15, 23, 42, 0.85); transform: translateY(-50%) scale(1.08); }
.rd-gal-prev { left: 12px; }
.rd-gal-next { right: 12px; }
.rd-gal-count {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(15, 23, 42, 0.65); color: #fff;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}
.rd-gal-fs {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(15, 23, 42, 0.55); color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.8rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.15s var(--ease);
  z-index: 2;
}
.rd-gal-fs:hover { background: rgba(15, 23, 42, 0.85); }

.rd-gal-thumbs {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
}
.rd-gal-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 0; border: 2px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-muted);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.rd-gal-thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.25s var(--ease);
}
.rd-gal-thumb:hover { border-color: var(--brand); transform: translateY(-2px); }
.rd-gal-thumb:hover img { transform: none; }
.rd-gal-thumb.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}

/* ── Yeni lightbox (prev/next, klavye, swipe) ─────────────────────────── */
.rd-lb {
  display: none;
  position: fixed; inset: 0;
  background: rgba(2, 6, 23, 0.96);
  z-index: 9999;
  align-items: center; justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
  backdrop-filter: blur(4px);
}
.rd-lb.is-open { display: flex; }
.rd-lb-img {
  max-width: 96vw; max-height: 92vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: default;
}
/* Lightbox ok'ları viewport kenarına sabit (image'la flex'te yarışmasın). */
.rd-lb-arr {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
  z-index: 2;
}
.rd-lb-prev { left: 1.5rem; }
.rd-lb-next { right: 1.5rem; }
.rd-lb-arr:hover { background: rgba(255,255,255,0.18); transform: translateY(-50%) scale(1.08); }
.rd-lb-x {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.4); color: #fff;
  font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s var(--ease);
}
.rd-lb-x:hover { background: rgba(0,0,0,0.7); }
.rd-lb-count {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.55); color: #fff;
  padding: 6px 16px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
  .rd-gal-arr { width: 36px; height: 36px; }
  .rd-gal-thumbs { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .rd-lb-arr { width: 44px; height: 44px; } .rd-lb-prev { left: .5rem; } .rd-lb-next { right: .5rem; }
}

