/* =====================================================
   Grace's Premium Fruits — Main Stylesheet
   Aesthetic: refined, editorial, luxury fruit boutique
   ===================================================== */

:root {
  --bg: #fbfaf6;
  --bg-cream: #f3efe5;
  --bg-warm: #f7f1e6;
  --ink: #1a1d1a;
  --ink-soft: #4a5046;
  --ink-muted: #8a8f86;
  --line: #e8e3d6;
  --line-soft: #efebe0;
  --accent: #5b7c4a;          /* deep leaf green */
  --accent-dark: #3f5634;
  --accent-light: #c8d8b8;
  --gold: #b8924a;
  --gold-soft: #d9b87a;
  --berry: #8b2c4a;
  --citrus: #d97a2c;
  --shadow: 0 10px 40px -10px rgba(60, 50, 30, 0.15);
  --shadow-lg: 0 30px 80px -20px rgba(60, 50, 30, 0.25);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.4rem; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   Announcement bar
   ===================================================== */
.announcement-bar {
  background: var(--ink);
  color: var(--bg-cream);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
}

/* =====================================================
   Header / Nav
   ===================================================== */
.site-header {
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -8px rgba(60,50,30,0.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
}
.brand-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.main-nav a:not(.cart-link)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:not(.cart-link):hover::after { transform: scaleX(1); }

.cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px !important;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: all 0.25s;
}
.cart-link:hover { background: var(--ink); color: var(--bg); }
.cart-badge {
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: 0.3s;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px; height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    box-shadow: -10px 0 40px -10px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    z-index: 99;
  }
  .main-nav.open { right: 0; }
  .main-nav a { font-size: 1.1rem; }
  .nav-toggle.open span:nth-child(1) { transform: translate(0, 7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translate(0, -7px) rotate(-45deg); }
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(60, 50, 30, 0.4);
}
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover { background: var(--accent-dark); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(217, 184, 122, 0.15), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(91, 124, 74, 0.12), transparent 55%),
    var(--bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(60,50,30,0.05) 1px, transparent 0);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-weight: 400;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero p.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
}
.hero-visual .fruit-card {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: white;
}
.hero-visual .fruit-card-1 {
  width: 70%; height: 70%;
  top: 0; right: 0;
  z-index: 2;
  transform: rotate(2deg);
  animation: float1 6s ease-in-out infinite;
}
.hero-visual .fruit-card-2 {
  width: 50%; height: 50%;
  bottom: 0; left: 0;
  z-index: 3;
  transform: rotate(-3deg);
  animation: float2 7s ease-in-out infinite;
}
.hero-visual .fruit-card-3 {
  width: 38%; height: 38%;
  bottom: 25%; right: -5%;
  z-index: 4;
  transform: rotate(5deg);
  animation: float3 5.5s ease-in-out infinite;
}
.hero-visual img, .hero-visual svg {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: -10px; left: -20px;
  background: var(--ink);
  color: var(--bg);
  padding: 16px 22px;
  border-radius: 12px;
  z-index: 5;
  box-shadow: var(--shadow);
}
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold-soft);
}
.hero-badge span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
}

@keyframes float1 { 0%,100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-10px); } }
@keyframes float2 { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@keyframes float3 { 0%,100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-12px); } }

@media (max-width: 860px) {
  .hero { padding: 50px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { aspect-ratio: 1/0.85; max-width: 480px; margin: 0 auto; width: 100%; }
}

/* =====================================================
   Section base
   ===================================================== */
.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 14px; font-weight: 500; }
.section-header p {
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
}

/* =====================================================
   Trust bar
   ===================================================== */
.trust-bar {
  background: var(--bg-warm);
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.trust-item .icon {
  width: 44px; height: 44px;
  margin: 0 auto 12px;
  color: var(--accent);
}
.trust-item h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }
.trust-item p { font-size: 0.85rem; color: var(--ink-muted); margin: 0; }
@media (max-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   Product grid
   ===================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line);
}
.product-image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--bg-cream), var(--bg-warm));
  position: relative;
  overflow: hidden;
}
.product-image img, .product-image svg {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-image img,
.product-card:hover .product-image svg { transform: scale(1.06); }

.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 11px;
  border-radius: 999px;
}
.product-tag.bestseller { background: var(--gold); }
.product-tag.featured { background: var(--accent); }
.product-tag.out { background: var(--ink-muted); }

.product-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--ink);
}
.product-unit { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 14px; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}
.product-price {
  font-size: 1.3rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ink);
}
.product-add {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-add:hover { background: var(--accent-dark); transform: scale(1.05); }
.product-add:disabled { background: var(--ink-muted); cursor: not-allowed; }

/* =====================================================
   Categories
   ===================================================== */
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.cat-pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s;
}
.cat-pill:hover { border-color: var(--ink); }
.cat-pill.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* =====================================================
   Story / About strip
   ===================================================== */
.story {
  background: var(--bg-cream);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-light), var(--gold-soft));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-image::after {
  content: '"';
  position: absolute;
  top: 30px; left: 40px;
  font-family: var(--font-display);
  font-size: 12rem;
  color: rgba(255,255,255,0.5);
  line-height: 1;
  font-style: italic;
}
.story-text h2 { margin-bottom: 24px; }
.story-text .signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 24px;
}
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 50px; }
  .story-image { aspect-ratio: 4/3; max-width: 480px; }
}

/* =====================================================
   Testimonials
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: white;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px; left: 24px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  font-style: italic;
}
.testimonial-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 16px 0 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}
.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* =====================================================
   CTA strip
   ===================================================== */
.cta-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(217, 184, 122, 0.15), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(91, 124, 74, 0.2), transparent 50%);
}
.cta-strip > .container { position: relative; z-index: 1; }
.cta-strip h2 { color: var(--bg); margin-bottom: 16px; }
.cta-strip p { color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-strip .btn-primary { background: var(--gold); color: var(--ink); }
.cta-strip .btn-primary:hover { background: var(--gold-soft); }

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: var(--bg-cream);
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Sticky mobile CTA
   ===================================================== */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  background: var(--ink);
  color: var(--bg);
  padding: 16px 22px;
  border-radius: 999px;
  z-index: 90;
  box-shadow: 0 12px 40px -10px rgba(0,0,0,0.4);
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}
.sticky-mobile-cta .sticky-cart-count {
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
}
@media (max-width: 700px) {
  body.has-cart .sticky-mobile-cta { display: flex; }
  body.has-cart main { padding-bottom: 90px; }
}

/* =====================================================
   Page header (shop, about, etc)
   ===================================================== */
.page-header {
  background: var(--bg-cream);
  padding: 70px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-header .eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
}
.page-header h1 { margin-bottom: 12px; }
.page-header p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

/* =====================================================
   Shop layout
   ===================================================== */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  max-width: 360px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  background: white;
}
.search-input:focus { outline: none; border-color: var(--accent); }

/* =====================================================
   Product detail page
   ===================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.product-detail-image {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-cream), var(--bg-warm));
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-detail-image img, .product-detail-image svg { width: 100%; height: 100%; object-fit: cover; }

.product-detail h1 { margin-bottom: 12px; }
.product-detail .price-large {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
  margin: 18px 0 24px;
}
.product-detail .description {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.detail-info {
  background: var(--bg-cream);
  padding: 18px 22px;
  border-radius: 12px;
  margin: 24px 0;
  font-size: 0.92rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.detail-info svg { color: var(--accent); flex-shrink: 0; }
.detail-info strong { display: block; margin-bottom: 4px; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty-control button {
  width: 44px; height: 44px;
  background: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
}
.qty-control button:hover { background: var(--bg-cream); }
.qty-control input {
  width: 50px;
  text-align: center;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================================================
   Cart
   ===================================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 50px;
  align-items: flex-start;
}
.cart-items {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-image {
  width: 100px; height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-cream);
}
.cart-item-image img, .cart-item-image svg { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.cart-item-info .price-line {
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.cart-line-total {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}
.cart-remove {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.cart-remove:hover { color: var(--berry); }

.cart-summary {
  background: var(--bg-cream);
  padding: 32px;
  border-radius: var(--radius-lg);
  position: sticky;
  top: 100px;
}
.cart-summary h3 { font-size: 1.4rem; margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.95rem;
}
.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 18px;
  font-size: 1.2rem;
  font-weight: 600;
  font-family: var(--font-display);
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state h2 { margin-bottom: 12px; }
.empty-state p { color: var(--ink-muted); margin-bottom: 28px; }
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-image { width: 80px; height: 80px; }
  .cart-item-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* =====================================================
   Forms (checkout / contact)
   ===================================================== */
.form-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
}
.form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-row label .req { color: var(--berry); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row input[type="date"],
.form-row input[type="password"],
.form-row input[type="file"],
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  transition: 0.2s;
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 124, 74, 0.1);
}
.form-row .help { font-size: 0.82rem; color: var(--ink-muted); margin-top: 6px; }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }

.radio-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 12px;
  transition: 0.2s;
}
.radio-card input { margin-right: 10px; }
.radio-card.active { border-color: var(--accent); background: rgba(91, 124, 74, 0.04); }
.radio-card strong { display: block; margin-bottom: 4px; }
.radio-card span { font-size: 0.88rem; color: var(--ink-muted); }

.checkout-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }

.gcash-info {
  background: linear-gradient(135deg, #007dfe 0%, #0066cc 100%);
  color: white;
  padding: 22px;
  border-radius: 12px;
  margin: 16px 0;
}
.gcash-info h4 { color: white; font-family: var(--font-body); font-size: 1rem; margin-bottom: 12px; }
.gcash-info .gcash-number {
  font-family: monospace;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.15);
  padding: 8px 14px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 4px;
}

/* =====================================================
   Confirmation page
   ===================================================== */
.confirmation {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 20px;
}
.confirmation .check {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
}
.confirmation h1 { margin-bottom: 12px; }
.order-number-display {
  background: var(--bg-cream);
  padding: 18px 24px;
  border-radius: 12px;
  font-family: monospace;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin: 24px 0;
}

/* =====================================================
   Flash
   ===================================================== */
.flash {
  position: fixed;
  top: 24px; right: 24px;
  background: var(--accent);
  color: white;
  padding: 14px 22px;
  border-radius: 10px;
  z-index: 1000;
  box-shadow: var(--shadow);
  animation: flashIn 0.4s ease, flashOut 0.4s ease 4s forwards;
  font-size: 0.92rem;
  font-weight: 500;
}
@keyframes flashIn { from { transform: translateX(120%); } to { transform: translateX(0); } }
@keyframes flashOut { to { transform: translateX(120%); opacity: 0; } }

/* =====================================================
   Reveal animation on scroll
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* =====================================================
   Stock badge
   ===================================================== */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--accent);
  margin-left: 12px;
}
.stock-badge.low { color: var(--citrus); }
.stock-badge.out { color: var(--berry); }
.stock-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* =====================================================
   About + Contact pages
   ===================================================== */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: var(--bg-warm);
}
.page-hero .lede { max-width: 640px; margin: 18px auto 0; color: var(--ink-soft); font-size: 1.1rem; line-height: 1.7; }
.page-hero .display em { color: var(--accent); font-style: italic; }
.eyebrow.center { text-align: center; display: block; }
.display.center { text-align: center; }

.story-block { padding: 80px 0; background: var(--bg); }
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-text p { color: var(--ink-soft); line-height: 1.8; margin-bottom: 16px; }
.story-text .signature {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
}
.signature-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}
.story-image {
  background: var(--bg-cream);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-image img { width: 100%; max-width: 400px; height: auto; }

.values-section { padding: 80px 0; background: var(--bg-cream); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.value-card {
  background: var(--bg);
  padding: 36px 28px;
  border-radius: 10px;
  text-align: left;
}
.value-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}
.value-card p { color: var(--ink-soft); line-height: 1.7; }

.contact-section { padding: 80px 0; background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.display-sm {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
}
.contact-card {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #e8e3d4;
  align-items: flex-start;
}
.contact-card:last-child { border-bottom: 0; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-warm);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.contact-value {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.6;
}
.contact-value a { color: var(--accent); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-promo {
  background: var(--accent);
  color: #fff;
  padding: 36px 32px;
  border-radius: 10px;
}
.contact-promo h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.contact-promo p {
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-bottom: 20px;
}
.contact-promo .btn-primary {
  background: #fff;
  color: var(--accent);
}
.contact-promo .btn-primary:hover { background: var(--bg-warm); }

.contact-note {
  background: var(--bg-cream);
  padding: 28px 32px;
  border-radius: 10px;
  border-left: 3px solid var(--gold);
}
.contact-note p:last-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   PREMIUM INTERACTIVITY LAYER (v2)
   Floating fruits, magnetic buttons, tilt, toast, parallax
   ===================================================== */

/* ---- Floating decorative fruits (hero & sections) ---- */
.float-fruits {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.float-fruit {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  filter: blur(0.4px) drop-shadow(0 20px 30px rgba(60,50,30,0.18));
  opacity: 0.85;
  will-change: transform;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
  animation: floatY 9s ease-in-out infinite;
}
.float-fruit.f1 { top: 8%;  left: 4%;  width: 70px; height: 70px; animation-delay: 0s; background: radial-gradient(circle at 30% 30%, #ff8a3d, #c8521a); }
.float-fruit.f2 { top: 22%; right: 6%; width: 55px; height: 55px; animation-delay: 1.2s; background: radial-gradient(circle at 30% 30%, #f4d35e, #b8932a); }
.float-fruit.f3 { bottom: 14%; left: 9%; width: 80px; height: 80px; animation-delay: 2.4s; background: radial-gradient(circle at 30% 30%, #b04a6b, #6e1f3a); }
.float-fruit.f4 { bottom: 8%; right: 12%; width: 48px; height: 48px; animation-delay: 0.6s; background: radial-gradient(circle at 30% 30%, #92c46d, #4f7a3a); }
.float-fruit.f5 { top: 45%; left: 48%; width: 32px; height: 32px; animation-delay: 1.8s; background: radial-gradient(circle at 30% 30%, #6cb1d8, #2a5a7a); opacity: 0.55; }

@keyframes floatY {
  0%, 100% { transform: translate3d(0,0,0) rotate(0deg); }
  50%      { transform: translate3d(8px,-22px,0) rotate(6deg); }
}

/* Parallax layer wrapper */
[data-parallax] { will-change: transform; transition: transform 0.18s ease-out; }

/* ---- Magnetic buttons ---- */
.btn, .product-add, .cart-link {
  will-change: transform;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.25s, color 0.25s, box-shadow 0.3s;
}
.btn[data-magnetic] { display: inline-flex; }

/* Soft glow on primary CTAs */
.btn-primary, .btn-accent {
  position: relative;
  overflow: hidden;
}
.btn-primary::before, .btn-accent::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.32), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.btn-primary:hover::before, .btn-accent:hover::before { opacity: 1; }
.btn-primary > *, .btn-accent > * { position: relative; z-index: 1; }

/* ---- Product card tilt + glow ---- */
.product-card {
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s, border-color 0.3s;
  position: relative;
}
.product-card .product-image {
  position: relative;
  overflow: hidden;
}
.product-card .product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
              rgba(255,255,255,0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.product-card:hover .product-image::after { opacity: 1; }
.product-card .product-image img {
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .product-image img { transform: scale(1.07) rotate(-1deg); }
.product-card:hover {
  box-shadow: 0 30px 70px -20px rgba(60,50,30,0.28);
}
.product-card .product-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-dark);
  position: relative;
}
.product-card .product-add::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--accent-dark);
  transition: right 0.35s ease;
}
.product-card:hover .product-add::after { right: 0; }

/* ---- Hero refinement ---- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(184,146,74,0.15), transparent 65%),
    radial-gradient(50% 50% at 10% 90%, rgba(91,124,74,0.18), transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-text h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--gold) 0%, var(--accent-dark) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-visual .fruit-card {
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s;
  will-change: transform;
}
.hero-visual:hover .fruit-card-1 { transform: translate3d(-8px,-12px,0) rotate(-3deg); }
.hero-visual:hover .fruit-card-2 { transform: translate3d(10px,8px,0) rotate(3deg); }
.hero-visual:hover .fruit-card-3 { transform: translate3d(-4px,16px,0) rotate(-2deg); }

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(.2,.7,.2,1), transform 0.85s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { transform: translateY(20px) scale(0.96); }
.reveal-scale.in { transform: none; }
.reveal-left { transform: translateX(-40px); }
.reveal-left.in { transform: none; }
.reveal-right { transform: translateX(40px); }
.reveal-right.in { transform: none; }

/* Stagger children inside a reveal-stagger container */
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.reveal-stagger.in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.19s; }
.reveal-stagger.in > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.26s; }
.reveal-stagger.in > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.33s; }
.reveal-stagger.in > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(n+7) { opacity: 1; transform: none; transition-delay: 0.47s; }

/* ---- Toast notifications ---- */
.gf-toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.gf-toast {
  pointer-events: auto;
  background: rgba(26,29,26,0.96);
  color: #fff;
  padding: 14px 20px 14px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 50px -10px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  max-width: 360px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1), opacity 0.3s;
  border-left: 3px solid var(--accent-light);
}
.gf-toast.in { transform: translateX(0); opacity: 1; }
.gf-toast.success { border-left-color: #6fbf73; }
.gf-toast.error   { border-left-color: #e26b6b; }
.gf-toast .gf-toast-icon { width: 22px; height: 22px; flex-shrink: 0; opacity: 0.9; }

@media (max-width: 540px) {
  .gf-toast-stack { left: 16px; right: 16px; bottom: 16px; align-items: stretch; }
  .gf-toast { min-width: 0; max-width: none; }
}

/* ---- Add-to-cart fly animation ---- */
.fly-fruit {
  position: fixed;
  z-index: 4000;
  width: 80px; height: 80px;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.35);
  transition: transform 0.85s cubic-bezier(.55,-0.05,.7,.45), opacity 0.85s ease, width 0.85s ease, height 0.85s ease, border-radius 0.85s;
  background-size: cover;
  background-position: center;
}
.cart-link.cart-bump { animation: cartBump 0.55s cubic-bezier(.3,1.4,.4,1); }
@keyframes cartBump {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* ---- Loading state ---- */
.is-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}
.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
.btn-outline.is-loading::after { border-color: rgba(60,80,55,0.25); border-top-color: var(--accent-dark); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Quantity bump feedback ---- */
.qty-control input { transition: transform 0.2s ease; }
.qty-control.bump input { transform: scale(1.08); }

/* ---- Sticky checkout (mobile) refinement ---- */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--accent-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  z-index: 90;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  box-shadow: 0 18px 40px -10px rgba(40,60,30,0.45);
  transform: translateY(120%);
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1);
}
.sticky-mobile-cta.show { transform: translateY(0); }
body.has-cart .sticky-mobile-cta { display: flex; }
@media (min-width: 861px) {
  .sticky-mobile-cta { display: none !important; }
}
.sticky-cart-count {
  background: rgba(255,255,255,0.18);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}

/* ---- Image hover zoom for product detail ---- */
.product-detail-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
  background: var(--bg-cream);
}
.product-detail-image img {
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
  width: 100%;
  height: auto;
}
.product-detail-image:hover img { transform: scale(1.05); }
.product-detail-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
              rgba(255,255,255,0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.product-detail-image:hover::before { opacity: 1; }

/* ---- Custom cursor halo (desktop only) ---- */
@media (hover: hover) and (pointer: fine) {
  .gf-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(91,124,74,0.55);
    background: rgba(184,146,74,0.04);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, background 0.25s, border-color 0.25s, opacity 0.3s;
    mix-blend-mode: multiply;
    opacity: 0;
  }
  .gf-cursor.show { opacity: 1; }
  .gf-cursor.hover {
    width: 56px; height: 56px;
    background: rgba(91,124,74,0.10);
    border-color: rgba(91,124,74,0.45);
  }
}

/* ---- Section dividers ---- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 40px 0;
  color: var(--gold);
}
.section-divider::before, .section-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 80px;
  background: linear-gradient(to var(--dir, right), transparent, var(--gold-soft));
}
.section-divider::after { --dir: left; }

/* ---- Premium category pill animation ---- */
.cat-pill {
  position: relative;
  overflow: hidden;
}
.cat-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
  z-index: 0;
}
.cat-pill:hover::before, .cat-pill.active::before { transform: scaleY(1); }
.cat-pill > * { position: relative; z-index: 1; }
.cat-pill { transition: color 0.2s; }
.cat-pill:hover, .cat-pill.active { color: #fff; }

/* ---- Reduce motion respect ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .float-fruit { animation: none !important; }
}
