/*
 * ============================================================================
 *  HEDİYE KARTI — STİL          Yol: /modules/hediyekart/hediyekart.css       Önek: .szhk-
 *  Vitrin (hero) · form · canlı kart önizlemesi · kart sayfası (yazdırılabilir) · sipariş kutusu
 * ============================================================================
 */
.szhk-hero { position: relative; padding: calc(var(--sz-header-h, 74px) + clamp(20px, 5vw, 50px)) 0 clamp(24px, 4vw, 40px); text-align: center; overflow: hidden;
  background: radial-gradient(600px 300px at 20% 0%, rgba(123,92,255,.35), transparent 70%), radial-gradient(500px 280px at 85% 10%, rgba(255,45,85,.28), transparent 70%); }
.szhk-hero h1 { font-size: clamp(28px, 6vw, 52px); letter-spacing: -.03em; margin: 12px 0 10px; }
.szhk-hero p { color: var(--sz-muted); max-width: 620px; margin: 0 auto; font-size: clamp(15px, 2.2vw, 18px); line-height: 1.6; }
.szhk-hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid var(--sz-line-2); font-size: 13px; font-weight: 700; }
.szhk-steps { list-style: none; padding: 0; margin: 26px auto 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.szhk-steps li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 99px; background: var(--sz-surface); border: 1px solid var(--sz-line); font-size: 14px; }
.szhk-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sz-primary); font-size: 13px; }

.szhk-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 28px; align-items: start; padding-bottom: 30px; }
.szhk-form { display: grid; gap: 16px; min-width: 0; }
.szhk-box { margin: 0; padding: clamp(16px, 3vw, 22px); border: 1px solid var(--sz-line); border-radius: 20px; background: var(--sz-surface); min-width: 0; }
.szhk-box legend { padding: 0 6px; font-weight: 800; font-size: 15px; }
.szhk-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.szhk-plan input, .szhk-theme input, .szhk-when__o input { position: absolute; opacity: 0; pointer-events: none; }
.szhk-plan__b { display: grid; gap: 4px; padding: 14px; border-radius: 14px; border: 1px solid var(--sz-line-2); cursor: pointer; height: 100%; transition: border-color .2s, background .2s; }
.szhk-plan__b small { color: var(--sz-muted); font-size: 12.5px; }
.szhk-plan__b em { font-style: normal; font-weight: 800; font-size: 18px; margin-top: 4px; }
.szhk-plan input:checked + .szhk-plan__b { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: 0 0 0 1px var(--c) inset; }
.szhk-plan input:focus-visible + .szhk-plan__b, .szhk-theme input:focus-visible + span, .szhk-when__o input:focus-visible + span { outline: 2px solid var(--sz-primary); outline-offset: 2px; }
.szhk-themes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.szhk-theme span { display: grid; place-items: end start; height: 74px; padding: 10px; border-radius: 14px; font-size: 13px; font-weight: 700; cursor: pointer; border: 2px solid transparent; background: var(--hk-bg); color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.szhk-theme input:checked + span { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.szhk-when { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.szhk-when__o span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--sz-line-2); font-size: 14px; cursor: pointer; }
.szhk-when__o input:checked + span { background: var(--sz-primary); border-color: var(--sz-primary); color: #fff; }
.szhk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.szhk-grid__full { grid-column: 1 / -1; }
.szhk-grid .sz-label small { color: var(--sz-muted); font-weight: 500; float: right; }
.szhk-pay { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 20px; border-radius: 18px; background: var(--sz-surface-2); border: 1px solid var(--sz-line); position: sticky; bottom: 10px; z-index: 5; }
.szhk-pay small { display: block; color: var(--sz-muted); font-size: 12.5px; }
.szhk-pay b { font-size: 22px; }
.szhk-note { color: var(--sz-muted); font-size: 13px; display: flex; gap: 8px; align-items: flex-start; margin: 0; line-height: 1.55; }
.szhk-note .sz-ico { flex: none; margin-top: 2px; }

.szhk [hidden] { display: none !important; }

/* Kart (önizleme + kart sayfası) — temalar */
.szhk-theme--cinema, .szhk-card--cinema { --hk-bg: linear-gradient(135deg, #2a1b6b 0%, #7b5cff 55%, #ff2d55 120%); }
.szhk-theme--love, .szhk-card--love { --hk-bg: linear-gradient(135deg, #5b0f2e 0%, #ff2d55 60%, #ff9a8b 120%); }
.szhk-theme--birthday, .szhk-card--birthday { --hk-bg: linear-gradient(135deg, #0f4c75 0%, #00b4d8 55%, #f5c518 120%); }
.szhk-theme--celebrate, .szhk-card--celebrate { --hk-bg: linear-gradient(135deg, #1c1c1c 0%, #8a6d1d 55%, #f5c518 120%); }
.szhk-side { position: sticky; top: calc(var(--sz-header-h, 70px) + 16px); display: grid; gap: 10px; }
.szhk-side__hint { display: flex; gap: 8px; color: var(--sz-muted); font-size: 13px; margin: 0; }
.szhk-card { position: relative; overflow: hidden; border-radius: 24px; padding: 24px; color: #fff; background: var(--hk-bg); aspect-ratio: 1.58; min-height: 230px; display: flex; flex-direction: column; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.2); transition: background .4s; }
.szhk-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.szhk-card__top { display: flex; justify-content: space-between; align-items: center; }
.szhk-logo { font: 900 20px/1 var(--sz-font, inherit); letter-spacing: -.04em; }
.szhk-logo i { font-style: normal; opacity: .75; }
.szhk-card__tag { font-size: 11px; font-weight: 800; letter-spacing: .14em; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.25); }
.szhk-card__days { font-size: clamp(24px, 4vw, 32px); font-weight: 900; letter-spacing: -.02em; margin-top: auto; }
.szhk-card__plan { opacity: .9; font-size: 14px; }
.szhk-card__to { margin-top: 12px; font-weight: 700; font-size: 16px; }
.szhk-card__msg { margin: 4px 0 0; font-size: 13.5px; opacity: .92; line-height: 1.45; font-style: italic; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.szhk-card__from { font-size: 13px; opacity: .85; margin-top: 2px; }
.szhk-card__code { margin-top: 12px; padding: 8px 10px; border-radius: 10px; background: rgba(0,0,0,.28); font: 700 15px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; text-align: center; }

.szhk-mine { padding-bottom: 40px; }
.szhk-mine h2 { font-size: 20px; }
.szhk-mine ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.szhk-mine li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--sz-surface); border: 1px solid var(--sz-line); flex-wrap: wrap; }
.szhk-mine__d { display: grid; min-width: 0; flex: 1 1 220px; }
.szhk-mine__d small { color: var(--sz-muted); font-size: 12.5px; }

/* Kart sayfası */
.szhk-show { max-width: 640px; padding-top: calc(var(--sz-header-h, 74px) + clamp(20px, 5vw, 50px)); padding-bottom: 50px; display: grid; gap: 18px; }
.szhk-card--lg { padding: clamp(22px, 5vw, 34px); }
.szhk-card--lg .szhk-card__days { font-size: clamp(30px, 7vw, 46px); }
.szhk-card--lg .szhk-card__code { font-size: clamp(16px, 4vw, 22px); }
.szhk-show__act { display: flex; gap: 10px; flex-wrap: wrap; }
.szhk-show__act .sz-alert { flex: 1 1 100%; }

/* Sipariş sayfası kutusu */
.szhk-order { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--sz-surface-2); border: 1px solid var(--sz-line); margin-bottom: 14px; flex-wrap: wrap; }
.szhk-order > div { flex: 1 1 180px; display: grid; min-width: 0; }
.szhk-order small { color: var(--sz-muted); overflow-wrap: anywhere; }
.szhk-order__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #7b5cff, #ff2d55); flex: none; }

@media (max-width: 960px) {
  .szhk-wrap { grid-template-columns: minmax(0, 1fr); }
  .szhk-side { position: static; order: -1; max-width: 420px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .szhk-grid { grid-template-columns: minmax(0, 1fr); }
  .szhk-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .szhk-pay .sz-btn { flex: 1 1 100%; }
  .szhk-card { aspect-ratio: auto; min-height: 220px; }
}
@media print {
  body * { visibility: hidden !important; }
  .szhk-show .szhk-card, .szhk-show .szhk-card * { visibility: visible !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .szhk-show .szhk-card { position: fixed; left: 0; top: 0; width: 100%; max-width: 640px; box-shadow: none; }
}
