/* ----------------------------------------------------
 * Nosi Organic Store - Modern Luxury Design System
 * ---------------------------------------------------- */

:root {
  /* Color Palette */
  --primary: #1b5e3a;
  --primary-hover: #123f27;
  --secondary: #dc4f4f;
  --secondary-hover: #b83c3c;
  --accent: #e5b722;
  --accent-hover: #c49c1b;
  --dark-green: #0c2916;
  --light-green: #f2f7f3;
  --warm-gold: #fff9e6;
  --dates-brown: #7d4b25;
  --dates-light: #fff7ee;

  /* Surfaces & Backgrounds */
  --bg-main: #f8faf7;
  --bg-surface: #ffffff;
  --bg-secondary: #f0f4f0;
  --border-color: #e2ebe2;
  
  /* Text Colors */
  --text-main: #2b3d30;
  --text-muted: #6b7c6f;
  --text-light: #ffffff;

  /* Shadows & Radius */
  --shadow-sm: 0 4px 12px rgba(12, 41, 22, 0.03);
  --shadow-md: 0 10px 30px rgba(12, 41, 22, 0.06);
  --shadow-lg: 0 20px 50px rgba(12, 41, 22, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.25;
}

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

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

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

/* Buttons System */
.button, 
button, 
input[type="submit"], 
.woocommerce a.button, 
.woocommerce button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  box-shadow: 0 4px 14px rgba(27, 94, 58, 0.15);
}

.button:hover, 
button:hover,
input[type="submit"]:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 94, 58, 0.25);
}

.button-light {
  background-color: var(--bg-surface);
  color: var(--primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.button-light:hover {
  background-color: var(--light-green);
  color: var(--primary-hover);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.button-gold {
  background-color: var(--accent);
  color: var(--dark-green);
  box-shadow: 0 4px 14px rgba(229, 183, 34, 0.2);
}

.button-gold:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(229, 183, 34, 0.3);
}

.button-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
}

.button-secondary:hover {
  background-color: var(--secondary-hover);
}

/* Spinner */
.nosi-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: nosi-spin 0.8s linear infinite;
  margin: 20px auto;
}

@keyframes nosi-spin {
  to { transform: rotate(360deg); }
}

/* ----------------------------------------------------
 * Header Styles
 * ---------------------------------------------------- */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary), var(--dark-green));
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
}

.announcement-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.topbar {
  background-color: #10341e;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.topbar__left a {
  margin-right: 20px;
}

.topbar__left a:hover {
  color: var(--text-light);
}

.nosi-language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
}

.nosi-language-switcher a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.nosi-language-switcher a:hover,
.nosi-language-switcher a.is-active {
  color: var(--accent);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

.site-header__main {
  padding: 16px 0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 30px;
  align-items: center;
}

.site-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-leaf {
  font-size: 28px;
}

/* Search Bar */
.header-search {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.header-search input[type="search"] {
  width: 100%;
  padding: 14px 28px;
  padding-right: 60px;
  border-radius: 99px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: all var(--transition-fast);
}

.header-search input[type="search"]:focus {
  border-color: var(--primary);
  background-color: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(27, 94, 58, 0.1);
}

.search-submit-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: var(--primary) !important;
  color: var(--text-light) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: none;
  overflow: hidden;
  z-index: 1000;
  animation: nosi-slide-down 0.2s ease-out;
}

.search-results.is-visible {
  display: block;
}

.search-results__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.search-results__item:hover {
  background-color: var(--light-green);
}

.search-results__item strong {
  font-weight: 600;
}

.search-results__item span {
  color: var(--primary);
  font-weight: 700;
}

@keyframes nosi-slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Actions Menu */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.action-item:hover {
  color: var(--primary);
  background-color: var(--light-green);
}

.action-icon {
  font-size: 20px;
  margin-bottom: 2px;
}

.action-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--secondary);
  color: var(--text-light);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-surface);
}

/* Navigation bar */
.primary-nav-wrap {
  border-top: 1px solid var(--border-color);
}

.primary-nav__list {
  display: flex;
  list-style: none;
}

.primary-nav__list > li > a {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-green);
  padding: 16px 20px;
  position: relative;
}

.primary-nav__list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.primary-nav__list > li:hover > a {
  color: var(--primary);
}

.primary-nav__list > li:hover > a::after {
  transform: scaleX(1);
}

/* Dropdown Menu styling */
.primary-nav__list li {
  position: relative;
}

.primary-nav__list li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-surface);
  min-width: 240px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 99;
}

.primary-nav__list li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav__list li ul.sub-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 1px solid var(--bg-secondary);
}

.primary-nav__list li ul.sub-menu li:last-child a {
  border-bottom: none;
}

.primary-nav__list li ul.sub-menu li a:hover {
  background-color: var(--light-green);
  color: var(--primary);
  padding-left: 24px;
}

.submenu-toggle {
  display: none; /* Desktop hidden */
}

/* ----------------------------------------------------
 * Homepage Hero Section
 * ---------------------------------------------------- */
.homepage-hero {
  padding: 24px 0 40px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 24px;
  align-items: stretch;
}

/* Left Category Sidebar */
.categories-side {
  height: 100%;
}

.categories-panel {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 20px;
  height: 100%;
}

.categories-panel h2 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-green);
}

.category-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-menu a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.category-menu a:hover {
  background-color: var(--light-green);
  color: var(--primary);
  transform: translateX(6px);
}

.category-icon {
  margin-right: 12px;
  font-size: 18px;
}

.category-name {
  flex-grow: 1;
}

.category-arrow {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 16px;
}

/* Middle Animated Slider */
.hero-slider-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.hero-slider {
  position: relative;
  height: 100%;
  min-height: 480px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 60px;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide__content {
  max-width: 540px;
  animation: nosi-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
  display: inline-flex;
  background-color: var(--accent);
  color: var(--dark-green);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.hero-slide h1 {
  font-size: 40px;
  color: var(--text-light);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-slide p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}

@keyframes nosi-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slider arrows & dots */
.slider-controls {
  position: absolute;
  bottom: 24px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: var(--text-light) !important;
  font-size: 20px;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.slider-arrow:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
  box-shadow: none;
}

.slider-dot.is-active {
  width: 24px;
  border-radius: 10px;
  background-color: var(--accent);
}

/* Right Promo stack */
.promo-side {
  display: flex;
  flex-direction: column;
}

.promo-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.promo-card {
  flex: 1;
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.promo-card--ghee {
  background: var(--warm-gold) url('../images/category-oil.svg') no-repeat right -30px bottom -30px/180px;
}

.promo-card--mustard {
  background: var(--light-green) url('../images/category-organic.svg') no-repeat right -30px bottom -30px/180px;
}

.promo-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.promo-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.promo-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.promo-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}

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

/* ----------------------------------------------------
 * Why Choose Us Section
 * ---------------------------------------------------- */
.why-choose-us {
  padding: 20px 0;
}

.wcu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background-color: var(--bg-surface);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.wcu-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.wcu-icon {
  font-size: 32px;
  line-height: 1;
}

.wcu-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark-green);
}

.wcu-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ----------------------------------------------------
 * Featured Categories
 * ---------------------------------------------------- */
.section-subtitle {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 28px;
}

.link-button {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--secondary);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.link-button:hover {
  color: var(--secondary-hover);
  border-color: var(--secondary-hover);
}

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

.category-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-normal);
}

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

.category-card__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform var(--transition-normal);
}

.category-card:hover .category-card__icon-wrap {
  transform: rotate(15deg) scale(1.1);
}

.category-card__emoji {
  font-size: 28px;
}

.category-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 4px;
}

.category-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ----------------------------------------------------
 * Product Card Grid & Slider Styles
 * ---------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.slim-grid {
  grid-template-columns: repeat(4, 1fr);
}

.count-3-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-card-shape {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card-shape:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 94, 58, 0.15);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1;
  background-color: var(--bg-main);
  overflow: hidden;
}

.product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
}

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

.product-card__hover-image-wrap {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.product-card-shape:hover .product-card__main-image img {
  transform: scale(1.05);
}

.product-card-shape:hover .product-card__hover-image-wrap {
  opacity: 1;
}

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

/* Badges */
.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.product-badge {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-light);
}

.product-badge--discount {
  background-color: var(--secondary);
}

.product-badge--status {
  background-color: var(--accent);
  color: var(--dark-green);
}

/* Toolbar Overlay */
.product-card__action-toolbar {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(20px);
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: 5;
}

.product-card-shape:hover .product-card__action-toolbar {
  transform: translateX(0);
  opacity: 1;
}

.action-btn, 
.product-card__action-toolbar .yith-wcwl-add-to-wishlist a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.action-btn:hover,
.product-card__action-toolbar .yith-wcwl-add-to-wishlist a:hover {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

/* Override YITH style overrides */
.yith-wcwl-add-to-wishlist {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.yith-wcwl-add-to-wishlist .yith-wcwl-add-button, 
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbulk, 
.yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsnew {
  margin: 0 !important;
  display: block !important;
}
.yith-wcwl-add-to-wishlist a {
  font-size: 0 !important; /* Hide original plugin text */
}
.yith-wcwl-add-to-wishlist a::before {
  content: '❤️' !important;
  font-size: 14px !important;
}

/* Product Info Box */
.product-card__info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.product-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card__title a {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-card__title .en-name {
  color: var(--dark-green);
}

.product-card__title .bn-name {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.product-card__rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.product-card__rating-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: -2px;
}

.product-card__review-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.product-card__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  margin-bottom: 16px;
}

.product-card__price {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
}

.product-card__price del {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 4px;
}

.product-card__price ins {
  text-decoration: none;
}

.product-card__stock {
  font-size: 11px;
  font-weight: 700;
}

.stock-in { color: var(--primary); }
.stock-out { color: var(--secondary); }

/* Add to cart / Buy now actions */
.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Custom layout for Woocommerce default shortcode button */
.nosi-add-to-cart-wrapper .add_to_cart_button, 
.nosi-add-to-cart-wrapper .added_to_cart {
  width: 100% !important;
  font-size: 13px !important;
  padding: 10px 12px !important;
  border-radius: 99px !important;
  font-weight: 700 !important;
}

.nosi-add-to-cart-wrapper .add_to_cart_button {
  background-color: var(--bg-secondary) !important;
  color: var(--primary) !important;
  box-shadow: none !important;
}

.nosi-add-to-cart-wrapper .add_to_cart_button:hover {
  background-color: var(--primary) !important;
  color: var(--text-light) !important;
}

.buy-now-btn {
  font-size: 13px !important;
  padding: 10px 12px !important;
  background-color: var(--secondary) !important;
  box-shadow: none !important;
}

.buy-now-btn:hover {
  background-color: var(--secondary-hover) !important;
}

/* Carousel/Slider styling */
.product-slider {
  position: relative;
}

.product-slider__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}

.product-slider__track::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

.product-slider__track > * {
  flex: 0 0 calc(25% - 18px);
  min-width: 250px;
}

.product-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  background-color: var(--bg-surface) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--text-main) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
}

.product-slider__arrow:hover {
  background-color: var(--primary) !important;
  color: var(--text-light) !important;
  border-color: var(--primary) !important;
}

.product-slider__arrow--prev {
  left: -22px;
}

.product-slider__arrow--next {
  right: -22px;
}

/* ----------------------------------------------------
 * Flash Deals Section
 * ---------------------------------------------------- */
.flash-deals {
  background-color: #ffebeb;
}

.flash-deals-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}

.flash-deals__banner {
  background: linear-gradient(135deg, var(--secondary), #7e1e1e);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-lg);
}

.fd-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.flash-deals__banner h2 {
  color: var(--text-light);
  font-size: 32px;
  margin-bottom: 12px;
}

.flash-deals__banner p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.timer-segment {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  text-align: center;
}

.timer-segment .val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--secondary);
  display: block;
}

.timer-segment .label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ----------------------------------------------------
 * Custom Collection Blocks (Split layout)
 * ---------------------------------------------------- */
.custom-collection .collection-wrapper {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 30px;
  align-items: stretch;
}

.custom-collection.alternate-layout .collection-wrapper {
  grid-template-columns: 1fr 360px;
}

.collection-banner {
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  display: flex;
  align-items: flex-end;
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  background-size: cover;
  background-position: center;
}

.banner-honey {
  background: linear-gradient(to top, rgba(12, 41, 22, 0.9), rgba(27, 94, 58, 0.4)), url('../images/category-honey.svg') no-repeat center/cover;
}

.banner-organic {
  background: linear-gradient(to top, rgba(12, 41, 22, 0.9), rgba(27, 94, 58, 0.4)), url('../images/category-organic.svg') no-repeat center/cover;
}

.col-tag {
  display: inline-block;
  background-color: var(--accent);
  color: var(--dark-green);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.collection-banner h2 {
  color: var(--text-light);
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.collection-banner p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.banner-btn {
  display: inline-block;
  background-color: var(--bg-surface);
  color: var(--dark-green);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 99px;
  transition: all var(--transition-fast);
}

.banner-btn:hover {
  background-color: var(--accent);
  color: var(--dark-green);
  transform: translateY(-2px);
}

/* ----------------------------------------------------
 * Testimonials Section
 * ---------------------------------------------------- */
.testimonials-section {
  background-color: var(--light-green);
}

.testimonial-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-rating {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 15px;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

.testimonial-name {
  font-size: 14px;
  color: var(--dark-green);
  display: block;
}

.testimonial-role {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ----------------------------------------------------
 * Trusted Brands
 * ---------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.brand-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

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

.brand-card__logo-mock {
  font-size: 32px;
  margin-bottom: 10px;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: all var(--transition-normal);
}

.brand-card:hover .brand-card__logo-mock {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-card h3 {
  font-size: 16px;
  color: var(--dark-green);
  margin-bottom: 4px;
}

.brand-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ----------------------------------------------------
 * Blog Cards
 * ---------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

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

.blog-card__image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background-color: var(--bg-secondary);
}

.fallback-bg1 { background-color: var(--light-green); color: var(--primary); }
.fallback-bg2 { background-color: var(--warm-gold); color: var(--accent); }
.fallback-bg3 { background-color: var(--dates-light); color: var(--dates-brown); }

.blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.blog-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--dark-green);
}

.blog-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.read-more-btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  margin-top: auto;
  display: inline-block;
}

/* ----------------------------------------------------
 * App Banner
 * ---------------------------------------------------- */
.app-banner-section {
  padding-bottom: 60px;
}

.app-banner__inner {
  background: linear-gradient(135deg, var(--primary), var(--dark-green));
  color: var(--text-light);
  border-radius: var(--radius-xl);
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.app-tag {
  display: inline-block;
  background-color: var(--accent);
  color: var(--dark-green);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.app-banner__content h2 {
  color: var(--text-light);
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.app-banner__content p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.app-actions {
  display: flex;
  gap: 16px;
}

.btn-app {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-app:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.btn-app span {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-app strong {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-green);
}

.app-mockup-wrapper {
  display: flex;
  justify-content: center;
}

.app-phone {
  width: 200px;
  height: 400px;
  background-color: #222;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #444;
}

.phone-screen {
  background-color: var(--bg-main);
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-header {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--primary);
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
  text-align: center;
}

.phone-item {
  background-color: var(--bg-surface);
  border-radius: 8px;
  padding: 10px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.phone-btn {
  background-color: var(--secondary);
  color: var(--text-light);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  margin-top: auto;
}

/* ----------------------------------------------------
 * AJAX Cart Drawer (Slide-out panel)
 * ---------------------------------------------------- */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(12, 41, 22, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 10000;
}

.cart-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100vh;
  background-color: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 10001;
  display: flex;
  flex-direction: column;
}

.cart-drawer.is-active {
  transform: translateX(0);
}

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

.cart-drawer__header h3 {
  font-size: 20px;
}

.cart-drawer__close {
  font-size: 28px;
  background: transparent !important;
  color: var(--text-muted) !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}

.cart-drawer__close:hover {
  color: var(--secondary) !important;
  transform: scale(1.1) !important;
}

.cart-drawer__content {
  flex-grow: 1;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* Cart Items inside Drawer */
.cart-drawer__items-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
  padding-right: 6px;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--bg-secondary);
  padding-bottom: 14px;
}

.cart-drawer-item:last-child {
  border-bottom: none;
}

.cart-drawer-item__image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
}

.cart-drawer-item__details h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-drawer-item__price {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
}

.cart-drawer-item__remove {
  background: transparent !important;
  color: var(--text-muted) !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 18px !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  cursor: pointer;
}

.cart-drawer-item__remove:hover {
  color: var(--secondary) !important;
}

.cart-drawer__footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: 20px;
}

.cart-drawer__subtotal span:last-child {
  color: var(--primary);
  font-size: 20px;
}

.cart-drawer__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.cart-drawer__actions .button {
  width: 100%;
}

.cart-drawer__actions .button--checkout {
  background-color: var(--secondary);
}
.cart-drawer__actions .button--checkout:hover {
  background-color: var(--secondary-hover);
}

.cart-drawer__empty {
  text-align: center;
  margin: auto;
  color: var(--text-muted);
}

.cart-drawer__empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

/* ----------------------------------------------------
 * Premium Quick View Modal
 * ---------------------------------------------------- */
.quickview-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(12, 41, 22, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 100000;
  padding: 20px;
}

.quickview-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.quickview-modal {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: min(840px, 100%);
  max-height: min(640px, calc(100vh - 40px));
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  animation: nosi-scale-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes nosi-scale-up {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.quickview-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 32px;
  background: transparent !important;
  color: var(--text-muted) !important;
  border: none !important;
  box-shadow: none !important;
  cursor: pointer;
  z-index: 10;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}

.quickview-close:hover {
  color: var(--secondary) !important;
}

.quickview-gallery {
  background-color: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border-color);
}

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

.quickview-details {
  padding: 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.quickview-details .product_title {
  font-size: 26px;
  color: var(--dark-green);
  margin-bottom: 12px;
}

.quickview-details .price {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 16px;
}

.quickview-details .price del {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 6px;
}

.quickview-details .price ins {
  text-decoration: none;
}

.quickview-details .description {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.quickview-details form.cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quickview-details .quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quickview-details .quantity input {
  width: 60px;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.quickview-details button.single_add_to_cart_button {
  background-color: var(--primary);
  color: var(--text-light);
  width: 100%;
}

.quickview-details button.single_add_to_cart_button:hover {
  background-color: var(--primary-hover);
}

/* ----------------------------------------------------
 * Footer Styles
 * ---------------------------------------------------- */
.site-footer {
  background-color: var(--dark-green);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  border-top: 4px solid var(--primary);
  font-size: 14px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h2 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a:hover {
  color: var(--text-light);
  padding-left: 4px;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.footer-desc {
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contacts p {
  margin-bottom: 10px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition-fast);
}

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

.footer-newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.footer-newsletter-form input {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 12px 20px;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  outline: none;
}

.footer-newsletter-form input:focus {
  border-color: var(--primary);
}

.footer-newsletter-form button {
  padding: 12px 24px;
  background-color: var(--primary);
}

.footer-newsletter-form button:hover {
  background-color: var(--primary-hover);
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-badge {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
}

.site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
}

.site-info__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.designer-tag {
  color: var(--accent);
  font-weight: 600;
}

/* ----------------------------------------------------
 * WooCommerce Native Pages styling
 * ---------------------------------------------------- */
.woocommerce-shop-layout {
  padding: 40px 0 80px;
}

.woocommerce-products-header__title {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--dark-green);
}

.woocommerce-ordering select {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: 'Inter', sans-serif;
  outline: none;
}

ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 30px 0;
}

ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

/* ----------------------------------------------------
 * Responsive Media Queries
 * ---------------------------------------------------- */
@media (max-width: 1200px) {
  .home-hero-grid {
    grid-template-columns: 240px 1fr;
  }
  .promo-side {
    display: none; /* Hide promo stack on medium screens */
  }
  .wcu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .product-slider__track > * {
    flex: 0 0 calc(33.333% - 16px);
  }
}

@media (max-width: 991px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }
  .categories-side {
    display: none; /* Hide sidebar list on tablets */
  }
  .hero-slide {
    padding: 40px;
  }
  .hero-slide h1 {
    font-size: 32px;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .slim-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .count-3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flash-deals-inner {
    grid-template-columns: 1fr;
  }
  .custom-collection .collection-wrapper,
  .custom-collection.alternate-layout .collection-wrapper {
    grid-template-columns: 1fr;
  }
  .collection-banner {
    height: 240px;
  }
  .quickview-modal {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .quickview-gallery {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    height: 300px;
  }
  .quickview-details {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .announcement-bar__inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .topbar__inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .site-logo {
    justify-content: center;
  }
  .header-actions {
    justify-content: center;
  }
  .primary-nav__list {
    flex-direction: column;
    padding: 10px 0;
  }
  .primary-nav__list > li > a {
    padding: 10px 16px;
  }
  .primary-nav__list > li > a::after {
    display: none;
  }
  .primary-nav__list li ul.sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: var(--bg-main);
    display: block;
    margin-left: 20px;
    padding: 6px 0;
  }
  .wcu-grid {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .product-slider__track > * {
    flex: 0 0 calc(50% - 10px);
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .app-banner__inner {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 30px;
  }
  .app-mockup-wrapper {
    display: none;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
  .site-info__inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ====================================================
 * WooCommerce Core Page Overrides
 * ==================================================== */

/* Single Product Page */
.single-product div.product {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  margin-top: 30px;
  align-items: start;
}

.single-product .woocommerce-product-gallery {
  position: relative;
  width: 100% !important;
  float: none !important;
}

.single-product .woocommerce-product-gallery img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-surface);
}

.single-product .summary.entry-summary {
  width: 100% !important;
  float: none !important;
  display: flex;
  flex-direction: column;
}

.single-product .summary .product_title {
  font-size: 36px;
  color: var(--dark-green);
  margin-bottom: 12px;
}

.single-product .summary .price {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.single-product .summary .price del {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 8px;
}

.single-product .summary .price ins {
  text-decoration: none;
}

.single-product .summary .woocommerce-product-details__short-description {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.single-product form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
}

.single-product form.cart .quantity {
  float: none !important;
  margin: 0 !important;
}

.single-product form.cart .quantity input {
  width: 70px;
  height: 48px;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  font-weight: 700;
}

.single-product form.cart button.single_add_to_cart_button {
  height: 48px;
  padding: 0 32px;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: 99px;
  font-weight: 700;
}

.single-product form.cart button.single_add_to_cart_button:hover {
  background-color: var(--primary-hover);
}

.single-product .product_meta {
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.single-product .product_meta span strong {
  color: var(--dark-green);
}

/* Tabs & Reviews */
.woocommerce-tabs {
  grid-column: span 2;
  margin-top: 50px;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.woocommerce-tabs ul.tabs {
  display: flex;
  list-style: none;
  gap: 20px;
  border-bottom: 2px solid var(--bg-secondary);
  margin-bottom: 24px;
}

.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--primary);
}

.woocommerce-tabs ul.tabs li.active a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
}

/* Related Products */
.related.products, .upsells.products {
  grid-column: span 2;
  margin-top: 60px;
}

.related.products h2, .upsells.products h2 {
  font-size: 26px;
  margin-bottom: 24px;
  color: var(--dark-green);
}

/* Cart Page */
.woocommerce-cart-form {
  margin-bottom: 40px;
}

.shop_table.cart {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.shop_table.cart th {
  background-color: var(--light-green);
  color: var(--dark-green);
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  text-align: left;
}

.shop_table.cart td {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.shop_table.cart tr:last-child td {
  border-bottom: none;
}

.cart-item__thumbnail img {
  width: 70px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.cart-item__name a {
  font-weight: 700;
  color: var(--dark-green);
}

.cart-item__price, .cart-item__subtotal {
  font-weight: 700;
  color: var(--primary);
}

.cart-item__remove a {
  color: var(--secondary);
  font-size: 20px;
}

.cart-item__quantity input {
  width: 60px;
  padding: 8px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-weight: 700;
}

/* Coupon & Update Cart */
.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.coupon {
  display: flex;
  gap: 10px;
}

.coupon input {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  outline: none;
}

/* Cart Collaterals */
.cart-collaterals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.cart-collaterals .cross-sells {
  width: 100% !important;
}

.cart_totals {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  width: 100% !important;
  float: none !important;
}

.cart_totals h2 {
  font-size: 22px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--light-green);
  padding-bottom: 10px;
}

.cart_totals table {
  width: 100%;
  margin-bottom: 20px;
}

.cart_totals table th, .cart_totals table td {
  padding: 12px 0;
  text-align: left;
}

.cart_totals table th {
  color: var(--text-muted);
}

.cart_totals table td {
  font-weight: 700;
  color: var(--primary);
  text-align: right;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button {
  display: block;
  text-align: center;
  background-color: var(--secondary);
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: var(--secondary-hover);
}

/* Checkout Page */
.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  margin-top: 30px;
}

.checkout #customer_details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100% !important;
  float: none !important;
}

.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, #order_review_heading {
  font-size: 22px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--light-green);
  padding-bottom: 10px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  width: 100%;
}

.form-row-first, .form-row-last {
  width: 48% !important;
  float: left !important;
}

.form-row-last {
  float: right !important;
}

.woocommerce-billing-fields__field-wrapper::after,
.woocommerce-shipping-fields__field-wrapper::after,
.form-row::after {
  content: "";
  display: table;
  clear: both;
}

.form-row input, .form-row select, .form-row textarea {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  font-family: 'Inter', sans-serif;
  outline: none;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--primary);
}

/* Order Review & Payment */
#order_review {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 130px;
}

.shop_table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.shop_table.woocommerce-checkout-review-order-table th, 
.shop_table.woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  text-align: left;
  border-bottom: 1px solid var(--bg-secondary);
}

.shop_table.woocommerce-checkout-review-order-table td {
  text-align: right;
  font-weight: 700;
  color: var(--primary);
}

/* Payment Methods */
#payment {
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 20px;
}

#payment ul.payment_methods {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

#payment ul.payment_methods li label {
  font-weight: 700;
  color: var(--dark-green);
  margin-left: 8px;
}

#payment .place-order button {
  width: 100%;
  background-color: var(--secondary);
}

#payment .place-order button:hover {
  background-color: var(--secondary-hover);
}

/* My Account Page */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 24% !important;
  float: left !important;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 10px 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background-color: var(--light-green);
  color: var(--primary);
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 72% !important;
  float: right !important;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 40px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .single-product div.product {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .woocommerce-tabs {
    grid-column: span 1;
    padding: 20px;
  }
  .related.products, .upsells.products {
    grid-column: span 1;
  }
  .cart-collaterals {
    grid-template-columns: 1fr;
  }
  .checkout.woocommerce-checkout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  #order_review {
    position: static;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    margin-bottom: 30px;
  }
  .form-row-first, .form-row-last {
    width: 100% !important;
    float: none !important;
  }
}

/* WooCommerce Notices */
.woocommerce-message, 
.woocommerce-error, 
.woocommerce-info {
  padding: 16px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  list-style: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid;
}

.woocommerce-message {
  background-color: #eaf6ed;
  color: #124d27;
  border-left-color: var(--primary);
}

.woocommerce-error {
  background-color: #fdf2f2;
  color: #7a1f1f;
  border-left-color: var(--secondary);
}

.woocommerce-info {
  background-color: #fffbeb;
  color: #855e0f;
  border-left-color: var(--accent);
}

.woocommerce-message .button, 
.woocommerce-error .button, 
.woocommerce-info .button {
  padding: 8px 18px !important;
  font-size: 13px !important;
  background-color: var(--dark-green) !important;
  color: var(--text-light) !important;
}

.woocommerce-message .button:hover {
  background-color: var(--primary) !important;
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-slider__track > * {
    flex: 0 0 100%;
  }
}
