:root {
  --bg: #f6f7f9;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-soft: #f1f4f8;
  --line: #e4e8ee;
  --line-strong: #d7dde6;
  --text: #121826;
  --muted: #5b6473;
  --muted-soft: #738093;
  --accent: #0e6efd;
  --accent-dark: #0b57d0;
  --accent-soft: rgba(14, 110, 253, 0.08);
  --danger: #d14343;
  --danger-soft: #fff1f1;
  --success: #13795b;
  --success-soft: #edf9f4;
  --shadow: 0 20px 60px rgba(18, 24, 38, 0.08);
  --shadow-soft: 0 8px 24px rgba(18, 24, 38, 0.06);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 110, 253, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(18, 24, 38, 0.05), transparent 28%),
    linear-gradient(180deg, #fcfcfd 0%, #f4f6f9 100%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 28px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-mark {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.main-content {
  display: grid;
  gap: 28px;
}

.hero-panel {
  display: grid;
  gap: 28px;
  padding: 32px;
  border: 1px solid rgba(228, 232, 238, 0.8);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-description {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero-pill,
.summary-points span,
.checkout-trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.search-shell {
  width: min(820px, 100%);
  margin: 0 auto;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(228, 232, 238, 0.9);
  border-radius: 999px;
  background: var(--surface-strong);
  box-shadow: 0 14px 40px rgba(18, 24, 38, 0.08);
}

.search-form:focus-within {
  border-color: rgba(14, 110, 253, 0.36);
  box-shadow:
    0 14px 40px rgba(18, 24, 38, 0.08),
    0 0 0 4px rgba(14, 110, 253, 0.08);
}

#mainInput {
  width: 100%;
  min-width: 0;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
  outline: none;
}

#mainInput::placeholder {
  color: #8b95a5;
}

.helper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.input-help {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.step-badge {
  margin-bottom: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.assistant-card,
.current-preview,
.panel,
.checkout-section,
.success-state {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.assistant-card {
  margin-top: 18px;
  padding: 18px 20px;
}

.assistant-label {
  margin-bottom: 6px;
  color: var(--muted-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assistant-message {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.input-error {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.current-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.current-preview {
  margin-top: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.current-preview p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.current-preview strong {
  color: var(--text);
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.panel {
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.summary-panel {
  position: sticky;
  top: 18px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.order-panel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-header-tight {
  margin-bottom: 20px;
}

h2 {
  margin-bottom: 0;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.order-count {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.empty-state {
  padding: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  text-align: center;
}

.empty-title {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
}

.empty-copy {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cart-list {
  display: grid;
  gap: 14px;
}

.cart-item {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #fbfcfd);
}

.cart-item-header,
.cart-item-footer,
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-item-title {
  margin-bottom: 6px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.cart-item-type,
.cart-item-raw {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-item-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(180px, 1.35fr) minmax(96px, 0.5fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.cart-item-stat {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.cart-item-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cart-item-stat strong {
  font-size: 0.98rem;
}

.cart-item-input,
.cart-item-select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.cart-item-input {
  padding: 10px 12px;
  font-weight: 700;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

.cart-item-select {
  padding: 10px 10px;
  font-weight: 600;
  min-width: 0;
}

.cart-item-weight-edit {
  display: inline-grid;
  grid-template-columns: minmax(88px, 108px) 84px;
  gap: 8px;
  align-items: center;
  justify-content: start;
  width: auto;
  max-width: 100%;
}

.cart-item-stat--weight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cart-item-stat--quantity {
  max-width: 118px;
}

.cart-item-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.weight-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.coupon-box {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.coupon-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.coupon-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.coupon-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.coupon-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.coupon-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  text-transform: uppercase;
}

.coupon-form input:focus {
  outline: none;
  border-color: rgba(14, 110, 253, 0.42);
  box-shadow: 0 0 0 4px rgba(14, 110, 253, 0.08);
}

.coupon-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.coupon-message.is-success {
  color: var(--success);
  font-weight: 600;
}

.coupon-message.is-error {
  color: var(--danger);
  font-weight: 600;
}

.threshold-card {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.threshold-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.threshold-label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.threshold-track {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9edf4;
}

.threshold-bar {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1aa36f, #43c58d);
  transition: width 0.25s ease, background 0.25s ease;
}

.threshold-card.is-over .threshold-bar {
  background: linear-gradient(90deg, #2e6dff, #0b57d0);
}

.threshold-message {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}


.shipment-options {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.shipment-options-header {
  margin-bottom: 12px;
}

.shipment-options-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipment-options-intro {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.shipment-options-grid {
  display: grid;
  gap: 12px;
}

.shipment-option-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(220, 226, 236, 0.95);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.shipment-option-card:hover {
  transform: translateY(-1px);
  border-color: rgba(46, 109, 255, 0.22);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.shipment-option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.shipment-option-card.is-selected {
  border-color: rgba(46, 109, 255, 0.38);
  box-shadow: 0 16px 32px rgba(46, 109, 255, 0.08);
}

.shipment-option-card.is-recommended {
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(255, 255, 255, 1));
}

.shipment-option-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.shipment-option-top strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.shipment-option-top p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.shipment-option-badge {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(26, 163, 111, 0.12);
  color: #11744f;
  font-size: 0.75rem;
  font-weight: 700;
}

.shipment-option-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.shipment-option-total span {
  font-size: 1.65rem;
  font-weight: 800;
}

.shipment-option-total small {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.shipment-option-meta,
.shipment-option-note,
.shipment-options-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.shipment-option-note {
  color: var(--text);
  font-weight: 600;
}

.weight-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.weight-summary-row strong {
  color: var(--text);
  font-size: 1rem;
}

.cart-item-total {
  font-size: 1rem;
  font-weight: 700;
}

.totals-box {
  display: grid;
  gap: 14px;
}

.summary-callout {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.summary-lead {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.6;
}

.summary-points,
.checkout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.total-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.total-row strong {
  color: var(--text);
}

.total-row-grand {
  padding-top: 18px;
  border-bottom: 0;
  color: var(--text);
  font-size: 1.06rem;
}

.total-row-discount {
  color: var(--success);
}

.total-row-discount strong {
  color: var(--success);
}

.total-row-grand strong {
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.disclaimer {
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.checkout-section,
.success-state {
  margin-top: 18px;
  padding: 20px;
}

.checkout-intro h3,
.success-state h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.checkout-intro p,
.success-state p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.success-meta {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--success);
}

.success-copy {
  margin-top: 4px;
}

.order-code-box {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #cfe7dc;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fcfa, #eef8f3);
}

.order-code-box span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-code-box strong {
  color: var(--text);
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.whatsapp-label {
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.checkout-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.checkout-trust {
  margin-top: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.whatsapp-summary {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.whatsapp-summary:focus {
  border-color: rgba(14, 110, 253, 0.42);
  box-shadow: 0 0 0 4px rgba(14, 110, 253, 0.08);
}

.checkout-error {
  margin: 0;
}

.success-state {
  background: linear-gradient(180deg, #ffffff, #f7fcfa);
  border-color: #d8efe5;
}

.success-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.84rem;
  font-weight: 700;
}

.whatsapp-summary {
  margin-top: 16px;
}

.whatsapp-summary {
  min-height: 140px;
  resize: vertical;
  color: var(--muted);
}

.success-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.email-help-message {
  margin-top: 12px;
  color: var(--success);
  font-size: 0.92rem;
  font-weight: 600;
}

.inline-link {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 0.55;
  box-shadow: none;
}

.button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(14, 110, 253, 0.12);
}

.button-primary,
.button-cta {
  color: #ffffff;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  box-shadow: 0 14px 24px rgba(11, 87, 208, 0.2);
}

.button-cta {
  width: 100%;
  padding: 15px 18px;
  font-size: 1rem;
}

.button-ghost {
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
}

.button-soft {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(14, 110, 253, 0.1);
}

.button-danger {
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid rgba(209, 67, 67, 0.14);
}

.button-small {
  padding: 11px 15px;
  font-size: 0.92rem;
}

.button-full {
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .site-header {
    align-items: stretch;
    flex-direction: column;
    padding-bottom: 22px;
  }

  .hero-panel,
  .panel {
    padding: 22px 18px;
    border-radius: 26px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .search-form {
    grid-template-columns: 1fr;
    border-radius: 26px;
    padding: 10px;
  }

  .helper-row,
  .panel-header,
  .cart-item-header,
  .cart-item-footer,
  .total-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .coupon-form {
    grid-template-columns: 1fr;
  }

  .step-badge {
    white-space: normal;
  }

  .order-panel-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button-primary,
  .button-ghost,
  .button-soft,
  .button-danger {
    width: 100%;
  }

  .current-actions {
    flex-direction: column;
  }

  .hero-pills,
  .summary-points,
  .checkout-trust {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .brand-subtitle,
  .hero-description,
  .assistant-message,
  .empty-copy,
  .checkout-intro p,
  .success-state p {
    font-size: 0.95rem;
  }

  .cart-item-grid {
    grid-template-columns: 1fr;
  }

  #mainInput {
    font-size: 1rem;
  }
}


.exchange-box {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.exchange-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.exchange-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exchange-copy,
.exchange-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.exchange-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.exchange-rate-field {
  display: grid;
  gap: 8px;
}

.exchange-rate-field span {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}

.exchange-rate-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
}

.exchange-rate-display {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
}

.exchange-rate-display span {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.exchange-rate-display strong {
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.exchange-rate-display small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.currency-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.total-copy {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.total-row > div {
  min-width: 0;
}

.cart-item-total-group {
  display: grid;
  justify-items: end;
  gap: 2px;
}

.cart-item-total-pen {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.recent-interest {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.recent-interest a {
  font-weight: 600;
}


.recent-searches {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(223, 229, 239, 0.92);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.92));
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.recent-searches-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recent-searches-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(to right, transparent 0, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 7%, black 93%, transparent 100%);
}

.recent-searches-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: recent-searches-loop 52s linear infinite;
  will-change: transform;
}

.recent-searches-marquee:hover .recent-searches-track {
  animation-play-state: paused;
}

.recent-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(224, 230, 240, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(18, 24, 38, 0.05);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.recent-search-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(18, 24, 38, 0.08);
  border-color: rgba(14, 110, 253, 0.22);
}

.recent-search-chip span:first-child {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-search-chip strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(14, 110, 253, 0.14), rgba(14, 110, 253, 0.08));
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes recent-searches-loop {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}
