/*
Theme Name: Continental Sports Theme
Theme URI: https://continentalsports.pk
Description: Continental Sports Official Theme for Astra — Light Athletic Edition with Slim Header, Smart Search, 3D Physics & Single Full-Width Footer.
Author: M.Shaies
Author URI: https://continentalsports.pk
Template: astra
Version: 1.0
Text Domain: continental-sports-theme
*/

/* ─── Google Fonts (Sora & Manrope) — enqueued via functions.php ── */

/* ─── Exact Lovable Design Tokens ──────────────────────────── */
:root {
  --font-sans:          'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display:       'Sora', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --background:         #ffffff;
  --foreground:         #0d0d0f;
  --card-bg:            #ffffff;
  --card-border:        #e2e2e5;
  --brand:              #e7000b;
  --brand-dark:         #c50009;
  --brand-foreground:   #ffffff;
  --muted-foreground:   #5c5c64;
  --radius-full:        9999px;
  --radius-xl:          16px;
  --radius-lg:          12px;
  --shadow-sm:          0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card:        0 12px 40px -12px rgba(13, 13, 15, 0.08);
}

/* ─── Global Reset & Base Rules ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: var(--background) !important;
  color: var(--foreground) !important;
  font-family: var(--font-sans) !important;
  margin: 0 !important;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden !important;
}

html, body, #page, .site, .ast-container, .site-content, #content, #main {
  background-color: var(--background) !important;
  background: var(--background) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

/* Zero out top spacing for seamless header-to-hero connection */
.ast-page-builder-template .entry-header,
.ast-page-builder-template .site-content,
.ast-page-builder-template #content,
.ast-page-builder-template #primary,
.ast-page-builder-template #main,
.elementor-page .site-content,
.elementor-page #content,
.elementor-page #primary,
.elementor-page #main,
.elementor-page .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ─── UNIFIED FULL-WIDTH FOOTER SYSTEM (100% EDGE-TO-EDGE) ──── */
.site-footer,
#colophon {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #09090b !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.site-footer .ast-container,
#colophon .ast-container,
.site-footer .ast-builder-grid-row {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Eliminate Astra's Second Below-Footer Bar & Default Copyright */
.site-below-footer-wrap,
.ast-below-footer-wrap,
.ast-footer-builder-wrap,
.site-footer-below-section-1,
.site-footer-below-section-2,
.site-footer-primary-section-1,
.ast-footer-copyright,
.ast-small-footer,
.ast-below-footer-bar,
.ast-above-footer-bar,
.ast-primary-footer-bar,
.ast-footer-overlay,
.ast-builder-footer-grid-columns {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  visibility: hidden !important;
  border: none !important;
}

.cs-unified-footer {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: #09090b !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 60px 24px 30px !important;
}

/* 100vw breakout rule if inside boxed content containers */
.ast-container .cs-unified-footer,
.site-content .cs-unified-footer,
.elementor-container .cs-unified-footer,
.entry-content .cs-unified-footer {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

/* ─── ASTRA SLIM HEADER (FAR-RIGHT ALIGNED NAVIGATION) ──────── */
.site-header,
#masthead,
.ast-primary-header-bar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  height: 52px !important;
  min-height: 52px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(20px) saturate(1.4) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
  padding: 0 !important;
}

/* Force header row to flex space-between (disables 3-column equal grid) */
.ast-primary-header-bar .ast-builder-grid-row,
.ast-primary-header-bar .site-primary-header-wrap,
.ast-primary-header-bar .ast-container,
.site-primary-header-wrap.ast-container {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  height: 52px !important;
  min-height: 52px !important;
  grid-template-columns: none !important;
}

/* ─── ERADICATE ROGUE HEADER SEARCH BUTTON & WIDGETS ───────── */
.main-header-menu > li.ast-masthead-custom-menu-items,
.main-header-menu > li.ast-custom-button-item,
.main-header-menu > li.ast-header-search,
.main-header-menu > li.ast-search-menu-icon,
.main-header-menu > li.menu-item:last-child:has(button),
.main-header-menu > li.menu-item:last-child:has(.ast-custom-button),
.ast-masthead-custom-menu-items,
.ast-custom-button-item,
.site-header .ast-builder-item--button,
.site-header .ast-builder-item--button-1,
.site-header .ast-builder-item--button-2,
.site-header .ast-header-button-1,
.site-header .ast-header-button,
.site-header .ast-builder-button-wrap,
.site-header .ast-custom-button-link,
.site-header .ast-custom-button,
.site-header .ast-header-custom-item,
.site-header [data-section*="button"],
.site-header [data-section*="search"],
.site-header .ast-header-search,
.site-header .ast-search-menu-icon,
.site-header .ast-search-icon,
.site-header .ast-header-search-element,
.site-header .ast-search-element,
.site-header .ast-dropdown-search,
.site-header .ast-search-box,
.site-header button:not(.ast-mobile-menu-trigger-minimal):not(.menu-toggle),
.site-header-primary-section-right > .ast-builder-layout-element:not(.ast-builder-menu-1):not(.ast-builder-menu),
.ast-primary-header-bar .site-header-primary-section-right > div:not(.main-header-bar-navigation):not(.ast-builder-menu):not(.ast-builder-menu-1),
#ast-desktop-header .ast-builder-button-wrap,
#ast-desktop-header .ast-header-button-1,
#ast-desktop-header .ast-header-button,
#ast-desktop-header .ast-custom-button-link,
#ast-desktop-header .ast-header-search,
.ast-header-button-1,
.ast-header-button,
.ast-builder-button-wrap,
.ast-header-custom-item,
[data-section="section-hb-button-1"],
.ast-builder-item--button,
.ast-header-search,
.ast-search-menu-icon,
.ast-search-icon,
.ast-header-search-element,
.ast-search-element,
.ast-dropdown-search,
.ast-search-box {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* Kill any extra header shadows or overlays */
.site-header::before,
.site-header::after,
#masthead::before,
#masthead::after,
.ast-primary-header-bar::before,
.ast-primary-header-bar::after {
  display: none !important;
  content: none !important;
}

/* Logo (Far Left) */
.site-header-primary-section-left,
.site-header-section-left,
.site-branding,
.site-title,
.ast-logo-title-area .site-title,
.ast-site-title {
  margin: 0 !important;
  margin-right: auto !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  width: auto !important;
}

.site-title a,
.ast-logo-title-area .site-title a,
.ast-site-title a {
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
  font-size: clamp(20px, 3.5vw, 24px) !important;
  letter-spacing: -0.03em !important;
  color: var(--foreground) !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.site-title a span,
.ast-logo-title-area .site-title a span {
  color: var(--brand) !important;
  margin-left: 3px !important;
}

/* Hide empty center container if pushing menu left */
.site-header-primary-section-center {
  display: none !important;
}

/* Nav Menu Container: PUSHED TO THE FAR RIGHT */
.site-header-primary-section-right,
.site-header-section-right,
.main-header-bar-navigation,
.ast-primary-header-bar .ast-header-custom-item,
.ast-main-header-wrap .ast-primary-header-bar .ast-builder-menu,
.ast-builder-menu-1,
.ast-builder-menu,
.main-navigation,
.site-navigation {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  width: auto !important;
  flex: 1 !important;
}

.main-header-menu,
.ast-nav-menu,
.ast-flex.main-header-menu,
#ast-hf-menu-1,
ul.main-header-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

/* Nav Links Typography & Micro-Animations */
.main-header-menu .menu-item > a,
.ast-nav-menu > li > a {
  position: relative !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em !important;
  color: #18181b !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-full) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-block !important;
  line-height: 1.4 !important;
}

/* Hover State */
.main-header-menu .menu-item > a:hover,
.ast-nav-menu > li > a:hover {
  color: var(--brand) !important;
  background: rgba(231, 0, 11, 0.06) !important;
  transform: translateY(-1px) !important;
}

/* Active / Current Page State (Clean pill) */
.main-header-menu .current-menu-item > a,
.ast-nav-menu > li.current-menu-item > a {
  color: var(--brand) !important;
  background: rgba(231, 0, 11, 0.08) !important;
  font-weight: 800 !important;
}

/* ─── EXACT LOVABLE HERO SECTION & AMBIENT GLOW ─────────────── */
.lovable-hero-section {
  position: relative !important;
  min-height: 85vh !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 60px 24px 80px !important;
  background-color: var(--background) !important;
}

/* Subtle Ambient Backdrop Glow */
.lovable-hero-section::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 35% !important;
  width: 32rem !important;
  height: 32rem !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 50% !important;
  background-color: rgba(24, 24, 27, 0.03) !important;
  filter: blur(100px) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Tech Grid Background Overlay */
.tech-grid-overlay {
  pointer-events: none !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 0.04 !important;
  background-image: 
    linear-gradient(var(--foreground) 1px, transparent 1px),
    linear-gradient(90deg, var(--foreground) 1px, transparent 1px) !important;
  background-size: 56px 56px !important;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%) !important;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%) !important;
  z-index: 2 !important;
}

.lovable-hero-content {
  position: relative !important;
  z-index: 10 !important;
  max-width: 1100px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 40px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Lovable Badge */
.lovable-badge {
  font-family: var(--font-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  color: var(--brand) !important;
  background-color: rgba(231, 0, 11, 0.06) !important;
  border: 1px solid rgba(231, 0, 11, 0.12) !important;
  padding: 6px 18px !important;
  border-radius: var(--radius-full) !important;
  margin-bottom: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  backdrop-filter: blur(8px) !important;
}

/* Big Lovable Headings */
.lovable-hero-title {
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
  color: var(--foreground) !important;
  margin-bottom: 0px !important;
  width: 100% !important;
  text-align: center !important;
}

.lovable-hero-title span.block {
  display: block !important;
  font-size: clamp(2.5rem, 8.5vw, 7.5rem) !important;
}

.lovable-3d-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.02em !important;
  font-size: clamp(3.2rem, 11vw, 8.2rem) !important;
  font-weight: 900 !important;
  color: var(--foreground) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
  margin-top: 4px !important;
  white-space: nowrap !important;
  width: 100% !important;
}

.lovable-3d-ball-wrapper {
  position: relative !important;
  display: inline-block !important;
  vertical-align: middle !important;
  width: 1.05em !important;
  height: 1.05em !important;
  min-width: 60px !important;
  min-height: 60px !important;
  pointer-events: auto !important;
  background: transparent !important;
  margin: 0 -4px !important;
  cursor: pointer !important;
  overflow: visible !important;
  z-index: 20 !important;
}

.lovable-3d-ball-wrapper canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.lovable-3d-ball-wrapper .ball-bg-shadow {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.82em;
  height: 0.82em;
  border-radius: 50%;
  background: rgba(231, 0, 11, 0.05);
  border: 1px dashed rgba(231, 0, 11, 0.2);
  z-index: 1;
  pointer-events: none;
}

.lovable-hero-desc {
  max-width: 560px !important;
  font-family: var(--font-sans) !important;
  font-size: clamp(0.95rem, 1.5vw, 1.125rem) !important;
  line-height: 1.65 !important;
  color: var(--muted-foreground) !important;
  margin: 20px auto 0 auto !important;
  text-align: center !important;
}

.lovable-hero-buttons {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 28px !important;
  width: 100% !important;
  flex-wrap: wrap !important;
}

.lovable-btn-primary a,
a.lovable-btn-primary {
  background-color: var(--brand) !important;
  color: #ffffff !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 36px !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--brand) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 12px 30px rgba(231, 0, 11, 0.35) !important;
}

.lovable-btn-primary a:hover,
a.lovable-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 36px rgba(231, 0, 11, 0.5) !important;
  background-color: var(--brand-dark) !important;
}

.lovable-btn-secondary a,
a.lovable-btn-secondary {
  background-color: #ffffff !important;
  color: var(--foreground) !important;
  border: 1.5px solid var(--card-border) !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 14px 36px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lovable-btn-secondary a:hover,
a.lovable-btn-secondary:hover {
  border-color: var(--brand) !important;
  color: var(--brand) !important;
  transform: translateY(-2px) !important;
}

/* ═══════════════════════════════════════════════════════════════
   CRITICAL: DARK CONTAINER TEXT CONTRAST ARMOR
   ═══════════════════════════════════════════════════════════════ */
.cs-dark-banner,
.cs-unified-footer,
[style*="background:#09090b"],
[style*="background: #09090b"],
[style*="background:#080809"],
[style*="background:linear-gradient(135deg, #09090b"] {
  color: #ffffff !important;
}

[style*="background:#09090b"] h1, [style*="background:#09090b"] h2, [style*="background:#09090b"] h3, [style*="background:#09090b"] h4,
[style*="background: #09090b"] h1, [style*="background: #09090b"] h2, [style*="background: #09090b"] h3, [style*="background: #09090b"] h4,
[style*="background:linear-gradient(135deg, #09090b"] h1,
[style*="background:linear-gradient(135deg, #09090b"] h2,
[style*="background:linear-gradient(135deg, #09090b"] h3,
[style*="background:linear-gradient(135deg, #09090b"] h4 {
  color: #ffffff !important;
}

[style*="background:#09090b"] p,
[style*="background: #09090b"] p,
[style*="background:linear-gradient(135deg, #09090b"] p {
  color: #d4d4d8 !important;
}

[style*="background:#09090b"] a,
[style*="background: #09090b"] a {
  color: #a1a1aa !important;
}

[style*="background:#09090b"] a:hover,
[style*="background: #09090b"] a:hover {
  color: var(--brand) !important;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM SHOP ARCHIVE & STORE CATALOG STYLING
   ═══════════════════════════════════════════════════════════════ */
.post-type-archive-product .site-content,
.woocommerce-shop .site-content,
.tax-product_cat .site-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 20px 24px 80px 24px !important;
}

.woocommerce .woocommerce-products-header {
  text-align: center !important;
  margin-bottom: 24px !important;
}

.woocommerce .woocommerce-products-header .woocommerce-products-header__title.page-title {
  font-family: 'Sora', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(2rem, 5vw, 2.75rem) !important;
  color: #09090b !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.03em !important;
}

/* Category Filter Bar */
.cs-shop-filter-bar {
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin: 20px auto 30px auto !important;
  max-width: 900px !important;
}

.cs-shop-filter-bar a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  border: 1.5px solid #e4e4e7 !important;
  color: #27272a !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 8px 20px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.25s ease !important;
}

.cs-shop-filter-bar a:hover,
.cs-shop-filter-bar a.active {
  background: #E7000B !important;
  border-color: #E7000B !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(231, 0, 11, 0.35) !important;
  transform: translateY(-2px) !important;
}

/* WooCommerce Result Count & Ordering Row */
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  margin-bottom: 24px !important;
}

.woocommerce .woocommerce-result-count {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  color: #71717a !important;
  padding: 10px 0 !important;
}

.woocommerce .woocommerce-ordering select.orderby {
  background: #ffffff !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 50px !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #09090b !important;
  padding: 8px 18px !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

.woocommerce-breadcrumb,
.ast-breadcrumbs {
  font-family: 'Manrope', sans-serif !important;
  font-size: 12.5px !important;
  color: #a1a1aa !important;
  margin-bottom: 20px !important;
  text-align: center !important;
}

.woocommerce-breadcrumb a,
.ast-breadcrumbs a {
  color: #71717a !important;
  text-decoration: none !important;
}

.woocommerce-breadcrumb a:hover,
.ast-breadcrumbs a:hover {
  color: #E7000B !important;
}

/* ═══════════════════════════════════════════════════════════════
   "3D MAGIC CARD" & 4D POP-OUT ATHLETIC PRODUCT CARDS
   (RED BORDER LINE + SEQUENTIAL 3D BUTTONS + SMOOTH PARALLAX)
   ═══════════════════════════════════════════════════════════════ */
.woocommerce ul.products,
.ast-woocommerce-container ul.products,
.products.columns-4,
.products.columns-3,
.products.columns-2 {
  perspective: 800px !important;
  perspective-origin: 50% 50% !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 28px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto 30px auto !important;
  max-width: 1200px !important;
}

.woocommerce ul.products li.product,
.ast-woocommerce-container ul.products li.product,
.lovable-product-card,
.product-card-4d,
.cs-product-card {
  position: relative !important;
  background: #ffffff !important;
  border: 1.5px solid var(--card-border) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease !important;
  transform-style: preserve-3d !important;
  perspective: 800px !important;
  display: flex !important;
  flex-direction: column !important;
  cursor: pointer !important;
  text-align: left !important;
  min-height: 380px !important;
  margin-bottom: 24px !important;
}

.woocommerce ul.products li.product:hover,
.ast-woocommerce-container ul.products li.product:hover,
.lovable-product-card:hover,
.product-card-4d:hover,
.cs-product-card:hover {
  border-color: var(--brand) !important;
  box-shadow: 0 16px 36px rgba(231, 0, 11, 0.12), 0 6px 16px rgba(0, 0, 0, 0.05) !important;
}

/* Percentage Off Discount Badge (Top-Left on Cards) */
.cs-sale-badge,
.cs-discount-pill,
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: linear-gradient(135deg, #E7000B 0%, #b80009 100%) !important;
  color: #ffffff !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 900 !important;
  font-size: 11px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 6px 14px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 14px rgba(231, 0, 11, 0.45), 0 2px 0 #7a0006 !important;
  z-index: 15 !important;
  line-height: 1 !important;
  min-height: auto !important;
  min-width: auto !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE (PREMIUM CLEAN 2-COLUMN LAYOUT)
   ═══════════════════════════════════════════════════════════════ */
.single-product .site-main,
.single-product div.product,
.single-product #primary,
.single-product #main {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  transform: none !important;
  transform-style: flat !important;
  perspective: none !important;
}

.single-product div.product {
  max-width: 1200px !important;
  margin: 30px auto 60px auto !important;
  padding: 0 20px !important;
  display: block !important;
  overflow: visible !important;
}

.single-product .woocommerce-product-gallery {
  background: #ffffff !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 24px !important;
  padding: 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
}

.single-product .woocommerce-product-gallery__image img {
  border-radius: 16px !important;
  max-height: 480px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
}

.single-product .summary.entry-summary {
  padding: 10px 0 0 20px !important;
}

.single-product .product_title {
  font-family: 'Sora', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(24px, 4vw, 36px) !important;
  color: #09090b !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.2 !important;
}

.single-product .price {
  font-family: 'Sora', sans-serif !important;
  font-weight: 900 !important;
  font-size: 26px !important;
  color: #E7000B !important;
  margin: 0 0 20px 0 !important;
  display: block !important;
}

.single-product .woocommerce-product-details__short-description {
  font-family: 'Manrope', sans-serif !important;
  color: #52525b !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin-bottom: 24px !important;
}

.single-product form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 24px 0 !important;
  flex-wrap: wrap !important;
}

.single-product form.cart .quantity .qty {
  height: 48px !important;
  width: 80px !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 50px !important;
  text-align: center !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  color: #09090b !important;
  background: #f4f4f6 !important;
}

.single-product form.cart button.single_add_to_cart_button {
  height: 48px !important;
  padding: 0 36px !important;
  font-size: 13px !important;
}

.single-product .woocommerce-tabs {
  margin-top: 50px !important;
  border-top: 1px solid #e4e4e7 !important;
  padding-top: 30px !important;
}

.single-product .woocommerce-tabs ul.tabs {
  border-bottom: 2px solid #e4e4e7 !important;
  padding: 0 !important;
  display: flex !important;
  gap: 8px !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #71717a !important;
  padding: 10px 20px !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #E7000B !important;
}

.single-product .woocommerce-tabs .panel {
  padding: 24px 0 !important;
  font-family: 'Manrope', sans-serif !important;
  color: #52525b !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

/* Product Review Box Styling */
.single-product #review_form #respond {
  background: #f8f9fa !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 20px !important;
  padding: 28px !important;
  margin-top: 20px !important;
}

.single-product #review_form #respond textarea,
.single-product #review_form #respond input[type="text"],
.single-product #review_form #respond input[type="email"] {
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  background: #ffffff !important;
  width: 100% !important;
}

/* 4D Multi-Layer Recessed Media Stage (Image Stays Neatly Framed Inside) */
.cs-4d-stage,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce ul.products li.product a:first-child,
.lovable-product-card .img-wrapper,
.lovable-product-media-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #edf0f5 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  height: 230px !important;
  margin: 0 !important;
  padding: 16px !important;
  border-radius: 20px 20px 0 0 !important;
  text-decoration: none !important;
  transform-style: preserve-3d !important;
  border-bottom: 1px solid #f0f0f3 !important;
}

.cs-4d-graphic-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  text-decoration: none !important;
}

/* Floating Image (Kept Contained & Padded Inside Stage) */
.cs-4d-img,
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail,
.lovable-product-card img,
.lovable-product-img {
  width: auto !important;
  height: auto !important;
  max-height: 160px !important;
  max-width: 80% !important;
  object-fit: contain !important;
  display: block !important;
  margin: auto !important;
  border-radius: 8px !important;
  z-index: 4 !important;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16)) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease !important;
}

/* Smooth Contained Hover Float (Never spills out of card) */
.woocommerce ul.products li.product:hover .cs-4d-img,
.woocommerce ul.products li.product:hover a img,
.woocommerce ul.products li.product:hover img,
.lovable-product-card:hover img,
.cs-magic-4d-card:hover .cs-4d-img {
  transform: scale(1.08) translateY(-4px) !important;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.24)) !important;
}

/* Sale & Discount Badge */
.woocommerce ul.products li.product .onsale,
.lovable-product-discount-badge {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  bottom: auto !important;
  background: #E7000B !important;
  color: #ffffff !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 5px 14px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 14px rgba(231, 0, 11, 0.45) !important;
  z-index: 10 !important;
  pointer-events: none !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.4 !important;
  display: inline-block !important;
}

.cs-pro-badge,
.cs-quickview-btn,
.ast-quick-view-btn,
.ast-quick-view-text,
.ast-quick-view-wrapper,
.ast-quick-view-button,
.ast-select-options-trigger,
.ast-loop-product__link + a,
.ast-shop-thumbnail-wrap .ast-quick-view-button,
.ast-shop-thumbnail-wrap a:not(:first-child),
.cs-wishlist-icon {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Specular 4D Glare Light */
.cs-4d-glare {
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  z-index: 8 !important;
  transition: opacity 0.3s ease !important;
  mix-blend-mode: overlay !important;
}

/* Card Content Summary Wrap */
.cs-4d-info,
.woocommerce ul.products li.product .astra-shop-summary-wrap,
.lovable-product-card .card-content {
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  background: #ffffff !important;
  border-radius: 0 0 22px 22px !important;
}

/* Category Eyebrow (Shifts slightly with red accent on hover) */
.cs-category-tag,
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .ast-woo-product-category,
.lovable-product-category {
  font-family: 'Sora', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: #E7000B !important;
  padding: 16px 18px 2px 18px !important;
  margin: 0 !important;
  display: block !important;
  text-align: left !important;
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease !important;
}

.woocommerce ul.products li.product:hover .cs-category-tag,
.woocommerce ul.products li.product:hover .posted_in,
.woocommerce ul.products li.product:hover .ast-woo-product-category {
  transform: translateX(4px) !important;
  color: #E7000B !important;
}

/* Product Title - Ultra High Contrast Charcoal (Glides smoothly on hover) */
.cs-product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.lovable-product-title {
  font-family: 'Sora', sans-serif !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  color: #09090b !important;
  padding: 2px 18px 0 18px !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.cs-magic-4d-card:hover .cs-product-title {
  color: #E7000B !important;
  transform: translateX(3px) !important;
}

.cs-card-meta-row,
.cs-meta-row,
.cs-stars,
.cs-stock-status {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product:active,
.cs-magic-4d-card:active,
.lovable-product-card:active {
  transform: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

/* Price Row (Subtle parallax slide) */
.cs-price-row,
.woocommerce ul.products li.product .price,
.lovable-product-price {
  font-family: 'Sora', sans-serif !important;
  font-weight: 900 !important;
  font-size: 19px !important;
  color: #09090b !important;
  padding: 6px 18px 14px 18px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: left !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce ul.products li.product:hover .price,
.woocommerce ul.products li.product:hover .cs-price-row {
  transform: translateX(2px) !important;
}

.woocommerce ul.products li.product .price del {
  color: #71717a !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  margin-right: 4px !important;
}

.woocommerce ul.products li.product .price ins {
  color: #E7000B !important;
  text-decoration: none !important;
  font-weight: 900 !important;
}

/* ─── BUTTON 3 (CARD FOOTER): Full-Width 3D Action Button ────── */
.cs-3d-btn,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product a.button,
.lovable-product-add-btn {
  background: linear-gradient(135deg, #E7000B 0%, #b80009 100%) !important;
  color: #ffffff !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-radius: 50px !important;
  padding: 13px 24px !important;
  margin: auto 18px 18px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: none !important;
  box-shadow: 0 5px 0 #7a0006, 0 10px 22px rgba(231, 0, 11, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  width: calc(100% - 36px) !important;
  text-align: center !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  transform-style: preserve-3d !important;
}

.cs-3d-btn:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.lovable-product-add-btn:hover {
  box-shadow: 0 8px 0 #7a0006, 0 18px 36px rgba(231, 0, 11, 0.55), 0 0 20px rgba(231, 0, 11, 0.35) !important;
  transform: translateY(-4px) translateZ(35px) scale(1.03) !important;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM WOOCOMMERCE MY ACCOUNT & LOGIN / REGISTER CARD
   ═══════════════════════════════════════════════════════════════ */
.woocommerce-account .site-content,
.woocommerce-account .ast-container,
.woocommerce-account .entry-content {
  background: #f8f9fa !important;
}

.woocommerce-account .woocommerce {
  max-width: 960px !important;
  margin: 30px auto 60px auto !important;
  padding: 0 20px !important;
}

/* Dual Login & Register 2-Column Grid */
.woocommerce-account #customer_login {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 32px !important;
  max-width: 960px !important;
  margin: 20px auto 40px auto !important;
}

.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2 {
  background: #ffffff !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 24px !important;
  padding: 36px 30px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  width: 100% !important;
  float: none !important;
}

.woocommerce-account #customer_login form.login,
.woocommerce-account #customer_login form.register,
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register,
.woocommerce-account .woocommerce form.track_order,
.woocommerce-account .woocommerce form.lost_reset_password {
  background: #ffffff !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 24px !important;
  padding: 40px 36px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
  max-width: 460px !important;
  margin: 20px auto 40px auto !important;
}

.woocommerce-account #customer_login form.login,
.woocommerce-account #customer_login form.register {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.woocommerce-account .woocommerce h2 {
  font-family: 'Sora', sans-serif !important;
  font-weight: 900 !important;
  font-size: 24px !important;
  color: #09090b !important;
  text-align: center !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: -0.02em !important;
}

.woocommerce-account .woocommerce form .form-row label,
.woocommerce-account .woocommerce label,
.woocommerce form .form-row label {
  color: #09090b !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.woocommerce-account .woocommerce form .form-row label .required {
  color: #E7000B !important;
}

.woocommerce-account .woocommerce form .input-text,
.woocommerce form .input-text,
.woocommerce-account .woocommerce input[type="text"],
.woocommerce-account .woocommerce input[type="email"],
.woocommerce-account .woocommerce input[type="password"] {
  background: #f8f9fa !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  color: #09090b !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  outline: none !important;
}

.woocommerce-account .woocommerce form .input-text:focus,
.woocommerce form .input-text:focus {
  background: #ffffff !important;
  border-color: #E7000B !important;
  box-shadow: 0 0 0 3px rgba(231, 0, 11, 0.1) !important;
}

/* FIX: Reset Password Visibility Eye Button */
button.show-password-input,
.show-password-input,
span.password-input button,
span.password-input .show-password-input {
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #71717a !important;
  width: auto !important;
  min-width: auto !important;
  height: auto !important;
  padding: 4px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  z-index: 10 !important;
  animation: none !important;
}

button.show-password-input::before,
.show-password-input::before {
  display: none !important;
}

span.password-input {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

.woocommerce-account .woocommerce .woocommerce-form-login__rememberme {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 14px 0 20px 0 !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 13px !important;
  color: #52525b !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.woocommerce-account .woocommerce .woocommerce-form-login__rememberme input[type="checkbox"] {
  accent-color: #E7000B !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce form.login .woocommerce-form-login__submit,
.woocommerce-account .woocommerce form.register .woocommerce-Button,
.woocommerce-account .woocommerce button[name="login"],
.woocommerce-account .woocommerce button[name="register"] {
  width: 100% !important;
  padding: 14px 28px !important;
  font-size: 14px !important;
  margin: 10px 0 16px 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.woocommerce-account .woocommerce .lost_password {
  text-align: center !important;
  margin: 12px 0 0 0 !important;
}

.woocommerce-account .woocommerce .lost_password a {
  color: #71717a !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.woocommerce-account .woocommerce .lost_password a:hover {
  color: #E7000B !important;
  text-decoration: underline !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #ffffff !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 20px !important;
  padding: 16px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin-bottom: 6px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #52525b !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: rgba(231,0,11,0.08) !important;
  color: #E7000B !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  background: #ffffff !important;
  border: 1.5px solid #e4e4e7 !important;
  border-radius: 20px !important;
  padding: 32px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03) !important;
  font-family: 'Manrope', sans-serif !important;
  color: #3f3f46 !important;
  line-height: 1.7 !important;
}

.cs-3d-btn:active,
.woocommerce ul.products li.product .button:active,
.lovable-product-add-btn:active {
  box-shadow: 0 1px 0 #7a0006, 0 4px 10px rgba(231, 0, 11, 0.25) !important;
  transform: translateY(3px) translateZ(-2px) scale(0.97) !important;
}

/* ═══════════════════════════════════════════════════════════════
   3D RED PILL BUTTONS (UNIVERSAL SYSTEM ON EVERY BUTTON)
   ═══════════════════════════════════════════════════════════════ */
@keyframes csButtonGleam {
  0% { left: -120%; }
  30% { left: 160%; }
  100% { left: 160%; }
}

@keyframes csButtonPulseGlow {
  0%, 100% { box-shadow: 0 6px 0 #7a0006, 0 12px 24px rgba(231, 0, 11, 0.4); }
  50% { box-shadow: 0 6px 0 #7a0006, 0 14px 30px rgba(231, 0, 11, 0.55), 0 0 18px rgba(231, 0, 11, 0.35); }
}

/* ═══════════════════════════════════════════════════════════════
   CLEAN ATHLETIC BUTTONS (SLEEK & REFINED SIZES ACROSS ALL DEVICES)
   ═══════════════════════════════════════════════════════════════ */
button:not(.show-password-input):not(.cs-mobile-toggle):not(.cs-mobile-drawer-close):not(.cs-smart-search-submit),
.button:not(.show-password-input):not(.cs-mobile-toggle):not(.cs-mobile-drawer-close):not(.cs-smart-search-submit),
.ast-btn,
.elementor-button,
.lovable-btn-primary a,
.woocommerce .button:not(.show-password-input):not(.cs-smart-search-submit),
.woocommerce button.button:not(.show-password-input):not(.cs-smart-search-submit),
.woocommerce a.button:not(.cs-smart-search-submit),
.woocommerce ul.products li.product .button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.cs-3d-btn,
.cs-3d-button-pill,
input[type="submit"]:not(.cs-smart-search-submit),
input[type="button"],
.btn {
  position: relative !important;
  background: var(--brand) !important;
  color: #ffffff !important;
  font-family: 'Sora', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  border-radius: 50px !important;
  padding: 9px 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(231, 0, 11, 0.22) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  line-height: 1.3 !important;
  transform: none !important;
  box-sizing: border-box !important;
}

.cs-btn-arrow {
  display: inline-block !important;
  font-size: 13px !important;
  transition: transform 0.2s ease !important;
}

button:not(.show-password-input):hover .cs-btn-arrow,
.button:not(.show-password-input):hover .cs-btn-arrow,
.elementor-button:hover .cs-btn-arrow,
.lovable-btn-primary a:hover .cs-btn-arrow,
.woocommerce .button:not(.show-password-input):hover .cs-btn-arrow,
.cs-3d-btn:hover .cs-btn-arrow {
  transform: translateX(4px) !important;
}

button:not(.show-password-input):hover,
.button:not(.show-password-input):hover,
.ast-btn:hover,
.elementor-button:hover,
.lovable-btn-primary a:hover,
.woocommerce .button:not(.show-password-input):hover,
.woocommerce button.button:not(.show-password-input):hover,
.woocommerce a.button:hover,
.woocommerce ul.products li.product .button:hover,
.cs-3d-btn:hover,
input[type="submit"]:hover {
  background: var(--brand-dark) !important;
  color: #ffffff !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 5px 16px rgba(231, 0, 11, 0.32) !important;
}

button:not(.show-password-input):active,
.button:not(.show-password-input):active,
.elementor-button:active,
.lovable-btn-primary a:active,
.woocommerce .button:not(.show-password-input):active,
.woocommerce button.button:not(.show-password-input):active,
.cs-3d-btn:active,
input[type="submit"]:active {
  transform: translateY(1px) !important;
  box-shadow: 0 1px 4px rgba(231, 0, 11, 0.2) !important;
}

/* WooCommerce Cart & Checkout Buttons (Clean & Proportional) */
.woocommerce-cart .return-to-shop a.button,
.woocommerce .cart-empty + .return-to-shop a,
.return-to-shop a,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: inline-flex !important;
  width: auto !important;
  max-width: 220px !important;
  padding: 10px 22px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  margin: 16px auto 0 auto !important;
  box-shadow: 0 2px 10px rgba(231, 0, 11, 0.22) !important;
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORY CARDS
   ═══════════════════════════════════════════════════════════════ */
.lovable-category-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 28px 24px !important;
  background: var(--card-bg) !important;
  border: 1.5px solid var(--card-border) !important;
  border-radius: var(--radius-xl) !important;
  text-decoration: none !important;
  color: var(--foreground) !important;
  box-shadow: var(--shadow-card) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  min-height: 170px !important;
  overflow: hidden !important;
}

.lovable-category-card:hover {
  border-color: var(--brand) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(231,0,11,0.14), 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL AUTO-ADJUSTABLE RESPONSIVE ENGINE (DESKTOP, TABLET, MOBILE)
   ═══════════════════════════════════════════════════════════════ */

/* ─── DESKTOP & WIDE MONITORS (1025px+) ─── */
@media (min-width: 1025px) {
  .woocommerce ul.products,
  .products.columns-4 {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
  }
  .cs-categories-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
  }
  .cs-features-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
  }
}

/* ─── TABLETS & IPADS (769px - 1024px) ─── */
@media (min-width: 769px) and (max-width: 1024px) {
  .site-header, #masthead, .ast-primary-header-bar {
    height: 52px !important;
    min-height: 52px !important;
  }
  .ast-primary-header-bar .ast-container {
    padding: 0 16px !important;
  }
  .main-header-menu .menu-item > a,
  .ast-nav-menu > li > a {
    font-size: 12.5px !important;
    padding: 6px 10px !important;
  }
  .cs-smart-search-inner {
    max-width: 480px !important;
  }
  .lovable-hero-section {
    padding: 30px 20px 50px !important;
  }
  .lovable-hero-title span.block {
    font-size: clamp(2.2rem, 6vw, 4.5rem) !important;
  }
  .lovable-3d-title {
    font-size: clamp(2.8rem, 8vw, 5.5rem) !important;
  }
  .woocommerce ul.products,
  .products.columns-4,
  .products.columns-3 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
  .cs-categories-grid,
  .cs-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .cs-unified-footer > div {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
}

/* ─── MOBILE PHONES & PHABLETS (<= 768px) ─── */
@media (max-width: 768px) {
  /* Header & Mobile Menu Trigger */
  .site-header, #masthead, .ast-primary-header-bar {
    height: 52px !important;
    min-height: 52px !important;
  }

  .site-title a,
  .ast-logo-title-area .site-title a {
    font-size: 1.05rem !important;
  }

  .ast-primary-header-bar .ast-container {
    padding: 0 14px !important;
  }

  .cs-mobile-toggle,
  .ast-mobile-menu-trigger-wrap .menu-toggle,
  .ast-button-wrap .menu-toggle {
    display: inline-flex !important;
  }

  .main-header-menu,
  #ast-hf-menu-1 {
    display: none !important;
  }

  /* Slim & Compact Mobile Search Bar */
  .cs-smart-header-search-wrap {
    padding: 4px 10px !important;
  }

  .cs-smart-search-inner {
    max-width: 100% !important;
  }

  .cs-smart-search-form {
    padding: 2px 3px 2px 10px !important;
    border-radius: 50px !important;
  }

  .cs-smart-search-field {
    font-size: 12px !important;
    padding: 3px 0 !important;
  }

  .cs-smart-search-submit {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    background: #E7000B !important;
    color: #ffffff !important;
    border: none !important;
    transform: none !important;
  }

  .cs-smart-search-submit .cs-search-text {
    display: none !important;
  }

  .cs-smart-search-submit .cs-btn-arrow {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  /* 2-Column Mobile Product Grid */
  .woocommerce ul.products,
  .products.columns-4,
  .products.columns-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 2px !important;
  }

  .woocommerce ul.products li.product {
    min-height: 310px !important;
    border-radius: 16px !important;
    margin-bottom: 14px !important;
  }

  .woocommerce ul.products li.product .woocommerce-LoopProduct-link,
  .woocommerce ul.products li.product a:first-child,
  .cs-4d-stage,
  .woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
    height: 150px !important;
    padding: 10px !important;
  }

  .woocommerce ul.products li.product a img,
  .cs-4d-img {
    max-height: 115px !important;
    max-width: 90% !important;
    padding: 4px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .cs-product-title {
    font-size: 13px !important;
    margin: 4px 8px 0 8px !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .woocommerce ul.products li.product .price,
  .cs-price-row {
    font-size: 13.5px !important;
    padding: 3px 8px 4px 8px !important;
  }

  .woocommerce ul.products li.product .button,
  .cs-3d-btn {
    font-size: 10.5px !important;
    padding: 8px 10px !important;
    margin: 4px 8px 8px 8px !important;
    width: calc(100% - 16px) !important;
  }

  .cs-sale-badge,
  .cs-discount-pill,
  .woocommerce ul.products li.product .onsale {
    font-size: 9px !important;
    padding: 3px 7px !important;
    top: 6px !important;
    left: 6px !important;
  }

  /* 2-Col Categories & Features on Phones */
  .cs-categories-grid,
  .cs-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .lovable-category-card {
    padding: 16px 12px !important;
    min-height: 125px !important;
  }

  /* Hero on Phones */
  .lovable-hero-section {
    padding: 20px 14px 32px !important;
    min-height: auto !important;
  }

  .lovable-hero-title span.block {
    font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
  }

  .lovable-3d-title {
    font-size: clamp(2.2rem, 9.5vw, 3.4rem) !important;
    color: var(--foreground) !important;
  }

  .lovable-3d-ball-wrapper {
    width: clamp(42px, 8.5vw, 65px) !important;
    height: clamp(42px, 8.5vw, 65px) !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }

  .lovable-hero-desc p {
    font-size: 13.5px !important;
    margin-top: 12px !important;
    padding: 0 6px !important;
  }

  .lovable-hero-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 20px !important;
    width: 100% !important;
  }

  .lovable-btn-primary a,
  .lovable-btn-secondary a {
    width: 100% !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Cart & Checkout Mobile Stacking */
  .woocommerce-cart table.cart,
  .woocommerce-checkout table.shop_table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
  }

  .woocommerce-cart .cart-collaterals,
  .woocommerce-cart .cart_totals {
    width: 100% !important;
    float: none !important;
  }

  .woocommerce-account .woocommerce {
    flex-direction: column !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
  }

  /* Single Product Mobile Layout */
  .single-product div.product {
    padding: 0 10px !important;
    margin: 16px auto 30px auto !important;
  }

  .single-product .woocommerce-product-gallery,
  .single-product .summary.entry-summary {
    width: 100% !important;
    float: none !important;
  }

  /* Footer Mobile Grid */
  .cs-unified-footer > div {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }

  .cs-unified-footer li {
    justify-content: center !important;
  }

  .cs-unified-footer div[style*="display:flex;gap:12px;"] {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .site-title a {
    font-size: 0.95rem !important;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
  }

  .woocommerce ul.products li.product {
    min-height: 290px !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
  }

  .woocommerce ul.products li.product .woocommerce-LoopProduct-link,
  .cs-4d-stage,
  .woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
    height: 135px !important;
    padding: 8px !important;
  }

  .woocommerce ul.products li.product img,
  .cs-4d-img {
    max-height: 100px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .cs-product-title {
    font-size: 12px !important;
    margin: 2px 6px 0 6px !important;
  }

  .woocommerce ul.products li.product .price,
  .cs-price-row {
    font-size: 12.5px !important;
    padding: 2px 6px 4px 6px !important;
  }

  .woocommerce ul.products li.product .button,
  .cs-3d-btn {
    font-size: 10px !important;
    padding: 7px 8px !important;
    margin: 3px 6px 6px 6px !important;
    width: calc(100% - 12px) !important;
  }
}
