/* ==========================================================================
   Efendi Agro Premium Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: hsl(240, 45%, 6%);
  --bg-secondary: hsl(240, 40%, 11%);
  --bg-glass: rgba(18, 18, 38, 0.65);
  --bg-glass-card: rgba(28, 28, 55, 0.45);
  
  --accent-berry: hsl(255, 75%, 62%);
  --accent-berry-glow: hsla(255, 75%, 62%, 0.35);
  --accent-fresh: hsl(142, 72%, 45%);
  --accent-fresh-glow: hsla(142, 72%, 45%, 0.25);
  --accent-gold: hsl(38, 92%, 52%);
  --accent-gold-glow: hsla(38, 92%, 52%, 0.3);
  
  --text-primary: hsl(0, 0%, 98%);
  --text-secondary: hsl(240, 15%, 75%);
  --text-muted: hsl(240, 12%, 55%);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-gold: rgba(245, 158, 11, 0.3);

  /* Fonts */
  --font-display: 'Outfit', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Container sizes */
  --container-max-width: 1200px;
}

/* ==========================================================================
   Global Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-berry) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-berry);
}

/* ==========================================================================
   Typography & Sections
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-berry);
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Animations & Reveal Classes
   ========================================================================== */

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

@keyframes pulse-glow {
  0% { box-shadow: 0 0 10px var(--accent-berry-glow); }
  50% { box-shadow: 0 0 25px var(--accent-berry); }
  100% { box-shadow: 0 0 10px var(--accent-berry-glow); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-200 { transition-delay: 0.2s; }
.delay-400 { transition-delay: 0.4s; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-berry) 0%, hsl(265, 80%, 55%) 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, hsl(265, 80%, 55%) 0%, var(--accent-berry) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: var(--bg-glass-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, hsl(30, 90%, 48%) 100%);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--accent-gold);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 11, 30, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: padding var(--transition-normal), background var(--transition-normal);
  padding: 1.25rem 0;
}

.main-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(8, 8, 22, 0.92);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-accent {
  color: var(--accent-berry);
  position: relative;
}

.logo-accent::after {
  content: '.';
  color: var(--accent-gold);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-berry), var(--accent-fresh));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Language Toggle Switch styling */
.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.lang-label {
  color: var(--text-muted);
  transition: color var(--transition-fast);
  user-select: none;
}

.lang-label.active {
  color: var(--text-primary);
}

.lang-divider {
  margin: 0 0.35rem;
  color: rgba(255, 255, 255, 0.15);
}

/* Interactive Cart Button Badge */
.cart-trigger {
  position: relative;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: all var(--transition-normal);
}

.cart-trigger:hover {
  background: var(--accent-berry);
  border-color: var(--accent-berry);
  transform: scale(1.05);
  box-shadow: 0 4px 15px var(--accent-berry-glow);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-gold);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-primary);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge.pop {
  transform: scale(1.4);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: none;
}

.mobile-menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 10px;
  transition: all var(--transition-normal);
}

/* Hamburger transition when active */
.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Cart Drawer Panel (Slide Out)
   ========================================================================== */

.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.cart-drawer.open {
  right: 0;
}

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

.cart-drawer-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.cart-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

/* Empty cart state inside drawer */
.empty-cart-message {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-secondary);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.empty-cart-message p {
  margin-bottom: 1.5rem;
}

/* Cart Item Rows styles */
.cart-item-row {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.cart-item-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
}

.cart-item-qty-btn {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.cart-item-qty-val {
  font-size: 0.85rem;
  font-weight: 700;
  width: 16px;
  text-align: center;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.cart-item-remove:hover {
  color: hsl(0, 85%, 65%);
}

.cart-drawer-footer {
  padding: 1.5rem;
  background: rgba(18, 18, 38, 0.9);
  border-top: 1px solid var(--border-color);
  display: none; /* Shown dynamically in app.js if cart not empty */
}

.cart-totals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.cart-total-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: var(--font-display);
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, hsl(240, 45%, 12%) 0%, var(--bg-primary) 70%);
}

/* Glowing aesthetic orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.orb-1 {
  top: 15%;
  right: 10%;
  width: 350px;
  height: 350px;
  background: var(--accent-berry);
}

.orb-2 {
  bottom: 10%;
  left: 5%;
  width: 250px;
  height: 250px;
  background: hsla(142, 72%, 45%, 0.3);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--accent-fresh);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
  font-weight: 400;
}

.hero-cta-buttons {
  display: flex;
  gap: 1.25rem;
}

/* Premium Image Showcase with Gold Frame */
.hero-image-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-frame-glow {
  position: absolute;
  width: 105%;
  height: 105%;
  background: radial-gradient(circle, var(--accent-berry-glow) 0%, transparent 70%);
  z-index: -1;
}

.image-frame {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  max-width: 440px;
}

.image-frame img {
  border-radius: 18px;
  animation: float 6s ease-in-out infinite;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Floating UI badges */
.floating-badge {
  position: absolute;
  background: rgba(18, 18, 38, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 2;
  animation: float 5s ease-in-out infinite alternate;
}

.floating-badge i {
  font-size: 1.5rem;
}

.badge-1 {
  top: 15%;
  left: -20px;
  border-color: rgba(99, 102, 241, 0.3);
}
.badge-1 i { color: var(--accent-berry); }

.badge-2 {
  bottom: 12%;
  right: -25px;
  animation-delay: 2.5s;
  border-color: var(--border-gold);
}
.badge-2 i { color: var(--accent-gold); }

.floating-badge h4 {
  font-size: 0.85rem;
  font-weight: 700;
}

.floating-badge p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   About Section Layout
   ========================================================================== */

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

.about-image-block {
  position: relative;
}

.about-img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.image-frame-decor {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 3px solid var(--accent-berry);
  border-left: 3px solid var(--accent-berry);
  border-top-left-radius: 20px;
  z-index: 0;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 1.25rem 2rem;
  text-align: center;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.badge-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 700;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-highlights {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.highlight-icon {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--accent-berry);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.highlight-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.highlight-details p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Benefits Cards Section
   ========================================================================== */

.benefits-section {
  background: radial-gradient(circle at 10% 50%, hsl(240, 45%, 9%) 0%, var(--bg-primary) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-berry), var(--accent-fresh));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-8px);
  background: rgba(38, 38, 75, 0.4);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  font-size: 2.2rem;
  color: var(--accent-berry);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent-berry), hsl(265, 80%, 55%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Product Catalog Layout
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.product-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.product-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--accent-fresh);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
}

.product-badge.badge-accent {
  background: var(--accent-berry);
  color: #fff;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

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

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-unit {
  font-size: 0.85rem;
  color: var(--accent-fresh);
  font-weight: 700;
}

.product-rating {
  font-size: 0.75rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.product-rating span {
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-price-block {
  display: flex;
  align-items: baseline;
}

.price-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: var(--font-display);
}

.product-buy-controls {
  display: flex;
  gap: 1rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  overflow: hidden;
  height: 44px;
}

.qty-btn {
  width: 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.qty-val {
  font-weight: 700;
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
}

.btn-add-cart {
  flex: 1;
  border-radius: 30px;
  height: 44px;
  padding: 0;
  box-shadow: none;
}

/* ==========================================================================
   Checkout & Contact Center Panel
   ========================================================================== */

.contact-section {
  background: radial-gradient(circle at 90% 80%, hsl(240, 45%, 11%) 0%, var(--bg-primary) 70%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-lead-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.info-items-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-color);
  color: var(--accent-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.social-links-wrapper {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--accent-berry);
  border-color: var(--accent-berry);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--accent-berry-glow);
}

/* Tabs & Forms controls */
.contact-form-block {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.contact-form-block::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--accent-berry-glow) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.form-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.form-tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.form-tab-btn.active {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--accent-berry);
  color: var(--text-primary);
}

.tab-content {
  display: none;
  position: relative;
  z-index: 1;
}

.tab-content.active {
  display: block;
}

/* Checkout Items Preview inside tab */
.checkout-summary-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.checkout-summary-box h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.checkout-items-preview {
  max-height: 160px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.preview-empty-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem 0;
}

.preview-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.preview-item-name {
  font-weight: 500;
}

.preview-item-qty {
  color: var(--text-muted);
}

.preview-item-price {
  font-weight: 700;
  color: var(--accent-gold);
}

.checkout-summary-totals {
  font-size: 0.9rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.total-row.delivery {
  color: var(--accent-fresh);
}

.delivery-free {
  font-weight: 700;
}

.summary-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0.75rem 0;
}

.total-row.final-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* Common form groups styling */
.checkout-inputs-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-group label .required {
  color: hsl(0, 85%, 65%);
}

.form-group input, .form-group textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-berry);
  box-shadow: 0 0 0 2px var(--accent-berry-glow);
}

/* Contact API alerts feedback */
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none; /* Show dynamically */
  align-items: center;
  gap: 0.75rem;
}

.success-alert {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--accent-fresh);
}

.error-alert {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: hsl(0, 85%, 65%);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
  background: hsl(240, 45%, 4%);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 4rem 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 1.25rem;
  display: inline-block;
}

.footer-tagline {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 320px;
}

.footer-rights {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links-col h4, .footer-certs-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links-col h4::after, .footer-certs-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-berry);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-col a {
  color: var(--text-secondary);
}

.footer-links-col a:hover {
  color: var(--text-primary);
  padding-left: 5px;
}

.certs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cert-tag {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cert-tag i {
  color: var(--accent-fresh);
}

/* Floating Quick Sticky WhatsApp support */
.floating-wa-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 99;
  transition: all var(--transition-normal);
}

.floating-wa-btn:hover {
  transform: scale(1.1) rotate(10deg);
  background-color: #128c7e;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Responsive Styles Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-container {
    gap: 2rem;
  }
  .grid-2 {
    gap: 3rem;
  }
  .contact-grid {
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  section {
    padding: 4rem 0;
  }
  
  .hero-section {
    padding-top: 6rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta-buttons {
    justify-content: center;
  }
  
  .hero-image-showcase {
    margin-top: 2.5rem;
    order: 2;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .about-image-block {
    display: flex;
    justify-content: center;
    order: 2;
    margin-top: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info-block {
    order: 2;
    margin-top: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  /* Responsive Mobile Menu Drawer Logic */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.4);
    z-index: 99;
    padding: 6rem 2rem 2rem 2rem;
    transition: left var(--transition-normal);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 2rem;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }
  
  .hero-cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-group-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-block {
    padding: 1.5rem;
  }
  
  .form-tab-btn {
    font-size: 0.8rem;
  }
  
  .floating-badge {
    padding: 0.5rem 0.75rem;
  }
  
  .badge-1 { left: -10px; }
  .badge-2 { right: -10px; }
  
  .floating-wa-btn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    bottom: 15px;
    right: 15px;
  }
}

/* ==========================================================================
   Premium Preloader Styling
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 1;
  visibility: visible;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.preloader-logo {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  animation: float 3s ease-in-out infinite;
}

.preloader-spinner-wrapper {
  width: 150px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.preloader-spinner {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-berry), var(--accent-gold));
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  animation: fillProgress 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes fillProgress {
  0% { width: 0%; left: 0; }
  50% { width: 100%; left: 0; }
  100% { width: 0%; left: 100%; }
}

/* Mobile responsive preloader adjustment */
@media (max-width: 480px) {
  .preloader-logo {
    font-size: 2.5rem;
  }
  .preloader-spinner-wrapper {
    width: 110px;
  }
}

/* ═══════════════════════════════════════════
   Sold-Out Product Card Styles
═══════════════════════════════════════════ */
.product-card--soldout {
  position: relative;
}

.product-card--soldout .product-image-wrapper img {
  filter: grayscale(60%) brightness(0.7);
  transition: filter var(--transition-normal);
}

.product-card--soldout:hover .product-image-wrapper img {
  filter: grayscale(40%) brightness(0.8);
}

.soldout-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.soldout-ribbon {
  background: linear-gradient(135deg, #e53935, #c62828);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 48px;
  transform: rotate(-15deg);
  box-shadow: 0 4px 24px rgba(229, 57, 53, 0.45);
  border-radius: 6px;
  pointer-events: none;
  animation: soldoutPulse 2.5s ease-in-out infinite;
}

@keyframes soldoutPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(229, 57, 53, 0.45); }
  50% { box-shadow: 0 6px 36px rgba(229, 57, 53, 0.7); }
}

.btn-soldout {
  background: linear-gradient(135deg, #757575, #616161) !important;
  color: #bdbdbd !important;
  cursor: not-allowed !important;
  border: none !important;
  pointer-events: none;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
}

.product-card--soldout .qty-btn {
  opacity: 0.4;
  cursor: not-allowed;
}

.product-card--soldout .price-val {
  text-decoration: line-through;
  opacity: 0.5;
}
