:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0f766e;
  --primary-strong: #115e59;
  --accent: #f59e0b;
  --border: #dbeafe;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(166, 123, 91, 0.26), transparent 18%),
    radial-gradient(circle at top right, rgba(201, 171, 138, 0.25), transparent 22%),
    linear-gradient(180deg, #f7efe8 0%, #eee1d2 50%, #fbf8f4 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.18);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f8fafc;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 0;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.brand-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 700;
}

.nav-links a:hover {
  color: #ffffff;
}

.header-actions a,
.header-actions .btn {
  color: #111827;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #0f766e;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
  font-weight: 700;
}

.btn-secondary,
.btn-outline {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.16);
  min-width: 11rem;
  padding: 0.9rem 1.25rem;
  white-space: nowrap;
}

.btn-secondary:hover,
.btn-outline:hover,
.cart-btn:hover {
  background: #ffffff;
}

.cart-icon svg,
.btn-icon svg,
.trust-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.orders-section,
.auth-section {
  padding: 3rem 0;
}

.order-shell {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 251, 247, 0.96), rgba(237, 225, 209, 0.95));
  border: 1px solid rgba(126, 85, 54, 0.16);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(101, 68, 46, 0.12);
}

.checkout-card {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(126, 85, 54, 0.16);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 16px 32px rgba(101, 68, 46, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.checkout-card.pay-credit {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(255, 247, 230, 0.98), rgba(255, 255, 255, 0.95));
  box-shadow: 0 16px 38px rgba(245, 158, 11, 0.16);
}

.checkout-card.pay-debit {
  border-color: #0ea5e9;
  background: linear-gradient(135deg, rgba(239, 248, 255, 0.98), rgba(255, 255, 255, 0.95));
  box-shadow: 0 16px 38px rgba(14, 165, 233, 0.16);
}

.checkout-card.pay-transfer {
  border-color: #10b981;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(255, 255, 255, 0.95));
  box-shadow: 0 16px 38px rgba(16, 185, 129, 0.16);
}

.checkout-card.pay-mercado {
  border-color: #f97316;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.95));
  box-shadow: 0 16px 38px rgba(249, 115, 22, 0.16);
}

.checkout-card.pay-paypal {
  border-color: #2563eb;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.95));
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.16);
}

.checkout-card h3 {
  margin-top: 0;
  color: var(--primary-strong);
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.checkout-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--text);
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  border: 1px solid rgba(126, 85, 54, 0.25);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fff;
}

.checkout-form textarea {
  grid-column: 1 / -1;
}

.payment-panels {
  grid-column: 1 / -1;
  display: grid;
}

.payment-panel {
  display: none;
}

.payment-panel.is-active {
  display: block;
}

.payment-panel label {
  margin-bottom: 1rem;
}

.checkout-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.55);
  padding: 1rem;
}

.auth-modal-card {
  width: min(460px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.3);
}

.auth-modal-card h3 {
  margin: 0.5rem 0;
  color: var(--primary-strong);
}

.auth-modal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.order-page-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.order-page-header h2 {
  margin: 0.8rem 0 0.5rem;
}

.order-page-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.order-summary-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.order-summary-panel div {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(126, 85, 54, 0.14);
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
}

.order-summary-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.order-summary-panel strong {
  color: var(--primary-strong);
  font-size: 1.4rem;
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.order-card,
.auth-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(126, 85, 54, 0.16);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(101, 68, 46, 0.1);
  padding: 1.5rem;
}

.order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-card h3 {
  margin: 0;
  color: var(--primary-strong);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-pill.preparing {
  background: #fff4db;
  color: #9a5d00;
}

.status-pill.shipping {
  background: #e8f7ff;
  color: #0f5f83;
}

.status-pill.delivered {
  background: #e7f8ee;
  color: #137a4c;
}

.order-card p {
  margin: 1rem 0;
  color: var(--muted);
  line-height: 1.7;
}

.order-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.order-meta li {
  font-size: 0.92rem;
}

.order-card-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-card-footer strong {
  display: block;
  margin-top: 0;
  color: var(--primary-strong);
}

.text-link {
  color: #8b5e3c;
  text-decoration: none;
  font-weight: 700;
}

.text-link:hover {
  color: #5f3f24;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  justify-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
}

.auth-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

.input-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #e2f8f2;
  color: #0f766e;
  font-size: 1rem;
}

.field-icon svg,
.person-icon svg,
.btn-icon svg,
.cart-icon svg {
  width: 1rem;
  height: 1rem;
}

.input-icon input {
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  padding: 0;
  color: inherit;
}

.input-icon input:focus {
  outline: none;
}

.auth-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.auth-form input.valid {
  border-color: #16a34a;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.auth-form input.invalid {
  border-color: #dc2626;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.auth-form label:has(input:focus) .input-icon {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .order-page-header,
  .orders-grid,
  .order-summary-panel,
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .order-shell {
    padding: 1.25rem;
  }
}

.hero-section {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 248, 243, 0.96), rgba(239, 226, 211, 0.94));
  border: 1px solid rgba(126, 85, 54, 0.18);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(101, 68, 46, 0.12);
}

.hero-copy {
  position: relative;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: -1rem auto auto -1rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 118, 110, 0.15);
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 118, 110, 0.15);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.trust-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #d8fff1;
  color: #0f766e;
  font-size: 1.15rem;
}

.trust-item strong {
  display: block;
  color: var(--primary-strong);
}

.trust-item small {
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 65px rgba(61, 42, 28, 0.18);
  border: 4px solid rgba(255, 255, 255, 0.82);
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.1), rgba(15, 23, 42, 0.18));
  pointer-events: none;
}

.hero-mini-card {
  position: absolute;
  right: -1rem;
  bottom: -1.25rem;
  width: min(280px, 82%);
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, #fffdfb 0%, #fff7f0 100%);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(101, 68, 46, 0.14);
  border: 1px solid rgba(126, 85, 54, 0.16);
}

.hero-mini-card strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--primary-strong);
}

.hero-mini-card span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.badge,
.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: #9a5d00;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-copy h1,
.section-heading h2,
.feature-copy h2,
.contact-box h2 {
  margin: 0.85rem 0;
  line-height: 1.1;
}

.hero-copy h1 {
  font-size: clamp(2.25rem, 4.8vw, 4rem);
}

.hero-copy p,
.feature-copy p,
.card-body p,
.contact-box p {
  color: var(--muted);
  line-height: 1.75;
}

.cta-row {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-wrap {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  min-width: max-content;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: #0f766e;
  color: white;
  font-size: 0.95rem;
}

.btn-primary {
  background: #0f766e;
  color: #ffffff;
  border: 1px solid #0f766e;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
}

.btn-primary:hover {
  background: #0e665e;
}

.btn:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.45);
  outline-offset: 2px;
}

.auth-form button {
  width: 100%;
  min-height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-form button + button {
  margin-top: 0.75rem;
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: white;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(66, 133, 244, 0.35);
  background: #ffffff;
  color: #1f2937;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(66, 133, 244, 0.12);
}

.btn-google:hover {
  background: #f8fafc;
}

.google-icon,
.person-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.google-icon {
  background: #4285f4;
}

.person-icon {
  background: #0f766e;
}

.hero-visual img,
.gallery-grid img,
.product-card img,
.feature-image img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
  transform: translate3d(var(--move-x, 0px), var(--move-y, 0px), 0);
  transition: transform 0.2s ease-out;
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.parallax {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.product-card,
.popular-card,
.review-card,
.order-card,
.info-card,
.service-card,
.gallery-grid img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.popular-card:hover,
.review-card:hover,
.order-card:hover,
.info-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(101, 68, 46, 0.16);
}

.stats-section,
.reviews-section,
.products-section,
.gallery-section,
.highlight-section,
.contact-section {
  padding: 2rem 0 4rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.review-card {
  padding: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fffd 100%);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-top img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.review-avatar {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #dff7ee 0%, #f5eadf 100%);
  color: #0f766e;
  border: 2px solid rgba(15, 118, 110, 0.22);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.12);
}

.review-avatar svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

.review-top strong {
  display: block;
  font-size: 1rem;
}

.review-top > div span {
  color: var(--muted);
  font-size: 0.9rem;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stats-grid article,
.product-card,
.service-card,
.story-card,
.info-card,
.contact-box,
.feature-layout,
.cta-box,
.review-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.stats-grid article {
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbf8 100%);
}

.stats-grid strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.35rem;
  color: var(--primary-strong);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.popular-products-section {
  padding: 1rem 0 4rem;
}

.section-heading h2 {
  max-width: 700px;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.popular-card {
  overflow: hidden;
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.popular-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.popular-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: linear-gradient(145deg, #dffcff, #f5fff8);
}

.popular-body {
  padding: 1.2rem;
}

.popular-body h3 {
  margin: 0 0 0.55rem;
  color: var(--primary-strong);
}

.popular-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.services-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card,
.catalog-card {
  padding: 1.25rem;
}

.catalog-highlight {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.catalog-detail-wrap {
  margin-top: 1.5rem;
}

.catalog-detail-box {
  background: #fff7ed;
  border-radius: 20px;
  padding: 1.25rem;
  border: 1px solid #fed7aa;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.detail-list strong {
  color: var(--primary-strong);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.card-body {
  padding: 1.1rem;
}

.product-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.product-card-meta h3 {
  margin: 0;
  flex: 1 1 200px;
}

.product-price,
.detail-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  font-weight: 800;
  font-size: 0.95rem;
}

.product-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.more-info-btn {
  background: transparent;
  color: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.25);
}

.product-detail-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 60;
}

.product-detail-modal.hidden {
  display: none;
}

.product-detail-modal-panel {
  width: min(980px, 100%);
  background: var(--surface);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}

.product-detail-modal-layout {
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  gap: 1rem;
  align-items: start;
}

.product-detail-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 18px;
}

.product-detail-modal-body {
  display: grid;
  gap: 0.85rem;
}

.product-detail-modal-title {
  margin: 0;
}

.product-detail-modal-description {
  margin: 0;
  color: var(--muted);
}

.product-detail-modal-price {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  font-weight: 800;
}

.product-detail-modal-features,
.product-detail-modal-offers ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail-modal-features {
  display: grid;
  gap: 0.35rem;
}

.product-detail-modal-features li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.product-detail-modal-features li:last-child {
  border-bottom: none;
}

.product-detail-modal-offers h4 {
  margin: 0 0 0.5rem;
}

.detail-offer-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.detail-offer-item:last-child {
  border-bottom: none;
}

.detail-offer-copy {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.detail-offer-name {
  font-weight: 700;
}

.detail-offer-price {
  color: #0f766e;
  font-weight: 800;
}

.detail-offer-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cart-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  background: #0f766e;
  color: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cart-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.offer-login-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-detail-modal-action {
  display: flex;
  align-items: stretch;
}

.product-detail-modal-action-box {
  width: 100%;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(15, 118, 110, 0.07);
  border: 1px solid rgba(15, 118, 110, 0.18);
  display: grid;
  gap: 0.85rem;
}

.product-detail-modal-action-box span {
  font-weight: 700;
}

.product-detail-login-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-detail-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
}

.product-detail-section,
.product-details-section {
  padding: 3rem 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.product-detail-card h3 {
  margin-top: 0;
}

.product-detail-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.product-detail-card li {
  margin-bottom: 0.5rem;
}



.product-detail-content {
  margin-top: 1rem;
}

.detail-features {
  margin: 1.2rem 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.detail-actions {
  display: flex;
  justify-content: flex-end;
}

.detail-add-cart {
  width: auto;
}

@media (max-width: 900px) {
  .product-grid,
  .product-detail-grid,
  .detail-product-list,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    width: 100%;
    padding: 1.5rem;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(101, 68, 46, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.gallery-grid img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 55px rgba(101, 68, 46, 0.18);
  filter: saturate(1.08);
}

.story-layout,
.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
}

.story-copy,
.story-card,
.feature-copy,
.feature-image {
  padding: 1rem;
}

.story-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.feature-image img {
  width: 100%;
  height: 360px;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.cta-box,
.contact-box {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-row-two {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.info-card {
  padding: 1rem;
}

.contact-layout {
  align-items: flex-start;
}

.contact-form {
  width: min(100%, 420px);
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
}

@media (max-width: 900px) {
  .hero-grid,
  .stats-grid,
  .services-grid,
  .catalog-grid,
  .detail-list,
  .product-grid,
  .gallery-grid,
  .story-layout,
  .feature-layout,
  .contact-info-grid,
  .popular-grid,
  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    height: 320px;
  }

  .hero-mini-card {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .cta-box,
  .contact-box {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    justify-content: center;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    width: 100%;
  }
}

.site-footer {
  padding: 3rem 0 2rem;
  background: #0f172a;
  color: #d1d5db;
}

.footer-top {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-column h3 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.footer-column a::before {
  content: '›';
  display: inline-block;
  margin-right: 0.7rem;
  color: #f59e0b;
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-brand-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-social a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-social a {
  position: relative;
  padding-left: 1.6rem;
}

.footer-social a::before {
  content: '';
  position: absolute;
  left: 0;
  width: 1rem;
  height: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(1) brightness(2);
}

.footer-social a.facebook::before {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/facebook.svg');
}

.footer-social a.instagram::before {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/instagram.svg');
}

.footer-social a.tiktok::before {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/tiktok.svg');
}

.footer-social a.xlink::before {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/x.svg');
}

.footer-social a.youtube::before {
  background-image: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/youtube.svg');
}

.footer-social a:hover {
  color: #ffffff;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  font-size: 0.84rem;
  color: #9ca3af;
}

.footer-legal p {
  margin: 0;
  max-width: 780px;
  line-height: 1.6;
}

.legal-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: #9ca3af;
  text-decoration: none;
}

.legal-links a:hover {
  color: #ffffff;
}
