:root {
  --rf-bg: #f7faf7;
  --rf-card: rgba(255, 255, 255, 0.78);
  --rf-border: rgba(20, 30, 20, 0.12);
  --rf-text: #101312;
  --rf-muted: rgba(16, 19, 18, 0.72);
  --rf-accent: #198754;
  --rf-accent-2: #22c55e;
  --rf-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  --rf-radius: 18px;
}

html,
body {
  height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--rf-text);
  background: radial-gradient(1200px 600px at 15% 0%, rgba(34, 197, 94, 0.16), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(25, 135, 84, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff, var(--rf-bg));
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: 0;
}

.navbar-glass {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  z-index: 20;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--rf-border);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--rf-border);
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.brand-subtitle {
  font-size: 0.76rem;
  color: var(--rf-muted);
}

.search-wrap {
  position: relative;
  min-width: min(420px, 75vw);
}

.search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(16, 19, 18, 0.55);
}

.search-wrap input {
  padding-left: 36px;
  border-radius: 999px;
  border: 1px solid var(--rf-border);
  background: rgba(255, 255, 255, 0.82);
}

.hero {
  position: relative;
  padding: 48px 0 24px;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--rf-border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.text-gradient {
  background: linear-gradient(90deg, var(--rf-accent), #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 991.98px) {
  .hero-badges {
    grid-template-columns: 1fr;
  }

  .search-wrap {
    min-width: 100%;
  }
}

.hero-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--rf-radius);
  border: 1px solid var(--rf-border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-badge i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(25, 135, 84, 0.12);
  color: var(--rf-accent);
}

.hero-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.hero-card {
  border-radius: calc(var(--rf-radius) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
  border: 1px solid var(--rf-border);
  box-shadow: var(--rf-shadow);
  overflow: hidden;
}

.hero-card-top {
  display: flex;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--rf-border);
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.14);
  color: var(--rf-accent);
}

.hero-mini-list {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.quick-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--rf-border);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.quick-pick:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

.quick-pick-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.item-chip {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #0f172a;
  background: radial-gradient(circle at 30% 20%, rgba(34, 197, 94, 0.36), transparent 65%),
    radial-gradient(circle at 80% 30%, rgba(14, 165, 233, 0.24), transparent 60%),
    rgba(25, 135, 84, 0.10);
  border: 1px solid rgba(25, 135, 84, 0.18);
}

.item-chip i {
  color: var(--rf-accent);
}

.quick-title {
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-meta {
  font-size: 0.82rem;
  color: var(--rf-muted);
}

.bg-soft {
  background: rgba(25, 135, 84, 0.06);
}

.info-card {
  border-radius: calc(var(--rf-radius) + 6px);
  border: 1px solid var(--rf-border);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.12);
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(25, 135, 84, 0.12);
  color: var(--rf-accent);
  font-size: 1.2rem;
}

.product-card {
  border-radius: calc(var(--rf-radius) + 8px);
  border: 1px solid var(--rf-border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.14);
}

.product-media {
  padding: 18px;
  background: radial-gradient(600px 180px at 20% 10%, rgba(34, 197, 94, 0.22), transparent 60%),
    radial-gradient(480px 180px at 80% 40%, rgba(14, 165, 233, 0.18), transparent 58%),
    rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid var(--rf-border);
}

.product-media-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-emoji {
  width: 56px;
  height: 56px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.product-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.badge-soft {
  border: 1px solid rgba(25, 135, 84, 0.18);
  background: rgba(25, 135, 84, 0.10);
  color: #0f5132;
  font-weight: 600;
}

.product-body {
  padding: 18px;
}

.product-name {
  font-weight: 750;
  margin-bottom: 4px;
}

.product-desc {
  color: var(--rf-muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.size-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.size-row select {
  border-radius: 12px;
}

.price {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-empty {
  border: 1px dashed rgba(15, 23, 42, 0.22);
  border-radius: var(--rf-radius);
  padding: 16px;
  color: var(--rf-muted);
  background: rgba(255, 255, 255, 0.62);
}

.cart-item {
  border: 1px solid var(--rf-border);
  border-radius: var(--rf-radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-title {
  font-weight: 700;
  margin: 0;
}

.cart-subtitle {
  margin: 0;
  font-size: 0.86rem;
  color: var(--rf-muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--rf-border);
  background: rgba(255, 255, 255, 0.74);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease;
}

.qty-btn:hover {
  transform: translateY(-1px);
  background: rgba(25, 135, 84, 0.10);
}

.qty-pill {
  min-width: 38px;
  text-align: center;
  font-weight: 700;
}

.order-summary {
  border-radius: calc(var(--rf-radius) + 6px);
  border: 1px solid var(--rf-border);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.10);
  padding: 18px;
}

.summary-items {
  display: grid;
  gap: 10px;
  max-height: 300px;
  overflow: auto;
  padding-right: 4px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.summary-left {
  min-width: 0;
}

.summary-name {
  font-weight: 700;
  margin: 0;
}

.summary-meta {
  margin: 0;
  color: var(--rf-muted);
  font-size: 0.86rem;
}

.summary-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 16px;
  border: 1px solid rgba(14, 165, 233, 0.24);
  background: rgba(14, 165, 233, 0.08);
  color: rgba(2, 6, 23, 0.86);
  padding: 12px 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(0.2, 0.65, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.65, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-card,
  .info-card,
  .hero-badge,
  .quick-pick {
    transition: none;
  }
}

.policy-hero {
  position: relative;
  padding: 42px 0 10px;
  z-index: 1;
}

.policy-header {
  border-radius: calc(var(--rf-radius) + 10px);
  border: 1px solid var(--rf-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
  box-shadow: var(--rf-shadow);
  padding: 22px;
}

.policy-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--rf-border);
  background: rgba(255, 255, 255, 0.78);
}

.policy-card {
  border-radius: calc(var(--rf-radius) + 10px);
  border: 1px solid var(--rf-border);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.10);
  padding: 22px;
}

.policy-lead {
  color: rgba(16, 19, 18, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
}

.policy-section+.policy-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(15, 23, 42, 0.14);
}

.policy-list {
  margin: 10px 0 0;
  padding-left: 1.15rem;
  color: rgba(16, 19, 18, 0.78);
}

.policy-list li+li {
  margin-top: 6px;
}

.policy-callout {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  border: 1px solid rgba(25, 135, 84, 0.20);
  background: rgba(25, 135, 84, 0.10);
  padding: 10px 12px;
  color: rgba(16, 19, 18, 0.86);
  font-weight: 650;
}

.policy-contact {
  display: grid;
  gap: 10px;
}

.policy-contact-row {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.policy-contact-row a {
  color: rgba(16, 19, 18, 0.86);
  text-decoration: none;
  font-weight: 650;
}

.policy-contact-row a:hover {
  text-decoration: underline;
}