/* ==========================================================================
   Electro Daraz — Core Stylesheet
   ========================================================================== */

:root {
	--ed-primary: #ff6a00;
	--ed-primary-dark: #e05a00;
	--ed-secondary: #0a1a2f;
	--ed-text: #222831;
	--ed-muted: #6b7280;
	--ed-border: #e5e7eb;
	--ed-bg-light: #f7f8fa;
	--ed-white: #ffffff;
	--ed-success: #16a34a;
	--ed-danger: #e11d48;
	--ed-radius: 10px;
	--ed-shadow: 0 2px 10px rgba(20, 20, 30, 0.06);
	--ed-shadow-hover: 0 10px 24px rgba(20, 20, 30, 0.12);
	--ed-max-width: 1280px;
}

body {
	color: var(--ed-text);
	background: var(--ed-white);
	font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; font-family: inherit; }

.ed-container {
	max-width: var(--ed-max-width);
	margin: 0 auto;
	padding: 0 20px;
}

.ed-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 26px;
	border-radius: var(--ed-radius);
	font-weight: 600;
	font-size: 15px;
	border: 2px solid transparent;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
	cursor: pointer;
}
.ed-btn-primary { background: var(--ed-primary); color: #fff; }
.ed-btn-primary:hover { background: var(--ed-primary-dark); transform: translateY(-2px); box-shadow: var(--ed-shadow-hover); }
.ed-btn-outline { border-color: #fff; color: #fff; background: transparent; }
.ed-btn-outline:hover { background: #fff; color: var(--ed-secondary); transform: translateY(-2px); }

.ed-section { padding: 48px 0; }
.ed-section-title { font-size: 26px; font-weight: 800; margin: 0 0 24px; position: relative; padding-left: 14px; }
.ed-section-title::before {
	content: "";
	position: absolute; left: 0; top: 4px; bottom: 4px;
	width: 5px; border-radius: 4px; background: var(--ed-primary);
}
.ed-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.ed-section-header .ed-section-title { margin-bottom: 0; }

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.ed-announcement-bar { background: var(--ed-secondary); color: #fff; font-size: 13px; }
.ed-announcement-bar .ed-container { display: flex; align-items: center; justify-content: center; position: relative; padding: 8px 20px; }
.ed-announcement-close { position: absolute; right: 20px; background: none; border: none; color: #fff; font-size: 18px; line-height: 1; opacity: .7; }
.ed-announcement-close:hover { opacity: 1; }

/* ==========================================================================
   Header
   ========================================================================== */
.ed-header { background: #fff; position: sticky; top: 0; z-index: 500; box-shadow: 0 1px 0 var(--ed-border); transition: box-shadow .2s ease; }
.ed-header.is-stuck { box-shadow: var(--ed-shadow-hover); }

.ed-header-top { background: var(--ed-secondary); font-size: 13px; color: #fff; }
.ed-header-top-inner { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; }
.ed-header-contact a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s ease; }
.ed-header-contact a:hover { color: var(--ed-primary); }
.ed-header-links { display: flex; gap: 18px; }
.ed-header-links a { transition: color .2s ease; }
.ed-header-links a:hover { color: var(--ed-primary); opacity: 0.8; }

.ed-header-main-inner { display: flex; align-items: center; gap: 20px; padding: 8px 0; }
.ed-logo-text { font-size: 24px; font-weight: 800; color: var(--ed-secondary); }
.ed-logo img { max-height: 48px; width: auto; }

.ed-search-wrap { flex: 1; position: relative; }
.ed-ajax-search { display: flex; border: 2px solid var(--ed-primary); border-radius: var(--ed-radius); overflow: hidden; }
.ed-ajax-search input[type="search"] { flex: 1; border: none; padding: 12px 16px; font-size: 14px; outline: none; }
.ed-ajax-search button { background: var(--ed-primary); border: none; padding: 0 18px; color: #fff; display: flex; align-items: center; }
.ed-ajax-search button:hover { background: var(--ed-primary-dark); }

.ed-search-suggestions {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff;
	border-radius: var(--ed-radius); box-shadow: var(--ed-shadow-hover); z-index: 400;
	display: none; max-height: 400px; overflow-y: auto;
}
.ed-search-suggestions.is-open { display: block; animation: edFadeInUp .18s ease; }
.ed-search-suggestion-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--ed-border); }
.ed-search-suggestion-item:last-child { border-bottom: none; }
.ed-search-suggestion-item:hover { background: var(--ed-bg-light); }
.ed-search-suggestion-item img { width: 44px; height: 44px; object-fit: contain; background: var(--ed-bg-light); border-radius: 6px; }
.ed-search-suggestion-item .ed-suggestion-price { margin-left: auto; color: var(--ed-primary); font-weight: 600; font-size: 13px; }

.ed-header-icons { display: flex; align-items: center; gap: 20px; }
.ed-icon-link { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ed-text); transition: color .15s ease, transform .15s ease; }
.ed-icon-link:hover { color: var(--ed-primary); transform: translateY(-2px); }
.ed-icon-label { font-size: 11px; }
.ed-icon-badge {
	position: absolute; top: -6px; right: -8px; background: var(--ed-primary); color: #fff;
	font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.ed-icon-badge:empty, .ed-icon-badge[data-empty="1"] { display: none; }

.ed-mobile-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 6px; }
.ed-mobile-toggle span { width: 24px; height: 2px; background: var(--ed-text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* Sub-nav / mega menu row */
.ed-header-nav { background: var(--ed-secondary); color: #fff; }
.ed-header-nav-inner { display: flex; align-items: center; gap: 24px; position: relative; }
.ed-categories-toggle {
	display: flex; align-items: center; gap: 8px; background: var(--ed-primary); color: #fff; border: none;
	padding: 12px 18px; font-weight: 600; font-size: 14px; white-space: nowrap;
}
.ed-categories-toggle:hover { background: var(--ed-primary-dark); }

.ed-mega-menu {
	position: absolute; top: 100%; left: 0; width: 280px; background: #fff; color: var(--ed-text);
	box-shadow: var(--ed-shadow-hover); border-radius: 0 0 var(--ed-radius) var(--ed-radius);
	display: none; z-index: 450; max-height: 420px; overflow-y: auto;
}
.ed-mega-menu.is-open { display: block; animation: edFadeInUp .18s ease; }
.ed-mega-menu-list a { display: block; padding: 10px 18px; font-size: 14px; }
.ed-mega-menu-list a:hover { background: var(--ed-bg-light); color: var(--ed-primary); padding-left: 22px; }

.ed-primary-menu { display: flex; gap: 22px; flex: 1; }
.ed-primary-menu a { padding: 10px 0; display: inline-block; font-size: 14px; font-weight: 500; transition: color .2s ease, opacity .2s ease; }
.ed-primary-menu a:hover { color: #fff; opacity: 0.9; text-decoration: underline; }
.ed-primary-menu .sub-menu { display: none; }

.ed-header-nav-offer { margin-left: auto; font-size: 13px; color: #cfd8e3; }

/* Mobile menu */
.ed-mobile-menu {
	position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: #fff; z-index: 900;
	transition: left .25s ease; overflow-y: auto; box-shadow: var(--ed-shadow-hover);
}
.ed-mobile-menu.is-open { left: 0; }
.ed-mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--ed-border); font-weight: 700; }
.ed-mobile-menu-header button { background: none; border: none; font-size: 24px; }
.ed-mobile-menu-list a { display: block; padding: 14px 20px; border-bottom: 1px solid var(--ed-border); }
.ed-mobile-menu-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 890; display: none;
}
.ed-mobile-menu-overlay.is-open { display: block; animation: edFadeIn .2s ease; }

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.ed-hero-slider { position: relative; overflow: hidden; height: 420px; background: var(--ed-secondary); }
.ed-hero-track { position: relative; height: 100%; }
.ed-hero-slide {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; visibility: hidden; transition: opacity .5s ease;
	display: flex; align-items: center; background-color: var(--ed-secondary);
}
.ed-hero-slide.is-active { opacity: 1; visibility: visible; }
.ed-hero-slide-content { color: #fff; max-width: 520px; }
.ed-hero-slide-content h2 { font-size: 40px; font-weight: 800; margin: 0 0 12px; animation: edSlideUp .5s ease; }
.ed-hero-slide-content p { font-size: 17px; margin: 0 0 22px; opacity: .9; }
.ed-hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.ed-hero-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.ed-hero-dots span.is-active { background: var(--ed-primary); }
.ed-hero-nav {
	position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff;
	border: none; width: 40px; height: 40px; border-radius: 50%; z-index: 5; transition: background .2s ease;
}
.ed-hero-nav:hover { background: rgba(255,255,255,.35); }
.ed-hero-prev { left: 20px; }
.ed-hero-next { right: 20px; }

/* ==========================================================================
   Category Icons
   ========================================================================== */
.ed-category-icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ed-category-icon-card {
	display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
	padding: 18px 10px; border-radius: var(--ed-radius); background: var(--ed-bg-light);
	transition: transform .2s ease, box-shadow .2s ease;
}
.ed-category-icon-card:hover { transform: translateY(-4px); box-shadow: var(--ed-shadow-hover); }
.ed-category-icon-img { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.ed-category-icon-img img { width: 100%; height: 100%; object-fit: contain; }
.ed-category-icon-label { font-size: 13px; font-weight: 600; }

/* ==========================================================================
   Product Grid & Cards (WooCommerce loop)
   ========================================================================== */
.ed-product-grid, ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
ul.products li.product, .ed-product-grid .product {
	background: #fff; border: 1px solid var(--ed-border); border-radius: var(--ed-radius); padding: 14px;
	position: relative; transition: transform .22s ease, box-shadow .22s ease; overflow: hidden;
}
ul.products li.product:hover, .ed-product-grid .product:hover {
	transform: translateY(-6px); box-shadow: var(--ed-shadow-hover); border-color: transparent;
}
ul.products li.product a.woocommerce-LoopProduct-link { display: block; }
ul.products li.product img {
	width: 100%; height: 185px; object-fit: contain; background: var(--ed-bg-light); border-radius: 8px;
	transition: transform .3s ease; image-rendering: auto; backface-visibility: hidden;
}
ul.products li.product:hover img { transform: scale(1.05); }
ul.products li.product .woocommerce-loop-product__title { font-size: 14px; font-weight: 600; margin: 10px 0 6px; line-height: 1.4; }
ul.products li.product .price { color: var(--ed-primary); font-weight: 700; font-size: 15px; }
ul.products li.product .price del { color: var(--ed-muted); font-weight: 400; font-size: 13px; margin-right: 6px; }
ul.products li.product .star-rating { font-size: 12px; margin-bottom: 4px; }
ul.products li.product .button {
	display: block; text-align: center; margin-top: 10px; background: var(--ed-secondary); color: #fff;
	padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: background .2s ease, transform .15s ease;
}
ul.products li.product .button:hover { background: var(--ed-primary); transform: scale(1.02); }
ul.products li.product .added_to_cart { display: inline-block; margin-top: 6px; font-size: 12px; }

.ed-product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.ed-badge { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 6px; color: #fff; }
.ed-badge-sale { background: var(--ed-danger); }
.ed-badge-hot { background: #f97316; }
.ed-badge-new { background: var(--ed-success); }

.ed-product-quick-actions {
	position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 3;
	opacity: 0; transform: translateX(10px); transition: opacity .2s ease, transform .2s ease;
}
ul.products li.product:hover .ed-product-quick-actions { opacity: 1; transform: translateX(0); }
.ed-qa-btn {
	width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--ed-border);
	display: flex; align-items: center; justify-content: center; font-size: 14px; box-shadow: var(--ed-shadow);
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.ed-qa-btn:hover { background: var(--ed-primary); color: #fff; transform: scale(1.1); }
.ed-qa-btn.is-active { background: var(--ed-primary); color: #fff; }

/* ==========================================================================
   Flash Sale Countdown
   ========================================================================== */
.ed-countdown { display: flex; gap: 6px; font-weight: 700; background: var(--ed-secondary); color: #fff; padding: 8px 14px; border-radius: 8px; font-size: 15px; }

/* ==========================================================================
   Promo Banners
   ========================================================================== */
.ed-promo-banners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ed-promo-banner {
	border-radius: var(--ed-radius); padding: 40px; color: #fff; min-height: 200px;
	display: flex; flex-direction: column; justify-content: center; gap: 8px;
	background: linear-gradient(135deg, var(--ed-secondary), #1c3a5e);
}
.ed-promo-banner-2 { background: linear-gradient(135deg, var(--ed-primary), #ff9248); }
.ed-promo-banner h3 { font-size: 26px; margin: 0; }
.ed-promo-banner .ed-btn { align-self: flex-start; margin-top: 10px; }

/* ==========================================================================
   Brands
   ========================================================================== */
.ed-brands-slider { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; }
.ed-brand-logo {
	flex: 0 0 160px; height: 80px; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--ed-border); border-radius: var(--ed-radius); font-weight: 700; color: var(--ed-muted);
	transition: transform .2s ease, box-shadow .2s ease;
}
.ed-brand-logo:hover { transform: translateY(-4px); box-shadow: var(--ed-shadow); color: var(--ed-primary); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.ed-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ed-review-card { background: var(--ed-bg-light); border-radius: var(--ed-radius); padding: 24px; transition: transform .2s ease; }
.ed-review-card:hover { transform: translateY(-4px); }
.ed-review-stars { color: #fbbf24; margin-bottom: 10px; }
.ed-review-name { display: block; margin-top: 12px; font-weight: 700; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.ed-newsletter-banner { background: var(--ed-secondary); color: #fff; text-align: center; border-radius: var(--ed-radius); margin: 0 20px; }
.ed-newsletter-banner h2 { font-size: 26px; margin: 0 0 20px; }
.ed-newsletter-form { display: flex; max-width: 420px; margin: 0 auto; gap: 0; }
.ed-newsletter-form input { flex: 1; padding: 12px 16px; border: none; border-radius: 8px 0 0 8px; }
.ed-newsletter-form button { background: var(--ed-primary); color: #fff; border: none; padding: 0 22px; border-radius: 0 8px 8px 0; font-weight: 600; }
.ed-newsletter-form button:hover { background: var(--ed-primary-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.ed-footer { background: var(--ed-secondary); color: #cfd8e3; margin-top: 40px; }
.ed-footer-top { padding: 50px 0 30px; }
.ed-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 30px; }
.footer-widget-title, .ed-footer-col h4 { color: #fff; font-size: 16px; margin: 0 0 16px; }
.ed-footer-menu li, .ed-footer-col ul li { margin-bottom: 10px; }
.ed-footer-menu a, .ed-footer-col a { color: #cfd8e3; font-size: 14px; transition: color .15s ease, padding-left .15s ease; }
.ed-footer-menu a:hover, .ed-footer-col a:hover { color: var(--ed-primary); padding-left: 4px; }
.ed-footer-about p { font-size: 14px; line-height: 1.7; }
.ed-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.ed-social-icon {
	width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex;
	align-items: center; justify-content: center; font-size: 13px; font-weight: 700; transition: background .2s ease, transform .2s ease;
}
.ed-social-icon:hover { background: var(--ed-primary); transform: translateY(-3px); }
.ed-trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: 12px; }
.ed-trust-badges span { background: rgba(255,255,255,.08); padding: 6px 10px; border-radius: 6px; }

.ed-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.ed-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.ed-payment-icons { display: flex; gap: 8px; }
.ed-payment-icon { background: rgba(255,255,255,.08); padding: 6px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; }

.ed-whatsapp-btn {
	position: fixed; bottom: 24px; left: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25D366;
	color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--ed-shadow-hover); z-index: 600;
	animation: edPulse 2.4s infinite;
}
.ed-back-to-top {
	position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--ed-primary);
	color: #fff; border: none; display: none; align-items: center; justify-content: center; box-shadow: var(--ed-shadow-hover); z-index: 600;
	transition: background .2s ease, transform .2s ease;
}
.ed-back-to-top.is-visible { display: flex; }
.ed-back-to-top:hover { background: var(--ed-primary-dark); transform: translateY(-3px); }

/* ==========================================================================
   Quick View Modal
   ========================================================================== */
.ed-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 950; display: none; align-items: center; justify-content: center; padding: 20px; }
.ed-modal-overlay.is-open { display: flex; animation: edFadeIn .2s ease; }
.ed-modal-box { background: #fff; border-radius: var(--ed-radius); max-width: 780px; width: 100%; max-height: 85vh; overflow-y: auto; position: relative; padding: 30px; animation: edSlideUp .25s ease; }
.ed-modal-close { position: absolute; top: 14px; right: 14px; background: var(--ed-bg-light); border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 18px; }
.ed-quick-view-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ed-quick-view-gallery img { width: 100%; border-radius: 8px; background: var(--ed-bg-light); }
.ed-quick-view-price { color: var(--ed-primary); font-size: 20px; font-weight: 700; margin: 10px 0; }

/* ==========================================================================
   Single Product Page
   ========================================================================== */
.single-product .ed-woocommerce-content { padding-top: 30px; padding-bottom: 60px; }
.woocommerce div.product div.images img { width: 100%; height: auto; object-fit: contain; border-radius: var(--ed-radius); background: var(--ed-bg-light); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 70px; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 6px; border: 2px solid transparent; opacity: .7; transition: opacity .15s ease, border-color .15s ease; }
.woocommerce div.product div.images .flex-control-thumbs img:hover, .woocommerce div.product div.images .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--ed-primary); }

.woocommerce div.product .product_title { font-size: 26px; font-weight: 800; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ed-primary); font-size: 24px; font-weight: 800; }
.woocommerce div.product p.price del { color: var(--ed-muted); font-size: 16px; font-weight: 400; }

.woocommerce div.product form.cart { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 20px 0; }
.woocommerce div.product form.cart .quantity input { width: 70px; padding: 10px; border: 1px solid var(--ed-border); border-radius: 8px; }
.woocommerce div.product form.cart .button, .woocommerce div.product .ed-buy-now-btn {
	background: var(--ed-primary); color: #fff; padding: 14px 30px; border-radius: var(--ed-radius); font-weight: 700;
	border: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.woocommerce div.product form.cart .button:hover, .ed-buy-now-btn:hover { background: var(--ed-primary-dark); transform: translateY(-2px); box-shadow: var(--ed-shadow-hover); }

.ed-delivery-info { border: 1px solid var(--ed-border); border-radius: var(--ed-radius); padding: 16px; margin: 20px 0; display: flex; flex-direction: column; gap: 14px; }
.ed-delivery-row { display: flex; gap: 12px; align-items: flex-start; }
.ed-delivery-icon { font-size: 22px; }
.ed-delivery-row p { margin: 2px 0 0; font-size: 13px; color: var(--ed-muted); }

.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--ed-border); margin: 30px 0 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { list-style: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 20px; font-weight: 600; border-radius: 8px 8px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--ed-primary); color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel { padding: 24px 0; animation: edFadeIn .25s ease; }

/* Sticky Add to Cart */
.ed-sticky-atc {
	position: fixed; bottom: -100px; left: 0; right: 0; background: #fff; border-top: 1px solid var(--ed-border);
	box-shadow: 0 -6px 16px rgba(0,0,0,.08); z-index: 550; transition: bottom .25s ease; padding: 12px 0;
}
.ed-sticky-atc.is-visible { bottom: 0; }
.ed-sticky-atc-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ed-sticky-atc-info { display: flex; align-items: center; gap: 12px; }
.ed-sticky-atc-info img { width: 46px; height: 46px; object-fit: contain; border-radius: 6px; background: var(--ed-bg-light); }
.ed-sticky-atc-price { display: block; color: var(--ed-primary); font-weight: 700; }
.ed-sticky-atc-action form.cart { margin: 0 !important; }

/* ==========================================================================
   Cart Page
   ========================================================================== */
.ed-free-shipping-bar { background: var(--ed-bg-light); border-radius: var(--ed-radius); padding: 16px 20px; margin-bottom: 24px; }
.ed-free-shipping-bar p { margin: 0 0 10px; font-size: 14px; }
.ed-progress-track { height: 8px; background: #e5e7eb; border-radius: 6px; overflow: hidden; }
.ed-progress-fill { height: 100%; background: linear-gradient(90deg, var(--ed-primary), #ff9248); border-radius: 6px; transition: width .4s ease; }

.woocommerce table.shop_table { border: 1px solid var(--ed-border); border-radius: var(--ed-radius); overflow: hidden; border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th { background: var(--ed-bg-light); padding: 14px; text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.woocommerce table.shop_table td { padding: 16px 14px; border-top: 1px solid var(--ed-border); vertical-align: middle; }
.woocommerce table.shop_table img {
	width: 70px; height: 70px; max-width: 70px; object-fit: contain; object-position: center;
	border-radius: 8px; background: var(--ed-bg-light); border: 1px solid var(--ed-border); padding: 4px;
	image-rendering: auto; backface-visibility: hidden; display: block;
}
.woocommerce-checkout .woocommerce-checkout-review-order table.shop_table img {
	width: 52px; height: 52px; max-width: 52px;
}
.woocommerce td.actions .button, .woocommerce a.remove {
	transition: transform .15s ease, background .15s ease;
}
.woocommerce a.remove { color: var(--ed-danger) !important; border-radius: 50%; }
.woocommerce a.remove:hover { background: var(--ed-danger) !important; color: #fff !important; transform: scale(1.15); }
.woocommerce .cart-collaterals .cart_totals { background: var(--ed-bg-light); border-radius: var(--ed-radius); padding: 20px; }
.woocommerce .cart-collaterals .cart_totals .order-total .amount { color: var(--ed-primary); font-weight: 800; font-size: 18px; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	background: linear-gradient(135deg, var(--ed-primary), #ff8a32); color: #fff; width: 100%; text-align: center; padding: 16px 20px; 
	border-radius: var(--ed-radius); font-weight: 800; font-size: 16px; display: block; transition: all .3s ease;
	border: none; box-shadow: 0 4px 14px rgba(255, 106, 0, 0.3); cursor: pointer;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover { 
	background: linear-gradient(135deg, #ff8a32, var(--ed-primary)); 
	transform: translateY(-3px); 
	box-shadow: 0 8px 20px rgba(255, 106, 0, 0.4);
}
.woocommerce-cart-form__cell-quantity .quantity input { width: 60px; padding: 8px; border-radius: 6px; border: 1px solid var(--ed-border); }

/* ==========================================================================
   Checkout Page
   ========================================================================== */
.ed-checkout-progress { display: flex; justify-content: center; gap: 40px; margin-bottom: 30px; }
.ed-checkout-step { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ed-muted); }
.ed-checkout-step span { width: 26px; height: 26px; border-radius: 50%; background: var(--ed-border); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: background .3s ease; }
.ed-checkout-step.is-active, .ed-checkout-step.is-complete { color: var(--ed-text); }
.ed-checkout-step.is-active span, .ed-checkout-step.is-complete span { background: var(--ed-primary); }

.ed-checkout-trust { display: flex; justify-content: center; gap: 24px; font-size: 13px; margin-bottom: 30px; color: var(--ed-muted); }

.woocommerce-checkout #customer_details, .woocommerce-checkout .woocommerce-checkout-review-order {
	background: #fff; border: 1px solid var(--ed-border); border-radius: var(--ed-radius); padding: 24px;
}
.woocommerce-checkout .form-row input, .woocommerce-checkout .form-row select, .woocommerce-checkout .form-row textarea {
	border: 1px solid var(--ed-border); border-radius: 8px; padding: 11px 14px; width: 100%;
}
.woocommerce-checkout #payment { background: var(--ed-bg-light); border-radius: var(--ed-radius); margin-top: 16px; }
.woocommerce-checkout #payment div.payment_box { background: #fff !important; border-radius: 8px; }
.woocommerce-checkout #place_order {
	background: var(--ed-primary); color: #fff; width: 100%; padding: 16px; border-radius: var(--ed-radius);
	font-weight: 800; font-size: 16px; border: none; transition: background .2s ease, transform .15s ease;
}
.woocommerce-checkout #place_order:hover { background: var(--ed-primary-dark); transform: translateY(-2px); }

/* Generic content pages */
.ed-generic-content { padding: 40px 0; }
.ed-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ed-post-card { border: 1px solid var(--ed-border); border-radius: var(--ed-radius); overflow: hidden; transition: transform .2s ease; }
.ed-post-card:hover { transform: translateY(-4px); }
.ed-post-thumb img { width: 100%; height: 180px; object-fit: cover; }
.ed-post-title { padding: 0 16px; font-size: 16px; }
.ed-post-excerpt { padding: 0 16px 16px; font-size: 14px; color: var(--ed-muted); }

/* ==========================================================================
   Wishlist & Compare Pages
   ========================================================================== */
.ed-wishlist-compare-page { padding: 40px 0; }
.ed-wishlist-compare-header { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.ed-wishlist-compare-header h1 { margin: 0; }
.ed-wishlist-compare-header .ed-icon { font-size: 32px; }
.ed-wishlist-compare-empty { text-align: center; padding: 60px 20px; }
.ed-wishlist-compare-empty-icon { font-size: 80px; margin-bottom: 16px; }
.ed-wishlist-compare-empty p { font-size: 16px; color: var(--ed-muted); margin-bottom: 20px; }
.ed-wishlist-compare-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.ed-wishlist-compare-item { border: 1px solid var(--ed-border); border-radius: var(--ed-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.ed-wishlist-compare-item:hover { transform: translateY(-4px); box-shadow: var(--ed-shadow-hover); }
.ed-wishlist-compare-item-image { width: 100%; height: 200px; object-fit: contain; background: var(--ed-bg-light); padding: 16px; }
.ed-wishlist-compare-item-body { padding: 16px; }
.ed-wishlist-compare-item-title { font-weight: 600; margin-bottom: 8px; }
.ed-wishlist-compare-item-price { color: var(--ed-primary); font-weight: 700; margin-bottom: 12px; }
.ed-wishlist-compare-item-actions { display: flex; gap: 8px; }
.ed-wishlist-compare-item-actions button { flex: 1; padding: 8px; font-size: 13px; border-radius: 6px; border: none; cursor: pointer; transition: all .2s ease; }
.ed-wishlist-compare-item-remove { background: var(--ed-danger); color: #fff; }
.ed-wishlist-compare-item-remove:hover { background: #c91c4a; }
.ed-wishlist-compare-item-cart { background: var(--ed-primary); color: #fff; }
.ed-wishlist-compare-item-cart:hover { background: var(--ed-primary-dark); }
