/* Rimmon Farm — Modern app-style UI (Swiggy / Zepto inspired) */

:root {
  --orange: #fc8019;
  --orange-dark: #e67312;
  --orange-light: #fff4eb;
  --purple: #6c3fc5;
  --purple-light: #f3edff;
  --green: #0c831f;
  --green-wa: #25d366;
  --green-light: #e8f5ea;
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --bg-warm: #fffaf5;
  --text: #1c1c1c;
  --text-muted: #686b78;
  --text-light: #93959f;
  --border: #e8e8e8;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* Header — clean modern */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ebebeb;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-auth[hidden] {
  display: none !important;
}

.nav-auth-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-auth-link:hover {
  color: var(--orange);
  background: var(--orange-light);
}

.nav-auth-signup {
  color: var(--orange);
  font-weight: 700;
}

.nav-auth-signup:hover {
  background: var(--orange-light);
}

.nav-auth-user {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-user-dot {
  font-size: 1rem;
  line-height: 1;
}

.btn-cart-icon {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, transform 0.15s;
}

.btn-cart-icon:hover {
  background: #ffe8d4;
}

.cart-count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  font-size: 0.65rem;
}

.cart-count-badge:empty,
.cart-count-badge[data-zero="true"] {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 0.95rem;
  border-radius: 14px;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(252, 128, 25, 0.35);
}

.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 6px 20px rgba(252, 128, 25, 0.4);
}

.btn-ghost {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border);
}

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

.btn-outline {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}

.btn-outline:hover {
  background: var(--purple-light);
}

.btn-wa {
  background: var(--green-wa);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
  background: #1fb855;
}

.btn-block { width: 100%; }

.btn-cart {
  display: none;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--green-light);
  color: var(--green);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--orange);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-promise-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.promise-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.promise-icon { font-size: 1.25rem; }

.promise-chip strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
}

.promise-chip span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1.5rem;
}

.hero-card-main {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: min(320px, 100%);
  z-index: 2;
}

.hero-card-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(252, 128, 25, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-mango-visual {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--orange-light) 0%, #ffe8cc 100%);
  box-shadow: 0 8px 24px rgba(252, 128, 25, 0.2);
  animation: float 5s ease-in-out infinite;
  transition: background 0.4s ease, transform 0.3s ease, opacity 0.3s ease;
}

.hero-card-main.is-changing .hero-mango-visual {
  transform: scale(0.92);
  opacity: 0.75;
}

.hero-carousel-dots {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.hero-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

.hero-dot:hover {
  background: var(--orange-dark);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-card-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.hero-card-main h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.hero-card-main p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.hero-card-price .price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
}

.hero-card-price .unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.offer-badge {
  background: var(--green-light);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-left: 0.25rem;
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  animation: float 6s ease-in-out infinite;
}

.hero-float-card span:first-child { font-size: 1.25rem; }

.hero-float-card strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-float-card small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.hero-float-1 {
  top: 8%;
  right: 0;
  animation-delay: -1s;
}

.hero-float-2 {
  bottom: 12%;
  left: 0;
  animation-delay: -3s;
}

/* Categories */
.categories-bar {
  padding: 1rem 0;
  border-bottom: 1px solid #ebebeb;
  background: #ffffff;
  position: sticky;
  top: var(--header-h);
  z-index: 50;
}

.categories-scroll {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar { display: none; }

.category-chip {
  flex-shrink: 0;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.category-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.category-chip.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 2px 10px rgba(252, 128, 25, 0.3);
}

/* Offers */
.offers-section {
  padding: 1.5rem 0;
  background: var(--bg-soft);
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.offer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.offer-primary {
  background: linear-gradient(135deg, #fff4eb 0%, #ffe0c2 100%);
  border: 1px solid rgba(252, 128, 25, 0.2);
}

.offer-secondary {
  background: linear-gradient(135deg, var(--purple-light) 0%, #e9dfff 100%);
  border: 1px solid rgba(108, 63, 197, 0.15);
}

.offer-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-dark);
}

.offer-secondary .offer-label { color: var(--purple); }

.offer-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0.25rem 0;
}

.offer-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.offer-emoji {
  font-size: 2.5rem;
  opacity: 0.9;
}

/* Trust bar */
.trust-bar {
  background: linear-gradient(90deg, var(--orange-light) 0%, #fff8f0 50%, var(--orange-light) 100%);
  color: var(--text);
  padding: 0.85rem 0;
  border-top: 1px solid rgba(252, 128, 25, 0.12);
  border-bottom: 1px solid rgba(252, 128, 25, 0.12);
}

.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-icon {
  color: var(--green-wa);
  font-weight: 800;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.no-results {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  font-size: 0.95rem;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card.hidden { display: none; }

.product-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  background: linear-gradient(160deg, var(--orange-light) 0%, #ffe8cc 100%);
  position: relative;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--purple);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.product-body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.product-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--orange);
  border-radius: 10px;
  overflow: hidden;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s;
}

.qty-control button:hover {
  background: #ffe0c2;
}

.qty-control span {
  min-width: 2rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--bg);
}

.add-btn {
  margin-top: 0.85rem;
  width: 100%;
  padding: 0.65rem;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-stat-card {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
}

.about-image-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.about-image-block img {
  margin-bottom: 0.75rem;
}

.about-image-block p {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0.4rem 0 1rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.about-list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-list li span { font-size: 1.1rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: start;
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.step-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.step-connector {
  width: 24px;
  height: 2px;
  background: var(--border);
  margin-top: 3.5rem;
}

/* Alerts */
.alerts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.alerts-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0.4rem 0 0.85rem;
}

.alerts-info > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.alerts-benefits {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alerts-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.alerts-form {
  background: var(--bg);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-card-header {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.form-card-header .wa-icon {
  font-size: 1.75rem;
}

.form-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.form-card-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.alerts-form label,
.contact-form label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.alerts-form input[type="text"],
.alerts-form input[type="tel"],
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-transform: none;
  font-weight: 400;
  letter-spacing: normal;
}

.alerts-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-wa);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.12);
  background: var(--bg);
}

.alert-options {
  border: none;
  margin-bottom: 1rem;
  padding: 0;
}

.alert-options legend {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.65rem;
}

.check-label {
  display: flex !important;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  cursor: pointer;
  margin-bottom: 0.5rem !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green-wa);
  flex-shrink: 0;
}

.cart-check {
  margin-bottom: 0.75rem;
  font-size: 0.85rem !important;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0.4rem 0 0.85rem;
}

.contact-grid > div > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

.contact-card:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow);
}

.contact-wa:hover {
  border-color: var(--green-wa);
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border-radius: 12px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-icon-wrap.wa {
  background: #e8faf0;
}

.contact-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-arrow {
  margin-left: auto;
  color: var(--text-light);
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* Footer — clean modern */
.footer {
  background: #f4f4f5;
  color: var(--text);
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid #e4e4e7;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-logo {
  height: 38px;
  width: auto;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--orange); }

.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.75rem;
  color: var(--text-light);
  padding-top: 1.25rem;
  border-top: 1px solid #e4e4e7;
}

/* Mobile cart bar — visible only when cart has items (mobile) */
.mobile-cart-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-cart-bar.is-visible {
  display: flex;
}

.mobile-cart-info {
  display: flex;
  flex-direction: column;
}

.mobile-cart-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mobile-cart-info strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.mobile-cart-bar .btn {
  flex-shrink: 0;
  padding: 0.7rem 1.5rem;
}

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  backdrop-filter: blur(2px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  height: 100vh;
  background: var(--bg);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.cart-close {
  background: var(--bg-soft);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.cart-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.cart-item-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-weight: 800;
  color: var(--orange);
}

.cart-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.cart-total strong {
  font-size: 1.25rem;
  font-weight: 800;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-wa);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 0.2s;
}

.whatsapp-fab:hover { transform: scale(1.06); }

body.has-mobile-cart .whatsapp-fab {
  bottom: 5.5rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 300;
  max-width: min(420px, 90vw);
  padding: 0.85rem 1.25rem;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.has-mobile-cart .toast {
  bottom: 5.5rem;
}

/* Responsive */
@media (min-width: 769px) {
  .mobile-cart-bar,
  .mobile-cart-bar.is-visible {
    display: none !important;
  }
}

.product-search-bar {
  position: relative;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.product-search-bar input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--bg-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-search-bar input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.12);
  background: var(--bg);
}

@media (max-width: 768px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .alerts-grid,
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 280px;
    order: -1;
  }

  .hero-float-1 { right: 5%; }
  .hero-float-2 { left: 5%; }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .step-connector { display: none; }
}

@media (min-width: 769px) {
  .mobile-cart-bar,
  .mobile-cart-bar.is-visible {
    display: none !important;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 56px;
  }

  .logo-img { height: 32px; }

  .nav {
    gap: 0.75rem;
  }

  .nav-toggle {
    display: flex;
    order: 3;
    margin-left: 0;
  }

  .nav-actions {
    order: 2;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    margin-left: 0;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.5rem;
    font-size: 0.95rem;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-auth-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.5rem;
  }

  .btn-cart-icon {
    width: 36px;
    height: 36px;
  }

  .categories-bar {
    top: var(--header-h);
  }

  .hero { padding: 1.5rem 0 2rem; }

  .hero-promise-row { gap: 0.5rem; }

  .promise-chip {
    flex: 1;
    min-width: calc(50% - 0.25rem);
    padding: 0.5rem 0.75rem;
  }

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

  .footer-inner { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }

  .trust-items {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .offer-card { padding: 1rem; }

  .offer-emoji { font-size: 2rem; }
}

/* Button sizes */
.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border-radius: 10px;
}

/* Auth pages */
.auth-page {
  background: var(--bg-warm);
  min-height: 100vh;
}

.auth-main {
  padding: 2.5rem 0 4rem;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}

.auth-layout {
  width: min(960px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.auth-brand h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 1rem 0 0.75rem;
}

.auth-brand p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}

.auth-brand-icon {
  filter: drop-shadow(0 6px 20px rgba(252, 128, 25, 0.3));
}

.auth-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.auth-perks li {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.auth-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.auth-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.auth-card-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.auth-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.auth-form input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-soft);
  text-transform: none;
  font-weight: 400;
  letter-spacing: normal;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.12);
  background: var(--bg);
}

.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.auth-error {
  background: #fff0f0;
  color: #c62828;
  border: 1px solid #ffcdd2;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.auth-switch {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

.auth-switch a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.nav-actions-solo {
  margin-left: auto;
}

.nav-btn-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-active {
  color: var(--orange) !important;
  font-weight: 700;
}

.nav-active-btn {
  pointer-events: none;
}

/* Account page */
.account-container {
  max-width: 720px;
}

.account-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.account-avatar {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  background: var(--orange-light);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.account-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}

.account-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.account-grid {
  display: grid;
  gap: 1.25rem;
}

.account-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.account-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.account-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.account-details dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.account-details dd {
  font-size: 0.95rem;
  font-weight: 600;
}

.account-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (max-width: 768px) {
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .auth-brand {
    text-align: center;
  }

  .auth-brand-icon {
    margin-inline: auto;
  }

  .auth-perks {
    align-items: center;
  }

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

  .auth-nav-group .btn-primary {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-links-auth {
    gap: 0.5rem;
  }
}
