/* ==========================================================================
   Edaroo24 redesign — global layer on top of Woodmart
   Tokens → Woodmart variable mapping → typography → header → product cards
   → single product → forms/buttons → cart/checkout → footer → mobile toolbar
   ========================================================================== */

/* Vazirmatn FD (Persian digits) — SIL Open Font License, see fonts/OFL.txt */
@font-face { font-family: "Vazirmatn ED"; src: url("../fonts/Vazirmatn-FD-Regular.woff2") format("woff2"); font-weight: 100 400; font-display: swap; }
@font-face { font-family: "Vazirmatn ED"; src: url("../fonts/Vazirmatn-FD-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Vazirmatn ED"; src: url("../fonts/Vazirmatn-FD-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Vazirmatn ED"; src: url("../fonts/Vazirmatn-FD-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Vazirmatn ED"; src: url("../fonts/Vazirmatn-FD-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Vazirmatn ED"; src: url("../fonts/Vazirmatn-FD-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

/* ---------- Tokens ---------- */
html:root {
	--ed-primary: #0a8fa8;
	--ed-primary-600: #0b7f95;
	--ed-primary-700: #08687a;
	--ed-primary-800: #0b4f5d;
	--ed-primary-900: #0a3a45;
	--ed-primary-50: #ebf8fb;
	--ed-primary-100: #d3f0f6;
	--ed-accent: #f26a1b;
	--ed-accent-600: #d8560c;
	--ed-accent-50: #fff2ea;
	--ed-green: #1f9d55;
	--ed-green-50: #e7f6ed;
	--ed-red: #e0393e;
	--ed-ink: #102a33;
	--ed-text: #3e5661;
	--ed-muted: #6c818a;
	--ed-line: #e2eaed;
	--ed-bg: #f4f8f9;
	--ed-surface: #ffffff;
	--ed-r-sm: 10px;
	--ed-r: 16px;
	--ed-r-lg: 24px;
	--ed-shadow-sm: 0 1px 2px rgba(16, 42, 51, .05), 0 1px 3px rgba(16, 42, 51, .05);
	--ed-shadow: 0 8px 24px -10px rgba(16, 42, 51, .18);
	--ed-shadow-lg: 0 24px 48px -18px rgba(16, 42, 51, .28);
	--ed-font: "Vazirmatn ED", Tahoma, sans-serif;
	--ed-ease: cubic-bezier(.2, .7, .2, 1);

	/* Woodmart mapping */
	--wd-text-font: var(--ed-font);
	--wd-title-font: var(--ed-font);
	--wd-entities-title-font: var(--ed-font);
	--wd-alternative-font: var(--ed-font);
	--wd-widget-title-font: var(--ed-font);
	--wd-header-el-font: var(--ed-font);
	--wd-text-color: var(--ed-text);
	--wd-text-font-size: 15px;
	--wd-title-color: var(--ed-ink);
	--wd-title-font-weight: 800;
	--wd-entities-title-color: var(--ed-ink);
	--wd-entities-title-color-hover: var(--ed-primary);
	--wd-entities-title-font-weight: 600;
	--wd-widget-title-color: var(--ed-ink);
	--wd-widget-title-transform: none;
	--wd-widget-title-font-weight: 800;
	--wd-header-el-transform: none;
	--wd-header-el-font-weight: 600;
	--wd-header-el-font-size: 14px;
	--wd-primary-color: var(--ed-primary);
	--wd-alternative-color: var(--ed-primary);
	--wd-link-color: var(--ed-ink);
	--wd-link-color-hover: var(--ed-primary);
	--wd-brd-radius: var(--ed-r);
	--wd-form-brd-radius: 12px;
	--wd-form-brd-width: 1.5px;
	--wd-form-height: 48px;
	--wd-otl-style: solid;
	--btn-default-bgcolor: var(--ed-primary-50);
	--btn-default-bgcolor-hover: var(--ed-primary-100);
	--btn-default-color: var(--ed-primary-700);
	--btn-default-color-hover: var(--ed-primary-800);
	--btn-default-brd-radius: 12px;
	--btn-accented-bgcolor: var(--ed-primary);
	--btn-accented-bgcolor-hover: var(--ed-primary-700);
	--btn-accented-brd-radius: 12px;
	--btn-accented-color: #fff;
	--btn-accented-color-hover: #fff;
	--notices-success-bg: var(--ed-green);
	--notices-warning-bg: #e9a23b;
	--wd-container-w: 1400px;
}

/* Elementor global typography (kit) */
html body [class*="elementor-kit-"] {
	--e-global-typography-primary-font-family: var(--ed-font);
	--e-global-typography-secondary-font-family: var(--ed-font);
	--e-global-typography-text-font-family: var(--ed-font);
	--e-global-typography-accent-font-family: var(--ed-font);
	--e-global-color-primary: var(--ed-primary);
	--e-global-color-accent: var(--ed-accent);
}

/* ---------- Typography ---------- */
body.ed-rd {
	font-family: var(--ed-font);
	color: var(--ed-text);
	background: var(--ed-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* One typeface everywhere (Elementor widgets and plugins hard-code their own). Icon fonts are excluded. */
body.ed-rd :is(h1, h2, h3, h4, h5, h6, p, a, span, li, dt, dd, td, th, label, legend, button, input, select, textarea, option, strong, b, small, em, bdi, del, ins, time, blockquote, figcaption, div):not([class*="fa-"]):not([class*="eicon"]):not(.dashicons):not(.star-rating):not(.star-rating *):not([class*="wd-icon"]):not(.ed-ltr) {
	font-family: var(--ed-font) !important;
}

/* Latin-only strings (e-mail, URLs) keep Latin digits */
body.ed-rd .ed-ltr {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
	direction: ltr;
	unicode-bidi: isolate;
}

body.ed-rd :is(h1, h2, h3, h4, h5, h6) {
	color: var(--ed-ink);
	letter-spacing: 0;
}

body.ed-rd ::selection {
	background: var(--ed-primary-100);
	color: var(--ed-ink);
}

body.ed-rd :focus-visible {
	outline: 2px solid var(--ed-primary);
	outline-offset: 2px;
}

.ed-rd .wd-page-wrapper,
.ed-rd .wd-page-content {
	background: transparent;
}

/* ---------- Shared building blocks (used by home + footer) ---------- */
.ed-rd .ed-wrap {
	width: 100%;
	max-width: var(--wd-container-w);
	margin-inline: auto;
	padding-inline: 20px;
	box-sizing: border-box;
}

.ed-rd .ed-ico {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	vertical-align: middle;
}

.ed-rd .ed-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 14px;
	border: 1.5px solid transparent;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ed-ease), box-shadow .2s;
}

.ed-rd .ed-btn:hover {
	transform: translateY(-1px);
}

.ed-rd .ed-btn--primary {
	background: var(--ed-primary);
	color: #fff !important;
	box-shadow: 0 8px 18px -8px rgba(10, 143, 168, .6);
}

.ed-rd .ed-btn--primary:hover {
	background: var(--ed-primary-700);
}

.ed-rd .ed-btn--accent {
	background: var(--ed-accent);
	color: #fff !important;
	box-shadow: 0 8px 18px -8px rgba(242, 106, 27, .6);
}

.ed-rd .ed-btn--accent:hover {
	background: var(--ed-accent-600);
}

.ed-rd .ed-btn--ghost {
	background: #fff;
	color: var(--ed-ink) !important;
	border-color: var(--ed-line);
}

.ed-rd .ed-btn--ghost:hover {
	border-color: var(--ed-primary);
	color: var(--ed-primary) !important;
}

.ed-rd .ed-btn--white {
	background: #fff;
	color: var(--ed-primary-800) !important;
}

.ed-rd .ed-btn--white:hover {
	background: var(--ed-primary-50);
}

.ed-rd .ed-btn--light {
	background: rgba(255, 255, 255, .18);
	color: #fff !important;
	border-color: rgba(255, 255, 255, .35);
	backdrop-filter: blur(4px);
}

.ed-rd .ed-btn--light:hover {
	background: #fff;
	color: var(--ed-accent-600) !important;
}

.ed-rd .ed-btn--outline-light {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, .4);
}

.ed-rd .ed-btn--outline-light:hover {
	background: rgba(255, 255, 255, .12);
	border-color: #fff;
}

/* ---------- Header ---------- */
.ed-rd .whb-header {
	background: #fff;
}

.ed-rd .whb-general-header,
.ed-rd .whb-header-bottom {
	background: #fff;
	border-bottom: 1px solid var(--ed-line) !important;
}

.ed-rd .whb-sticked .whb-general-header {
	box-shadow: 0 6px 20px -12px rgba(16, 42, 51, .25);
}

/* search */
.ed-rd .whb-header .wd-search-form .searchform {
	--wd-form-height: 50px;
}

.ed-rd .whb-header .searchform input[type="text"] {
	background: var(--ed-bg);
	border: 1.5px solid transparent;
	border-radius: 14px;
	color: var(--ed-ink);
	font-size: 14.5px;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.ed-rd .whb-header .searchform input[type="text"]:focus {
	background: #fff;
	border-color: var(--ed-primary);
	box-shadow: 0 0 0 4px var(--ed-primary-50);
}

.ed-rd .whb-header .searchform input::placeholder {
	color: var(--ed-muted);
}

.ed-rd .whb-header .searchform .searchsubmit {
	color: var(--ed-primary);
}

.ed-rd .wd-search-results.wd-dropdown {
	border-radius: var(--ed-r);
	box-shadow: var(--ed-shadow-lg);
	border: 1px solid var(--ed-line);
}

/* account + cart buttons */
.ed-rd .whb-general-header :is(.wd-header-my-account, .wd-header-cart, .wd-header-wishlist, .wd-header-compare) > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--ed-primary-50);
	color: var(--ed-primary-700);
	transition: background-color .2s, color .2s;
}

.ed-rd .whb-general-header :is(.wd-header-my-account, .wd-header-cart, .wd-header-wishlist, .wd-header-compare) > a:hover {
	background: var(--ed-primary);
	color: #fff;
}

.ed-rd .whb-general-header :is(.wd-header-my-account, .wd-header-cart) :is(.wd-tools-icon, .wd-tools-inner) {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	width: auto;
	height: auto;
}

.ed-rd .whb-general-header :is(.wd-header-my-account, .wd-header-cart) .wd-tools-icon::before,
.ed-rd .whb-general-header :is(.wd-header-my-account, .wd-header-cart) .wd-tools-icon::after {
	color: inherit !important;
	font-size: 22px;
}

.ed-rd .wd-tools-element .wd-tools-count {
	background: var(--ed-accent) !important;
	color: #fff !important;
	min-width: 20px;
	height: 20px;
	line-height: 20px;
	font-size: 11px;
	font-weight: 800;
	border-radius: 999px;
	box-shadow: 0 0 0 2px #fff;
}

/* category opener */
@media (min-width: 1025px) {
	.ed-rd .whb-header-bottom .wd-header-cats,
	.ed-rd .whb-header-bottom .wd-header-cats .menu-opener {
		width: 230px !important;
		min-width: 0 !important;
		max-width: 230px;
		box-sizing: border-box;
	}

	.ed-rd .whb-header-bottom .whb-col-left {
		gap: 12px;
	}

	.ed-rd .whb-header .wd-nav-main {
		flex-wrap: nowrap;
	}
}

.ed-rd .wd-header-cats .menu-opener {
	background: var(--ed-primary) !important;
	border-radius: 12px;
	min-height: 42px;
	padding-inline: 16px;
	color: #fff;
	font-weight: 700;
	transition: background-color .2s;
}

.ed-rd .wd-header-cats:hover .menu-opener {
	background: var(--ed-primary-700) !important;
}

.ed-rd .wd-header-cats .wd-dropdown-cats {
	border-radius: 0 0 var(--ed-r) var(--ed-r);
	box-shadow: var(--ed-shadow-lg);
	border: 1px solid var(--ed-line);
}

/* main nav */
.ed-rd .whb-header .wd-nav-main > li > a,
.ed-rd .whb-header .wd-nav.wd-nav-main > li > a {
	font-size: 14px !important;
	font-weight: 600;
	color: var(--ed-ink);
	border-radius: 10px;
	padding-inline: 8px;
	white-space: nowrap;
	min-height: 38px;
	transition: background-color .2s, color .2s;
}

.ed-rd .whb-header .wd-nav-main > li:hover > a,
.ed-rd .whb-header .wd-nav-main > li.current-menu-item > a {
	background: var(--ed-primary-50);
	color: var(--ed-primary-700);
}

/* the "online prescription" menu item used to blink: make it a calm accent pill */
.ed-rd #menu-item-121 {
	animation: none !important;
	background: transparent !important;
}

.ed-rd #menu-item-121 > a {
	background: var(--ed-accent-50) !important;
	color: var(--ed-accent-600) !important;
	border-radius: 999px;
}

.ed-rd #menu-item-121 > a:hover {
	background: var(--ed-accent) !important;
	color: #fff !important;
}

.ed-rd .whb-header .wd-button-wrapper .btn,
.ed-rd .whb-header .wd-header-btn .btn {
	white-space: nowrap;
	border-radius: 999px;
	background: var(--ed-accent);
	color: #fff;
	font-weight: 700;
}

/* dropdowns / mega menu */
.ed-rd .wd-dropdown,
.ed-rd .wd-dropdown-menu {
	border-radius: var(--ed-r);
	box-shadow: var(--ed-shadow-lg);
}

.ed-rd .wd-dropdown-menu .elementor-icon-list-item a:hover .elementor-icon-list-text,
.ed-rd .wd-sub-menu li a:hover {
	color: var(--ed-primary) !important;
}

/* mobile nav side panel */
.ed-rd .mobile-nav.wd-side-hidden {
	border-radius: 0 0 0 var(--ed-r-lg);
}

.ed-rd .wd-nav-mobile > li > a {
	font-weight: 600;
	color: var(--ed-ink);
}

/* ---------- Page title & breadcrumbs ---------- */
.ed-rd .wd-page-title {
	background: linear-gradient(135deg, var(--ed-primary-800), var(--ed-primary)) !important;
}

.ed-rd .wd-page-title .wd-page-title-bg {
	opacity: .15;
}

.ed-rd :is(.woocommerce-breadcrumb, .wd-breadcrumbs, .yoast-breadcrumb) {
	font-size: 13px;
	color: var(--ed-muted);
}

.ed-rd :is(.woocommerce-breadcrumb, .wd-breadcrumbs) a {
	color: var(--ed-muted);
}

.ed-rd :is(.woocommerce-breadcrumb, .wd-breadcrumbs) a:hover {
	color: var(--ed-primary);
}

/* ---------- Product grid cards (shop, archives, related, widgets) ---------- */
.ed-rd .wd-products.wd-grid-g,
.ed-rd .products.wd-grid-g {
	--wd-gap-lg: 18px;
	--wd-gap-sm: 10px;
}

.ed-rd .wd-product.product-grid-item .wd-product-wrapper {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--ed-surface);
	border: 1px solid var(--ed-line);
	border-radius: var(--ed-r);
	padding: 12px 12px 16px;
	box-sizing: border-box;
	transition: box-shadow .25s var(--ed-ease), transform .25s var(--ed-ease), border-color .25s;
}

.ed-rd .wd-product.product-grid-item:hover .wd-product-wrapper {
	border-color: var(--ed-primary-100);
	box-shadow: var(--ed-shadow);
	transform: translateY(-3px);
}

.ed-rd .wd-product .wd-product-thumb {
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	margin-bottom: 12px;
}

.ed-rd .wd-product .wd-product-thumb img {
	aspect-ratio: 1;
	object-fit: contain;
	transition: transform .4s var(--ed-ease);
}

.ed-rd .wd-product:hover .wd-product-thumb img {
	transform: scale(1.04);
}

.ed-rd .wd-product .wd-entities-title {
	font-size: 14px;
	line-height: 1.75;
	font-weight: 600;
	margin-bottom: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 3.5em;
}

.ed-rd .wd-product .wd-product-cats,
.ed-rd .wd-product .wd-product-cats a {
	font-size: 12px;
	color: var(--ed-muted);
}

.ed-rd .wd-product .price,
.ed-rd .wd-product .price .amount {
	color: var(--ed-ink);
	font-weight: 800;
	font-size: 15px;
}

.ed-rd .wd-product .price del,
.ed-rd .wd-product .price del .amount {
	color: var(--ed-muted);
	font-weight: 400;
	font-size: 12.5px;
}

.ed-rd .wd-product .price ins,
.ed-rd .wd-product .price ins .amount {
	color: var(--ed-accent-600);
	text-decoration: none;
}

.ed-rd .wd-product > .wd-product-wrapper > .price,
.ed-rd .wd-product .wd-product-wrapper .price {
	margin-top: auto;
	padding-top: 6px;
}

/* hover action buttons */
.ed-rd .wd-product .wd-buttons {
	border-radius: 12px;
	box-shadow: var(--ed-shadow);
	overflow: hidden;
}

.ed-rd .wd-product .wd-buttons .wd-action-btn > a:hover {
	color: var(--ed-primary);
}

/* labels */
.ed-rd .product-labels .product-label {
	border-radius: 999px !important;
	font-weight: 800;
	font-size: 11.5px;
	padding: 3px 10px;
	min-height: 0;
	line-height: 1.6;
	box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .25);
}

.ed-rd .product-labels .product-label.onsale {
	background: var(--ed-accent);
}

.ed-rd .product-labels .product-label.new {
	background: var(--ed-green);
}

.ed-rd .product-label.out-of-stock {
	background-color: #6c818a !important;
}

/* shop toolbar / sidebar */
.ed-rd :is(.wd-sidebar, .sidebar-container) .widget {
	background: var(--ed-surface);
	border: 1px solid var(--ed-line);
	border-radius: var(--ed-r);
	padding: 18px;
	margin-bottom: 16px;
}

.ed-rd :is(.wd-sidebar, .sidebar-container) .widget-title {
	font-size: 15px;
	font-weight: 800;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--ed-line);
}

.ed-rd .widget_product_categories .product-categories li a:hover,
.ed-rd .widget_product_categories .product-categories li.current-cat > a {
	color: var(--ed-primary);
}

.ed-rd .wd-shop-tools,
.ed-rd .woocommerce-result-count,
.ed-rd .wd-products-per-page {
	color: var(--ed-muted);
}

.ed-rd .woocommerce-ordering select,
.ed-rd select.orderby {
	border-radius: 12px;
	border: 1.5px solid var(--ed-line);
	background-color: #fff;
}

/* category circles (Woodmart product-categories element) */
.ed-rd .wd-cat .wd-cat-thumb,
.ed-rd .category-grid-item .category-image-wrapp {
	border-radius: 50%;
	background: linear-gradient(160deg, #fff, var(--ed-primary-50));
	box-shadow: inset 0 0 0 1px var(--ed-line);
	transition: transform .25s var(--ed-ease), box-shadow .25s;
}

.ed-rd .wd-cat:hover .wd-cat-thumb,
.ed-rd .category-grid-item:hover .category-image-wrapp {
	transform: translateY(-3px);
	box-shadow: inset 0 0 0 1.5px var(--ed-primary-100), var(--ed-shadow);
}

.ed-rd .wd-cat .wd-entities-title,
.ed-rd .category-grid-item .wd-entities-title {
	font-size: 13.5px;
	font-weight: 600;
}

/* pagination / load more */
.ed-rd .wd-load-more,
.ed-rd .wd-products-load-more {
	border-radius: 999px !important;
	padding-inline: 28px !important;
}

.ed-rd :is(.woocommerce-pagination, .wd-pagination) ul li :is(a, span) {
	border-radius: 10px;
	min-width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ed-rd :is(.woocommerce-pagination, .wd-pagination) ul li span.current {
	background: var(--ed-primary);
	color: #fff;
}

/* ---------- Single product ---------- */
.ed-rd.single-product .wd-page-content {
	background: var(--ed-bg) !important;
}

/* product layout (Woodmart layout #793): grey hero band → soft brand tint, summary as a card */
.ed-rd.single-product .elementor-element.elementor-element-39904952 {
	background: linear-gradient(180deg, var(--ed-primary-50), var(--ed-bg)) !important;
}

.ed-rd.single-product .elementor-element.elementor-element-204db5c5 {
	border: 1px solid var(--ed-line);
	box-shadow: var(--ed-shadow-sm);
}

.ed-rd.single-product .product_title,
.ed-rd.single-product .wd-single-title .product_title {
	font-size: clamp(20px, 2.2vw, 28px);
	font-weight: 800;
	line-height: 1.6;
	color: var(--ed-ink);
}

.ed-rd.single-product .woocommerce-product-gallery {
	background: #fff;
	border-radius: var(--ed-r-lg);
	border: 1px solid var(--ed-line);
	padding: 12px;
	box-sizing: border-box;
}

.ed-rd.single-product .woocommerce-product-gallery img {
	border-radius: var(--ed-r);
}

.ed-rd.single-product :is(.summary .price, .wd-single-price .price) {
	color: var(--ed-primary-700) !important;
	font-weight: 900;
	font-size: clamp(22px, 2.4vw, 30px);
}

.ed-rd.single-product :is(.summary .price, .wd-single-price .price) del {
	color: var(--ed-muted) !important;
	font-size: .6em;
	font-weight: 400;
}

.ed-rd.single-product :is(.summary .price, .wd-single-price .price) ins {
	color: var(--ed-accent-600) !important;
	text-decoration: none;
}

.ed-rd .stock.in-stock {
	color: var(--ed-green) !important;
	background: var(--ed-green-50);
	padding: 4px 12px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 13px;
}

.ed-rd .stock.out-of-stock {
	color: var(--ed-red) !important;
	font-weight: 700;
}

.ed-rd form.cart .single_add_to_cart_button,
.ed-rd .single_add_to_cart_button.button {
	min-height: 52px;
	border-radius: 14px !important;
	background: var(--ed-primary) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	box-shadow: 0 10px 22px -10px rgba(10, 143, 168, .7);
	transition: background-color .2s, transform .2s var(--ed-ease);
}

.ed-rd form.cart .single_add_to_cart_button:hover {
	background: var(--ed-primary-700) !important;
	transform: translateY(-1px);
}

.ed-rd div.quantity {
	border-radius: 14px;
	overflow: hidden;
	border: 1.5px solid var(--ed-line);
	background: #fff;
	--wd-form-brd-width: 0px;
}

.ed-rd div.quantity :is(input[type="button"], .minus, .plus) {
	background: transparent;
	color: var(--ed-primary-700);
	font-weight: 800;
	border: 0 !important;
}

.ed-rd div.quantity input.qty {
	border: 0 !important;
	font-weight: 700;
	color: var(--ed-ink);
}

/* sticky add-to-cart bar */
.ed-rd .wd-sticky-btn {
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(10px);
	box-shadow: 0 -10px 30px -14px rgba(16, 42, 51, .3);
	border-top: 1px solid var(--ed-line);
}

.ed-rd .wd-sticky-btn .price {
	color: var(--ed-primary-700);
	font-weight: 900;
}

.ed-rd .wd-sticky-btn .single_add_to_cart_button {
	min-height: 46px;
}

/* tabs / description cards */
.ed-rd .woocommerce-tabs .wd-nav-tabs > li > a,
.ed-rd .wd-nav-tabs > li > a {
	font-weight: 700;
	border-radius: 10px;
}

.ed-rd .wd-nav-tabs > li.active > a,
.ed-rd .wd-nav-tabs > li:hover > a {
	color: var(--ed-primary-700);
}

.ed-rd .shop_attributes th {
	color: var(--ed-primary-700);
	font-weight: 700;
}

.ed-rd .elementor-widget-wd_single_product_additional_info_table table,
.ed-rd .shop_attributes {
	border-radius: var(--ed-r);
	overflow: hidden;
}

/* ---------- Generic buttons & forms ---------- */
.ed-rd :is(.button, .btn, button[type="submit"], input[type="submit"]):not(.wd-action-btn *):not(.searchsubmit):not(.ed-add):not(.wd-carousel-arrow *) {
	border-radius: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.ed-rd :is(.btn-color-primary, .button.alt, .checkout-button, #place_order, .wc-proceed-to-checkout .button) {
	background: var(--ed-primary) !important;
	color: #fff !important;
	border-radius: 14px !important;
	box-shadow: 0 10px 22px -12px rgba(10, 143, 168, .75);
}

.ed-rd :is(.btn-color-primary, .button.alt, .checkout-button, #place_order):hover {
	background: var(--ed-primary-700) !important;
}

.ed-rd :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], textarea, select):not(.qty) {
	border-color: var(--ed-line);
	background-color: #fff;
	color: var(--ed-ink);
	transition: border-color .2s, box-shadow .2s;
}

.ed-rd :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], textarea, select):not(.qty):focus {
	border-color: var(--ed-primary);
	box-shadow: 0 0 0 4px var(--ed-primary-50);
	outline: none;
}

.ed-rd label {
	color: var(--ed-ink);
	font-weight: 600;
}

/* ---------- Notices ---------- */
.ed-rd :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner) {
	border-radius: var(--ed-r);
	box-shadow: var(--ed-shadow-sm);
}

/* ---------- Cart / checkout / my account ---------- */
.ed-rd :is(.woocommerce-cart-form, .cart_totals, .woocommerce-checkout-review-order, .woocommerce-MyAccount-content, .woocommerce-MyAccount-navigation, form.woocommerce-checkout .col2-set, .woocommerce-form-login, .woocommerce-form-register) {
	background: var(--ed-surface);
	border: 1px solid var(--ed-line);
	border-radius: var(--ed-r-lg);
	padding: 20px;
	box-sizing: border-box;
}

.ed-rd .cart_totals .order-total .amount,
.ed-rd .woocommerce-checkout-review-order .order-total .amount {
	color: var(--ed-primary-700);
	font-weight: 900;
}

.ed-rd .woocommerce-MyAccount-navigation ul li a {
	border-radius: 10px;
	padding: 10px 14px;
	font-weight: 600;
}

.ed-rd .woocommerce-MyAccount-navigation ul li.is-active a,
.ed-rd .woocommerce-MyAccount-navigation ul li a:hover {
	background: var(--ed-primary-50);
	color: var(--ed-primary-700);
}

.ed-rd table.shop_table {
	border-radius: var(--ed-r);
	overflow: hidden;
}

/* side cart */
.ed-rd .cart-widget-side,
.ed-rd .wd-side-hidden {
	box-shadow: var(--ed-shadow-lg);
}

.ed-rd .widget_shopping_cart .buttons .checkout {
	background: var(--ed-primary);
	color: #fff;
}

/* ---------- Blog cards (archives) ---------- */
.ed-rd .wd-post .wd-post-inner,
.ed-rd .blog-design-masonry .wd-post-inner {
	background: var(--ed-surface);
	border: 1px solid var(--ed-line);
	border-radius: var(--ed-r-lg);
	overflow: hidden;
	transition: box-shadow .25s, transform .25s var(--ed-ease);
}

.ed-rd .wd-post:hover .wd-post-inner {
	box-shadow: var(--ed-shadow);
	transform: translateY(-3px);
}

.ed-rd .wd-post .wd-post-date {
	background: var(--ed-primary) !important;
	color: #fff;
	border-radius: 12px;
}

/* ---------- Old footer is replaced by .ed-footer ---------- */
.ed-rd .wd-footer.footer-container {
	display: none !important;
}

.ed-rd .ed-footer {
	position: relative;
	margin-top: 64px;
	background: var(--ed-primary-900);
	background-image:
		radial-gradient(900px 400px at 100% 0%, rgba(10, 143, 168, .35), transparent 60%),
		radial-gradient(700px 360px at 0% 100%, rgba(31, 157, 85, .18), transparent 60%);
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
	line-height: 1.9;
}

.ed-rd .ed-footer a {
	color: rgba(255, 255, 255, .85);
	text-decoration: none;
	transition: color .2s;
}

.ed-rd .ed-footer a:hover {
	color: #fff;
}

.ed-rd .ed-footer__cta {
	position: relative;
	top: -40px;
	margin-bottom: -16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 24px 28px;
	border-radius: var(--ed-r-lg);
	background: linear-gradient(120deg, var(--ed-primary-700), var(--ed-primary));
	box-shadow: var(--ed-shadow-lg);
	color: #fff;
}

.ed-rd .ed-footer__cta b {
	display: block;
	font-size: 19px;
	font-weight: 800;
	color: #fff;
}

.ed-rd .ed-footer__cta span {
	font-size: 14px;
	color: rgba(255, 255, 255, .85);
}

.ed-rd .ed-footer__cta-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.ed-rd .ed-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding: 24px 0 40px;
}

.ed-rd .ed-footer h4 {
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	margin: 0 0 16px;
}

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

.ed-rd .ed-footer__col li {
	margin-bottom: 8px;
}

.ed-rd .ed-footer__col li a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ed-rd .ed-footer__col li a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ed-primary-100);
	opacity: .55;
}

.ed-rd .ed-footer__logo img {
	max-width: 132px;
	height: auto;
	background: #fff;
	border-radius: 18px;
	padding: 10px 14px;
}

.ed-rd .ed-footer__brand p {
	margin: 14px 0 18px;
}

.ed-rd .ed-footer__contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 10px;
}

.ed-rd .ed-footer__contact .ed-ico {
	color: var(--ed-primary-100);
	margin-top: 4px;
}

.ed-rd .ed-seals {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ed-rd .ed-seal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 80px;
	background: #fff;
	border-radius: 12px;
	padding: 5px;
	box-sizing: border-box;
	overflow: hidden;
}

.ed-rd .ed-seal img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.ed-rd .ed-footer__complaints {
	margin-top: 14px;
	font-size: 13px;
}

.ed-rd .ed-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: 18px 0 22px;
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
	text-align: center;
}

/* ---------- Mobile bottom toolbar ---------- */
.ed-rd .wd-toolbar {
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px);
	box-shadow: 0 -8px 24px -12px rgba(16, 42, 51, .2);
	border-top: 1px solid var(--ed-line);
}

.ed-rd .wd-toolbar .wd-toolbar-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--ed-text);
}

.ed-rd .wd-toolbar .wd-tools-icon,
.ed-rd .wd-toolbar .wd-toolbar-icon {
	color: var(--ed-primary-700);
}

/* floating chat bubble should not cover the toolbar */
@media (max-width: 1024px) {
	.ed-rd .ed-footer {
		padding-bottom: 64px;
	}
}

/* ---------- Android app badges ---------- */
.ed-rd .ed-apps {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ed-rd .ed-apps__label {
	font-size: 13px;
	font-weight: 700;
	color: var(--ed-muted);
}

.ed-rd .ed-app-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 8px 16px;
	border-radius: 14px;
	border: 1.5px solid transparent;
	background: var(--ed-ink);
	color: #fff !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color .2s, border-color .2s, transform .2s var(--ed-ease), box-shadow .2s;
}

.ed-rd .ed-app-badge:hover {
	transform: translateY(-1px);
	background: #000;
	box-shadow: var(--ed-shadow);
}

.ed-rd .ed-app-badge img,
.ed-rd .ed-app-badge .ed-ico {
	flex: none;
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.ed-rd .ed-app-badge .ed-ico {
	color: #3ddc84;
	stroke-width: 2;
}

.ed-rd .ed-app-badge span {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.ed-rd .ed-app-badge small {
	font-size: 11px;
	font-weight: 500;
	color: rgba(255, 255, 255, .72);
}

.ed-rd .ed-app-badge b {
	font-size: 15px;
	font-weight: 800;
	color: inherit;
}

.ed-rd .ed-apps--dark {
	margin-top: 18px;
}

.ed-rd .ed-apps--dark .ed-app-badge {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .2);
}

.ed-rd .ed-apps--dark .ed-app-badge:hover {
	background: rgba(255, 255, 255, .16);
	border-color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.ed-rd .ed-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}

	.ed-rd .ed-footer__brand {
		grid-column: 1 / -1;
	}

	.ed-rd .whb-general-header :is(.wd-header-my-account, .wd-header-cart) > a {
		width: 42px;
		height: 42px;
		border-radius: 12px;
	}
}

@media (max-width: 768px) {
	.ed-rd .ed-wrap {
		padding-inline: 16px;
	}

	.ed-rd .wd-product.product-grid-item .wd-product-wrapper {
		padding: 8px 8px 12px;
		border-radius: 14px;
	}

	.ed-rd .wd-product .wd-entities-title {
		font-size: 13px;
	}

	.ed-rd .ed-footer__cta {
		padding: 20px;
		top: -32px;
	}

	.ed-rd .ed-footer__cta-actions,
	.ed-rd .ed-footer__cta-actions .ed-btn {
		width: 100%;
	}

	.ed-rd .ed-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px 16px;
	}

	.ed-rd .ed-footer__seals {
		grid-column: 1 / -1;
	}

	.ed-rd .ed-seal {
		width: 76px;
		height: 86px;
	}

	.ed-rd .ed-app-badge {
		flex: 1 1 150px;
		justify-content: center;
	}

	.ed-rd .ed-apps__label {
		flex-basis: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ed-rd *,
	.ed-rd *::before,
	.ed-rd *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
