/*
Theme Name: All Mart Theme
Theme URI: http://example.com/all-mart-theme
Author: Antigravity AI
Author URI: http://example.com
Description: A premium, highly customizable, responsive orange-and-white WordPress e-commerce theme designed for grocery and retail stores. Features parallax hero sections, WooCommerce compatibility, and a fully editable homepage through the WordPress Customizer.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: all-mart-theme
*/

/* ─── 1. Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ─── 2. Global Variables & Theme Palette ─── */
:root {
  --background: #fafafa;
  --foreground: #1a1a2e;
  --surface: #ffffff;
  --surface-hover: #f5f5f5;
  --border: #e8e8e8;
  
  --primary: #f97316;
  --primary-hover: #ea580c;
  --primary-light: #fff7ed;
  --secondary: #f0f0f0;
  --accent: #fbbf24;
  
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(255, 255, 255, 0.95);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);

  --footer-bg: #1a1a2e;
  --footer-text: #c8c8d0;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ─── 3. Resets & Base Styles ─── */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: var(--font-body);
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 1rem;
}

/* ─── 4. Layout Elements ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphism Cards */
.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary);
}

/* Premium Buttons with Micro-Animations */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-size: 0.95rem;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary);
  color: white !important;
  box-shadow: 0 4px 14px 0 rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 20px 0 rgba(249, 115, 22, 0.4);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--surface-hover);
  border-color: var(--primary);
  color: var(--primary);
}

/* ─── 5. Site Header & Navigation ─── */
.promo-bar {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

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

.logo-link {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--foreground);
}

.logo-highlight {
  color: var(--primary);
  margin-left: 2px;
}

.search-form-container {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.search-form-container form {
  display: flex;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1.2rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: #f9f9f9;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  background-color: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.search-submit-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-submit-btn:hover {
  background: var(--primary-hover);
}

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

.action-icon-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
}

.action-icon-link:hover {
  color: var(--primary);
}

.cart-count-badge {
  background: var(--primary);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  position: absolute;
  top: -8px;
  left: 14px;
  font-weight: 700;
}

/* Category Navigation Bar */
.category-bar {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 0.75rem 0;
  overflow-x: auto;
}

.category-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  white-space: nowrap;
}

.category-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
}

.category-menu a:hover,
.category-menu .current-menu-item a {
  color: var(--primary);
}

/* ─── 6. Premium Redesigned Hero Section ─── */
.hero-container {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  view-timeline: --hero block;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 125%;
  top: -12.5%;
  left: 0;
  object-fit: cover;
  transition: transform 0.1s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg, 
    rgba(26, 26, 46, 0.9) 0%, 
    rgba(26, 26, 46, 0.7) 45%, 
    rgba(249, 115, 22, 0.15) 100%
  );
  z-index: 1;
}

.hero-orb-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.hero-orb-orange {
  width: 320px;
  height: 320px;
  background-color: var(--primary);
  right: 15%;
  top: 10%;
  animation: floatOrb1 16s ease-in-out infinite alternate;
}

.hero-orb-gold {
  width: 260px;
  height: 260px;
  background-color: var(--accent);
  right: 35%;
  bottom: 10%;
  animation: floatOrb2 20s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 4rem;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 580px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: #ff914d;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-title {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.15;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-title-highlight {
  color: var(--primary);
  background: linear-gradient(90deg, #f97316 0%, #ff9843 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  text-shadow: 0 0 20px rgba(249, 115, 22, 0.25);
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-shop-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.hero-shop-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.6);
  background: #ff7e26;
}

.hero-shop-btn svg {
  transition: transform 0.3s ease;
}

.hero-shop-btn:hover svg {
  transform: translateX(4px);
}

.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.hero-secondary-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-secondary-btn:hover {
  color: white;
}

.hero-secondary-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
  animation: fadeIn 1.2s ease-out 0.8s both;
  transition: opacity 0.3s ease;
}

.scroll-indicator-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

/* ─── 7. Feature Bar Section ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary);
}

.feature-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: #6b7280;
}

/* ─── 8. Category Grid ─── */
.category-showcase {
  margin-bottom: 3.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.75rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(249, 115, 22, 0.2);
}

.category-card-icon {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.category-card:hover .category-card-icon {
  transform: scale(1.15) rotate(5deg);
}

.category-card-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
}

/* ─── 9. Product Grid & Cards ─── */
.product-showcase {
  margin-bottom: 3.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  height: 100%;
}

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

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(249, 115, 22, 0.2);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  z-index: 5;
}

.product-card-image-wrap {
  width: 100%;
  height: 160px;
  position: relative;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
}

.product-card-image-wrap img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.product-card-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.product-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
}

.product-card-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--foreground);
}

.product-card-add-btn {
  background: var(--primary);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
  transition: all 0.25s ease;
}

.product-card-add-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

/* ─── 10. Promotional Banner Blocks ─── */
.promo-banners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.promo-banner-card {
  position: relative;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  padding: 2.5rem;
  color: white;
}

.promo-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.promo-banner-content {
  position: relative;
  z-index: 2;
  max-width: 280px;
}

.promo-banner-tag {
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.promo-banner-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: white;
}

.promo-banner-desc {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
  color: white;
}

.promo-banner-btn {
  background: white;
  color: #1a1a2e;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.25s ease;
}

.promo-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* ─── 11. Newsletter Section ─── */
.newsletter-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #111122 100%);
  color: white;
  padding: 4rem 2rem;
  border-radius: 24px;
  margin-bottom: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.newsletter-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin: 0 auto;
}

.newsletter-title {
  color: white;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.newsletter-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: white;
  outline: none;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.newsletter-input:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.newsletter-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.newsletter-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ─── 12. Site Footer ─── */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 5rem 0 2.5rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-widget-title {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-info p {
  color: var(--footer-text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.06);
  color: var(--footer-text);
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ─── 13. WooCommerce Templates Override Styling ─── */
.woocommerce-products-header {
  margin-bottom: 2rem;
}

.woocommerce-ordering select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  outline: none;
  font-size: 0.9rem;
}

.woocommerce-ordering select:focus,
.woocommerce-input-wrapper input:focus {
  border-color: var(--primary);
}

/* Single Product Layout */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.woocommerce div.product div.images {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce div.product div.summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.woocommerce div.product p.price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
}

.woocommerce div.product .cart {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.woocommerce div.product .quantity input {
  width: 60px;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}

.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce-page button.button.alt,
.woocommerce-page a.button.alt {
  background-color: var(--primary) !important;
  color: white !important;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
  background-color: var(--primary-hover) !important;
  transform: translateY(-2px);
}

/* Cart & Checkout tables */
.woocommerce-cart-form table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.5rem;
}

.woocommerce-cart-form table.shop_table th {
  background: white;
  padding: 1rem;
  border-bottom: 2px solid var(--border);
  text-align: left;
}

.woocommerce-cart-form table.shop_table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

/* Keyframes animations */
@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.1); }
  100% { transform: translate(30px, -20px) scale(0.9); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

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

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

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0; }
  100% { top: 6px; opacity: 1; }
}

/* Native CSS Scroll-Driven Parallax and Fade Effects */
@keyframes parallaxBg {
  from { transform: translateY(-8%); }
  to { transform: translateY(8%); }
}

@keyframes fadeOutContent {
  to {
    opacity: 0.15;
    transform: translateY(45px);
  }
}

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .hero-bg {
    animation: parallaxBg linear both;
    animation-timeline: --hero;
    animation-range: exit 0% exit 100%;
  }
  
  .hero-content {
    animation: fadeOutContent linear both;
    animation-timeline: --hero;
    animation-range: exit 0% exit 85%;
  }
}

/* ─── 14. Responsive Layouts ─── */
@media (max-width: 991px) {
  .middle-nav {
    flex-wrap: wrap;
  }
  .search-form-container {
    order: 3;
    max-width: 100%;
  }
  .promo-banners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  .hero-container {
    height: auto;
    min-height: 480px;
    border-radius: 16px;
  }
  .hero-content {
    padding: 2rem;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .hero-card {
    padding: 1.75rem;
    width: 100%;
    max-width: 100%;
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-orb {
    display: none;
  }
  .scroll-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero-content, .hero-orb, .scroll-indicator-wheel, .hero-card, .hero-badge, .hero-title, .hero-description, .hero-btn-group, .scroll-indicator {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}
