/*
Theme Name: Chowhans Pharmacy Next-Gen
Theme URI: https://chowhanspharmacy.com
Author: Chowhans Healthcare Tech Team
Author URI: https://chowhanspharmacy.com
Description: High-Performance, ultra-fast, mobile-first eCommerce & Pharmacy WordPress theme.
Version: 3.2.5
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: chowhans
*/

/* Core Brand Colors & Buttons Palette */
:root {
  --brand-50: #fcf8f2;
  --brand-100: #dcfce7;
  --brand-500: #23914a;
  --brand-600: #1d7a3e;
  --brand-700: #047857;
  --brand-800: #1d7a3e;
  --brand-900: #016171;
  --brand-950: #014d5a;
}

.bg-brand-800, button.bg-brand-800, a.bg-brand-800 { background-color: var(--brand-800) !important; color: #ffffff !important; }
.bg-brand-900, button.bg-brand-900, a.bg-brand-900 { background-color: var(--brand-900) !important; color: #ffffff !important; }
.bg-brand-700, button.bg-brand-700, a.bg-brand-700 { background-color: var(--brand-700) !important; color: #ffffff !important; }
.bg-brand-600, button.bg-brand-600, a.bg-brand-600 { background-color: var(--brand-600) !important; color: #ffffff !important; }
.bg-brand-100 { background-color: var(--brand-100) !important; color: var(--brand-900) !important; }
.bg-brand-50 { background-color: var(--brand-50) !important; color: var(--brand-800) !important; }

.hover\:bg-brand-900:hover { background-color: var(--brand-900) !important; color: #ffffff !important; }
.hover\:bg-brand-800:hover { background-color: var(--brand-800) !important; color: #ffffff !important; }
.hover\:bg-brand-700:hover { background-color: var(--brand-700) !important; color: #ffffff !important; }

.text-brand-800 { color: var(--brand-800) !important; }
.text-brand-900 { color: var(--brand-900) !important; }
.text-brand-700 { color: var(--brand-700) !important; }
.text-brand-600 { color: var(--brand-600) !important; }
.hover\:text-brand-800:hover { color: var(--brand-800) !important; }
.hover\:text-brand-900:hover { color: var(--brand-900) !important; }

.border-brand-800 { border-color: var(--brand-800) !important; }
.border-brand-700 { border-color: var(--brand-700) !important; }
.border-brand-500 { border-color: var(--brand-500) !important; }
.border-brand-200 { border-color: var(--brand-100) !important; }
.hover\:border-brand-500:hover { border-color: var(--brand-500) !important; }
.hover\:border-brand-800:hover { border-color: var(--brand-800) !important; }

.shadow-subtle { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04) !important; }
.shadow-card { box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important; }
.shadow-modal { box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25) !important; }

/* Reset & Base Utilities */
*, ::before, ::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.96);
}

/* ================= HOMEPAGE 2026 POLISH ================= */
.home-promo-banner {
  background: #fff;
}

.home-promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}

.brand-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.brand-slider-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: chowhans-brand-marquee 34s linear infinite;
}

.brand-slider:hover .brand-slider-track,
.brand-slider:focus-within .brand-slider-track {
  animation-play-state: paused;
}

.brand-slider-set {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  padding-right: 0.75rem;
}

.brand-logo-card {
  width: 10.5rem;
  min-height: 7.25rem;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

a.brand-logo-card:hover {
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.brand-logo-visual {
  width: 100%;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.brand-logo-visual img {
  width: auto !important;
  height: auto !important;
  max-width: 7.5rem;
  max-height: 2.6rem;
  object-fit: contain;
}

.brand-wordmark {
  min-width: 2.6rem;
  height: 2.6rem;
  padding-inline: 0.55rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #047857, #016171);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-logo-name {
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-logo-type {
  color: #64748b;
  font-size: 0.58rem;
  line-height: 1.25;
  margin-top: 0.2rem;
}

@keyframes chowhans-brand-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.quick-category-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
}

.quick-category-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: chowhans-category-marquee 30s linear infinite;
}

.quick-category-slider:hover .quick-category-track,
.quick-category-slider:focus-within .quick-category-track {
  animation-play-state: paused;
}

.quick-category-set {
  display: flex;
  gap: 0.75rem;
  padding-right: 0.75rem;
}

.quick-category-card {
  width: 13.5rem;
  min-height: 4.75rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.quick-category-card:hover {
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.quick-category-icon {
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 2.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  color: #fff;
}

.tone-emerald .quick-category-icon { background: #059669; }
.tone-amber .quick-category-icon { background: #d97706; }
.tone-blue .quick-category-icon { background: #2563eb; }
.tone-rose .quick-category-icon { background: #e11d48; }
.tone-purple .quick-category-icon { background: #7c3aed; }
.tone-cyan .quick-category-icon { background: #0891b2; }

.quick-category-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.quick-category-copy strong {
  color: #0f172a;
  font-size: 0.76rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-category-copy small {
  color: #64748b;
  font-size: 0.61rem;
  margin-top: 0.15rem;
}

@keyframes chowhans-category-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.value-prop-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.value-prop-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-prop-card.is-support .value-prop-icon { background: #ecfdf5; color: #047857; }
.value-prop-card.is-return .value-prop-icon { background: #eff6ff; color: #2563eb; }
.value-prop-card.is-delivery .value-prop-icon { background: #fffbeb; color: #b45309; }
.value-prop-copy { min-width: 0; }
.value-prop-copy h4 { color: #0f172a; font-size: 0.78rem; font-weight: 800; line-height: 1.2; }
.value-prop-copy p { color: #64748b; font-size: 0.68rem; line-height: 1.45; margin-top: 0.2rem; }

.home-trust-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 8%, rgba(45, 212, 191, 0.22), transparent 34%),
    linear-gradient(135deg, #052e3a 0%, #064e4a 52%, #0f766e 100%);
}

.home-trust-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255,255,255,0.035), transparent 54%);
  pointer-events: none;
}

.home-trust-card {
  background: rgba(255, 255, 255, 0.095);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.home-trust-panel p {
  color: rgba(236, 253, 245, 0.86) !important;
}

@media (max-width: 640px) {
  .home-promo-grid {
    gap: 0.75rem;
  }

  .home-promo-banner {
    border-radius: 1rem !important;
  }

  .home-brands-card {
    border-radius: 1.2rem !important;
  }

  .home-brands-badge {
    display: none;
  }

  .brand-logo-card {
    width: 8.2rem;
    min-height: 6.3rem;
    padding: 0.6rem;
  }

  .brand-slider-track {
    animation-duration: 28s;
  }

  .home-quick-access {
    margin-top: 0.1rem;
  }

  .quick-category-track {
    animation-duration: 24s;
  }

  .quick-category-set {
    gap: 0.5rem;
    padding-right: 0.5rem;
  }

  .quick-category-card {
    width: 9.2rem;
    min-height: 3.8rem;
    padding: 0.5rem;
    gap: 0.5rem;
    border-radius: 0.8rem;
  }

  .quick-category-icon {
    width: 2.15rem;
    height: 2.15rem;
    flex-basis: 2.15rem;
    border-radius: 0.65rem;
    font-size: 0.76rem;
  }

  .quick-category-copy strong {
    font-size: 0.66rem;
  }

  .quick-category-copy small {
    display: none;
  }

  .value-props-grid {
    gap: 0.45rem;
  }

  .value-prop-card {
    padding: 0.65rem 0.3rem;
    min-height: 5.25rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    border-radius: 0.9rem;
  }

  .value-prop-icon {
    width: 2rem;
    height: 2rem;
    flex-basis: 2rem;
    border-radius: 0.65rem;
    font-size: 0.78rem;
  }

  .value-prop-copy h4 {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .value-prop-copy p {
    display: none;
  }

  .home-trust-panel {
    border-radius: 1.25rem !important;
    padding: 1.15rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-slider-track,
  .quick-category-track {
    animation-play-state: paused;
  }
}

/* Hide native scrollbar for horizontal categories */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Micro-press touch animation */
.touch-press:active {
  transform: scale(0.97);
}

/* WooCommerce Overrides - Modern 2027 Styling */
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce button.single_add_to_cart_button,
.woocommerce .wc-buy-now-btn,
.woocommerce input.button.alt,
.single_add_to_cart_button {
  background-color: #016171 !important;
  color: #ffffff !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
  font-size: 0.8125rem !important;
  padding: 0.625rem 1.25rem !important;
  border: none !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.375rem !important;
}

.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce .wc-buy-now-btn:hover,
.single_add_to_cart_button:hover {
  background-color: #014d5a !important;
}

.woocommerce .quantity.stepper-enhanced {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.75rem !important;
  background-color: #f8fafc !important;
  padding: 2px !important;
  height: 3.25rem !important;
  flex-shrink: 0 !important;
  gap: 0 !important;
}

.woocommerce .quantity.stepper-enhanced button {
  width: 2rem !important;
  height: 3rem !important;
  border: none !important;
  background: transparent !important;
  color: #475569 !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
  transition: background-color 0.15s ease !important;
}

.woocommerce .quantity.stepper-enhanced button:hover {
  background-color: #e2e8f0 !important;
  border-radius: 0.5rem !important;
}

.woocommerce .quantity.stepper-enhanced .qty {
  width: 2.25rem !important;
  height: 3rem !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  font-weight: 800 !important;
  text-align: center !important;
  color: #0f172a !important;
  font-size: 0.875rem !important;
  box-shadow: none !important;
  outline: none !important;
  -moz-appearance: textfield !important;
  flex-shrink: 0 !important;
}

.woocommerce .quantity.stepper-enhanced .qty::-webkit-outer-spin-button,
.woocommerce .quantity.stepper-enhanced .qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Universal Single Product Add to Cart Form & Button Alignment (1 Single Line) */
form.cart,
.product-form-wrapper form.cart,
.woocommerce div.product form.cart,
.woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}

.single_variation_wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.5rem !important;
  width: 100% !important;
}

form.cart .quantity,
.product-form-wrapper .quantity {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  height: 3.25rem !important;
  min-height: 52px !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  padding: 0 0.25rem !important;
}

button.single_add_to_cart_button,
.single_add_to_cart_button,
form.cart .single_add_to_cart_button,
.woocommerce-variation-add-to-cart .single_add_to_cart_button {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 3.25rem !important;
  min-height: 52px !important;
  background-color: #016171 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.02em !important;
  border-radius: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-transform: none !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
}

button.single_add_to_cart_button:hover,
.single_add_to_cart_button:hover {
  background-color: #042f24 !important;
}

/* Modern WooCommerce Variations Table & Dropdowns */
.variations {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 0.75rem !important;
  margin-bottom: 0.5rem !important;
}

.variations tr {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.375rem !important;
  width: 100% !important;
}

.variations td {
  display: block !important;
  padding: 0 !important;
  border: none !important;
  width: 100% !important;
}

.variations td.label label {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.variations td.value select {
  width: 100% !important;
  padding: 0.625rem 0.875rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 0.75rem !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.variations td.value select:focus {
  border-color: #1d7a3e !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

.reset_variations {
  display: inline-block !important;
  margin-top: 0.375rem !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  color: #e11d48 !important;
  text-decoration: underline !important;
}

.woocommerce-variation-price {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #016171 !important;
}

.woocommerce-variation-availability {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
}

/* Next-Level WooCommerce Price Styling */
.price,
.woocommerce-Price-amount {
  font-family: inherit !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.5rem !important;
  margin-bottom: 0.75rem !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  color: #016171 !important;
  text-decoration: none !important;
}

.products .product .price {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.375rem !important;
  margin-top: 0.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.products .product .price del {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
}

.products .product .price ins {
  font-size: 0.875rem !important;
  font-weight: 900 !important;
  color: #1d7a3e !important;
  text-decoration: none !important;
}

/* Hard Logo Constraints Across All Pages */
.custom-logo,
a.custom-logo-link img,
.site-logo img,
.site-header-logo {
  max-height: 38px !important;
  height: 38px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

/* Strict 1:1 Aspect Ratio & Containment (Never Crop Images) */
.aspect-square {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  background-color: #f8fafc !important;
}

.aspect-square img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 6px !important;
  display: block !important;
}

/* WooCommerce Variable Products Styling */
.woocommerce table.variations {
  width: 100% !important;
  margin-bottom: 1rem !important;
  border-collapse: separate !important;
  border-spacing: 0 0.5rem !important;
}

.woocommerce table.variations td.label {
  padding-right: 0.75rem !important;
  vertical-align: middle !important;
  width: 30% !important;
}

.woocommerce table.variations td.label label {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.woocommerce table.variations select {
  width: 100% !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid #cbd5e1 !important;
  background-color: #f8fafc !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.woocommerce table.variations select:focus {
  border-color: #23914a !important;
  box-shadow: 0 0 0 2px rgba(6, 95, 70, 0.1) !important;
  background-color: #ffffff !important;
}

.woocommerce .single_variation_wrap {
  margin-top: 0.75rem !important;
}

.woocommerce .woocommerce-variation-price {
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  color: #016171 !important;
  margin-bottom: 0.5rem !important;
}

.woocommerce .woocommerce-variation-availability {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #1d7a3e !important;
  margin-bottom: 0.5rem !important;
}

/* Hide duplicate WooCommerce mini-cart buttons */
.woocommerce-mini-cart__buttons,
.widget_shopping_cart_content .woocommerce-mini-cart__buttons,
.widget_shopping_cart .buttons {
  display: none !important;
}

/* Style default mini-cart subtotal to look modern */
.woocommerce-mini-cart__total,
.widget_shopping_cart_content .woocommerce-mini-cart__total,
.widget_shopping_cart .total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.75rem 0.5rem !important;
  border-top: 1px solid #f1f5f9 !important;
  margin: 0.5rem 0 !important;
  font-size: 0.875rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  border-bottom: 1px solid #f1f5f9 !important;
}



/* Compact and elegant WooCommerce messages and notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid #23914a !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin: 0.5rem auto 1rem auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  list-style: none !important;
  max-width: 80rem !important;
  width: calc(100% - 2rem) !important;
  box-sizing: border-box !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none !important;
}

.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-info a.showcoupon,
.woocommerce-message a.restore-item {
  display: inline-block !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 0.6875rem !important;
  font-weight: 800 !important;
  border-radius: 0.5rem !important;
  background-color: #23914a !important;
  color: #ffffff !important;
  border: none !important;
  text-decoration: none !important;
  float: none !important;
  margin: 0 !important;
  transition: background-color 0.15s ease !important;
  cursor: pointer !important;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-info a.showcoupon:hover,
.woocommerce-message a.restore-item:hover {
  background-color: #042f24 !important;
  color: #ffffff !important;
}

/* Specific styling for coupon info on checkout */
.woocommerce-form-coupon-toggle {
  margin-bottom: 0.75rem !important;
}

.woocommerce-form-coupon {
  background-color: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.75rem !important;
  padding: 1rem !important;
  margin-bottom: 1rem !important;
}

/* Hide raw WooCommerce breadcrumbs if they clutter the top header */
.woocommerce-breadcrumb {
  display: none !important;
}

/* Compact Cart & Checkout Page Mobile Styling */
@media (max-width: 640px) {
  .max-w-7xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .woocommerce-cart-form {
    padding: 0.5rem !important;
    border-radius: 0.75rem !important;
  }
  
  .woocommerce-cart-form .py-3,
  .woocommerce-cart-form .py-4 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  
  .checkout-panel {
    padding: 1rem !important;
    border-radius: 1rem !important;
  }
  
  #payment {
    padding: 0.5rem !important;
    border-radius: 0.625rem !important;
  }

  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.375rem !important;
  }
  
  .woocommerce-checkout .form-row {
    width: 100% !important;
    margin: 0 0 0.375rem 0 !important;
    padding: 0 !important;
  }
  
  .woocommerce-checkout .form-row input.input-text,
  .woocommerce-checkout .form-row select,
  .woocommerce-checkout .form-row textarea {
    padding: 0.5rem 0.625rem !important;
    font-size: 0.8125rem !important;
    border-radius: 0.5rem !important;
  }

  /* Prevent text words from overflowing or breaking awkwardly */
  h1, h2, h3, h4, p, span, a, button {
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}


/* ================= SLEEK WOOCOMMERCE NOTICES & COUPON BAR ================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 10px 14px !important;
  margin-bottom: 12px !important;
  border-radius: 14px !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
}

.woocommerce-message {
  background-color: #fcf8f2 !important;
  border: 1px solid #bbf7d0 !important;
  color: #166534 !important;
}

.woocommerce-info {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

.woocommerce-error {
  background-color: #fff1f2 !important;
  border: 1px solid #fecdd3 !important;
  color: #9f1239 !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-message a.button {
  padding: 5px 12px !important;
  background-color: #23914a !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  text-decoration: none !important;
  border: none !important;
  order: 2 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
}

.woocommerce-info a.showcoupon {
  color: #1d7a3e !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

form.checkout_coupon {
  padding: 12px 14px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  margin-bottom: 14px !important;
}

form.checkout_coupon .input-text {
  padding: 7px 12px !important;
  font-size: 11px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  outline: none !important;
  flex: 1 !important;
  min-width: 160px !important;
}

form.checkout_coupon .button {
  padding: 7px 14px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  background-color: #23914a !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer !important;
}

/* ================= STRICT LOCKED LOGO SIZES (ALL PAGES) ================= */
.site-header-logo,
.custom-logo-link img,
.custom-logo {
  height: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  max-width: 170px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

.site-footer-logo {
  height: 30px !important;
  max-height: 30px !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

/* Comfortable, thumb-friendly mobile checkout */
@media (max-width: 640px) {
  .checkout-panel {
    padding: 1rem !important;
    border-radius: 1rem !important;
  }
  .woocommerce-checkout input.input-text,
  .woocommerce-checkout select,
  .woocommerce-checkout textarea {
    min-height: 46px !important;
    padding: 0.7rem 0.8rem !important;
    font-size: 16px !important;
    border-radius: 0.75rem !important;
  }
  .woocommerce-checkout label {
    font-size: 0.75rem !important;
    margin-bottom: 0.25rem !important;
  }
  .woocommerce-checkout .form-row {
    margin-bottom: 0.625rem !important;
  }
}

/* Checkout prelude: one concise coupon prompt, without catalog success clutter. */
.checkout-prelude:empty,
.checkout-prelude > .woocommerce-notices-wrapper:empty {
  display: none;
}

.checkout-prelude {
  margin-bottom: 1rem;
}

body.woocommerce-checkout .checkout-prelude .woocommerce-notices-wrapper {
  padding: 0 !important;
}

body.woocommerce-checkout .chowhans-coupon-toggle {
  margin: 0 !important;
}

body.woocommerce-checkout .chowhans-coupon-toggle .woocommerce-info {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0.75rem 0.875rem !important;
  border: 1px solid #dbe4ea !important;
  border-left: 1px solid #dbe4ea !important;
  border-radius: 0.875rem !important;
  background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
  color: #334155 !important;
}

.chowhans-coupon-copy {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.625rem;
}

.chowhans-coupon-copy strong,
.chowhans-coupon-copy small {
  display: block;
}

.chowhans-coupon-copy strong {
  color: #0f172a;
  font-size: 0.75rem;
}

.chowhans-coupon-copy small {
  margin-top: 0.125rem;
  color: #64748b;
  font-size: 0.625rem;
  font-weight: 600;
}

.chowhans-coupon-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.625rem;
  background: #ecfdf5;
  color: #15803d;
}

body.woocommerce-checkout .chowhans-coupon-toggle a.showcoupon {
  flex: 0 0 auto;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.625rem !important;
  background: #ecfdf5 !important;
  color: #166534 !important;
  text-decoration: none !important;
  font-size: 0.6875rem !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout form.checkout_coupon {
  max-width: none !important;
  margin: 0.625rem 0 0 !important;
  padding: 0.875rem !important;
  border-color: #dbe4ea !important;
  background: #ffffff !important;
}

.chowhans-coupon-help {
  margin: 0 0 0.625rem !important;
  color: #64748b;
  font-size: 0.6875rem;
  font-weight: 600;
}

.chowhans-coupon-fields {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.chowhans-coupon-fields .input-text {
  flex: 1 1 auto;
  min-width: 0 !important;
  min-height: 42px;
}

.chowhans-coupon-fields .button {
  flex: 0 0 auto;
  min-height: 42px;
}

@media (max-width: 639px) {
  body.woocommerce-checkout .chowhans-coupon-toggle .woocommerce-info {
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  .chowhans-coupon-copy small {
    display: none;
  }

  body.woocommerce-checkout .chowhans-coupon-toggle a.showcoupon {
    padding-inline: 0.625rem !important;
    white-space: nowrap;
  }

  .chowhans-coupon-fields {
    flex-direction: column;
  }
}


/* ================= 60FPS HARDWARE ACCELERATION & CONTENT VISIBILITY ================= */
.cv-auto {
  
  
}

/* GPU Accelerated Transitions */
#cartDrawer,
#quickBuyModal,
#rxModal,
#appointmentModal {
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Instant Image Decoding */
img {
  
  decoding: async;
}

/* Reduce Paint Complexity */
.shadow-subtle, .shadow-card {
  
}


/* ================= BULLETPROOF LOGO SIZING (ALL PAGES & DEVICES) ================= */
.site-header-logo,
.custom-logo-link img,
.custom-logo {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

.site-footer-logo {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  display: inline-block !important;
}


/* ================= SLEEK MINIMALIST NOTICES & COUPON PILLS ================= */
.woocommerce-notices-wrapper {
  max-width: 56rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 8px 14px !important;
  margin: 8px auto !important;
  border-radius: 12px !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  list-style: none !important;
  max-width: 56rem !important;
}

.woocommerce-message {
  background-color: #fcf8f2 !important;
  border: 1px solid #bbf7d0 !important;
  color: #166534 !important;
}

.woocommerce-info {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

.woocommerce-error {
  background-color: #fff1f2 !important;
  border: 1px solid #fecdd3 !important;
  color: #9f1239 !important;
}

.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-message a.restore-item {
  padding: 3px 10px !important;
  background-color: #23914a !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 10.5px !important;
  text-decoration: none !important;
  border: none !important;
  order: 2 !important;
}


/* ================= MODERN 1-LINE HORIZONTAL PAGINATION ================= */
.pagination-container,
.woocommerce-pagination,
nav.pagination,
.navigation.pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 2rem 0 !important;
  width: 100% !important;
  clear: both !important;
}

ul.page-numbers,
.page-numbers,
.nav-links {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.375rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

ul.page-numbers li {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
}

.page-numbers a,
.page-numbers span,
ul.page-numbers li a,
ul.page-numbers li span,
.nav-links a,
.nav-links span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2.25rem !important;
  height: 2.25rem !important;
  padding: 0 0.75rem !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  border-radius: 0.625rem !important;
  background-color: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  white-space: nowrap !important;
}

.page-numbers a:hover,
ul.page-numbers li a:hover,
.nav-links a:hover {
  background-color: #f1f5f9 !important;
  border-color: #23914a !important;
  color: #23914a !important;
}

.page-numbers .current,
ul.page-numbers li span.current,
.nav-links span.current {
  background-color: #23914a !important;
  color: #ffffff !important;
  border-color: #23914a !important;
  box-shadow: 0 2px 6px rgba(35, 145, 74, 0.25) !important;
}

.page-numbers .dots,
ul.page-numbers li span.dots,
.nav-links span.dots {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #94a3b8 !important;
  min-width: 1.5rem !important;
  padding: 0 !important;
}

.page-numbers .prev,
.page-numbers .next,
ul.page-numbers li .prev,
ul.page-numbers li .next,
.nav-links .prev,
.nav-links .next {
  gap: 0.375rem !important;
  font-weight: 700 !important;
}


/* Ultra-Tight Product Card Spacing (Zero Excess Gaps) */
.product-card .price,
.product-card .woocommerce-Price-amount,
.woocommerce-Price-amount {
  line-height: 1.15 !important;
  margin-bottom: 0 !important;
  display: inline-block !important;
}

/* ================= SMOOTH INTERACTION & RENDERING LAYER ================= */
:root {
  --motion-fast: 160ms;
  --motion-base: 240ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body.chowhans-scroll-locked {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
  padding-right: var(--scrollbar-gap, 0);
}

#mobileDrawer,
#cartDrawer {
  transition: transform var(--motion-base) var(--motion-ease) !important;
  will-change: auto;
  backface-visibility: hidden;
}

#mobileDrawer[data-open="false"],
#cartDrawer[data-open="false"] {
  pointer-events: none;
  box-shadow: none !important;
}

#mobileDrawer[data-open="true"],
#cartDrawer[data-open="true"] {
  will-change: transform;
}

#mobileDrawerOverlay,
#cartDrawerOverlay {
  opacity: 0;
  transition: opacity var(--motion-base) ease !important;
}

#quickBuyModal,
#rxModal {
  opacity: 0;
  transition: opacity var(--motion-fast) ease;
}

#quickBuyModal > div,
#rxModal > div {
  transform: translate3d(0, 10px, 0) scale(0.985);
  transition: transform var(--motion-base) var(--motion-ease);
}

#quickBuyModal.is-visible,
#rxModal.is-visible {
  opacity: 1;
}

#quickBuyModal.is-visible > div,
#rxModal.is-visible > div {
  transform: translate3d(0, 0, 0) scale(1);
}

.hero-slide {
  transform: translateZ(0);
  transition-timing-function: var(--motion-ease) !important;
}

.slider-dot {
  position: relative;
  width: 24px !important;
  min-width: 24px;
  height: 24px !important;
  min-height: 24px;
  background: transparent !important;
  transition: width var(--motion-base) var(--motion-ease), background-color var(--motion-fast) ease !important;
}

.slider-dot::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%);
  transition: width var(--motion-base) var(--motion-ease), background-color var(--motion-fast) ease;
}

.slider-dot.is-active::after {
  width: 20px;
  background: #6ee7b7;
}

/* The long homepage does not need to paint every below-fold section immediately. */
body.home #site-content > section:nth-of-type(n + 3) {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

@media (hover: hover) and (pointer: fine) {
  a, button, input, select, textarea, summary {
    transition-timing-function: var(--motion-ease) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================= MOBILE-FIRST UI/UX SYSTEM ================= */
body {
  overflow-x: clip;
  min-width: 320px;
}

/* Slate 400 is too faint at small storefront text sizes on white surfaces. */
.text-slate-400 {
  color: #64748b !important;
}

#topBar .text-emerald-400 {
  color: #6ee7b7 !important;
}

.text-amber-600 {
  color: #b45309 !important;
}

.text-rose-600 {
  color: #be123c !important;
}

.bg-amber-500.text-white {
  background-color: #b45309 !important;
}

.bg-rose-600.text-white {
  background-color: #be123c !important;
}

button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}

.site-page-shell {
  width: 100%;
}

.product-card {
  contain: layout paint style;
  isolation: isolate;
}

.product-card > div:first-child > a {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

img.chowhans-image-fallback {
  object-fit: contain !important;
  padding: 1rem !important;
  opacity: 0.72;
}

.product-card h3 a {
  display: block;
  min-height: 2rem;
}

#site-content h3 > a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

#site-content a.text-xs.flex {
  min-height: 24px;
}

footer li > a,
footer p > a {
  min-height: 24px;
  align-items: center;
}

footer .text-slate-400,
footer .text-slate-500 {
  color: #94a3b8 !important;
}

footer li > a {
  padding-block: 0.125rem;
}

.catalog-toolbar .woocommerce-result-count {
  margin: 0 !important;
}

.catalog-toolbar .woocommerce-ordering {
  margin: 0 !important;
}

.catalog-toolbar .orderby {
  min-height: 40px;
  max-width: 13rem;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background-color: #f8fafc;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  outline: none;
}

.woocommerce form .form-row label {
  color: #334155;
  font-weight: 700;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  border: 1px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.select2-container--open .select2-selection--single {
  border-color: #23914a !important;
  box-shadow: 0 0 0 3px rgba(35, 145, 74, 0.12) !important;
  outline: 0 !important;
}

#place_order {
  min-height: 50px;
  width: 100%;
  border-radius: 0.875rem !important;
  font-weight: 800 !important;
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 0.75rem 0.25rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: top;
}

.woocommerce-checkout-review-order-table th:last-child,
.woocommerce-checkout-review-order-table td:last-child {
  text-align: right;
}

#payment {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0;
  border-radius: 1rem !important;
}

#payment ul.payment_methods {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none;
}

#payment .payment_box {
  margin-top: 0.625rem !important;
  padding: 0.75rem !important;
  border-radius: 0.75rem;
  background: #ffffff !important;
  color: #475569 !important;
  font-size: 0.75rem !important;
}

#payment .place-order {
  margin: 0 !important;
  padding: 0.875rem 0 0 !important;
}

.mobile-bottom-nav {
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

.site-drawer {
  height: 100dvh;
  max-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom);
}

#cartDrawer[data-open="true"] {
  width: min(94vw, 28rem) !important;
  max-width: none !important;
  box-shadow: -18px 0 55px -24px rgba(2, 6, 23, 0.38) !important;
}

#cartDrawer {
  width: min(94vw, 28rem) !important;
  max-width: none !important;
}

.cart-drawer-header,
.cart-drawer-progress,
.cart-drawer-order-note,
.cart-drawer-actions {
  flex: 0 0 auto;
}

.cart-drawer-content {
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

#cartDrawer > .widget_shopping_cart_content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem;
}

#cartDrawer[data-cart-empty="true"] .cart-drawer-progress,
#cartDrawer[data-cart-empty="true"] .cart-drawer-order-note,
#cartDrawer[data-cart-empty="true"] .cart-drawer-actions {
  display: none !important;
}

#cartDrawer .woocommerce-mini-cart-item {
  min-height: 68px;
}

#cartDrawer .woocommerce-mini-cart-item > .remove {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #fff1f2;
  color: #be123c;
}

#cartDrawer .woocommerce-mini-cart__total {
  position: sticky;
  bottom: -1rem;
  z-index: 2;
  margin-inline: -0.25rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0 !important;
}

/* Featured categories: a compact, consistent icon system across all departments. */
.featured-category-grid {
  align-items: stretch;
}

/* Product archive category rails: mouse, keyboard, trackpad and touch friendly. */
.category-rail-shell {
  position: relative;
  min-width: 0;
}

.category-rail {
  max-width: 100%;
  scroll-padding-inline: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #e2e8f0;
  overscroll-behavior-inline: contain;
}

.category-rail::-webkit-scrollbar {
  height: 6px;
}

.category-rail::-webkit-scrollbar-track {
  border-radius: 999px;
  background: #e2e8f0;
}

.category-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #94a3b8;
}

.category-rail:focus-visible {
  outline: 2px solid #23914a;
  outline-offset: 3px;
  border-radius: 0.75rem;
}

.category-rail-card {
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
}

.category-rail-card:hover {
  transform: translateY(-1px);
}

.category-rail-nav {
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 0.625rem;
  background: #fff;
  color: #016171;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.category-rail-nav:hover:not(:disabled) {
  border-color: #23914a;
  background: #ecfdf5;
}

.category-rail-nav:disabled {
  cursor: default;
  opacity: 0.32;
}

@media (min-width: 640px) {
  .category-rail-hint::before {
    content: "Mouse wheel or";
    margin-right: 0.25rem;
  }
}

@media (max-width: 639px) {
  .category-rail {
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
    scrollbar-width: none;
  }

  .category-rail::-webkit-scrollbar {
    display: none;
  }
}

.category-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(155deg, #ffffff 0%, #ffffff 66%, #f8fafc 100%);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transform: translateZ(0);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 3px;
  opacity: 0;
  background: linear-gradient(90deg, #016171, #23914a);
  transition: opacity 180ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -30px;
  z-index: -1;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(35, 145, 74, 0.045);
  pointer-events: none;
}

.category-icon {
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 5px 14px -10px currentColor;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.category-icon i {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6));
}

.category-title,
.category-count {
  position: relative;
  z-index: 1;
}

.category-title {
  display: -webkit-box;
  min-height: 0;
  overflow: hidden;
  white-space: normal !important;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-count {
  margin-top: 0.2rem !important;
  line-height: 1.25;
}

.footer-credit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-developer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #94a3b8;
  transition: color 160ms ease;
}

.footer-developer-link strong {
  color: #e2e8f0;
  font-weight: 800;
}

.footer-developer-link i {
  color: #38bdf8;
  font-size: 0.75rem;
}

.footer-developer-link:hover {
  color: #ffffff;
}

/* Cart page: dedicated layout avoids global square-image and Woo defaults. */
.cart-layout,
.cart-items-column,
.cart-items-panel,
.cart-line-item,
.cart-item-main,
.cart-item-info {
  min-width: 0;
}

.cart-items-panel {
  overflow: hidden;
}

.cart-line-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
}

.cart-item-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.cart-item-image {
  width: 96px;
  height: 96px;
  padding: 0.375rem;
}

.cart-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0 !important;
  object-fit: contain;
}

.cart-item-title {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-item-controls {
  display: grid;
  grid-template-columns: 112px minmax(84px, auto) 40px;
  align-items: end;
  gap: 0.875rem;
}

.cart-control-label {
  display: block;
  margin-bottom: 0.3rem;
  color: #64748b;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
}

.cart-item-controls .quantity {
  width: 112px !important;
  max-width: 112px !important;
  height: 44px !important;
  border-radius: 0.75rem !important;
}

.cart-item-controls .quantity.stepper-enhanced button,
.cart-item-controls .quantity.stepper-enhanced .qty {
  height: 42px !important;
}

.cart-item-remove {
  width: 40px !important;
  height: 40px !important;
  margin-bottom: 1px;
}

.cart-summary {
  box-shadow: 0 10px 30px -24px rgba(15, 23, 42, 0.35) !important;
}

.cart-summary details summary::-webkit-details-marker {
  display: none;
}

.cart-summary details[open] {
  background: #ffffff;
  border-color: #a7f3d0;
}

.cart-assurance {
  box-shadow: 0 6px 20px -18px rgba(5, 150, 105, 0.45);
}

@media (max-width: 1023px) {
  .cart-summary {
    position: static !important;
  }
}

@media (max-width: 639px) {
  .footer-credit-row {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .cart-page-header {
    margin-bottom: 1rem;
  }

  .cart-line-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.875rem;
  }

  .cart-item-main {
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start;
    gap: 0.75rem;
  }

  .cart-item-image {
    width: 82px;
    height: 82px;
    padding: 0.25rem;
  }

  .cart-item-info > span {
    font-size: 0.5625rem !important;
  }

  .cart-item-title {
    font-size: 0.75rem !important;
  }

  .cart-unit-price {
    flex-wrap: wrap;
    row-gap: 0.125rem;
  }

  .cart-item-controls {
    grid-template-columns: 112px minmax(76px, 1fr) 40px;
    align-items: end;
    gap: 0.625rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
  }

  .cart-item-total {
    min-width: 0 !important;
  }

  .cart-item-total > span:last-child {
    font-size: 0.875rem !important;
  }

  .cart-update-row .button {
    width: 100%;
    min-height: 44px;
  }

  .cart-assurance {
    align-items: flex-start;
  }
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -18px rgba(1, 97, 113, 0.42);
  }

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

  .category-card:hover .category-icon {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 10px 20px -12px rgba(1, 97, 113, 0.65);
  }
}

.cart-drawer-actions {
  padding-bottom: max(1rem, env(safe-area-inset-bottom)) !important;
  box-shadow: 0 -8px 28px -20px rgba(15, 23, 42, 0.35);
}

@media (max-width: 639px) {
  .category-card {
    min-height: 0;
    padding-inline: 0.4rem !important;
  }

  .category-count {
    letter-spacing: -0.01em;
  }

  .site-page-shell,
  .site-header-shell,
  footer > .max-w-7xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .catalog-page,
  .product-page,
  .cart-page,
  .checkout-page {
    padding-top: 1rem !important;
  }

  .catalog-grid {
    gap: 0.75rem !important;
  }

  .catalog-toolbar {
    align-items: center;
    padding: 0.625rem 0.75rem !important;
  }

  .catalog-toolbar .woocommerce-result-count {
    max-width: 8rem;
    font-size: 0.6875rem !important;
    line-height: 1.35;
  }

  .catalog-toolbar .orderby {
    width: 9.5rem;
    max-width: 42vw;
    font-size: 0.6875rem;
  }

  .product-card {
    border-radius: 1rem !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  }

  .product-card .touch-press {
    min-height: 42px;
  }

  .product-detail-card,
  .cart-panel,
  .checkout-panel {
    border-radius: 1.125rem !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  }

  .product-detail-card {
    padding: 1rem !important;
    gap: 1.25rem !important;
  }

  .product-page .product-form-wrapper form.cart {
    align-items: stretch !important;
  }

  .product-page .single_add_to_cart_button {
    min-height: 52px !important;
    flex: 1 1 auto !important;
    padding-inline: 0.75rem !important;
  }

  .cart-panel.woocommerce-cart-form {
    padding: 0.875rem !important;
  }

  .cart-page .woocommerce-cart-form > .divide-y > div {
    padding-block: 0.875rem !important;
  }

  .cart-page .quantity {
    width: 7rem !important;
    max-width: 7rem;
  }

  .cart-page .remove {
    width: 42px !important;
    height: 42px !important;
  }

  .cart-page .cart-summary,
  .checkout-page .checkout-summary {
    border-color: #cbd5e1 !important;
  }

  .cart-summary,
  .checkout-summary {
    position: static !important;
  }

  .checkout-support {
    align-items: flex-start !important;
    flex-wrap: wrap;
  }

  .checkout-support > a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.woocommerce-cart .mobile-bottom-nav,
  body.woocommerce-checkout .mobile-bottom-nav {
    display: none !important;
  }

  body.woocommerce-cart footer,
  body.woocommerce-checkout footer {
    margin-bottom: 0 !important;
  }

  #payment {
    padding: 0.875rem !important;
  }

  .select2-container--default .select2-selection--single {
    min-height: 46px !important;
    display: flex !important;
    align-items: center;
    border-radius: 0.75rem !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
  }

  #place_order {
    position: relative;
    min-height: 52px;
    font-size: 0.875rem !important;
  }

  .woocommerce-checkout-review-order-table,
  .woocommerce-checkout-review-order-table th,
  .woocommerce-checkout-review-order-table td {
    font-size: 0.75rem !important;
  }

  .woocommerce-notices-wrapper {
    padding-inline: 1rem !important;
  }

  /* No expensive hover paints or stuck hover zoom on touch screens. */
  .group:hover img,
  .product-card:hover img {
    transform: none !important;
  }

  .shadow-card,
  .hover\:shadow-card:hover {
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.045) !important;
  }

  .transition-all {
    transition-property: color, background-color, border-color, opacity, transform !important;
  }
}

/* ==========================================================================
   Universal Out-of-Stock Product Badges & Button Styling
   ========================================================================== */
.outofstock-badge {
  position: absolute !important;
  top: 0.5rem !important;
  right: 0.5rem !important;
  background-color: #e11d48 !important;
  color: #ffffff !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  z-index: 20 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  pointer-events: none !important;
  user-select: none !important;
}

.product.outofstock .single_add_to_cart_button,
.product.outofstock .add_to_cart_button,
.product.outofstock button.button.alt,
.product.outofstock .wc-buy-now-btn,
.product.outofstock form.cart .button,
.is-out-of-stock .product-form-wrapper {
  opacity: 0.45 !important;
  filter: grayscale(1) blur(0.3px) !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

/* ==========================================================================
   Modern Clean Checkout & Payment Methods Styling
   ========================================================================== */
#payment,
.woocommerce-checkout-payment {
  background: #ffffff !important;
  border-radius: 1rem !important;
  border: 1px solid #e2e8f0 !important;
  padding: 1.25rem !important;
  margin-top: 1rem !important;
}

ul.wc_payment_methods,
ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.25rem 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

li.wc_payment_method {
  position: relative !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 0.875rem !important;
  padding: 0.875rem 1rem !important;
  transition: all 0.2s ease !important;
  display: block !important;
  margin: 0 !important;
  cursor: pointer !important;
}

li.wc_payment_method:hover {
  border-color: #10b981 !important;
  background-color: #f0fdf4 !important;
}

li.wc_payment_method:has(input:checked),
li.wc_payment_method.is-checked {
  background-color: #f0fdf4 !important;
  border-color: #059669 !important;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.12) !important;
}

li.wc_payment_method > input[type="radio"],
li.wc_payment_method > input.input-radio {
  accent-color: #065f46 !important;
  width: 1.125rem !important;
  height: 1.125rem !important;
  margin: 0 0.625rem 0 0 !important;
  cursor: pointer !important;
  vertical-align: middle !important;
  display: inline-block !important;
}

li.wc_payment_method > label {
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  color: #0f172a !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  vertical-align: middle !important;
}

li.wc_payment_method > label img {
  max-height: 24px !important;
  width: auto !important;
  object-fit: contain !important;
  display: inline-block !important;
  margin-left: 0.5rem !important;
}

/* Payment box (Direct payment, Easypaisa/Jazzcash, Bank transfer description) */
.payment_box,
li.wc_payment_method .payment_box {
  width: 100% !important;
  margin-top: 0.75rem !important;
  padding: 0.875rem 1rem !important;
  background-color: #ffffff !important;
  border: 1px solid #d1fae5 !important;
  border-left: 4px solid #059669 !important;
  border-radius: 0.625rem !important;
  font-size: 0.8125rem !important;
  line-height: 1.55 !important;
  color: #334155 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  clear: both !important;
}

.payment_box:before {
  display: none !important;
}

.payment_box p {
  margin: 0 !important;
  padding: 0.2rem 0 !important;
  font-size: 0.8125rem !important;
  line-height: 1.55 !important;
  color: #334155 !important;
}

.payment_box p + p {
  margin-top: 0.35rem !important;
}

.payment_box strong,
.payment_box b {
  color: #065f46 !important;
  font-weight: 700 !important;
}

/* Terms and Privacy Policy Box */
.woocommerce-terms-and-conditions-wrapper,
.woocommerce-privacy-policy-text {
  padding: 0.75rem 1rem !important;
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  font-size: 0.75rem !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  margin: 1rem 0 !important;
}

.woocommerce-privacy-policy-text p {
  margin: 0 !important;
  font-size: 0.75rem !important;
  line-height: 1.5 !important;
  color: #64748b !important;
}

.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-link {
  color: #047857 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

.woocommerce-privacy-policy-text a:hover,
.woocommerce-terms-and-conditions-link:hover {
  color: #065f46 !important;
}

/* Place Order Button */
#place_order,
button#place_order.button.alt {
  width: 100% !important;
  background-color: #065f46 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.9375rem !important;
  padding: 0.875rem 1.5rem !important;
  border-radius: 0.75rem !important;
  border: none !important;
  box-shadow: 0 4px 6px -1px rgba(6, 95, 70, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  min-height: 48px !important;
}

#place_order:hover,
button#place_order.button.alt:hover {
  background-color: #044e3a !important;
  box-shadow: 0 6px 12px -2px rgba(6, 95, 70, 0.35) !important;
  transform: translateY(-1px) !important;
}

#place_order:active,
button#place_order.button.alt:active {
  transform: translateY(0) !important;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 1rem !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 0.625rem 0.5rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
}

.woocommerce-checkout-review-order-table th {
  color: #64748b !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.woocommerce-checkout-review-order-table td.product-name {
  font-weight: 600 !important;
  color: #1e293b !important;
  font-size: 0.8125rem !important;
}

.woocommerce-checkout-review-order-table td.product-total {
  font-weight: 700 !important;
  color: #0f172a !important;
  text-align: right !important;
  font-size: 0.8125rem !important;
}

.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  border-top: 2px solid #e2e8f0 !important;
  border-bottom: none !important;
  padding-top: 0.875rem !important;
}

.woocommerce-checkout-review-order-table tr.order-total td .amount {
  color: #047857 !important;
  font-size: 1.125rem !important;
}




/* Mobile Optimized Infinite Continuous Brands Marquee */
@keyframes brandInfiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brands-marquee-wrapper {
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
  padding: 0.35rem 0 !important;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent) !important;
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent) !important;
  touch-action: pan-y !important;
}

.brands-marquee-track {
  display: flex !important;
  align-items: center !important;
  width: max-content !important;
  gap: 0.75rem !important;
  animation: brandInfiniteScroll 30s linear infinite !important;
  will-change: transform !important;
}

@media (min-width: 640px) {
  .brands-marquee-track {
    gap: 1.25rem !important;
    animation-duration: 38s !important;
  }
}

.brands-marquee-wrapper:hover .brands-marquee-track,
.brands-marquee-wrapper:active .brands-marquee-track {
  animation-play-state: paused !important;
}

.brand-slider-card {
  flex-shrink: 0 !important;
  width: auto !important;
  min-width: 130px !important;
  max-width: 220px !important;
  height: 56px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 0.875rem !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.35rem 0.875rem !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
}

@media (min-width: 640px) {
  .brand-slider-card {
    min-width: 160px !important;
    max-width: 260px !important;
    height: 68px !important;
    border-radius: 1rem !important;
    padding: 0.5rem 1.25rem !important;
  }
}

.brand-slider-card:hover {
  background: #f0fdf4 !important;
  border-color: #059669 !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.12) !important;
  transform: translateY(-2px) !important;
}

.brand-slider-card .brand-name {
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 170px !important;
  text-align: center !important;
  display: block !important;
  line-height: 1.2 !important;
}

@media (min-width: 640px) {
  .brand-slider-card .brand-name {
    font-size: 0.8125rem !important;
    max-width: 220px !important;
  }
}

.brand-slider-card .brand-type {
  font-size: 0.625rem !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 170px !important;
  text-align: center !important;
  display: block !important;
  margin-top: 1px !important;
  line-height: 1.2 !important;
}

@media (min-width: 640px) {
  .brand-slider-card .brand-type {
    font-size: 0.6875rem !important;
    max-width: 220px !important;
    margin-top: 2px !important;
  }
}
.brands-marquee-wrapper {
  overflow: hidden !important;
  position: relative !important;
  width: 100% !important;
  padding: 0.5rem 0 !important;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent) !important;
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent) !important;
}

.brands-marquee-track {
  display: flex !important;
  align-items: center !important;
  width: max-content !important;
  gap: 1.25rem !important;
  animation: brandInfiniteScroll 35s linear infinite !important;
  will-change: transform !important;
}

.brands-marquee-wrapper:hover .brands-marquee-track {
  animation-play-state: paused !important;
}

.brand-slider-card {
  flex-shrink: 0 !important;
  width: auto !important;
  min-width: 160px !important;
  max-width: 260px !important;
  height: 68px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 1rem !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem 1.25rem !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.brand-slider-card:hover {
  background: #f0fdf4 !important;
  border-color: #059669 !important;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.12) !important;
  transform: translateY(-2px) !important;
}

.brand-slider-card .brand-name {
  font-weight: 800 !important;
  font-size: 0.8125rem !important;
  color: #0f172a !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 220px !important;
  text-align: center !important;
  display: block !important;
}

.brand-slider-card .brand-type {
  font-size: 0.6875rem !important;
  color: #64748b !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 220px !important;
  text-align: center !important;
  display: block !important;
  margin-top: 2px !important;
}
.brands-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.brands-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: brandInfiniteScroll 28s linear infinite;
  will-change: transform;
}

.brands-marquee-track:hover {
  animation-play-state: paused;
}

.brand-slider-card {
  min-width: 140px;
  max-width: 180px;
  height: 64px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.875rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-slider-card:hover {
  background: #ffffff;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.08);
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .brand-slider-card {
    min-width: 165px;
    height: 72px;
  }
}


/* Featured Departments & Categories 2-Row Styling */
.featured-cat-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 1.125rem !important;
  padding: 0.875rem 0.625rem !important;
  text-align: center !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
}

.featured-cat-card:hover {
  border-color: #059669 !important;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.12) !important;
  transform: translateY(-2px) !important;
}

.featured-cat-card .cat-icon-box {
  width: 2.75rem !important;
  height: 2.75rem !important;
  margin: 0 auto 0.5rem auto !important;
  border-radius: 0.875rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.125rem !important;
  transition: all 0.25s ease !important;
  flex-shrink: 0 !important;
}

@media (min-width: 640px) {
  .featured-cat-card .cat-icon-box {
    width: 3.125rem !important;
    height: 3.125rem !important;
    font-size: 1.25rem !important;
  }
}

.featured-cat-card:hover .cat-icon-box {
  background-color: #065f46 !important;
  color: #ffffff !important;
  border-color: #065f46 !important;
}


/* Guaranteed 5-Column Grid on Desktop and 2-Column on Mobile */
.featured-cats-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.625rem !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .featured-cats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0.875rem !important;
  }
}

@media (min-width: 1024px) {
  .featured-cats-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
}


/* Popular Categories Slide Item & Icon Box Styling */
.pop-cat-slide-item {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 1.125rem !important;
  transition: all 0.25s ease !important;
}

.pop-cat-slide-item:hover {
  border-color: #059669 !important;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.12) !important;
  transform: translateY(-2px) !important;
}

.pop-cat-slide-item .pop-cat-icon {
  width: 2.75rem !important;
  height: 2.75rem !important;
  border-radius: 0.875rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.125rem !important;
  transition: all 0.25s ease !important;
  flex-shrink: 0 !important;
}

@media (min-width: 640px) {
  .pop-cat-slide-item .pop-cat-icon {
    width: 3rem !important;
    height: 3rem !important;
    font-size: 1.25rem !important;
  }
}

.pop-cat-slide-item:hover .pop-cat-icon {
  background-color: #065f46 !important;
  color: #ffffff !important;
  border-color: #065f46 !important;
}


/* ================= PREMIUM LUXURY PHARMACY CHECKOUT UI ================= */
.woocommerce-billing-fields > h3 {
  display: none !important; /* Hide redundant raw heading */
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
  display: block !important;
  width: 100% !important;
}

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

.woocommerce-checkout .form-row {
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
  position: relative !important;
}

.woocommerce-checkout .form-row-wide {
  width: 100% !important;
  clear: both !important;
}

@media (min-width: 640px) {
  .woocommerce-checkout .form-row-first {
    width: 48.5% !important;
    float: left !important;
    clear: none !important;
  }
  .woocommerce-checkout .form-row-last {
    width: 48.5% !important;
    float: right !important;
    clear: none !important;
  }
}

@media (max-width: 639px) {
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }
}

/* Modern Input & Textarea Styling */
.woocommerce-checkout .form-row label {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-bottom: 0.35rem !important;
  display: block !important;
  letter-spacing: -0.01em !important;
}

.woocommerce-checkout .form-row label .required {
  color: #ef4444 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

.woocommerce-checkout .form-row label .optional {
  font-size: 0.6875rem !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100% !important;
  height: 48px !important;
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 0.75rem !important;
  padding: 0.625rem 0.875rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
}

.woocommerce-checkout .form-row textarea {
  height: auto !important;
  min-height: 80px !important;
  resize: vertical !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  background-color: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12) !important;
}

.woocommerce-checkout .form-row input.input-text::placeholder,
.woocommerce-checkout .form-row textarea::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
  font-size: 0.8125rem !important;
}

/* Order Review Table Styling */
.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin-bottom: 1rem !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 0.75rem 0.5rem !important;
  border-bottom: 1px solid #f1f5f9 !important;
  font-size: 0.8125rem !important;
}

.woocommerce-checkout-review-order-table thead th {
  font-size: 0.6875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #64748b !important;
  font-weight: 800 !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
  padding-top: 0 !important;
}

.woocommerce-checkout-review-order-table .product-name {
  color: #1e293b !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.woocommerce-checkout-review-order-table .product-quantity {
  background: #f1f5f9 !important;
  color: #475569 !important;
  padding: 0.15rem 0.4rem !important;
  border-radius: 0.375rem !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  margin-left: 0.25rem !important;
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table td:last-child {
  text-align: right !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th {
  color: #64748b !important;
  font-weight: 600 !important;
}

.woocommerce-checkout-review-order-table .order-total {
  border-top: 2px solid #e2e8f0 !important;
}

.woocommerce-checkout-review-order-table .order-total th {
  font-size: 0.9375rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.woocommerce-checkout-review-order-table .order-total td {
  font-size: 1.125rem !important;
  font-weight: 900 !important;
  color: #059669 !important;
  text-align: right !important;
}

/* Payment Gateway Methods */
#payment {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 1rem !important;
  padding: 1rem !important;
  margin-top: 1rem !important;
}

#payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1rem 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.625rem !important;
}

#payment ul.payment_methods li {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.2s ease !important;
}

#payment ul.payment_methods li:has(input:checked) {
  border-color: #059669 !important;
  background: #f0fdf4 !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08) !important;
}

#payment ul.payment_methods li label {
  font-weight: 700 !important;
  color: #0f172a !important;
  font-size: 0.875rem !important;
  cursor: pointer !important;
  margin-left: 0.5rem !important;
}

#payment ul.payment_methods li input[type="radio"] {
  accent-color: #059669 !important;
  width: 1.125rem !important;
  height: 1.125rem !important;
  vertical-align: middle !important;
}

#payment div.payment_box {
  background: transparent !important;
  color: #475569 !important;
  font-size: 0.75rem !important;
  line-height: 1.5 !important;
  padding: 0.5rem 0 0 1.625rem !important;
  margin: 0 !important;
}

/* Place Order Button (Conversion-Optimized Emerald CTA) */
#payment #place_order,
.woocommerce-checkout #place_order {
  width: 100% !important;
  height: 52px !important;
  background-color: #059669 !important;
  color: #ffffff !important;
  border-radius: 0.875rem !important;
  font-size: 0.9375rem !important;
  font-weight: 800 !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25) !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  letter-spacing: -0.01em !important;
}

#payment #place_order:hover,
.woocommerce-checkout #place_order:hover {
  background-color: #047857 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.3) !important;
}


/* ================= REFINED CLINICAL DOCTOR PORTAL ================= */
.doc-portal-wrapper {
  background-color: #f8fafc;
  min-height: 80vh;
  padding: 2.5rem 1rem;
}

@media (max-width: 640px) {
  .doc-portal-wrapper {
    padding: 1.25rem 0.75rem;
  }
}

.doc-portal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  padding: 1.75rem;
}

@media (min-width: 640px) {
  .doc-portal-card {
    padding: 2.5rem;
  }
}

.doc-form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.doc-form-label .req {
  color: #ef4444;
  margin-left: 2px;
}

.doc-form-input {
  width: 100%;
  height: 44px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.doc-form-input:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.doc-form-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
  font-size: 0.8125rem;
}

select.doc-form-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding-right: 2.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea.doc-form-input {
  height: auto;
  min-height: 95px;
  padding: 0.75rem 0.875rem;
  resize: vertical;
}

.doc-primary-btn {
  height: 48px;
  background: #059669;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 0.625rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.doc-primary-btn:hover {
  background: #047857;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}
.doctor-hero-banner {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #065f46 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 1.5rem !important;
  padding: 1.75rem !important;
  box-shadow: 0 10px 25px -5px rgba(2, 44, 34, 0.25) !important;
  position: relative !important;
  overflow: hidden !important;
}

@media (min-width: 640px) {
  .doctor-hero-banner {
    padding: 2.5rem !important;
    border-radius: 2rem !important;
  }
}

.doctor-hero-banner h1 {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 1.5rem !important;
  line-height: 1.25 !important;
  margin-bottom: 0.75rem !important;
  letter-spacing: -0.02em !important;
}

@media (min-width: 640px) {
  .doctor-hero-banner h1 {
    font-size: 2.25rem !important;
  }
}

.doctor-hero-banner p {
  color: #d1fae5 !important;
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1rem !important;
}

@media (min-width: 640px) {
  .doctor-hero-banner p {
    font-size: 1rem !important;
  }
}

.doctor-badge-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: rgba(16, 185, 129, 0.2) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(110, 231, 183, 0.35) !important;
  padding: 0.3rem 0.85rem !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.75rem !important;
}

.doctor-trust-strip {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.625rem !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

@media (min-width: 640px) {
  .doctor-trust-strip {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.doctor-trust-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-size: 0.8125rem !important;
  color: #e2e8f0 !important;
  font-weight: 600 !important;
}

.doctor-trust-item i {
  color: #34d399 !important;
  font-size: 1.125rem !important;
}

/* Form Container Card */
.doctor-form-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 1.5rem !important;
  padding: 1.25rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

@media (min-width: 640px) {
  .doctor-form-card {
    padding: 2.25rem !important;
    border-radius: 2rem !important;
  }
}

.doctor-form-header {
  border-bottom: 1.5px solid #f1f5f9 !important;
  padding-bottom: 1.25rem !important;
  margin-bottom: 1.5rem !important;
}

.doctor-form-header h2 {
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

.doctor-form-header p {
  font-size: 0.8125rem !important;
  color: #64748b !important;
  margin-top: 0.25rem !important;
}

.doctor-section-title {
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #065f46 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 1rem !important;
}

.doctor-step-num {
  width: 1.375rem !important;
  height: 1.375rem !important;
  border-radius: 9999px !important;
  background: #d1fae5 !important;
  color: #065f46 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.6875rem !important;
  font-weight: 900 !important;
}

.doctor-input-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  margin-bottom: 1rem !important;
}

.doctor-input-group label {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  display: block !important;
}

.doctor-input-group label .req {
  color: #ef4444 !important;
}

.doctor-field {
  width: 100% !important;
  height: 48px !important;
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 0.75rem !important;
  padding: 0.625rem 0.875rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.doctor-field:focus {
  background: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12) !important;
}

.doctor-field::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
  font-size: 0.8125rem !important;
}

select.doctor-field {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
  background-position: right 0.75rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.25em 1.25em !important;
  padding-right: 2.25rem !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

textarea.doctor-field {
  height: auto !important;
  min-height: 90px !important;
  resize: vertical !important;
}

.doctor-submit-btn {
  width: 100% !important;
  height: 52px !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  border-radius: 0.875rem !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.625rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
  transition: all 0.2s ease !important;
}

.doctor-submit-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4) !important;
}


    /* Bulletproof Quantity Stepper (Pill with Circular Minus/Plus) */
    .chowhans-qty-wrapper,
    .woocommerce .quantity.chowhans-qty-wrapper,
    form.cart .quantity.chowhans-qty-wrapper {
      display: inline-flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      background: #ffffff !important;
      border: 1.5px solid #cbd5e1 !important;
      border-radius: 9999px !important;
      padding: 3px !important;
      height: 46px !important;
      width: 122px !important;
      min-width: 122px !important;
      max-width: 122px !important;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
      transition: border-color 0.2s ease !important;
      user-select: none !important;
      flex-shrink: 0 !important;
      margin: 0 !important;
    }
    .chowhans-qty-wrapper:hover,
    .chowhans-qty-wrapper:focus-within {
      border-color: #059669 !important;
    }
    .chowhans-qty-wrapper .qty-btn {
      width: 38px !important;
      height: 38px !important;
      border-radius: 9999px !important;
      background: #f1f5f9 !important;
      color: #334155 !important;
      border: none !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer !important;
      font-size: 0.75rem !important;
      transition: all 0.15s ease !important;
      padding: 0 !important;
      margin: 0 !important;
      flex-shrink: 0 !important;
      line-height: 1 !important;
    }
    .chowhans-qty-wrapper .qty-btn:hover {
      background: #059669 !important;
      color: #ffffff !important;
    }
    .chowhans-qty-wrapper .qty-btn:active {
      transform: scale(0.92) !important;
    }
    .chowhans-qty-wrapper input.qty {
      width: 36px !important;
      height: 38px !important;
      border: none !important;
      background: transparent !important;
      text-align: center !important;
      font-weight: 800 !important;
      font-size: 0.9375rem !important;
      color: #0f172a !important;
      padding: 0 !important;
      margin: 0 !important;
      outline: none !important;
      box-shadow: none !important;
      -moz-appearance: textfield !important;
    }
    .chowhans-qty-wrapper input.qty::-webkit-outer-spin-button,
    .chowhans-qty-wrapper input.qty::-webkit-inner-spin-button {
      -webkit-appearance: none !important;
      margin: 0 !important;
    }

    /* Single Product Add to Cart Form Alignment */
    .product-form-wrapper form.cart {
      display: flex !important;
      align-items: center !important;
      gap: 0.625rem !important;
      width: 100% !important;
      margin: 0 !important;
    }
    .product-form-wrapper form.cart .single_add_to_cart_button {
      flex: 1 !important;
      height: 46px !important;
      border-radius: 0.75rem !important;
      background: #065f46 !important;
      color: #ffffff !important;
      font-weight: 800 !important;
      font-size: 0.875rem !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      transition: all 0.2s ease !important;
    }
    .product-form-wrapper form.cart .single_add_to_cart_button:hover {
      background: #044e3a !important;
      transform: translateY(-1px) !important;
    }
