:root {
  --cream: #fdf8f2;
  --almond: #f6ead9;
  --surface: #ffffff;
  --surface-soft: #fcf4eb;
  --espresso: #3a190c;
  --cocoa: #6e3f2b;
  --muted: #8a6656;
  --orange: #e8762c;
  --orange-dark: #c85a14;
  --orange-soft: rgba(232, 118, 44, 0.12);
  --gold: #d49a45;
  --wa: #25d366;
  --wa-dark: #1aa850;
  --border: rgba(58, 25, 12, 0.1);
  --shadow-sm: 0 4px 16px rgba(58, 25, 12, 0.06);
  --shadow-md: 0 14px 36px rgba(58, 25, 12, 0.1);
  --shadow-lg: 0 28px 64px rgba(58, 25, 12, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--espresso);
  background-color: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.container {
  width: min(1220px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

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

.btn-sm {
  padding: 0.52rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.88rem 1.65rem;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 118, 44, 0.28);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(200, 90, 20, 0.34);
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--border);
  color: var(--espresso);
}

.btn-outline:hover {
  border-color: var(--orange);
  background: #fff;
}

.btn-icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--cocoa);
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-icon-pill:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
  background: #fff;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(253, 248, 242, 0.84);
  border-bottom: 1px solid rgba(58, 25, 12, 0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.68rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--espresso);
}

.brand-sub {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-dark);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--cocoa);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.25s var(--ease-spring);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 3.4rem 0 4.5rem;
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}

.blob-1 {
  width: 440px;
  height: 440px;
  background: #ffd4b3;
  top: -120px;
  right: -80px;
}

.blob-2 {
  width: 360px;
  height: 360px;
  background: #f5dcb9;
  bottom: -100px;
  left: -80px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: var(--almond);
  color: var(--cocoa);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 1.15rem;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.3vw, 3.65rem);
  line-height: 1.08;
  margin: 0 0 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--orange);
  font-weight: 600;
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--cocoa);
  max-width: 56ch;
  margin: 0 0 1.85rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.1rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  display: flex;
  flex-direction: column;
  min-width: 125px;
  box-shadow: var(--shadow-sm);
}

.stat-pill strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--espresso);
}

.stat-pill span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

/* Hero Showcase Collage */
.hero-showcase {
  position: relative;
  min-height: 490px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: 3px solid #fff;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.4s ease;
}

.showcase-card:first-child {
  grid-row: 1 / 3;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-spring);
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.showcase-card:hover img {
  transform: scale(1.06);
}

.showcase-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 0.95rem 0.85rem;
  background: linear-gradient(to top, rgba(40, 17, 8, 0.82), transparent);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
}

.hero-seal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px;
  box-shadow: 0 18px 42px rgba(58, 25, 12, 0.24);
  border: 2px solid var(--almond);
  pointer-events: none;
  animation: floatSeal 5.5s ease-in-out infinite;
  z-index: 3;
}

.hero-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes floatSeal {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-8px);
  }
}

/* Section Headers */
.section-header {
  margin-bottom: 1.75rem;
}

.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-dark);
  margin-bottom: 0.45rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  margin: 0 0 0.55rem;
  line-height: 1.14;
}

.section-desc {
  color: var(--cocoa);
  max-width: 62ch;
  margin: 0;
}

/* Catalog Section */
.catalog-section {
  padding: 2.5rem 0 4.5rem;
}

.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--cocoa);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.cat-tab:hover {
  border-color: var(--orange);
  color: var(--espresso);
  transform: translateY(-1px);
}

.cat-tab.active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: #fff;
  box-shadow: 0 10px 22px rgba(58, 25, 12, 0.2);
}

.cat-count {
  font-size: 0.76rem;
  padding: 0.12rem 0.48rem;
  border-radius: 999px;
  background: rgba(58, 25, 12, 0.08);
  color: inherit;
}

.cat-tab.active .cat-count {
  background: rgba(255, 255, 255, 0.2);
}

.search-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.search-box {
  flex: 1 1 300px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 1rem;
  color: var(--muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 0.78rem 1rem 0.78rem 2.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}

.price-filter-wrap select {
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  cursor: pointer;
}

.category-banner {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--almond);
  color: var(--cocoa);
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-banner strong {
  color: var(--espresso);
}

/* Product Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 1.45rem;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(58, 25, 12, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: opacity 0.52s var(--ease-spring), transform 0.52s var(--ease-spring), box-shadow 0.35s ease;
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-soft);
  cursor: pointer;
}

.card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.48s ease, transform 0.65s var(--ease-spring);
}

.card-img-secondary {
  opacity: 0;
}

.product-card:hover .card-img-primary {
  transform: scale(1.04);
}

.product-card.has-multi:hover .card-img-secondary {
  opacity: 1;
  transform: scale(1.04);
}

.angle-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.32rem 0.68rem;
  border-radius: 999px;
  background: rgba(34, 15, 8, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
}

.cat-chip-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.3rem 0.68rem;
  border-radius: 999px;
  background: rgba(253, 248, 242, 0.92);
  color: var(--espresso);
  font-size: 0.73rem;
  font-weight: 700;
}

.card-body {
  padding: 1.08rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1.25;
  margin: 0;
  cursor: pointer;
}

.card-title:hover {
  color: var(--orange-dark);
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.servings-tag {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.price-tag {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
}

.price-tag.is-quote {
  background: var(--almond);
  color: var(--cocoa);
}

.price-tag.is-fixed {
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.card-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--cocoa);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  margin-top: 0.45rem;
}

.btn-card-view {
  padding: 0.58rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-card-view:hover {
  border-color: var(--orange);
  background: #fff;
  color: var(--orange-dark);
}

.btn-card-wa {
  padding: 0.58rem 0.92rem;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-card-wa:hover {
  background: var(--wa-dark);
  transform: translateY(-1px);
}

/* Skeletons */
.skeleton-card {
  height: 430px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, #f3e8da 25%, #faf2e8 50%, #f3e8da 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite linear;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}

/* Steps Section */
.steps-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(246, 234, 217, 0.35), rgba(246, 234, 217, 0.65));
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.step-card {
  background: var(--surface);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.step-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.step-card p {
  margin: 0;
  color: var(--cocoa);
  font-size: 0.92rem;
}

/* About Section */
.about-section {
  padding: 4.2rem 0;
}

.about-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 2.4rem;
}

.about-logo-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--almond);
  display: grid;
  place-items: center;
  padding: 16px;
  margin-inline: auto;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.about-badges span {
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: var(--almond);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--espresso);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  background: var(--surface-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cocoa);
}

.footer-admin-btn {
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.44rem 0.88rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cocoa);
  transition: all 0.2s ease;
}

.footer-admin-btn:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(29, 168, 81, 0.36);
  transition: transform 0.25s var(--ease-spring), background 0.2s ease;
}

.floating-wa:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--wa-dark);
}

/* Product Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(30, 12, 5, 0.66);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1rem;
  animation: fadeBackdrop 0.25s ease forwards;
}

.modal-backdrop[hidden] {
  display: none;
}

@keyframes fadeBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-modal-shell {
  position: relative;
  width: min(1040px, 100%);
  max-height: 92vh;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: springModalIn 0.38s var(--ease-spring) forwards;
}

@keyframes springModalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, background 0.2s ease;
}

.modal-close-btn:hover {
  transform: rotate(90deg);
  background: #fff;
}

.modal-close-btn.static-close {
  position: static;
}

.product-modal-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  padding: 1.65rem;
  overflow-y: auto;
  transition: opacity 0.22s ease, transform 0.28s var(--ease-spring);
}

/* Product-to-product directional animations */
.product-modal-stage.slide-out-left {
  opacity: 0;
  transform: translateX(-42px) scale(0.98);
}

.product-modal-stage.slide-out-right {
  opacity: 0;
  transform: translateX(42px) scale(0.98);
}

.product-modal-stage.slide-in-right {
  animation: enterFromRight 0.34s var(--ease-spring) forwards;
}

.product-modal-stage.slide-in-left {
  animation: enterFromLeft 0.34s var(--ease-spring) forwards;
}

@keyframes enterFromRight {
  from { opacity: 0; transform: translateX(42px) scale(0.98); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes enterFromLeft {
  from { opacity: 0; transform: translateX(-42px) scale(0.98); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.modal-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.gallery-main-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-soft);
  user-select: none;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.26s ease, transform 0.36s var(--ease-spring);
}

.gallery-main-img.is-switching {
  opacity: 0.15;
  transform: scale(0.97);
}

.angle-counter {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  background: rgba(34, 15, 8, 0.74);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--espresso);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.gallery-prev { left: 0.75rem; }
.gallery-next { right: 0.75rem; }

.gallery-zoom-btn {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--espresso);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.gallery-thumb {
  flex: 0 0 68px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--surface-soft);
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumb.active {
  border-color: var(--orange);
  opacity: 1;
  transform: translateY(-2px);
}

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

.modal-info-col {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-cat-badge {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.modal-servings-badge {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--almond);
  color: var(--cocoa);
  font-size: 0.78rem;
  font-weight: 600;
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin: 0;
}

.modal-price-box {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.modal-price-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--espresso);
}

.modal-price-value.is-fixed {
  color: var(--orange-dark);
}

.modal-price-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.modal-desc {
  margin: 0;
  color: var(--cocoa);
  font-size: 0.96rem;
}

.customizer-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.customizer-card h4 {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--espresso);
}

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

.field-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cocoa);
}

.field-label input,
.field-label select,
.field-label textarea {
  padding: 0.56rem 0.75rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-weight: 500;
  font-size: 0.88rem;
  outline: none;
}

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

/* Modal Product Switcher */
.modal-product-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 1.25rem;
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
}

.switcher-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.36rem 0.75rem;
  cursor: pointer;
  max-width: 42%;
  transition: transform 0.22s var(--ease-spring), border-color 0.2s ease;
}

.switcher-btn:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.switcher-btn img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.switcher-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.switcher-meta.align-right {
  text-align: right;
}

.switcher-meta small {
  font-size: 0.7rem;
  color: var(--muted);
}

.switcher-meta strong {
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.switcher-arrow {
  font-weight: 700;
  color: var(--orange-dark);
}

.switcher-position {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
}

/* Lightbox */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(15, 7, 3, 0.92);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox-backdrop[hidden] {
  display: none;
}

.lightbox-backdrop img {
  max-width: 94vw;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}

/* Admin Panel */
.admin-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(30, 12, 5, 0.7);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.admin-backdrop[hidden] {
  display: none;
}

.admin-shell {
  width: min(1100px, 100%);
  height: min(92vh, 860px);
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.admin-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-mini-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.admin-header h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.2rem;
}

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

.admin-login-view {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.admin-login-card {
  width: min(410px, 100%);
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.lock-badge {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.admin-pin-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.admin-pin-form input {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
}

.admin-login-error {
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 600;
  margin-top: 0.8rem;
}

.admin-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.admin-workspace[hidden] {
  display: none;
}

.admin-wa-warning {
  background: #fff3e0;
  border-bottom: 1px solid #f7c98b;
  padding: 0.65rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.86rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.admin-tab {
  border: none;
  background: transparent;
  padding: 0.65rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.admin-tab.active {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
}

.admin-tab-panel {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.4rem;
}

.admin-tab-panel[hidden] {
  display: none;
}

/* Bulk Pricing Card */
.bulk-pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.bulk-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.bulk-header h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.bulk-header p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--muted);
}

.bulk-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.field-cap {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cocoa);
  margin-bottom: 0.35rem;
}

.chip-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.chip-btn {
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.chip-btn.up-chip:hover {
  background: #e6f6ec;
  border-color: #2e9f5d;
  color: #166534;
}

.chip-btn.danger-chip:hover {
  background: #fdecec;
  border-color: #dc2626;
  color: #991b1b;
}

.inline-action {
  display: flex;
  gap: 0.4rem;
}

.inline-action select,
.inline-action input {
  padding: 0.46rem 0.6rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 0.84rem;
  min-width: 0;
}

.inline-action input {
  width: 92px;
}

.admin-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.admin-list-toolbar input {
  flex: 1 1 220px;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
}

.admin-list-toolbar select {
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
}

.admin-product-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.admin-item-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  display: grid;
  grid-template-columns: 60px minmax(180px, 1.4fr) auto auto auto;
  align-items: center;
  gap: 0.85rem;
}

.admin-item-row.is-hidden-prod {
  opacity: 0.55;
}

.admin-item-thumb {
  width: 60px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface-soft);
}

.admin-item-info strong {
  display: block;
  font-size: 0.94rem;
}

.admin-item-info small {
  color: var(--muted);
  font-size: 0.78rem;
}

.mode-toggle-group {
  display: inline-flex;
  border-radius: 999px;
  background: var(--cream);
  padding: 3px;
  border: 1px solid var(--border);
}

.mode-btn {
  border: none;
  background: transparent;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
}

.mode-btn.active {
  background: var(--espresso);
  color: #fff;
}

.mode-btn.active.is-fixed-mode {
  background: var(--orange);
}

.price-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.price-stepper-wrap.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.step-mini-btn {
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

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

.admin-price-input {
  width: 105px;
  padding: 0.38rem 0.55rem;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}

.prefix-check {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--cocoa);
  margin-left: 0.25rem;
}

.admin-item-actions {
  display: flex;
  gap: 0.4rem;
}

/* Settings Grid */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.15rem;
}

.settings-card {
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.settings-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.04rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field-help {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.backup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.file-btn {
  cursor: pointer;
}

.admin-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  background: #fff;
  border-top: 1px solid var(--border);
}

.save-status-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cocoa);
}

.save-status-text.has-changes {
  color: var(--orange-dark);
}

.save-bar-actions {
  display: flex;
  gap: 0.65rem;
}

/* Edit Submodal */
.sub-modal {
  z-index: 110;
}

.edit-modal-card {
  width: min(620px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.edit-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.edit-modal-head h3 {
  margin: 0;
}

.edit-form-body {
  padding: 1.15rem 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.edit-toggles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.edit-photos-section {
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

.edit-photos-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
}

.edit-photos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.edit-photo-tile {
  position: relative;
  width: 86px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.edit-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-photo-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
}

.edit-form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  padding-top: 0.6rem;
}

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 140;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--espresso);
  color: #fff;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: toastIn 0.28s var(--ease-spring);
}

.toast.is-error {
  background: #b42318;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .hero-showcase {
    min-height: 390px;
  }
  .product-modal-stage {
    grid-template-columns: 1fr;
  }
  .about-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-badges {
    justify-content: center;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .admin-item-row {
    grid-template-columns: 52px 1fr;
  }
  .mode-toggle-group,
  .price-stepper-wrap,
  .admin-item-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
  .customizer-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .hero-showcase {
    min-height: 320px;
  }
  .hero-seal {
    width: 84px;
    height: 84px;
  }
  .floating-wa-label {
    display: none;
  }
  .floating-wa {
    padding: 0.85rem;
  }
}
