@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-alt: #f4f4f5;
  --text: #18181b;
  --text-muted: #71717a;
  --border: #e4e4e7;
  --border-strong: #d4d4d8;
  --accent: #18181b;
  --accent-text: #ffffff;
  --brand: #0f766e;
  --brand-soft: #f0fdfa;
  --danger: #b91c1c;
  --danger-soft: #fef2f2;
  --warning: #b45309;
  --warning-soft: #fffbeb;
  --radius: 8px;
  --radius-lg: 12px;
}

html.dark {
  --bg: #0f1113;
  --surface: #16191d;
  --surface-alt: #1e2227;
  --text: #f4f4f5;
  --text-muted: #9ca3af;
  --border: #272b30;
  --border-strong: #373c42;
  --accent: #f4f4f5;
  --accent-text: #111315;
  --brand: #2dd4bf;
  --brand-soft: #132a28;
  --danger: #f87171;
  --danger-soft: #2c1616;
  --warning: #fbbf24;
  --warning-soft: #292112;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

/* Warning Top Bar */
.nicotine-bar {
  background-color: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.nicotine-bar strong {
  color: var(--text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #11161c;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  height: 38px;
  min-width: 38px;
  padding: 0 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  background-color: var(--surface-alt);
}

.theme-toggle-btn {
  gap: 0;
}

.icon-btn.theme-toggle-btn {
  width: 38px;
  min-width: 38px;
  padding: 0;
}

.theme-toggle-btn svg {
  display: block;
  width: 18px;
  height: 18px;
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.cart-badge {
  background-color: var(--accent);
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 99px;
}

/* Minimal Retail Hero */
.hero-section {
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
  padding: 40px 0 24px;
}

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: clamp(36px, 6vw, 80px);
  }

  .hero-section {
    padding: 72px 0 64px;
  }
}

.hero-copy {
  max-width: 600px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 12px;
}

.hero-title {
  max-width: 18ch;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  max-width: 46ch;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-cta-group .btn {
  height: 46px;
  padding: 0 20px;
  border-radius: 99px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-cta-group .hero-primary {
  background-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.18);
}

html.dark .hero-cta-group .hero-primary {
  color: #06211f;
  box-shadow: 0 4px 16px rgba(45, 212, 191, 0.18);
}

.hero-cta-group .hero-whatsapp-btn {
  color: #15803d;
  border-color: rgba(21, 128, 61, 0.36);
  background-color: var(--surface);
}

.hero-cta-group .hero-whatsapp-btn:hover {
  border-color: #15803d;
  background-color: var(--surface-alt);
}

.hero-whatsapp-btn svg {
  width: 17px;
  height: 17px;
}

.hero-mini-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.hero-mini-badges li {
  flex: 1 1 calc(50% - 5px);
  min-width: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
  font-size: 11px;
}

.hero-mini-badges li > svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--brand);
  filter: drop-shadow(0 1px 5px rgba(15, 118, 110, 0.16));
}

.hero-mini-badges li > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hero-mini-badges strong {
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-mini-badges small {
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.3;
}

@media (max-width: 479px) {
  .hero-title {
    font-size: clamp(30px, 8vw, 36px);
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-mini-badges {
    gap: 8px;
  }

  .hero-mini-badges li {
    flex-basis: calc(50% - 4px);
    min-height: 60px;
    gap: 7px;
    padding: 8px 9px;
  }

  .hero-mini-badges li > svg {
    width: 17px;
    height: 17px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-outline {
  border: 1px solid var(--border-strong);
  background-color: var(--surface);
  color: var(--text);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--surface-alt);
}

.btn-whatsapp {
  background-color: #15803d;
  color: #ffffff;
  font-weight: 600;
}

.btn-whatsapp:hover:not(:disabled) {
  background-color: #166534;
}

.btn-danger {
  background-color: var(--danger-soft);
  color: var(--danger);
  border: 1px solid transparent;
}

.btn-danger:hover {
  border-color: var(--danger);
}

/* Catalog Controls */
.catalog-section {
  padding: 40px 0 64px;
}

.toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.pill.active {
  background-color: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.search-sort-group {
  display: flex;
  gap: 10px;
}

.input, .select, .textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--surface);
  font-size: 14px;
  outline: none;
}

.textarea {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
}

.input:focus, .select:focus, .textarea:focus {
  border-color: var(--text);
}

.payment-number-box {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand-soft);
}

.payment-number-label {
  font-size: 13px;
  font-weight: 600;
}

.payment-number-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}

.payment-number {
  font-size: 16px;
  user-select: text;
}

.payment-copy-btn {
  padding: 4px 9px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  background: var(--surface);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.payment-copy-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.payment-number-note,
.payment-number-requirement {
  font-size: 12px;
  color: var(--text-muted);
}

.payment-number-requirement {
  margin-top: 4px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

.product-card:hover {
  border-color: var(--border-strong);
}

.card-media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--surface-alt);
  overflow: hidden;
  cursor: pointer;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card-title {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  cursor: pointer;
}

.card-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-price {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.card-price small {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
}

/* Modals & Drawers */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-box {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
}

.modal-sm {
  max-width: 440px;
}

.drawer-overlay {
  justify-content: flex-end;
  padding: 0;
}

.drawer-box {
  background-color: var(--surface);
  border-left: 1px solid var(--border);
  width: 100%;
  max-width: 440px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  background-color: var(--surface-alt);
}

/* Cart Items */
.cart-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  background-color: var(--surface-alt);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-top: 6px;
}

.qty-controls button {
  width: 26px;
  height: 26px;
  font-weight: 600;
}

.qty-controls span {
  min-width: 26px;
  text-align: center;
  font-size: 13px;
}

/* Product Detail Page */
.product-page-section {
  min-height: 60vh;
  padding: 26px 0 64px;
}

.pd-status {
  padding: 48px 0;
  color: var(--text-muted);
  text-align: center;
}

.pd-not-found {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 72px 16px;
  text-align: center;
}

.pd-not-found h1 {
  font-size: clamp(24px, 4vw, 32px);
}

.pd-not-found p {
  max-width: 460px;
  color: var(--text-muted);
  font-size: 14px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 12px;
}

.breadcrumb a {
  color: var(--brand);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

.product-detail-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 768px) {
  .product-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 64px);
  }
}

.pd-gallery,
.pd-purchase {
  min-width: 0;
}

.pd-main-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
}

.pd-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-thumbs {
  display: flex;
  gap: 9px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 2px 1px 5px;
}

.pd-thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.pd-thumb.active {
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-purchase .eyebrow {
  margin-bottom: 8px;
}

.pd-title {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.pd-subtitle {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.pd-price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0;
}

.pd-price {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pd-old-price {
  color: var(--text-muted);
  font-size: 15px;
}

.pd-section-label {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pd-highlights-wrap,
.pd-variant-wrap {
  margin-top: 18px;
}

.pd-highlights {
  padding-left: 19px;
  display: grid;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
}

.pd-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.pd-variant-btn {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
}

.pd-variant-btn:hover,
.pd-variant-btn.selected {
  border-color: var(--brand);
  background: var(--surface-alt);
}

.pd-variant-btn.selected {
  box-shadow: 0 0 0 1px var(--brand);
}

.pd-variant-btn strong {
  color: var(--text);
  font-size: 12px;
}

.pd-variant-btn span {
  color: var(--text-muted);
  font-size: 11px;
}

.pd-availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.pd-availability-label {
  color: var(--text-muted);
}

#pd-stock {
  color: var(--brand);
  text-align: right;
}

#pd-stock.out-of-stock {
  color: var(--danger);
}

.pd-purchase-controls {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 520px) {
  .pd-purchase-controls {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }
}

.qty-box {
  width: max-content;
  height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.qty-box button {
  width: 38px;
  height: 100%;
  font-size: 18px;
}

.qty-box input {
  width: 42px;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  appearance: textfield;
  -moz-appearance: textfield;
}

.qty-box input::-webkit-inner-spin-button,
.qty-box input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.pd-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.pd-action-row .btn {
  padding: 0 12px;
}

.pd-action-row .btn-primary {
  background: var(--brand);
  color: #ffffff;
}

html.dark .pd-action-row .btn-primary {
  color: #06211f;
}

.pd-meta-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
  font-size: 12px;
}

.pd-meta-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.pd-meta-list dt {
  color: var(--text-muted);
}

.pd-meta-list dd {
  text-align: right;
}

.product-tabs {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pd-tab-list {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
}

.pd-tab {
  flex: 0 0 auto;
  padding: 16px 2px 13px;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.pd-tab.active {
  border-color: var(--brand);
  color: var(--text);
}

.pd-tab-panel {
  padding: 22px 2px;
}

.pd-description {
  max-width: 820px;
  color: var(--text-muted);
  line-height: 1.75;
}

.pd-description h2 {
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 26px 0 10px;
}

.pd-description h2:first-child {
  margin-top: 0;
}

.pd-description h3 {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin: 20px 0 8px;
}

.pd-description h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 16px 0 6px;
}

.pd-description p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.pd-description-list,
.pd-description-ol {
  color: var(--text-muted);
  margin: 8px 0 14px;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

.specs-table {
  width: 100%;
  max-width: 820px;
  border-collapse: collapse;
  font-size: 13px;
}

.specs-table th,
.specs-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.specs-table th {
  width: 34%;
  color: var(--text-muted);
  font-weight: 500;
}

.pd-review-summary h2 {
  font-size: 17px;
  margin-bottom: 6px;
}

.pd-review-summary p {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 13px;
}

.related-products-section {
  margin-top: 54px;
}

.related-products-section > h2 {
  margin-bottom: 18px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.product-page-section .card-title {
  display: block;
  color: var(--text);
}

.product-card-select {
  height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.pd-empty-related {
  grid-column: 1 / -1;
  color: var(--text-muted);
  font-size: 13px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
  padding: 40px 0 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.warning-box {
  margin-top: 20px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background-color: var(--surface-alt);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--text-muted);
}

.terms-policy {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface-alt);
}

.terms-policy h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
}

.terms-policy ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.checkout-agreement {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.checkout-agreement input {
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--brand);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background-color: var(--accent);
  color: var(--accent-text);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
}

/* Admin Specific Styles */
.admin-layout {
  display: grid;
  min-height: 100vh;
}

@media (min-width: 900px) {
  .admin-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

.admin-sidebar {
  background-color: var(--surface);
  border-right: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-nav button {
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.admin-nav button:hover {
  background-color: var(--surface-alt);
  color: var(--text);
}

.admin-nav button.active {
  background-color: var(--surface-alt);
  color: var(--text);
  font-weight: 600;
}

.admin-main {
  padding: 28px;
  max-width: 1200px;
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.stat-card span {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.stat-card strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.admin-image-preview-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.admin-image-preview {
  display: block;
  max-width: 240px;
  max-height: 180px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface-alt);
  object-fit: contain;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.status-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-active {
  background-color: var(--brand-soft);
  color: var(--brand);
}

.status-hidden {
  background-color: var(--warning-soft);
  color: var(--warning);
}

.form-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-muted);
}

.variant-row-editor {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

code.inline-code {
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

/* =========================================
   Testimonials Auto-Scroll Section
   ========================================= */
.testimonials-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  background-color: var(--bg);
}

.testimonials-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.testimonials-title {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.testimonials-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  height: 540px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.review-col-track {
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: transform;
}

.review-col-up {
  animation: scrollReviewsUp 32s linear infinite;
}

.review-col-down {
  animation: scrollReviewsDown 36s linear infinite;
}

.testimonials-grid:hover .review-col-track {
  animation-play-state: paused;
}

@keyframes scrollReviewsUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes scrollReviewsDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.review-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.review-meta span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.review-badge {
  display: inline-block;
  margin-top: 3px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  background-color: var(--brand-soft);
  color: var(--brand);
}

pre.code-block {
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.6;
}

/* =========================================
   Loyalty Levels Section (10 Tiers)
   ========================================= */
.loyalty-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  background-color: var(--bg);
}

.loyalty-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.loyalty-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 12px;
}

.loyalty-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.loyalty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (min-width: 768px) {
  .loyalty-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .loyalty-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.level-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.level-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.level-ring-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
}

.level-crown {
  position: absolute;
  top: -15px;
  width: 28px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 204, 21, 0.72);
  border-radius: 9px 9px 11px 11px;
  background: linear-gradient(145deg, #854d0e, #facc15 52%, #a16207);
  color: #fff3bd;
  box-shadow: 0 0 14px rgba(234, 179, 8, 0.42), inset 0 1px rgba(255, 255, 255, 0.65);
}

.level-crown svg {
  width: 16px;
  height: 16px;
}

.level-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: var(--ring-bg, var(--border-strong));
  box-shadow: 0 0 18px var(--ring-glow, transparent);
  display: grid;
  place-items: center;
}

.level-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--surface);
  display: grid;
  place-items: center;
  color: var(--text-muted);
}

.level-avatar-inner svg {
  width: 28px;
  height: 28px;
}

.level-num-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--badge-bg, #52525b);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
}

.level-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--tier-color, var(--text));
  margin-bottom: 3px;
}

.level-spend {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.level-perks {
  list-style: none;
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.level-perks li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* =========================================
   Ready to Get Started (Orbital CTA Section)
   ========================================= */
.cta-orbit-section {
  position: relative;
  isolation: isolate;
  padding: 76px 0 68px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  --orbit-shadow-rgb: 24, 24, 27;
  --orbit-glass-inset: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  text-align: center;
}

html.dark .cta-orbit-section {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(13, 148, 136, 0.16), transparent 46%),
    linear-gradient(180deg, #11161c 0%, #090d12 100%);
  color: #f8fafc;
  --orbit-shadow-rgb: 0, 0, 0;
  --orbit-glass-inset: rgba(255, 255, 255, 0.1);
}

.cta-orbit-section .container {
  position: relative;
  z-index: 1;
}

.orbit-visual-wrap {
  position: relative;
  max-width: 720px;
  height: 270px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  isolation: isolate;
  mask-image: linear-gradient(to bottom, black 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 72%, transparent 100%);
}

.orbit-visual-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 4px;
  left: 50%;
  width: min(560px, 100%);
  height: 245px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 20% 45%, rgba(45, 212, 191, 0.17), transparent 34%),
    radial-gradient(ellipse at 80% 42%, rgba(59, 130, 246, 0.16), transparent 36%),
    radial-gradient(ellipse at 50% 70%, rgba(148, 163, 184, 0.09), transparent 48%);
  filter: blur(18px);
  pointer-events: none;
}

html.dark .orbit-visual-wrap::before {
  background:
    radial-gradient(ellipse at 20% 45%, rgba(45, 212, 191, 0.2), transparent 34%),
    radial-gradient(ellipse at 80% 42%, rgba(59, 130, 246, 0.2), transparent 36%),
    radial-gradient(ellipse at 50% 70%, rgba(148, 163, 184, 0.12), transparent 48%);
}

.orbit-arc {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: 0 0 24px rgba(15, 118, 110, 0.04), inset 0 0 24px rgba(37, 99, 235, 0.025);
  pointer-events: none;
}

.orbit-arc-outer {
  top: 22px;
  width: 640px;
  height: 640px;
  border-color: var(--border-strong);
}

.orbit-arc-inner {
  top: 86px;
  width: 470px;
  height: 470px;
  border-color: rgba(15, 118, 110, 0.18);
}

html.dark .orbit-arc {
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: 0 0 24px rgba(45, 212, 191, 0.06), inset 0 0 24px rgba(96, 165, 250, 0.035);
}

html.dark .orbit-arc-outer {
  border-color: rgba(148, 163, 184, 0.28);
}

html.dark .orbit-arc-inner {
  border-color: rgba(45, 212, 191, 0.24);
}

.orbit-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(var(--pill-rgb, 148, 163, 184), 0.42);
  box-shadow: 0 5px 18px rgba(var(--orbit-shadow-rgb), 0.07), inset 0 1px var(--orbit-glass-inset);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  white-space: nowrap;
  z-index: 2;
  animation: orbitPillGlow 4s ease-in-out infinite;
}

html.dark .orbit-pill {
  color: #e2e8f0;
  background: linear-gradient(145deg, rgba(30, 38, 47, 0.92), rgba(15, 20, 27, 0.88));
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.08);
}

.orbit-pill-icon {
  display: block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.pill-top {
  --pill-rgb: 100, 116, 139;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.pill-left {
  --pill-rgb: 21, 128, 61;
  top: 105px;
  left: 2%;
  color: #166534;
}

.pill-hot {
  --pill-rgb: 194, 65, 12;
  top: 108px;
  left: 26%;
  color: #c2410c;
}

.pill-rating {
  --pill-rgb: 161, 98, 7;
  top: 44px;
  right: 22%;
  color: #a16207;
}

.pill-chat {
  --pill-rgb: 37, 99, 235;
  top: 165px;
  right: 4%;
  color: #1d4ed8;
}

.orbit-icon {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--icon-accent, var(--text-muted));
  background: var(--surface);
  border: 1px solid rgba(var(--icon-rgb, 100, 116, 139), 0.38);
  box-shadow:
    0 0 18px rgba(var(--icon-rgb, 100, 116, 139), 0.1),
    inset 0 1px var(--orbit-glass-inset);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  transition: filter 0.25s ease, box-shadow 0.25s ease;
}

.orbit-icon:hover {
  filter: brightness(1.15);
  box-shadow:
    0 0 30px rgba(var(--icon-rgb, 148, 163, 184), 0.34),
    inset 0 1px rgba(255, 255, 255, 0.24);
}

.orbit-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-1 {
  --icon-accent: #0f766e;
  --icon-rgb: 15, 118, 110;
  top: 34px;
  left: 25%;
}

.icon-2 {
  --icon-accent: #2563eb;
  --icon-rgb: 37, 99, 235;
  top: 68px;
  left: 48%;
  transform: translateX(-50%);
}

.icon-3 {
  --icon-accent: #0891b2;
  --icon-rgb: 8, 145, 178;
  top: 96px;
  right: 24%;
}

.icon-4 {
  --icon-accent: #64748b;
  --icon-rgb: 100, 116, 139;
  top: 158px;
  left: 12%;
  border-radius: 50%;
}

html.dark .orbit-icon {
  background: rgba(30, 34, 39, 0.7);
  border-color: rgba(var(--icon-rgb), 0.68);
  box-shadow:
    0 0 22px rgba(var(--icon-rgb), 0.2),
    inset 0 1px rgba(255, 255, 255, 0.18);
}

html.dark .icon-1 {
  --icon-accent: #5eead4;
  --icon-rgb: 45, 212, 191;
}

html.dark .icon-2 {
  --icon-accent: #93c5fd;
  --icon-rgb: 59, 130, 246;
}

html.dark .icon-3 {
  --icon-accent: #67e8f9;
  --icon-rgb: 34, 211, 238;
}

html.dark .icon-4 {
  --icon-accent: #cbd5e1;
  --icon-rgb: 148, 163, 184;
}

html.dark .pill-top {
  --pill-rgb: 148, 163, 184;
}

html.dark .pill-left {
  --pill-rgb: 34, 197, 94;
  color: #bbf7d0;
}

html.dark .pill-hot {
  --pill-rgb: 249, 115, 22;
  color: #fed7aa;
}

html.dark .pill-rating {
  --pill-rgb: 250, 204, 21;
  color: #fde68a;
}

html.dark .pill-chat {
  --pill-rgb: 96, 165, 250;
  color: #bfdbfe;
}

.orbit-stats-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 44px;
  width: 100%;
  max-width: 540px;
  padding-bottom: 24px;
}

.orbit-stat strong {
  display: block;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.orbit-stat span {
  font-size: 12px;
  color: var(--text-muted);
}

.orbit-stat .orbit-stat-star {
  width: 17px;
  height: 17px;
  color: #facc15;
  vertical-align: 2px;
}

html.dark .orbit-stat strong,
html.dark .cta-orbit-title {
  color: #f8fafc;
}

html.dark .orbit-stat span {
  color: #94a3b8;
}

.cta-orbit-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 22px;
}

.cta-orbit-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cta-orbit-buttons .btn {
  border-radius: 99px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cta-orbit-buttons .btn:hover {
  transform: translateY(-2px);
}

.cta-orbit-section .btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 2px 8px rgba(var(--orbit-shadow-rgb), 0.12);
}

.cta-orbit-section .btn-primary:hover {
  box-shadow: 0 4px 14px rgba(var(--orbit-shadow-rgb), 0.18);
}

.cta-orbit-section .btn-outline {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text);
}

.cta-orbit-section .btn-outline:hover {
  border-color: var(--brand);
  background: var(--surface-alt);
  box-shadow: 0 0 14px rgba(15, 118, 110, 0.12);
}

html.dark .cta-orbit-section .btn-primary {
  background: linear-gradient(135deg, #2dd4bf, #0f9f91);
  color: #06211f;
  box-shadow: 0 0 22px rgba(45, 212, 191, 0.22);
}

html.dark .cta-orbit-section .btn-primary:hover {
  box-shadow: 0 0 30px rgba(45, 212, 191, 0.38);
}

html.dark .cta-orbit-section .btn-outline {
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(18, 24, 31, 0.68);
  color: #e2e8f0;
}

html.dark .cta-orbit-section .btn-outline:hover {
  border-color: rgba(96, 165, 250, 0.72);
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.18);
}

.orbit-whatsapp-icon {
  width: 17px;
  height: 17px;
}

@keyframes orbitPillGlow {
  0%, 100% {
    box-shadow: 0 5px 18px rgba(var(--orbit-shadow-rgb), 0.07), 0 0 8px rgba(var(--pill-rgb), 0.08), inset 0 1px var(--orbit-glass-inset);
  }
  50% {
    box-shadow: 0 5px 18px rgba(var(--orbit-shadow-rgb), 0.07), 0 0 18px rgba(var(--pill-rgb), 0.2), inset 0 1px var(--orbit-glass-inset);
  }
}

@media (max-width: 639px) {
  .orbit-arc-outer { width: 420px; height: 420px; }
  .orbit-arc-inner { width: 310px; height: 310px; }
  .pill-left, .pill-chat, .icon-4 { display: none; }
  .pill-hot { left: 6%; top: 95px; }
  .pill-rating { right: 8%; top: 55px; }
  .icon-1 { left: 16%; top: 45px; }
  .icon-3 { right: 16%; top: 105px; }

  .orbit-stats-row {
    gap: 14px;
  }

  .orbit-stat strong {
    font-size: clamp(22px, 6vw, 30px);
  }

  .orbit-stat span {
    font-size: 10px;
  }

  .orbit-pill {
    padding: 6px 10px;
    font-size: 10px;
  }

  .orbit-pill-icon {
    width: 14px;
    height: 14px;
  }

  .pill-top {
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cta-orbit-buttons {
    gap: 8px;
  }
}

@media (max-width: 380px) {
  .orbit-stats-row {
    gap: 6px;
  }

  .orbit-stat span {
    font-size: 9px;
  }

  .pill-hot {
    left: 2%;
  }

  .pill-rating {
    right: 2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-pill {
    animation: none;
  }

  .orbit-icon,
  .cta-orbit-buttons .btn {
    transition: none;
  }
}

/* =========================================
   AI Chatbot Widget
   ========================================= */
.gy-chat-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 75;
  height: 48px;
  padding: 0 18px;
  border-radius: 99px;
  background-color: var(--brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

html.dark .gy-chat-launcher {
  color: #06211f;
}

.gy-chat-launcher:hover {
  transform: translateY(-2px);
}

.gy-chat-launcher svg {
  width: 19px;
  height: 19px;
}

.gy-chat-window {
  position: fixed;
  right: 20px;
  bottom: 78px;
  z-index: 80;
  width: min(390px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 110px));
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gy-chat-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background-color: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gy-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gy-chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.gy-chat-header-info strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.gy-chat-header-info small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.gy-chat-close {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
}

.gy-chat-close:hover {
  background-color: var(--surface);
  color: var(--text);
}

.gy-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gy-msg {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 88%;
}

.gy-msg-user {
  align-self: flex-end;
  align-items: flex-end;
}

.gy-msg-bot {
  align-self: flex-start;
  align-items: flex-start;
}

.gy-msg-bubble {
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.gy-msg-user .gy-msg-bubble {
  background-color: var(--brand);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

html.dark .gy-msg-user .gy-msg-bubble {
  color: #06211f;
  font-weight: 500;
}

.gy-msg-bot .gy-msg-bubble {
  background-color: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.gy-msg-bubble code {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
}

.gy-chat-products {
  display: grid;
  gap: 8px;
  width: 100%;
}

.gy-chat-product-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
  transition: border-color 0.15s ease;
}

.gy-chat-product-card:hover {
  border-color: var(--brand);
}

.gy-chat-product-card img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background-color: var(--surface-alt);
  flex-shrink: 0;
}

.gy-chat-product-info {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.gy-chat-product-info strong {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gy-chat-product-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.gy-chat-product-info em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
}

.gy-chat-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: var(--radius);
  background-color: #15803d;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.gy-chat-chips {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.gy-chat-chips button {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background-color: var(--surface-alt);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.gy-chat-chips button:hover {
  border-color: var(--brand);
  color: var(--text);
}

.gy-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.gy-chat-input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background-color: var(--surface-alt);
  font-size: 13px;
  outline: none;
}

.gy-chat-input:focus {
  border-color: var(--brand);
}

.gy-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--brand);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

html.dark .gy-chat-send {
  color: #06211f;
}

.gy-chat-send svg {
  width: 16px;
  height: 16px;
}

.gy-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
}

.gy-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-muted);
  animation: gyBounce 1.2s infinite ease-in-out;
}

.gy-typing span:nth-child(2) { animation-delay: 0.15s; }
.gy-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes gyBounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.45; }
  40% { transform: scale(1); opacity: 1; }
}

@media (max-width: 480px) {
  .gy-chat-launcher {
    right: 14px;
    bottom: 14px;
  }

  .gy-chat-window {
    right: 12px;
    bottom: 70px;
    width: calc(100vw - 24px);
    height: min(520px, calc(100vh - 90px));
  }
}
