/*
Theme Name: Astra Child Store
Theme URI: https://drivenleadership.com
Description: Custom child theme for Driven Leadership Store - Professional ecommerce implementation
Author: Driven Leadership
Author URI: https://drivenleadership.com
Template: astra
Version: 1.0.2
Text Domain: astra-child-store
*/

/* ===================================
   DESIGN SYSTEM - CSS VARIABLES
   =================================== */

:root {
	/* ===== BRAND COLORS ===== */
	--color-primary: #f89520;           /* Orange - Primary CTA (drivenleadership.com) */
	--color-secondary: #2a2365;         /* Dark Purple/Navy - Headings (drivenleadership.com) */
	--color-primary-dark: #FF6B35;      /* Darker Orange - Hover */
	--color-secondary-dark: #1f1a4d;    /* Darker Purple */
	
	/* ===== NEUTRAL COLORS ===== */
	--color-white: #ffffff;
	--color-black: #000000;
	--color-gray-50: #fafafa;
	--color-gray-100: #f5f5f5;
	--color-gray-200: #eeeeee;
	--color-gray-300: #e0e0e0;
	--color-gray-400: #bdbdbd;
	--color-gray-500: #9e9e9e;
	--color-gray-600: #757575;
	--color-gray-700: #616161;
	--color-gray-800: #424242;
	--color-gray-900: #212121;
	
	/* ===== GRADIENTS ===== */
	/* Soft gradient for hero sections - inspired by blog */
	--gradient-hero: linear-gradient(180deg, 
		rgba(255, 252, 230, 0.85) 0%, 
		rgba(240, 255, 240, 0.65) 45%,
		rgba(255, 255, 255, 0.95) 100%
	);
	
	/* Dark gradient for footers/features */
	--gradient-dark: linear-gradient(135deg, 
		rgba(40, 34, 97, 1) 0%, 
		rgba(44, 33, 148, 1) 100%
	);
	
	/* ===== TYPOGRAPHY ===== */
	--font-heading: 'Raleway', sans-serif;  /* ExtraBold 800 for headings */
	--font-body: 'Roboto', sans-serif;      /* Regular 400 for body */
	
	/* Type Scale - Perfect Fourth (1.333) */
	--text-xs: 12px;
	--text-sm: 14px;
	--text-base: 16px;
	--text-lg: 18px;
	--text-xl: 20px;
	--text-2xl: 24px;
	--text-3xl: 32px;
	--text-4xl: 40px;
	--text-5xl: 56px;
	--text-6xl: 72px;
	
	/* Line Heights */
	--leading-tight: 1.2;
	--leading-snug: 1.375;
	--leading-normal: 1.5;
	--leading-relaxed: 1.625;
	--leading-loose: 2;
	
	/* ===== SPACING SYSTEM (8pt Grid) ===== */
	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 32px;
	--space-5: 48px;
	--space-6: 64px;
	--space-7: 96px;
	--space-8: 128px;
	
	/* ===== CONTAINER WIDTHS ===== */
	--container-full: 100%;
	--container-ultra-wide: 1600px;
	--container-wide: 1440px;
	--container-default: 1200px;
	--container-narrow: 800px;
	--container-xs: 600px;
	
	/* ===== SHADOW SYSTEM ===== */
	--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
	--shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
	--shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.2);
	
	/* ===== BORDER RADIUS ===== */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-xl: 16px;
	--radius-2xl: 24px;
	--radius-full: 9999px;
	
	/* ===== TRANSITIONS ===== */
	--transition-fast: 150ms ease;
	--transition-base: 300ms ease;
	--transition-slow: 500ms ease;
	
	/* ===== ACCESSIBILITY ===== */
	--focus-ring-width: 3px;
	--focus-ring-offset: 2px;
	--focus-ring-color: var(--color-primary);
	--focus-ring-shadow: 0 0 0 6px rgba(248, 149, 32, 0.2);
	
	/* ===== TOUCH TARGETS (Mobile) ===== */
	--touch-target-min: 44px; /* WCAG 2.1 minimum touch target size */
}

/* ===================================
   GLOBAL RESET & BASE STYLES
   =================================== */

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	color: var(--color-gray-900);
	background-color: var(--color-white);
}

/* ===================================
   ACCESSIBILITY ENHANCEMENTS
   =================================== */

/* Improved focus states for keyboard navigation (WCAG 2.1 AA compliant) */
*:focus-visible {
	outline: 3px solid var(--color-primary);
	outline-offset: 2px;
	border-radius: var(--radius-sm);
}

/* Exclude logo and search input from focus outline */
.custom-logo-link:focus-visible,
.custom-logo-link img:focus-visible,
.site-logo a:focus-visible,
.ast-site-identity a:focus-visible,
#shop-search-input:focus-visible,
.shop-search-form input[type="search"]:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* Skip to main content link for screen readers */
.skip-to-main {
	position: absolute;
	left: -9999px;
	z-index: 999999;
}

.skip-to-main:focus {
	left: 50%;
	transform: translateX(-50%);
	top: var(--space-2);
	padding: var(--space-2) var(--space-4);
	background: var(--color-secondary);
	color: var(--color-white);
	border-radius: var(--radius-md);
	text-decoration: none;
	font-weight: 600;
}

/* Enhanced button focus states */
button:focus-visible,
.button:focus-visible,
a.button:focus-visible {
	outline: 3px solid var(--color-primary);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgba(248, 149, 32, 0.2);
}

/* Improved contrast for text on colored backgrounds */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
	/* Ensure WCAG AA contrast (4.5:1) */
	color: var(--color-white);
	background-color: var(--color-secondary);
}

/* Screen reader only text */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
	:root {
		--color-gray-300: #000000;
		--color-gray-600: #000000;
		--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
	}
	
	.woocommerce ul.products li.product {
		border: 2px solid var(--color-gray-900);
	}
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 800;
	line-height: var(--leading-tight);
	color: var(--color-secondary);
	margin-bottom: var(--space-3);
}

/* Global anchor tag styling - inherit text properties from parent */
a {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-decoration: none;
	transition: color var(--transition-base);
}

a:hover {
	color: var(--color-primary);
}

/* ===================================
   SHOP ARCHIVE - MAIN CONTAINER
   =================================== */

.woocommerce-shop-archive {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 0 var(--space-8) 0;
}

/* ===================================
   HERO SECTION - Full Width with Gradient
   =================================== */

.woocommerce-products-header.shop-hero {
	/* Full-width with gradient */
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: var(--space-7) var(--space-4) var(--space-5);
	
	/* Gradient background - full width */
	background: var(--gradient-hero);
	
	/* Center content */
	text-align: center;
	position: relative;
}

/* Hero Title */
.shop-hero .woocommerce-products-header__title {
	font-family: var(--font-heading);
	font-size: var(--text-5xl);
	font-weight: 800;
	line-height: var(--leading-tight);
	color: var(--color-secondary);
	margin: 0 auto var(--space-4);
	letter-spacing: -0.02em;
}

/* Hide breadcrumb in hero if exists */
.shop-hero .woocommerce-breadcrumb,
.shop-hero nav[aria-label="breadcrumb"] {
	display: none !important;
}

/* Hero Description (if exists) */
.shop-hero .woocommerce-archive-description {
	max-width: var(--container-narrow);
	margin: 0 auto var(--space-3);
}

.shop-hero .woocommerce-archive-description p {
	font-size: var(--text-lg);
	line-height: var(--leading-relaxed);
	color: var(--color-gray-700);
	margin: 0;
}

/* ===================================
   SHOP TOOLBAR - Search + Sorting
   =================================== */

.shop-toolbar {
	display: flex;
	align-items: center !important; /* Ensure vertical centering */
	justify-content: space-between;
	gap: var(--space-4);
	max-width: var(--container-wide);
	margin: 0 auto var(--space-5);
	padding: 0 var(--space-4);
}

/* Search Box */
.shop-search-box {
	flex: 1;
	max-width: 600px;
}

.shop-search-form {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	background: var(--color-white);
	border: 2px solid var(--color-gray-300);
	border-radius: var(--radius-lg);
	padding: var(--space-1);
	transition: border-color var(--transition-base);
}

.shop-search-form:focus-within {
	border-color: var(--color-primary);
}

.shop-search-form input[type="search"] {
	flex: 1;
	border: none;
	padding: var(--space-2) var(--space-3);
	font-size: var(--text-base);
	font-family: var(--font-body);
	background: transparent;
}

.shop-search-form input[type="search"]:focus,
.shop-search-form input[type="search"]:focus-visible,
#shop-search-input:focus,
#shop-search-input:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

.shop-search-form button {
	padding: var(--space-2) var(--space-4);
	background-color: var(--color-primary);
	border: none;
	border-radius: var(--radius-md);
	color: var(--color-white);
	font-size: var(--text-base);
	font-weight: 600;
	font-family: var(--font-body);
	cursor: pointer;
	transition: all var(--transition-base);
	white-space: nowrap;
}

.shop-search-form button:hover {
	background-color: var(--color-primary-dark);
	transform: translateY(-2px);
}

/* Sorting Dropdown - Styled like search bar */
.shop-sorting {
	min-width: 200px;
}

.shop-sorting .woocommerce-ordering {
	margin: 0;
}

/* Native sorting select - will be replaced by custom dropdown */
.shop-sorting select,
.woocommerce-ordering select {
	width: 100%;
	padding: var(--space-2) var(--space-3);
	border: 2px solid var(--color-gray-300);
	border-radius: var(--radius-lg);
	font-size: var(--text-base);
	font-family: var(--font-body);
	color: var(--color-gray-700);
	background-color: var(--color-white);
	transition: border-color var(--transition-base);
	cursor: pointer;
}

.shop-sorting select:hover,
.shop-sorting select:focus,
.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus {
	border-color: var(--color-primary);
	outline: none;
}

/* Custom sorting dropdown specific styling */
.custom-dropdown-sorting {
	width: 100%;
}

.custom-dropdown-sorting .custom-dropdown-trigger {
	min-width: 200px;
}

/* Mobile responsiveness for toolbar */
@media (max-width: 767px) {
	.shop-toolbar {
		flex-direction: column;
		gap: var(--space-3);
	}
	
	.shop-search-box,
	.shop-sorting {
		width: 100%;
		max-width: 100%;
	}
}

/* ===================================
   CATEGORY FILTER BAR
   =================================== */

.category-filter-bar {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--space-2);
	margin: 0 auto var(--space-4);
	padding: 0 var(--space-4);
	max-width: var(--container-wide);
	visibility: visible !important;
	opacity: 1 !important;
}

.category-filter-bar .filter-button {
	/* Pill-shaped buttons */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-2) var(--space-4);
	
	/* Typography */
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 500;
	text-decoration: none;
	letter-spacing: 0.02em;
	
	/* Colors */
	color: var(--color-gray-700);
	background-color: var(--color-white);
	border: 2px solid var(--color-gray-300);
	
	/* Shape */
	border-radius: var(--radius-full);
	
	/* Shadow */
	box-shadow: var(--shadow-sm);
	
	/* Transition */
	transition: all var(--transition-base);
	cursor: pointer;
	white-space: nowrap;
}

.category-filter-bar .filter-button:hover {
	color: var(--color-primary-dark);
	border-color: var(--color-primary);
	background-color: rgba(245, 149, 28, 0.05);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.category-filter-bar .filter-button.active {
	color: var(--color-white);
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	box-shadow: var(--shadow-md);
}

/* ===================================
   HIDE DEFAULT RESULT COUNT + ORDERING (We moved them)
   =================================== */

.woocommerce-notices-wrapper {
	max-width: var(--container-wide);
	margin: 0 auto var(--space-4);
	padding: 0 var(--space-4);
}

/* Hide the default result count and ordering from woocommerce_before_shop_loop */
.woocommerce-shop-archive .woocommerce-result-count:not(.woocommerce-products-footer .woocommerce-result-count) {
	display: none !important;
}

.woocommerce-shop-archive .woocommerce-ordering:not(.shop-sorting .woocommerce-ordering) {
	display: none !important;
}

/* ===================================
   PRODUCTS FOOTER - Results Count at Bottom LEFT
   =================================== */

.woocommerce-products-footer {
	max-width: var(--container-wide);
	margin: var(--space-5) auto 0;
	padding: var(--space-4) var(--space-4) 0;
	border-top: 1px solid var(--color-gray-200);
	text-align: left; /* LEFT aligned */
}

.woocommerce-products-footer .woocommerce-result-count {
	font-size: var(--text-base);
	color: var(--color-gray-600);
	font-weight: 500;
	margin: 0;
}

/* ===================================
   PRODUCT GRID - Main Container
   =================================== */

.woocommerce ul.products {
	/* Grid layout */
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
	grid-auto-flow: row dense !important; /* Backfill gaps when 2-column items can't fit */
	gap: var(--space-4) !important;
	
	/* Container */
	max-width: var(--container-wide);
	margin: 0 auto !important;
	padding: 0 var(--space-4) var(--space-6) !important;
	
	/* Reset list styles */
	list-style: none !important;
	
	/* Visibility */
	visibility: visible !important;
	opacity: 1 !important;
	
}

/* Loading state */
.woocommerce ul.products.loading {
	opacity: 0.6;
	pointer-events: none;
}

/* ===================================
   PRODUCT CARD - Individual Item
   =================================== */

.woocommerce ul.products li.product {
	/* Card structure */
	display: flex !important;
	flex-direction: column;
	
	/* Styling */
	background-color: var(--color-white);
	border: 1px solid var(--color-gray-200);
	border-radius: calc(var(--radius-lg) + 2px);
	padding: var(--space-3);
	
	/* Shadow */
	box-shadow: var(--shadow-md);
	
	/* Transition */
	transition: all var(--transition-base);
	
	/* Prevent layout issues */
	margin: 0 !important;
	width: 100% !important;
	position: relative;
	overflow: visible; /* Allow dropdown to overflow */
	overflow-x: clip; /* Clip horizontal overflow */
}

/* Hover effect - but not when dropdown is open on a card above */
.woocommerce ul.products li.product:hover:not(.dropdown-open) {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-color: var(--color-primary);
}

/* Enhanced hover with better visual feedback */
@media (hover: hover) {
	.woocommerce ul.products li.product:hover:not(.dropdown-open) {
		transform: translateY(-8px);
		box-shadow: var(--shadow-lg);
		border-color: var(--color-primary);
	}
}


/* Touch devices - reduce hover effects */
@media (hover: none) {
	.woocommerce ul.products li.product:active {
		transform: translateY(-4px);
		box-shadow: var(--shadow-md);
	}
}


/* Product card inner - Flexbox layout to push button to bottom */
.product-card-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	flex: 1;
}

/* Product content wrapper - grows to fill available space */
.product-content-wrapper {
	display: flex;
	flex-direction: column;
	flex: 1;
	align-items: start;
}

/* Hover banner badge with shopping bag icon - positioned from card edge */
.woocommerce ul.products li.product {
	position: relative;
}

.woocommerce ul.products li.product .hover-add-to-cart-badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transform: translate(-100%, 0);
	transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover .hover-add-to-cart-badge {
	opacity: 1;
	visibility: visible;
	transform: translate(0, 0);
}

/* Always show add-to-cart badge on mobile (no hover required) */
@media (max-width: 768px) {
	.woocommerce ul.products li.product .hover-add-to-cart-badge {
		opacity: 1;
		visibility: visible;
		transform: translate(0, 0);
	}
}

.woocommerce ul.products li.product .hover-add-to-cart-badge .add-to-cart-banner,
.woocommerce ul.products li.product .hover-add-to-cart-badge .add-to-cart-banner-form button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-1);
	min-width: 50px;
	height: 50px;
	padding: 0 var(--space-2) !important;
	background-color: var(--color-primary); /* Brand orange */
	color: var(--color-black); /* Black text and icon */
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	font-family: var(--font-body);
	white-space: nowrap;
	flex-flow: row-reverse;
	/* Match card border radius on top-left, bottom-right; 0 on top-right and bottom-left */
	border-top-left-radius: var(--radius-lg) !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: var(--radius-lg) !important;
	border-bottom-left-radius: 0 !important;
	box-shadow: var(--shadow-lg);
	cursor: pointer;
	border: none !important;
}

.woocommerce ul.products li.product .hover-add-to-cart-badge .add-to-cart-text {
	display: inline-block;
}

.woocommerce ul.products li.product .hover-add-to-cart-badge .add-to-cart-banner:hover,
.woocommerce ul.products li.product .hover-add-to-cart-badge .add-to-cart-banner-form button:hover {
	background-color: var(--color-primary-dark); /* Darker orange on hover */
}

.woocommerce ul.products li.product .hover-add-to-cart-badge .add-to-cart-banner i,
.woocommerce ul.products li.product .hover-add-to-cart-badge .add-to-cart-banner-form button i {
	font-size: 20px;
}

/* ===================================
   PRODUCT CARD - Image Container
   =================================== */

.woocommerce ul.products li.product .woocommerce-loop-product__link {
	display: block;
	text-decoration: none;
	margin-bottom: var(--space-3);
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-md);
}

.woocommerce ul.products li.product img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--radius-md);
	transition: transform var(--transition-slow);
}

/* Full image for variable products (not cropped) */
.woocommerce ul.products li.product-card-variable img.product-image-full {
	aspect-ratio: auto; /* Don't force square */
	object-fit: contain; /* Show full image */
	max-height: 240px; /* Limit height for consistency */
}

.woocommerce ul.products li.product.post-2394:hover img {
	transform: scale(1.05) rotate(90deg);
}
/* ===================================
   PRODUCT CARD - Sale Badge
   =================================== */

.woocommerce ul.products li.product .onsale {
	position: absolute;
	top: var(--space-2);
	left: var(--space-2);
	z-index: 10;
	
	/* Styling */
	background-color: #10b981;
	color: var(--color-white);
	font-size: var(--text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	
	/* Shape */
	padding: var(--space-1) var(--space-2);
	border-radius: var(--radius-sm);
	
	/* Shadow */
	box-shadow: var(--shadow-md);
	
	/* Animation */
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.8;
	}
}

/* ===================================
   PRODUCT CARD - Category Tag
   =================================== */

.product-category {
	display: inline-block;
	background: #28226125;
	width: auto;
	padding: 4px var(--space-2);
	border-radius: var(--radius-full);
	margin-bottom: var(--space-1);
	border: solid 2px #28226145;
	font-family: 'Raleway', var(--font-heading);
	font-size: var(--text-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-secondary);
}

/* ===================================
   PRODUCT CARD - Title
   =================================== */

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Raleway', var(--font-heading);
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: var(--leading-tight);
	color: var(--color-secondary); /* Brand purple */
	text-align: left;
	
	/* Truncation */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: calc(var(--text-xl) * var(--leading-tight) * 2);
	
	/* Spacing */
	margin: 0 0 var(--space-2) 0;
	
	/* Transition */
	transition: color var(--transition-base);
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
	color: var(--color-primary); /* Orange on hover */
}

/* ===================================
   PRODUCT CARD - Star Rating
   =================================== */

/* Hide star ratings on product cards */
.woocommerce ul.products li.product .star-rating {
	display: none !important;
}

/* ===================================
   PRODUCT CARD - Price
   =================================== */

.woocommerce ul.products li.product .price {
	font-family: 'Raleway', var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-black);
	margin: 0 0 var(--space-3) 0;
	line-height: 1;
}

.woocommerce ul.products li.product .price del {
	opacity: 0.5;
	font-size: var(--text-lg);
	color: var(--color-gray-500);
	margin-right: var(--space-1);
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	font-weight: 700;
}

/* Hide base price for variable products (show variation price instead) */
.woocommerce ul.products li.product.product-type-variable > .price {
	display: none;
}

/* ===================================
   PRODUCT CARD - Add to Cart Button
   =================================== */

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_simple,
.woocommerce ul.products li.product .product_type_variable {
	/* Full width button */
	display: block;
	width: 100%;
	margin-top: auto;
	
	/* Sizing - REDUCED PADDING for smaller purple area */
	padding: var(--space-2) var(--space-3);
	min-height: var(--touch-target-min); /* Improved touch target size */
	
	/* Typography */
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	
	/* Colors */
	color: var(--color-white);
	background-color: var(--color-secondary);
	border: 2px solid var(--color-secondary);
	
	/* Shape */
	border-radius: var(--radius-md);
	
	/* Shadow */
	box-shadow: var(--shadow-sm);
	
	/* Transition */
	transition: all var(--transition-base);
	cursor: pointer;
	
	/* Accessibility */
	position: relative;
}

/* Loading state for buttons */
.woocommerce ul.products li.product .button.loading,
.woocommerce ul.products li.product .add_to_cart_button.loading {
	opacity: 0.7;
	pointer-events: none;
	cursor: wait;
}

.woocommerce ul.products li.product .button.loading::after,
.woocommerce ul.products li.product .add_to_cart_button.loading::after {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-left: -8px;
	margin-top: -8px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: var(--color-white);
	border-radius: 50%;
	animation: spin 0.6s linear infinite;
}

/* Learn More Button - Outlined style with purple border */
.woocommerce ul.products li.product .learn-more-button {
	/* Full width button */
	display: block;
	width: 100%;
	margin-top: 0;
	
	/* Sizing */
	padding: var(--space-2) var(--space-3);
	min-height: 40px;
	
	/* Typography */
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	
	/* Colors - Outlined style */
	color: var(--color-secondary);
	background-color: transparent;
	border: 2px solid var(--color-secondary);
	
	/* Shape */
	border-radius: var(--radius-md);
	
	/* Shadow */
	box-shadow: var(--shadow-sm);
	
	/* Transition */
	transition: all var(--transition-base);
	cursor: pointer;
}

.woocommerce ul.products li.product .learn-more-button:hover {
	color: var(--color-white);
	background-color: var(--color-secondary);
	border-color: var(--color-secondary);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

/* Hide the bottom variation add to cart buttons - show Learn More instead */
.woocommerce ul.products li.product .woocommerce-variation-add-to-cart {
	display: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.woocommerce ul.products li.product .button:active,
.woocommerce ul.products li.product .add_to_cart_button:active {
	transform: translateY(0);
	box-shadow: var(--shadow-xs);
}

/* ===================================
   VARIABLE PRODUCTS - 2 Column Layout
   =================================== */

/* Variable products span 2 columns */
.woocommerce ul.products li.product-card-variable {
	grid-column: span 2 !important;
}

/* Split content layout for variable products */
.product-content-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-4);
	margin-bottom: 0;
}

.product-content-left {
	display: flex;
	flex-flow: column;
	align-items: start;
}

.product-content-right {
	display: flex;
	flex-direction: column;
}

/* Price display in left column (no grey background) */
.variable-product-price-display .price {
	font-family: 'Raleway', var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 700;
	color: var(--color-black);
	line-height: 1;
	background: none !important; /* Remove grey background */
	padding: 0 !important;
	border-radius: 0 !important;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
	.woocommerce ul.products li.product-card-variable {
		grid-column: span 1 !important;
	}
	
	.product-content-split {
		grid-template-columns: 1fr;
		gap: var(--space-2);
	}
}

/* ===================================
   PRODUCT CARD - Variations on Archive
   =================================== */

.woocommerce ul.products li.product .variations_form {
	width: 100%;
	margin-top: var(--space-2);
}

.woocommerce ul.products li.product .variations {
	width: 100%;
	margin-bottom: var(--space-3);
	border: none;
}

.woocommerce ul.products li.product .variations td,
.woocommerce ul.products li.product .variations th {
	padding: 0;
	border: none;
	display: block;
	width: 100%;
}

.woocommerce ul.products li.product .variations th {
	display: none; /* Hide label on archive */
}

/* Hide native select (replaced by custom dropdown) */
.woocommerce ul.products li.product .variations select {
	display: none;
}

/* Hide/override WooCommerce's default variation display */
.woocommerce ul.products li.product .woocommerce-variation {
	background: none !important;
	padding: 0 !important;
	border: none !important;
	margin: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-variation-price,
.woocommerce ul.products li.product .woocommerce-variation-availability {
	background: none !important;
	padding: 0 !important;
}
#main .product-card.post-2394 img, #main .post-2394 .driven-hero-gallery {
	transform: rotate(90deg) !important;
	margin-bottom: 0;
}
/* ===================================
   CUSTOM DROPDOWN COMPONENT
   =================================== */

.custom-dropdown {
	position: relative;
	width: 100%;
	margin-bottom: var(--space-2);
	font-family: 'Raleway', var(--font-heading);
	z-index: 1; /* Base z-index for dropdown container */
}

/* When dropdown is open, ensure it's above other elements */
.custom-dropdown.open {
	z-index: 10000 !important;
	position: relative;
}

.custom-dropdown-trigger {
	width: 100%;
	padding: var(--space-2) var(--space-3);
	padding-right: calc(var(--space-4) + 30px);
	border: 2px solid var(--color-gray-300);
	border-radius: var(--radius-lg);
	font-family: 'Raleway', var(--font-heading);
	font-size: var(--text-base);
	font-weight: 500;
	color: var(--color-gray-700);
	background-color: var(--color-white);
	cursor: pointer;
	transition: all var(--transition-base);
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: none;
	user-select: none;
}

.custom-dropdown-trigger i {
	position: absolute;
	right: var(--space-3);
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	color: var(--color-gray-700);
	transition: transform var(--transition-base);
}

.custom-dropdown.open .custom-dropdown-trigger {
	border-color: var(--color-primary);
	box-shadow: none;
}

.custom-dropdown.open .custom-dropdown-trigger i {
	transform: translateY(-50%) rotate(180deg);
}

.custom-dropdown-trigger:hover {
	border-color: var(--color-primary);
	box-shadow: none;
}

.custom-dropdown-options {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background-color: var(--color-white);
	border: none;
	border-radius: var(--radius-lg);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	z-index: 10000 !important; /* Higher than product card z-index to appear above cards below */
	max-height: 300px;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none; /* Disable when closed */
}

.custom-dropdown.open .custom-dropdown-options {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto !important; /* Ensure options are clickable when open */
	z-index: 10001 !important; /* Even higher when open to escape grid rows */
}

.custom-dropdown-option {
	padding: var(--space-2) var(--space-3);
	font-size: var(--text-base);
	font-weight: 500;
	color: var(--color-text);
	cursor: pointer;
	transition: all var(--transition-base);
	border-bottom: 1px solid var(--color-border);
	position: relative; /* Ensure proper stacking */
	z-index: 10001; /* Even higher to ensure clickability */
	pointer-events: auto !important; /* Explicitly enable pointer events */
}

.custom-dropdown-option:last-child {
	border-bottom: none;
}

.custom-dropdown-option:hover {
	background-color: var(--color-gray-100);
	color: var(--color-primary);
	padding-left: calc(var(--space-3) + 4px);
}

.custom-dropdown-option.selected {
	background-color: var(--color-primary-light);
	color: var(--color-primary);
	font-weight: 700;
}

.custom-dropdown-option.selected:before {
	content: '✓';
	margin-right: var(--space-2);
	font-weight: 700;
}

/* Scrollbar styling for options list */
.custom-dropdown-options::-webkit-scrollbar {
	width: 8px;
}

.custom-dropdown-options::-webkit-scrollbar-track {
	background: var(--color-gray-100);
	border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.custom-dropdown-options::-webkit-scrollbar-thumb {
	background: var(--color-secondary);
	border-radius: var(--radius-md);
}

.custom-dropdown-options::-webkit-scrollbar-thumb:hover {
	background: #2a2b4d;
}

.woocommerce ul.products li.product .single_add_to_cart_button {
	/* Inherits button styles from above */
	margin-top: var(--space-2);
}

.woocommerce ul.products li.product .reset_variations {
	display: none; /* Hide reset on archive */
}

.woocommerce ul.products li.product .woocommerce-variation-add-to-cart {
	margin-top: 0;
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.woocommerce ul.products li.product .woocommerce-variation-add-to-cart .quantity {
	display: none; /* Hide quantity selector on archive */
}

/* ===================================
   SLIDE-OUT VARIATION SELECTOR (Archive Pages Only)
   =================================== */

/* Slide-out container - only for variable products on archive pages */
.woocommerce ul.products li.product-card-variable .variation-slideout {
	position: absolute;
	top: 0;
	right: 0;
	width: 45%;
	height: 100%;
	background-color: var(--color-white);
	box-shadow: none; /* Hide shadow when closed */
	z-index: 100000;
	overflow-y: auto;
	overflow-x: hidden;
	transform: translateX(100%);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	will-change: transform;
	padding: 60px 2px 5px 0;
	border-radius: calc(var(--radius-lg) + 2px);
}

/* Slide-out open state */
.woocommerce ul.products li.product-card-variable .variation-slideout.open {
	transform: translateX(0);
	box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15); /* Show shadow when open */
}

/* Close button - purple X in top left */
.variation-slideout-close {
	position: absolute;
	top: var(--space-3);
	left: var(--space-3);
	width: 32px;
	height: 32px;
	background-color: transparent;
	border: none;
	color: var(--color-secondary);
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1001;
	transition: all var(--transition-base);
	padding: 0;
	line-height: 1;
	border-radius: var(--radius-sm);
}

.variation-slideout-close:hover {
	background-color: var(--color-secondary);
	color: var(--color-white);
}

.variation-slideout-close:before {
	content: '×';
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
}

/* Slide-out content */
.variation-slideout-content {
	padding: 0;
	height: 100%;
	overflow-y: auto;
}

/* Slide-out options list */
.variation-slideout-options {
	list-style: none;
	margin: 0;
	padding: 0;
}

.variation-slideout-option {
	padding: var(--space-3) var(--space-4);
	font-size: var(--text-base);
	font-weight: 500;
	color: var(--color-text);
	cursor: pointer;
	transition: all var(--transition-base);
	border-bottom: 1px solid var(--color-border);
	position: relative;
}

.variation-slideout-option:last-child {
	border-bottom: none;
}

.variation-slideout-option:hover {
	background-color: var(--color-gray-100);
	color: var(--color-primary);
	padding-left: calc(var(--space-4) + 20px);
}

.variation-slideout-option.selected {
	background-color: var(--color-primary-light);
	color: var(--color-primary);
	font-weight: 700;
}

.variation-slideout-option.selected:before {
	content: '✓';
	margin-right: var(--space-2);
	font-weight: 700;
	color: var(--color-primary);
}

/* Slide-out scrollbar styling */
.variation-slideout-content::-webkit-scrollbar,
.variation-slideout::-webkit-scrollbar {
	width: 8px;
}

.variation-slideout-content::-webkit-scrollbar-track,
.variation-slideout::-webkit-scrollbar-track {
	background: var(--color-gray-100);
	border-radius: var(--radius-md);
}

.variation-slideout-content::-webkit-scrollbar-thumb,
.variation-slideout::-webkit-scrollbar-thumb {
	background: var(--color-secondary);
	border-radius: var(--radius-md);
}

.variation-slideout-content::-webkit-scrollbar-thumb:hover,
.variation-slideout::-webkit-scrollbar-thumb:hover {
	background: #2a2b4d;
}

/* Trigger button - rotate arrow right when closed, left when open (for archive variable products) */
.woocommerce ul.products li.product-card-variable .custom-dropdown-trigger i {
	transform: translateY(-50%) rotate(-90deg); /* Point right when closed */
	transition: transform 0.3s ease;
}

.woocommerce ul.products li.product-card-variable .custom-dropdown.open .custom-dropdown-trigger i {
	transform: translateY(-50%) rotate(90deg); /* Point left when open */
}

/* Mobile: 70% width */
@media (max-width: 768px) {
	.woocommerce ul.products li.product-card-variable .variation-slideout {
		width: 70%;
	}
}

.woocommerce ul.products li.product .single_variation_wrap {
	margin-top: var(--space-2);
}

.woocommerce ul.products li.product .woocommerce-variation {
	/* Hide this on archive pages - we use .variable-product-price-display instead */
	display: none !important;
	visibility: hidden !important;
}

/* Removed: .woocommerce-variation styling since we hide it on archive pages */

/* Hide WooCommerce "View cart" link - we use the toast notification link instead */
.added_to_cart.wc-forward {
	display: none !important;
}

/* ===================================
   STICKY ADD TO CART NOTIFICATION
   =================================== */

.cart-notification {
	position: fixed;
	top: 80px;
	right: 20px;
	z-index: 9999;
	background: var(--color-secondary);
	color: white;
	padding: var(--space-3);
	border-radius: var(--radius-lg);
	box-shadow: 0 10px 40px rgba(50, 51, 77, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
	min-width: 320px;
	max-width: 500px;
	transform: translateX(550px);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-notification.show {
	transform: translateX(0);
}

.cart-notification.paused {
	/* Visual indicator that auto-close is paused */
	box-shadow: 0 10px 40px rgba(50, 51, 77, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Error state for notification */
.cart-notification.error {
	background: #dc2626; /* Red background for errors */
	box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-notification.error.paused {
	box-shadow: 0 10px 40px rgba(220, 38, 38, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.cart-notification.error .cart-notification-icon {
	background-color: rgba(255, 255, 255, 0.2);
}

/* Remove notification styling */
.cart-notification.remove {
	border-left: 4px solid var(--color-primary);
}

.cart-notification.remove .cart-notification-icon {
	background: var(--color-primary);
}

.cart-notification-content {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	padding-right: var(--space-4);
	flex-flow: row;
}

.cart-notification-icon {
	font-size: 28px;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-full);
	backdrop-filter: blur(10px);
}

.cart-notification-text {
	flex: 1;
	min-width: 0; /* Prevents flex item from overflowing */
}

.cart-notification-text h4 {
	margin: 3px 0 0 0;
	font-size: var(--text-lg);
	font-weight: 700;
	font-family: var(--font-heading);
	color: white;
	line-height: 1.3;
}

.cart-notification-text p {
	margin: 0 0 var(--space-1) 0;
	font-size: var(--text-base);
	font-family: var(--font-body);
	color: rgba(255, 255, 255, 0.95);
	line-height: 1.5;
	/* No truncation - show full product name */
}

.cart-notification-text a {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	color: white;
	text-decoration: none;
	font-weight: 700;
	border-radius: var(--radius-md);
	font-weight: 600;
	font-size: var(--text-base);
	font-family: var(--font-body);
	transition: all var(--transition-base);
}

.cart-notification-text a:hover {
	opacity: 0.9;
	transform: translateX(2px);
}

.cart-notification-text a:active {
	transform: translateX(0);
}

.cart-notification-close {
	position: absolute;
	top: var(--space-3);
	right: var(--space-3);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	font-size: 16px;
	cursor: pointer;
	padding: 0;
	width: 28px;
	height: 28px;
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.9;
	transition: all var(--transition-base);
}

.cart-notification-close:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.25);
	transform: rotate(90deg);
}

/* Undo Button */
.cart-notification-undo {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	padding: var(--space-2) var(--space-3);
	margin-top: var(--space-2);
	background: var(--color-secondary);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-base);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.cart-notification-undo:hover {
	background: var(--color-secondary-dark);
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(42, 35, 101, 0.2);
}

.cart-notification-undo:active {
	transform: translateY(0);
}

.cart-notification-undo i {
	font-size: var(--text-xs);
}

/* Mobile responsiveness */
@media (max-width: 767px) {
	.cart-notification {
		right: 10px;
		left: 10px;
		min-width: auto;
		max-width: none;
		transform: translateX(calc(100% + 20px));
	}
	
	.cart-notification.show {
		transform: translateX(0);
	}
}

/* ===================================
   PAGINATION - HIDDEN (Load all products)
   =================================== */

.woocommerce-pagination {
	display: none !important;
}

/* ===================================
   LOADING ANIMATION
   =================================== */

.woocommerce ul.products.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	border: 4px solid var(--color-gray-200);
	border-top-color: var(--color-primary);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	z-index: 100;
}

@keyframes spin {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Laptop (1024px - 1439px) */
@media (max-width: 1439px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
	}
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
	.shop-hero {
		padding: var(--space-6) var(--space-4);
	}
	
	.shop-hero .woocommerce-products-header__title {
		font-size: var(--text-4xl);
	}
	
	.shop-hero .woocommerce-archive-description p {
		font-size: var(--text-base);
	}
	
	.woocommerce ul.products {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
		gap: var(--space-3) !important;
	}
	
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: var(--text-lg);
	}
	
	.woocommerce ul.products li.product .price {
		font-size: var(--text-xl);
	}
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
	.shop-hero {
		padding: var(--space-5) var(--space-3);
		border-radius: 0 0 var(--radius-xl) var(--radius-xl);
	}
	
	.shop-hero .woocommerce-products-header__title {
		font-size: var(--text-3xl);
	}
	
	.shop-hero .woocommerce-archive-description p {
		font-size: var(--text-sm);
	}
	
	.category-filter-bar {
		flex-direction: column;
		align-items: stretch;
	}
	
	.category-filter-bar .filter-button {
		width: 100%;
		justify-content: center;
		min-height: var(--touch-target-min); /* Improved touch target */
		padding: var(--space-3) var(--space-4); /* Increased padding for better touch */
	}
	
	.woocommerce ul.products {
		grid-template-columns: 1fr !important;
		gap: var(--space-3) !important;
		padding: 0 var(--space-3) var(--space-5) !important;
	}
	
	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: var(--text-lg);
		min-height: auto;
		-webkit-line-clamp: 3;
	}
	
	.woocommerce ul.products li.product .price {
		font-size: var(--text-xl);
	}
	
	.woocommerce ul.products li.product .button {
		padding: var(--space-3) var(--space-4); /* Increased padding for touch */
		font-size: var(--text-base); /* Slightly larger text for readability */
		min-height: var(--touch-target-min);
	}
	
	/* Improved spacing for mobile */
	.shop-toolbar {
		gap: var(--space-3);
		padding: 0 var(--space-3);
	}
	
	.shop-search-form {
		padding: var(--space-2);
	}
	
	.shop-search-form button {
		min-width: var(--touch-target-min);
		min-height: var(--touch-target-min);
	}
}

/* Very small mobile (< 400px) */
@media (max-width: 399px) {
	:root {
		--space-4: 24px;
		--space-5: 32px;
		--space-6: 48px;
	}
	
	.shop-hero .woocommerce-products-header__title {
		font-size: var(--text-2xl);
	}
	
	.woocommerce ul.products {
		padding: 0 var(--space-2) var(--space-4) !important;
	}
}

/* ===================================
   CUSTOM FOOTER - Based on Figma
   =================================== */

/* Hide default Astra footer */
.site-footer:not(.driven-footer),
.ast-footer,
footer.site-footer:not(.driven-footer) {
	display: none !important;
}

.driven-footer {
	width: 100%;
	background: var(--gradient-dark);
	color: var(--color-white);
	margin-top: 0;
	position: relative;
}

.footer-main {
	padding: var(--space-7) var(--space-4) var(--space-6);
}

.footer-container {
	max-width: var(--container-wide);
	margin: 0 auto;
	display: flex;
	flex-flow: row wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: var(--space-6);
}

/* Footer Brand Column */
.footer-column.footer-brand {
	display: flex;
	flex-flow: column;
	align-items: start;
	max-width: 400px;
	flex-grow: 1;
}

.footer-logo-wrapper {
	display: inline;
	background: #fff;
	border-radius: var(--radius-md);
	padding: 4px;
	margin-bottom: var(--space-5);
}

.footer-logo-image {
	max-height: 60px;
	width: auto;
	height: auto;
}

.footer-logo {
	font-family: var(--font-heading);
	font-size: var(--text-3xl);
	font-weight: 800;
	color: var(--color-white);
	margin: 0 0 var(--space-2) 0;
}

/* Social Icons in Footer Brand */
.footer-social-icons {
	display: flex;
	gap: var(--space-3);
	align-items: center;
}

.footer-social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: var(--color-white);
	font-size: var(--text-lg);
	text-decoration: none;
	transition: all var(--transition-base);
}

.footer-social-icons a:hover {
	background: var(--color-primary);
	transform: translateY(-3px);
}

/* Footer Columns */
.footer-column {
	flex-grow: 1;
	min-width: 200px;
}

.footer-column h4 {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: 600;
	color: var(--color-white);
	margin: 0 0 var(--space-3) 0;
}

.footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-column ul li {
	margin-bottom: var(--space-2);
}

.footer-column ul li a {
	font-size: var(--text-base);
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color var(--transition-base);
}

.footer-column ul li a:hover {
	color: var(--color-primary);
}

/* Footer Bottom */
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: var(--space-4) var(--space-4);
}

.footer-bottom-content {
	max-width: var(--container-wide);
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.footer-copyright {
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
	white-space: nowrap;
}

/* Footer Responsive */
@media (max-width: 1023px) {
	.footer-container {
		gap: var(--space-5);
	}
	
	.footer-column {
		min-width: calc(50% - var(--space-5) / 2);
	}
	
	.footer-brand {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.footer-main {
		padding: var(--space-6) var(--space-3) var(--space-5);
	}
	
	.footer-container {
		flex-direction: column;
		gap: var(--space-5);
	}
	
	.footer-column {
		width: 100%;
		min-width: 100%;
	}
	
	.footer-bottom-content {
		flex-direction: column;
		gap: var(--space-3);
		text-align: center;
	}
}

/* ===================================
   MICRO-INTERACTIONS & FEEDBACK
   =================================== */

/* Smooth scroll behavior */
html {
	scroll-behavior: smooth;
}

/* Enhanced button press feedback */
.woocommerce ul.products li.product .button:active,
.woocommerce ul.products li.product .add_to_cart_button:active {
	transform: translateY(0) scale(0.98);
	box-shadow: var(--shadow-xs);
	transition: all 0.1s ease;
}

/* Improved form input feedback */
.shop-search-form input[type="search"]:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(248, 149, 32, 0.1);
}

/* Enhanced dropdown interactions */
.custom-dropdown-trigger:active {
	transform: scale(0.98);
}

/* Loading skeleton for better perceived performance */
@keyframes skeleton-loading {
	0% {
		background-position: -200px 0;
	}
	100% {
		background-position: calc(200px + 100%) 0;
	}
}

.skeleton {
	background: linear-gradient(
		90deg,
		var(--color-gray-100) 0px,
		var(--color-gray-200) 40px,
		var(--color-gray-100) 80px
	);
	background-size: 200px 100%;
	animation: skeleton-loading 1.5s ease-in-out infinite;
}

/* Error state styling */
.error-state {
	border-color: #dc2626 !important;
	background-color: rgba(220, 38, 38, 0.05) !important;
}

.error-message {
	color: #dc2626;
	font-size: var(--text-sm);
	margin-top: var(--space-1);
	display: flex;
	align-items: center;
	gap: var(--space-1);
}

.error-message::before {
	content: '⚠';
	font-size: var(--text-base);
}

/* Success state styling */
.success-state {
	border-color: #10b981 !important;
	background-color: rgba(16, 185, 129, 0.05) !important;
}

/* ===================================
   VISUAL HIERARCHY IMPROVEMENTS
   =================================== */

/* Improved spacing between sections */
.woocommerce-shop-archive > * + * {
	margin-top: var(--space-5);
}

/* Better visual separation for product cards */
.woocommerce ul.products li.product {
	transition: all var(--transition-base);
	will-change: transform, box-shadow;
}

/* Enhanced category filter visibility */
.category-filter-bar .filter-button.active {
	position: relative;
}

.category-filter-bar .filter-button.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%);
	width: 60%;
	height: 3px;
	background: var(--color-white);
	border-radius: var(--radius-full);
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */

#ast-scroll-top {
	background-color: var(--color-secondary) !important;
	border-radius: 50% !important;
	box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3), 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

#ast-scroll-top:hover {
	background-color: var(--color-secondary-dark, #1a1845) !important;
	box-shadow: 0 2px 12px rgba(255, 255, 255, 0.4), 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

/* ===================================
   PRINT STYLES (Optional Enhancement)
   =================================== */

/* ===================================
   WOOCOMMERCE PRODUCT VARIATIONS
   =================================== */

/* Product variation table styling */
.variations th {
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 600;
	color: var(--color-gray-700);
}

.variations td {
	padding: var(--space-2) 0;
}

.variations select {
	width: 100%;
	padding: var(--space-2) var(--space-3);
	border: 2px solid var(--color-gray-300);
	border-radius: var(--radius-md);
	font-size: var(--text-base);
	font-family: var(--font-body);
	color: var(--color-gray-700);
	background-color: var(--color-white);
	transition: border-color var(--transition-base);
	cursor: pointer;
}

.variations select:hover,
.variations select:focus {
	border-color: var(--color-primary);
	outline: none;
}

/* Hide any legacy Elementor elements on product pages */
.single-product .elementor-element-44929e7 {
	display: none;
}

/* ===================================
   SITE-WIDE QUANTITY INPUT STYLES
   =================================== */

#main .quantity input {
	border: none;
	color: var(--color-secondary);
	font-size: 22px;
	font-family: 'Raleway';
	padding: 0;
	width: 3.5rem;
	padding-left: 1rem;
	border-bottom: solid var(--color-primary) 3px;
}

/* ===================================
   ADD TO CART FORM LAYOUT
   =================================== */

form.cart {
	display: flex;
	flex-flow: row-reverse;
	flex-wrap: wrap;
	gap: 1rem;
}

#main .single_add_to_cart_button {
	width: auto;
	min-width: unset;
	flex-grow: 1;
}

@media print {
	.shop-hero {
		background: var(--color-white) !important;
		box-shadow: none !important;
	}
	
	.category-filter-bar,
	.woocommerce-ordering {
		display: none !important;
	}
	
	.woocommerce ul.products li.product {
		break-inside: avoid;
		box-shadow: none !important;
		border: 1px solid var(--color-gray-300) !important;
	}
	
	.driven-footer {
		display: none !important;
	}
}









