/* ==========================================================================
   POTATO — Modern Farm-to-Table E-Commerce Landing Page (16:9 Dribbble Concept)
   Palette:
     - Mustard Yellow / Light Golden Brown (Primary Hero Card): #D99B26 -> #B87314
     - Dark Forest Green (Outer Stage, Buttons & Accents): #254613 / #1E3B0F
     - Pure Crisp White (Typography & Price Pill): #FFFFFF
   ========================================================================== */

:root {
  /* Earthy & Warm Mustard / Light Brown Palette */
  --mustard-bright: #E4A834;
  --mustard-core: #D38E22;
  --mustard-deep: #B56E12;
  --earth-brown: #8B5109;
  --earth-shadow: #4D2B04;

  /* Dark Forest Green Palette (Buttons, Outer Stage, Details) */
  --forest-stage: #2B4F14;
  --forest-dark: #1F3C0D;
  --forest-deeper: #152B08;
  --forest-accent: #3A6B1C;
  --forest-glow: #58942D;

  /* Crisp White & Warm Cream */
  --white: #FFFFFF;
  --white-soft: rgba(255, 255, 255, 0.92);
  --white-muted: rgba(255, 255, 255, 0.78);
  --glass-bg: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.34);
  --glass-dark: rgba(68, 39, 4, 0.22);

  /* Fonts */
  --font-fa: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Fredoka', sans-serif;
  --font-playful: 'Fredoka', 'Outfit', sans-serif;

  /* Radii & Shadows */
  --card-radius: 38px;
  --pill-radius: 999px;
  --shadow-stage: 0 32px 75px rgba(10, 24, 4, 0.55), 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-polaroid: 0 18px 36px rgba(68, 38, 4, 0.38);
  --shadow-soft: 0 10px 25px rgba(74, 42, 6, 0.24);
}

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

html,
body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--forest-stage);
  font-family: var(--font-fa);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.sr-only-svg {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.sr-only-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   1. DRIBBBLE / BEHANCE 16:9 PRESENTATION STAGE
   ========================================================================== */
.dribbble-outer-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 24px 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, #3A671C 0%, transparent 48%),
    radial-gradient(circle at 82% 80%, #244310 0%, transparent 55%),
    linear-gradient(135deg, #2E5616 0%, #1E3A0C 60%, #162C08 100%);
  overflow: hidden;
}

.stage-ambient-glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Main 16:9 Rounded Hero Card (Mustard Yellow / Warm Golden Light Brown) */
.potato-hero-card {
  position: relative;
  width: min(1240px, 95vw);
  aspect-ratio: 16 / 9;
  min-height: 650px;
  border-radius: var(--card-radius);
  background:
    radial-gradient(circle at 56% 52%, #ECC04F 0%, #DFA02D 36%, #CA8219 74%, #B46B0F 100%);
  box-shadow:
    var(--shadow-stage),
    inset 0 2px 3px rgba(255, 245, 205, 0.45),
    inset 0 -16px 40px rgba(96, 52, 5, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 38px 30px;
  overflow: visible;
  z-index: 2;
  isolation: isolate;
}

/* Subtle Burlap Weave Texture Overlay inside the Card */
.burlap-texture-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  background-image:
    url('../images/burlap-texture.jpg'),
    repeating-linear-gradient(
      0deg,
      rgba(92, 52, 8, 0.04) 0px,
      rgba(92, 52, 8, 0.04) 2px,
      transparent 2px,
      transparent 5px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 238, 186, 0.04) 0px,
      rgba(255, 238, 186, 0.04) 2px,
      transparent 2px,
      transparent 5px
    );
  background-size: cover, auto, auto;
  background-position: center;
  mix-blend-mode: soft-light;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

/* Sunburst / Geometric Rays Behind Center-Right (Matching Reference Image) */
.hero-sunburst {
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-sunburst span {
  position: absolute;
  top: 52%;
  left: 61%;
  width: 680px;
  height: 112px;
  background: linear-gradient(
    90deg,
    rgba(255, 224, 130, 0.06) 0%,
    rgba(255, 230, 152, 0.22) 50%,
    rgba(255, 224, 130, 0.06) 100%
  );
  transform-origin: center center;
  border-radius: 24px;
}

.hero-sunburst span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(0deg);
}
.hero-sunburst span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.hero-sunburst span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(90deg);
}
.hero-sunburst span:nth-child(4) {
  transform: translate(-50%, -50%) rotate(135deg);
}

/* ==========================================================================
   2. TOP PEEKING FRESH POTATO & LEAF (TOP EDGE CENTER-RIGHT)
   ========================================================================== */
.top-peeking-potato {
  position: absolute;
  top: -22px;
  left: 55%;
  width: 195px;
  height: 120px;
  pointer-events: none;
  z-index: 6;
}

.top-potato-body {
  position: absolute;
  top: 0;
  left: 16px;
  width: 158px;
  height: 76px;
  border-radius: 0 0 88px 88px;
  background:
    radial-gradient(circle at 42% 28%, #F3C86A 0%, #D99B38 52%, #A66A17 92%, #7D4B0A 100%);
  box-shadow:
    0 14px 26px rgba(68, 39, 4, 0.36),
    inset 0 -8px 16px rgba(255, 236, 175, 0.45);
  overflow: hidden;
}

.top-potato-body::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/burlap-texture.jpg');
  background-size: 180px;
  mix-blend-mode: overlay;
  opacity: 0.28;
}

.potato-eye {
  position: absolute;
  width: 12px;
  height: 6px;
  border-radius: 50%;
  background: rgba(94, 52, 8, 0.55);
  box-shadow: 0 1px 2px rgba(255, 235, 180, 0.5);
}

.potato-eye.eye-1 { top: 28px; left: 48px; transform: rotate(-12deg); }
.potato-eye.eye-2 { top: 42px; left: 105px; transform: rotate(15deg); }

.soil-speckle {
  position: absolute;
  border-radius: 50%;
  background: #4C2C07;
  opacity: 0.65;
}
.soil-speckle.s-1 { width: 6px; height: 5px; top: 22px; left: 86px; }
.soil-speckle.s-2 { width: 8px; height: 6px; top: 48px; left: 64px; }

.top-sprout-leaf {
  position: absolute;
  top: 24px;
  left: -8px;
  width: 118px;
  height: 82px;
  filter: drop-shadow(0 8px 14px rgba(42, 24, 3, 0.32));
  transform: rotate(8deg);
}

/* ==========================================================================
   3. HEADER (HAMBURGER + CATALOGUE ON LEFT, HEART & CART CIRCLES ON RIGHT)
   ========================================================================== */
.hero-header {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-catalogue {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px 10px 16px;
  border-radius: var(--pill-radius);
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(84, 46, 5, 0.18);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-catalogue:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(84, 46, 5, 0.28);
}

.hamburger-lines {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3.5px;
  width: 18px;
}

.hamburger-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

. hamburger-lines span:nth-child(2) {
  width: 75%;
}

.catalogue-label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.catalogue-fa-badge {
  font-family: var(--font-fa);
  font-size: 0.76rem;
  font-weight: 700;
  background: var(--forest-dark);
  color: var(--white);
  padding: 2px 9px;
  border-radius: var(--pill-radius);
}

.order-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--pill-radius);
  background: rgba(31, 60, 13, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white-soft);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #87E838;
  box-shadow: 0 0 0 4px rgba(135, 232, 56, 0.28);
  animation: pulseGlow 2s infinite;
}

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

/* Header Right Circles (Wishlist Heart & Shopping Cart) */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.circle-icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-wishlist {
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-wishlist:hover,
.btn-wishlist.active {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: #FFD15C;
  transform: translateY(-2px) scale(1.05);
}

.btn-wishlist.active svg {
  fill: #FFD15C;
}

.btn-cart-top {
  background: var(--white);
  color: var(--forest-dark);
  box-shadow: 0 8px 20px rgba(68, 38, 4, 0.26);
}

.btn-cart-top:hover {
  background: var(--forest-dark);
  color: var(--white);
  transform: translateY(-2px) scale(1.05);
}

.icon-counter {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--pill-radius);
  background: var(--forest-dark);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

/* ==========================================================================
   4. UPPER SHOWCASE: 2 FEATURE ICONS + 2 POLAROID PHOTOS
   ========================================================================== */
.upper-showcase-row {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 44px;
  margin-top: 6px;
}

/* Two Small Feature Icons with Text */
.features-cluster {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-top: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 175px;
}

.feature-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(74, 42, 6, 0.16);
  transition: transform 0.25s ease, background 0.25s ease;
}

.feature-item:hover .feature-icon-circle {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  transform: scale(1.08) rotate(-6deg);
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.45;
}

.feature-text strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(78, 43, 4, 0.25);
}

.feature-text span {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--white-soft);
}

/* Two Polaroid Photos of Potatoes with Different Sizes (Top-Left Center like Reference) */
.polaroid-stack {
  position: relative;
  width: 210px;
  height: 175px;
  margin-left: 8px;
  margin-top: -18px;
  z-index: 11;
}

.polaroid-card {
  position: absolute;
  width: 136px;
  height: 114px;
  padding: 6px 6px 18px 6px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-polaroid);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  cursor: pointer;
}

.polaroid-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 11px;
  overflow: hidden;
  background: #5C3A10;
}

.polaroid-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.polaroid-size-tag {
  position: absolute;
  bottom: 4px;
  right: 5px;
  padding: 2px 7px;
  border-radius: 99px;
  background: rgba(31, 60, 13, 0.88);
  color: var(--white);
  font-family: var(--font-fa);
  font-size: 0.62rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.polaroid-top {
  top: 0;
  left: 16px;
  transform: rotate(22deg);
  z-index: 3;
}

.polaroid-bottom {
  top: 66px;
  left: 4px;
  transform: rotate(-10deg);
  z-index: 2;
}

.polaroid-stack:hover .polaroid-top {
  transform: rotate(14deg) translateY(-6px) scale(1.05);
}

.polaroid-stack:hover .polaroid-bottom {
  transform: rotate(-4deg) translateY(6px) scale(1.05);
}

/* ==========================================================================
   5. GIANT PLAYFUL & TEXTURED "POTATO" DISPLAY TYPOGRAPHY
   ========================================================================== */
.hero-typography-layer {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -28px;
  margin-bottom: -14px;
  pointer-events: none;
  user-select: none;
}

.giant-potato-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(6.2rem, 13.8vw, 11.4rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--white);
  text-transform: uppercase;
  /* Soft organic texture filter + warm depth shadow */
  filter: url(#potato-text-texture) drop-shadow(0 12px 28px rgba(84, 46, 4, 0.25));
}

.giant-potato-title .char {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

/* Subtle organic grain overlay on each letter for gentle tactile texture */
.giant-potato-title .char::after {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  color: transparent;
  background-image:
    radial-gradient(rgba(181, 110, 18, 0.16) 1.2px, transparent 1.2px),
    radial-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 8px 8px, 12px 12px;
  background-position: 0 0, 4px 4px;
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
}

.char-p {
  transform: rotate(-3deg) translateY(4px);
}

.char-o1 {
  transform: rotate(4deg) translateY(-4px);
}

.char-t1 {
  transform: rotate(-2deg) translateY(2px);
}

.char-a {
  width: 0.82em;
  height: 0.92em;
  transform: rotate(3deg) translateY(3px);
}

.char-t2 {
  transform: rotate(-3deg) translateY(-2px);
}

.char-o2 {
  width: 0.88em;
  height: 0.94em;
  transform: rotate(4deg) translateY(4px);
}

.playful-letter-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ==========================================================================
   6. FLOATING POTATO SLICES & WEDGES IN AIR
   ========================================================================== */
.floating-elements-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
}

.floating-slice {
  position: absolute;
  filter: drop-shadow(0 16px 24px rgba(72, 40, 4, 0.36));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.potato-slice-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Slice 1: Center-Upper Floating Slice (Between Polaroids and T/A) */
.slice-center-top {
  top: 21%;
  left: 34.5%;
  width: 96px;
  height: 88px;
  animation: floatSlice1 5.5s ease-in-out infinite;
}

/* Slice 2: Upper-Right Potato Wedges (Breaking outside right card edge like reference) */
.slice-right-top {
  top: 11%;
  right: -28px;
  width: 195px;
  height: 185px;
  animation: floatSlice2 6.2s ease-in-out infinite;
}

/* Slice 3: Bottom-Right Crisp Slice & Fry Stick */
.slice-right-bottom {
  bottom: 16%;
  right: -12px;
  width: 122px;
  height: 106px;
  animation: floatSlice3 5s ease-in-out infinite;
}

@keyframes floatSlice1 {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

@keyframes floatSlice2 {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}

@keyframes floatSlice3 {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-9px) rotate(16deg); }
}

/* Rustic Soil & Herb Crumbs Floating in Air */
.floating-crumb {
  position: absolute;
  border-radius: 45% 55% 60% 40%;
  background: #4E2E07;
  opacity: 0.55;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.crumb-1 { width: 9px; height: 7px; top: 28%; left: 45%; transform: rotate(25deg); }
.crumb-2 { width: 7px; height: 6px; top: 36%; right: 16%; transform: rotate(-18deg); background: #254613; }
.crumb-3 { width: 10px; height: 8px; bottom: 32%; left: 64%; transform: rotate(42deg); }
.crumb-4 { width: 6px; height: 6px; top: 19%; left: 66%; background: #254613; }

/* ==========================================================================
   7. CENTER-BOTTOM GIANT MACRO POTATO HERO (WITH SOIL, BURLAP & FRESH LEAF)
   ========================================================================== */
.macro-potato-centerpiece {
  position: absolute;
  bottom: -52px;
  left: 65%;
  transform: translateX(-50%);
  width: 395px;
  height: 315px;
  z-index: 8;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Burlap Sack Rim Nesting at the Bottom of the Macro Potato */
.burlap-base-nest {
  position: absolute;
  bottom: 12px;
  left: -26px;
  right: -26px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.82;
  filter: drop-shadow(0 16px 24px rgba(34, 18, 2, 0.55));
  mask-image: radial-gradient(ellipse at center, black 45%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 45%, transparent 78%);
  z-index: 1;
}

.burlap-base-nest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.25) contrast(1.15) brightness(0.92);
}

/* Fresh Green Farm Leaf Perched on the Macro Potato (Directly inspired by reference) */
.macro-potato-leaf {
  position: absolute;
  top: -34px;
  left: 36px;
  width: 215px;
  height: 128px;
  z-index: 5;
  filter: drop-shadow(0 14px 20px rgba(42, 23, 3, 0.38));
  transform-origin: bottom right;
  animation: leafBreeze 5.5s ease-in-out infinite;
}

@keyframes leafBreeze {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(3.5deg) translateY(-3px); }
}

/* Giant Macro Potato Dome */
.macro-potato-dome {
  position: absolute;
  bottom: 0;
  left: 12px;
  width: 365px;
  height: 268px;
  /* Organic asymmetric potato tuber silhouette */
  border-radius: 54% 46% 42% 44% / 64% 58% 36% 38%;
  background:
    radial-gradient(circle at 38% 28%, #FCE08B 0%, #E7AF46 32%, #C98621 68%, #965B0E 92%, #6E3F06 100%);
  box-shadow:
    0 26px 50px rgba(38, 21, 2, 0.55),
    inset 0 14px 28px rgba(255, 248, 212, 0.62),
    inset -18px -24px 42px rgba(78, 42, 4, 0.65);
  overflow: hidden;
  z-index: 3;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Authentic Photographic Potato & Burlap Skin Overlay inside the 3D Macro Dome */
.potato-skin-photo-layer {
  position: absolute;
  inset: -10%;
  background-image:
    url('../images/potato-sack-harvest.jpg'),
    url('../images/burlap-texture.jpg');
  background-size: 165% auto, 120% auto;
  background-position: 35% 65%, center;
  mix-blend-mode: soft-light;
  opacity: 0.58;
  filter: contrast(1.18) saturate(1.1);
}

.potato-3d-lighting {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 252, 232, 0.52) 0%, transparent 42%),
    radial-gradient(circle at 75% 82%, rgba(62, 33, 3, 0.55) 0%, transparent 50%);
  pointer-events: none;
}

/* Realistic Potato Eyes / Indents on Macro Potato */
.potato-dimple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(82, 44, 5, 0.72) 0%, rgba(145, 86, 16, 0.3) 65%, transparent 100%);
  box-shadow: 0 2px 3px rgba(255, 232, 168, 0.45);
}

.dimple-1 { width: 22px; height: 9px; top: 38%; left: 26%; transform: rotate(-14deg); }
.dimple-2 { width: 18px; height: 8px; top: 52%; left: 62%; transform: rotate(18deg); }
.dimple-3 { width: 25px; height: 10px; top: 68%; left: 38%; transform: rotate(-6deg); }
.dimple-4 { width: 16px; height: 7px; top: 32%; left: 72%; transform: rotate(24deg); }

/* Realistic Earthy Soil Specks on Macro Potato */
.earth-patch {
  position: absolute;
  background: #462806;
  border-radius: 42% 58% 62% 38%;
  opacity: 0.65;
  filter: blur(0.4px);
}

.patch-1 { width: 18px; height: 12px; top: 62%; left: 20%; transform: rotate(22deg); }
.patch-2 { width: 14px; height: 9px; top: 44%; left: 76%; transform: rotate(-18deg); }
.patch-3 { width: 24px; height: 14px; bottom: 18%; left: 54%; transform: rotate(12deg); opacity: 0.5; }

/* Morning Water / Dew Droplets on Macro Potato (Matching Tangerine Dew Look) */
.dew-drop {
  position: absolute;
  border-radius: 50% 50% 46% 54%;
  background: radial-gradient(circle at 30% 30%, #FFFFFF 0%, rgba(255, 248, 220, 0.75) 45%, rgba(190, 125, 25, 0.2) 100%);
  box-shadow:
    0 3px 6px rgba(74, 42, 5, 0.35),
    inset 1px 1px 2px #FFFFFF;
}

.drop-1 { width: 11px; height: 9px; top: 28%; left: 42%; }
.drop-2 { width: 8px; height: 7px; top: 35%; left: 49%; }
.drop-3 { width: 13px; height: 10px; top: 46%; left: 33%; }
.drop-4 { width: 9px; height: 8px; top: 42%; left: 66%; }
.drop-5 { width: 7px; height: 6px; top: 56%; left: 48%; }

/* Live Interactive Status Pill on the Macro Potato */
.macro-live-tag {
  position: absolute;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: var(--pill-radius);
  background: rgba(31, 60, 13, 0.86);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(31, 18, 2, 0.4);
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFD452;
}

/* ==========================================================================
   8. INTERACTIVE PRODUCT SELECTOR (BOTTOM-LEFT)
   ========================================================================== */
.product-selector-panel {
  position: relative;
  z-index: 12;
  align-self: flex-start; /* Explicit left side of the 16:9 card */
  margin-right: auto;
  width: min(445px, 43%);
  background: rgba(122, 68, 8, 0.24);
  border: 1.5px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(14px);
  border-radius: 26px;
  padding: 13px 17px 15px;
  box-shadow:
    0 18px 38px rgba(72, 39, 4, 0.26),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.selector-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.selector-prompt {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.wholesale-toggle-chip {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--pill-radius);
  background: rgba(37, 70, 19, 0.85);
  color: #FFE48F;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
}

.wholesale-toggle-chip:hover {
  background: var(--forest-deeper);
  transform: scale(1.04);
}

.selector-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.selector-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
}

.selector-label {
  font-weight: 700;
  color: var(--white-soft);
}

.selector-hint {
  font-size: 0.7rem;
  font-weight: 600;
  color: #FFF3C4;
}

.pill-options-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.option-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--pill-radius);
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.option-pill:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.option-pill.active {
  background: var(--forest-dark);
  border-color: #9BE858;
  color: var(--white);
  box-shadow: 0 6px 14px rgba(24, 48, 9, 0.42);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.option-pill.active .pill-dot {
  background: #9BE858;
  box-shadow: 0 0 6px #9BE858;
}

/* Bottom Row: Quantity Stepper (1 KG with + / -), White Price Button ("1.99 $"), Dark Green Add to Cart */
.purchase-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

/* Quantity Stepper matching Reference Image */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
   gap: 8px;
  padding: 5px 7px;
  border-radius: var(--pill-radius);
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  min-width: 128px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: var(--white);
  color: var(--forest-dark);
  transform: scale(1.08);
}

.qty-display {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--white);
  min-width: 46px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* White Price Pill ("1.99 $") + Dark Forest Green Add-to-Cart Button */
.price-cart-combo {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  gap: 8px;
}

.white-price-pill {
  padding: 9px 18px;
  border-radius: var(--pill-radius);
  background: var(--white);
  color: var(--forest-dark);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(68, 38, 4, 0.25);
  transition: transform 0.25s ease;
}

.btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--pill-radius);
  background: var(--forest-dark);
  color: var(--white);
  font-family: var(--font-fa);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(21, 43, 8, 0.48);
  border: 1.5px solid rgba(155, 232, 88, 0.35);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-add-to-cart:hover {
  background: #142907;
  border-color: #9BE858;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(21, 43, 8, 0.62);
}

.btn-add-to-cart:active {
  transform: translateY(0) scale(0.98);
}

.basket-icon-svg {
  flex-shrink: 0;
}

/* ==========================================================================
   9. MODALS (CATALOGUE & SHOPPING CART) + TOAST
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(16, 32, 7, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: min(880px, 95vw);
  max-height: 88vh;
  overflow-y: auto;
  background: #FFFDF7;
  color: #233814;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.45);
  border: 2px solid #E4A834;
}

.cart-modal-card {
  width: min(520px, 95vw);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(35, 56, 20, 0.12);
  margin-bottom: 20px;
}

.modal-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #B56E12;
  margin-bottom: 4px;
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--forest-dark);
}

.modal-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F4EBD9;
  color: var(--forest-dark);
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--forest-dark);
  color: var(--white);
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.catalogue-item-card {
  background: #FAF4E6;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(181, 110, 18, 0.22);
  display: flex;
  flex-direction: column;
}

.catalogue-item-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.cat-item-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.cat-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 800;
}

.cat-grade {
  background: var(--forest-dark);
  color: var(--white);
  padding: 3px 10px;
  border-radius: var(--pill-radius);
}

.cat-price {
  font-family: var(--font-display);
  color: #B56E12;
  font-weight: 900;
}

.cat-item-body h3 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--forest-dark);
}

.cat-item-body p {
  font-size: 0.78rem;
  color: #4B5D3B;
  line-height: 1.55;
  flex: 1;
}

.btn-select-cat {
  margin-top: 6px;
  padding: 9px 14px;
  border-radius: 12px;
  background: #D38E22;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 0.2s ease;
}

.btn-select-cat:hover {
  background: var(--forest-dark);
}

/* Cart Modal List */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cart-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 16px;
  background: #FAF4E6;
  border: 1px solid rgba(181, 110, 18, 0.2);
}

.cart-row-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--forest-dark);
}

.cart-row-info span {
  font-size: 0.78rem;
  color: #637356;
}

.cart-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-row-price {
  font-family: var(--font-display);
  font-weight: 900;
  color: #B56E12;
}

.btn-remove-cart {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(190, 45, 45, 0.12);
  color: #B3261E;
  font-size: 0.8rem;
  font-weight: 800;
}

.cart-summary-footer {
  border-top: 1px solid rgba(35, 56, 20, 0.12);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.total-price-highlight strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest-dark);
}

.btn-checkout-submit {
  margin-top: 6px;
  padding: 13px 20px;
  border-radius: 16px;
  background: var(--forest-dark);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 0.2s ease;
}

.btn-checkout-submit:hover {
  background: #2E5616;
}

/* Toast Notification */
.harvest-toast {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--pill-radius);
  background: var(--forest-dark);
  color: var(--white);
  border: 2px solid #E4A834;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.38);
  font-size: 0.86rem;
  font-weight: 700;
  animation: toastSlideIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ==========================================================================
   10. RESPONSIVE DESIGN (TABLET & MOBILE VIEWPORTS)
   ========================================================================== */
@media (max-width: 1120px) {
  .potato-hero-card {
    aspect-ratio: auto;
    min-height: 690px;
    padding: 24px 26px 28px;
  }

  .giant-potato-title {
    font-size: clamp(4.8rem, 12.5vw, 8.5rem);
  }

  .macro-potato-centerpiece {
    width: 330px;
    height: 270px;
    left: 55%;
  }

  .macro-potato-dome {
    width: 310px;
    height: 228px;
  }

  .product-selector-panel {
    width: min(440px, 54%);
  }
}

@media (max-width: 820px) {
  .dribbble-outer-stage {
    padding: 14px;
  }

  .potato-hero-card {
    width: 100%;
    min-height: auto;
    border-radius: 28px;
    padding: 20px 18px 26px;
    gap: 18px;
  }

  .order-mode-pill {
    display: none;
  }

  .top-peeking-potato {
    left: auto;
    right: 22%;
    transform: scale(0.76);
    top: -18px;
  }

  .upper-showcase-row {
    flex-direction: column;
    gap: 18px;
  }

  .features-cluster {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .feature-item {
    max-width: 48%;
  }

  .polaroid-stack {
    margin: 0 auto;
    height: 145px;
  }

  .hero-typography-layer {
    margin: 0;
  }

  .giant-potato-title {
    font-size: clamp(3.4rem, 15vw, 5.6rem);
  }

  .slice-right-top {
    width: 120px;
    height: 115px;
    top: 22%;
    right: -18px;
  }

  .slice-center-top {
    width: 70px;
    height: 64px;
    top: 28%;
    left: 12%;
  }

  .slice-right-bottom {
    display: none;
  }

  .macro-potato-centerpiece {
    position: relative;
    bottom: 0;
    left: 0;
    transform: none;
    margin: 14px auto -10px;
    width: 280px;
    height: 225px;
  }

  .macro-potato-dome {
    width: 260px;
    height: 195px;
    left: 10px;
  }

  .macro-potato-leaf {
    width: 165px;
    height: 98px;
    top: -24px;
    left: 24px;
  }

  .product-selector-panel {
    width: 100%;
    align-self: stretch;
  }

  .purchase-action-bar {
    flex-wrap: wrap;
  }

  .qty-stepper {
    width: 100%;
  }

  .price-cart-combo {
    width: 100%;
    justify-content: space-between;
  }

  .btn-add-to-cart {
    flex: 1;
  }

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