
:root {
  --brand-primary: #23364a;
  --brand-accent: #f4c542;
  --page-bg: #f6f8fb;
  --portal-font: Inter, Arial, sans-serif;
  --text: #152132;
  --heading: #122033;
  --muted: #66758b;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --border: #e6ebf2;
  --shadow: 0 20px 45px rgba(17, 24, 39, .08);
  --shadow-strong: 0 26px 70px rgba(17, 24, 39, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--portal-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(244,197,66,.18), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(35,54,74,.10), transparent 20%),
    linear-gradient(180deg, #fbfcfe 0%, var(--page-bg) 100%);
}
a { color: var(--brand-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.portal-shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 42px; }
.announcement-bar {
  background: var(--brand-accent);
  color: #27374d;
  font-weight: 700;
  font-size: 14px;
  border-radius: 18px;
  padding: 12px 18px;
  margin-bottom: 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(35,54,74,.98), rgba(28,43,60,.95));
  box-shadow: var(--shadow-strong);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 28px;
  color: #fff;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,197,66,.28), transparent 70%);
}
.brand-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.brand-logo { max-height: 48px; width: auto; background: #fff; border-radius: 14px; padding: 8px 12px; }
.confirm-logo { margin: 0 auto 8px; }
.brand-badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.12); font-weight: 800; }
.powered { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: rgba(255,255,255,.72); }
.hero-kicker { margin: 0 0 10px; color: var(--brand-accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.hero-card h1 { margin: 0 0 14px; font-size: clamp(34px, 4vw, 54px); line-height: 1.02; color: #fff; max-width: 11ch; }
.hero-subtitle { margin: 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.7; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 24px; }
.hero-benefit { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.86); font-size: 14px; }
.benefit-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-accent); box-shadow: 0 0 0 6px rgba(244,197,66,.18); }
.hero-panel { position: relative; z-index: 1; display: grid; gap: 16px; }
.hero-panel-card, .hero-trust { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 24px; backdrop-filter: blur(10px); }
.eyebrow { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-accent); font-size: 12px; font-weight: 800; }
.step-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.step-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: flex-start; }
.step-list li span { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: rgba(244,197,66,.18); color: #fff; font-weight: 800; }
.step-list li strong { display: block; margin-bottom: 4px; }
.step-list li small { color: rgba(255,255,255,.72); line-height: 1.55; }
.hero-trust { display: grid; gap: 12px; }
.trust-badge { border-radius: 18px; padding: 14px 16px; background: rgba(255,255,255,.1); color: #fff; font-weight: 600; }
.btn {
  appearance: none;
  border: none;
  border-radius: 16px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--brand-accent); color: #1f3041; box-shadow: 0 14px 34px rgba(244,197,66,.30); }
.btn-secondary { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.full-width { width: 100%; }
.alert { margin: 18px 0; border-radius: 18px; padding: 14px 18px; background: #fff6d8; color: #745b02; border: 1px solid #f3df8b; box-shadow: var(--shadow); }
.process-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.process-step {
  background: rgba(255,255,255,.65);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.process-step span {
  width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center;
  background: #e9edf3; color: var(--heading); font-weight: 800;
}
.process-step.active { background: #fff; border-color: rgba(244,197,66,.75); }
.process-step.active span { background: var(--brand-accent); color: #253649; }
.content-grid { display: grid; gap: 24px; }
.two-col { grid-template-columns: 1.15fr .85fr; }
.order-flow-grid { grid-template-columns: 1fr; }
.panel { background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--shadow); backdrop-filter: blur(10px); border-radius: 28px; padding: 28px; }
.panel h2, .panel h3 { margin: 0 0 8px; color: var(--heading); }
.muted { color: var(--muted); }
.lookup-form, .submit-card, .return-form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-weight: 600; color: var(--heading); }
label span { font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 15px;
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(35,54,74,.35); box-shadow: 0 0 0 4px rgba(35,54,74,.08); }
textarea { min-height: 110px; resize: vertical; }
.support-list { display: grid; gap: 14px; margin: 18px 0; }
.support-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--border); }
.support-list.compact div:last-child, .support-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.support-list strong { color: var(--heading); }
.support-list span { color: var(--muted); text-align: right; }
.support-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.mini-note { margin-top: 18px; padding: 14px; border-radius: 18px; background: var(--panel-soft); color: var(--muted); font-size: 14px; line-height: 1.6; }
code { background: rgba(35,54,74,.08); padding: 2px 6px; border-radius: 8px; }
.order-header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.order-status-pill { background: rgba(244,197,66,.16); color: #5e4802; border: 1px solid rgba(244,197,66,.35); border-radius: 999px; padding: 10px 14px; font-weight: 800; white-space: nowrap; }
.return-layout { display: grid; grid-template-columns: 1.45fr .75fr; gap: 22px; align-items: start; }
.section-title-row { margin-bottom: 16px; }
.items-grid.enhanced { display: grid; gap: 18px; }
.item-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 20px; box-shadow: 0 12px 30px rgba(17, 24, 39, .05); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.item-card:hover { border-color: rgba(35,54,74,.18); transform: translateY(-1px); }
.item-card.selected { border-color: rgba(244,197,66,.95); box-shadow: 0 14px 35px rgba(244,197,66,.18); }
.item-card.disabled { opacity: .72; background: #fbfcfe; }
.item-top { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; }
.product-image { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 22px; background: linear-gradient(135deg, rgba(244,197,66,.28), rgba(255,255,255,1)); font-size: 34px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.item-info h3 { margin: 0 0 8px; font-size: 22px; color: var(--heading); }
.item-info p { margin: 0 0 10px; color: var(--muted); }
.category-chip { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #eef2f7; color: var(--brand-primary); font-size: 12px; font-weight: 700; }
.not-returnable { display: block; margin-top: 12px; color: #8f1f1f; font-weight: 700; }
.item-controls { display: grid; grid-template-columns: 160px 1fr 220px; gap: 12px; margin-top: 18px; }
.item-extra { display: grid; gap: 12px; margin-top: 14px; }
.reason-hints { display: flex; flex-wrap: wrap; gap: 10px; }
.reason-hint { padding: 8px 12px; border-radius: 999px; background: #eef3f8; color: #4a5d75; font-size: 13px; font-weight: 700; }
.summary-sidebar { display: grid; gap: 18px; position: sticky; top: 18px; }
.sidebar-card { border-radius: 24px; padding: 22px; }
.summary-list { display: grid; gap: 12px; margin-top: 14px; }
.summary-list div { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--border); }
.summary-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.summary-list span { color: var(--muted); }
.summary-list strong { color: var(--heading); }
.sidebar-note { margin-top: 14px; padding: 14px; border-radius: 18px; background: #f8fafc; color: var(--muted); line-height: 1.65; font-size: 14px; }
.portal-footer { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 26px; color: var(--muted); font-size: 14px; padding-bottom: 16px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.confirmation-panel { text-align: center; max-width: 760px; margin: 0 auto; }
.themed-confirmation { padding: 40px; }
.success-icon { display: grid; place-items: center; width: 86px; height: 86px; margin: 12px auto 18px; border-radius: 28px; background: rgba(244,197,66,.2); color: var(--brand-primary); font-size: 44px; font-weight: 900; }
@media (max-width: 1080px) {
  .hero-card, .two-col, .return-layout { grid-template-columns: 1fr; }
  .summary-sidebar { position: static; }
}
@media (max-width: 820px) {
  .portal-shell { width: min(100% - 20px, 1240px); padding-top: 10px; }
  .hero-card { padding: 24px; border-radius: 26px; }
  .hero-card h1 { max-width: none; }
  .process-strip { grid-template-columns: 1fr; }
  .order-header, .portal-footer, .support-list div { flex-direction: column; }
  .item-top, .item-controls { grid-template-columns: 1fr; }
  .product-image { width: 100%; height: 160px; }
  .brand-row { flex-wrap: wrap; }
}
.payment-panel { max-width: 780px; }
.payment-summary { display: grid; gap: 12px; margin: 22px 0; text-align: left; }
.payment-summary div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.payment-summary div:last-child { border-bottom: 0; }
.payment-summary span { color: var(--muted); }
.payment-summary strong { color: var(--heading); }

.language-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}
.language-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(17, 24, 39, .06);
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
}
.language-button:hover { text-decoration: none; transform: translateY(-1px); }
.language-button.active { background: var(--brand-accent); color: #1f3041; border-color: rgba(244,197,66,.9); }
.language-button .flag { font-size: 17px; line-height: 1; }
@media (max-width: 820px) {
  .language-switcher { justify-content: flex-start; }
}

.warranty-panel { max-width: 1120px; margin: 0 auto; }
.warranty-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.warranty-heading h1 { margin: 0 0 8px; color: var(--heading); font-size: clamp(28px, 4vw, 42px); }
.warranty-layout { display: grid; grid-template-columns: 1.35fr .75fr; gap: 22px; align-items: start; }
.warranty-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.warranty-form .span-2 { grid-column: span 2; }
.upload-box { padding: 18px; border-radius: 20px; border: 1px dashed var(--border); background: #f8fafc; }
.upload-box small { color: var(--muted); line-height: 1.6; }
.existing-files { display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: #f8fafc; }
.existing-files a { font-weight: 700; }
.warranty-terms { padding: 14px; border-radius: 18px; background: #fff8df; }
.warranty-side { display: grid; gap: 18px; position: sticky; top: 18px; }
.warranty-item-mini { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.warranty-item-mini:last-child { border-bottom: 0; }
.warranty-item-mini span { color: var(--muted); font-size: 13px; }
@media (max-width: 980px) {
  .warranty-layout, .warranty-form { grid-template-columns: 1fr; }
  .warranty-form .span-2 { grid-column: auto; }
  .warranty-side { position: static; }
  .warranty-heading { align-items: flex-start; flex-direction: column; }
}

.combination-chip { margin-left: 8px; background: rgba(132, 204, 22, .18); color: #3f6212; }
.combination-details { margin-top: 16px; border: 1px solid var(--border); border-radius: 18px; background: #fbfcfe; padding: 14px 16px; }
.combination-details summary { cursor: pointer; font-weight: 800; color: var(--heading); }
.combination-note { margin: 10px 0 12px; color: var(--muted); line-height: 1.55; }
.combination-components { display: grid; gap: 10px; }
.combination-component { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.combination-component strong { display: block; color: var(--heading); }
.combination-component span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.component-qty { white-space: nowrap; color: var(--heading); font-weight: 700; }
.inline-alert { margin: 16px 0 0; box-shadow: none; }
.warranty-only-alert { background: #fff8df; border-color: rgba(244, 197, 66, .55); color: #725600; }
