/* DropShop – main stylesheet (RTL) */
:root {
	--ds-primary: #e30613;
	--ds-accent: #111111;
	--ds-dark: #111111;
	--ds-primary-soft: color-mix(in srgb, var(--ds-primary) 7%, #fff);
	--ds-primary-line: color-mix(in srgb, var(--ds-primary) 22%, #fff);
	--ds-text: #1d2433;
	--ds-muted: #6b7280;
	--ds-border: #e5e9f0;
	--ds-bg: #f6f8fb;
	--ds-card: #ffffff;
	--ds-radius: 16px;
	--ds-shadow: 0 2px 10px rgba(16, 38, 66, .07);
	--ds-shadow-hover: 0 8px 24px rgba(16, 38, 66, .13);
	--ds-container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Heebo", "Segoe UI", Arial, sans-serif;
	color: var(--ds-text);
	background: var(--ds-bg);
	direction: rtl;
	line-height: 1.5;
	font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ds-primary); }
button { font: inherit; cursor: pointer; }
.ds-icon { width: 22px; height: 22px; flex: none; }
.ds-container { max-width: var(--ds-container); margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* Buttons */
.ds-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--ds-primary); color: #fff; border: 0; border-radius: 999px;
	padding: 10px 22px; font-weight: 700; font-size: 15px; line-height: 1.2;
	transition: filter .15s, transform .15s;
}
.ds-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { filter: brightness(1.08); color: #fff; background: var(--ds-primary); }
.ds-btn--accent { background: var(--ds-accent) !important; color: #fff !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce .single_add_to_cart_button { background: var(--ds-primary) !important; color: #fff !important; }

/* Top bar */
.ds-topbar { background: var(--ds-dark); color: #fff; font-size: 14px; font-weight: 500; }
.ds-topbar__inner { display: flex; justify-content: center; gap: 28px; padding-block: 7px; flex-wrap: wrap; }
.ds-topbar a, .ds-topbar span { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.ds-topbar .ds-icon { width: 16px; height: 16px; }

/* Header */
.ds-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--ds-border); }
.ds-header__inner { display: flex; align-items: center; gap: 16px; height: 72px; }
.ds-header__btn {
	display: inline-flex; align-items: center; justify-content: center; position: relative;
	width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; color: var(--ds-text);
}
.ds-header__btn:hover { background: var(--ds-primary-soft); color: var(--ds-primary); }
.ds-menu-toggle .ds-icon { width: 28px; height: 28px; color: var(--ds-primary); }
.ds-logo { flex: none; }
.ds-logo img { max-height: 48px; width: auto; }
.ds-logo__text { font-size: 26px; font-weight: 800; color: var(--ds-primary); letter-spacing: -.5px; }
.ds-search { flex: 1; display: flex; max-width: 560px; margin-inline: auto; background: var(--ds-bg); border: 1px solid var(--ds-border); border-radius: 999px; overflow: hidden; }
.ds-search input[type=search] { flex: 1; border: 0; background: transparent; padding: 11px 18px; font: inherit; outline: none; min-width: 0; }
.ds-search button { border: 0; background: transparent; padding: 0 16px; color: var(--ds-primary); }
.ds-search:focus-within { border-color: var(--ds-primary); box-shadow: 0 0 0 3px var(--ds-primary-soft); }
.ds-header__tools { display: flex; gap: 4px; margin-inline-start: auto; }
.ds-search-toggle { display: none; }
.ds-cart-count {
	position: absolute; top: 2px; inset-inline-start: 2px; min-width: 18px; height: 18px; padding: 0 4px;
	background: var(--ds-primary); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}

/* Category pills */
.ds-pills { border-top: 1px solid var(--ds-border); }
.ds-pills__list { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.ds-pills__list::-webkit-scrollbar { display: none; }
.ds-pills__list > li > a {
	display: block; white-space: nowrap; padding: 8px 18px; border-radius: 10px;
	background: var(--ds-primary-soft); border: 1px solid var(--ds-primary-line); color: var(--ds-text); font-size: 14px; font-weight: 500;
}
.ds-pills__list > li > a:hover, .ds-pills__list > .current-menu-item > a { background: var(--ds-primary); color: #fff; border-color: var(--ds-primary); }

/* Drawer */
.ds-drawer { position: fixed; inset: 0; z-index: 100; }
.ds-drawer[hidden] { display: none; }
.ds-drawer__backdrop { position: absolute; inset: 0; background: rgba(10, 20, 35, .45); }
.ds-drawer__panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(340px, 88vw); background: #fff; overflow-y: auto; padding: 8px 0 80px; animation: ds-slide-in .2s ease; }
@keyframes ds-slide-in { from { transform: translateX(100%); } to { transform: none; } }
.ds-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 12px; border-bottom: 1px solid var(--ds-border); }
.ds-drawer__panel ul { list-style: none; margin: 0; padding: 0; }
.ds-drawer__panel li a { display: block; padding: 12px 20px; border-bottom: 1px solid #f1f3f6; font-weight: 500; }
.ds-drawer__panel ul ul a { padding-inline-start: 36px; font-weight: 400; color: var(--ds-muted); }

/* Hero */
.ds-hero { position: relative; background: #dfe9f3; overflow: hidden; }
.ds-hero__track { position: relative; height: clamp(240px, 34vw, 440px); }
.ds-hero__slide {
	position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: flex; align-items: center;
	background: linear-gradient(120deg, var(--ds-dark) 0%, var(--ds-primary) 100%) center / cover no-repeat;
}
.ds-hero__slide.is-active { opacity: 1; z-index: 1; }
.ds-hero__slide > .ds-container { width: 100%; }
.ds-hero__link { position: absolute; inset: 0; }
.ds-hero__card {
	width: min(460px, 100%); background: rgba(255, 255, 255, .94); border-radius: 18px; padding: 24px 28px;
	text-align: center; box-shadow: var(--ds-shadow-hover); margin-inline-start: auto;
}
.ds-hero__card h2 { margin: 0 0 6px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.2; }
.ds-hero__card p { margin: 0 0 16px; color: #374151; font-size: 17px; }
.ds-hero__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.ds-hero__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .6); padding: 0; transition: width .2s; }
.ds-hero__dots button.is-active { width: 26px; background: #fff; }

/* Brands */
.ds-brands { background: #fff; border-bottom: 1px solid var(--ds-border); }
.ds-brands__row { display: flex; gap: 40px; align-items: center; overflow-x: auto; padding-block: 18px; scrollbar-width: none; justify-content: space-between; }
.ds-brands__row::-webkit-scrollbar { display: none; }
.ds-brands__row img { height: 38px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.ds-brands__row a:hover img { filter: none; opacity: 1; }
.ds-brands__row span { font-weight: 800; font-size: 20px; color: #9aa3b2; white-space: nowrap; }

/* Sections */
.ds-section { padding: 28px 0 8px; }
.ds-section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.ds-section__title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; color: var(--ds-primary); }
.ds-section__more { color: var(--ds-primary); font-weight: 700; font-size: 15px; }

/* Categories */
.ds-cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.ds-cats__item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 500; font-size: 14px; }
.ds-cats__img { width: 100%; aspect-ratio: 1; max-width: 120px; border-radius: 50%; background: #fff; box-shadow: var(--ds-shadow); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform .2s; }
.ds-cats__img img { width: 78%; height: 78%; object-fit: contain; }
.ds-cats__img .ds-icon { width: 40%; height: 40%; color: var(--ds-primary); }
.ds-cats__item:hover .ds-cats__img { transform: translateY(-3px); box-shadow: var(--ds-shadow-hover); }

/* Product grid (shop + shortcodes) */
.woocommerce ul.products, ul.products {
	list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product.ds-card { width: auto; margin: 0; float: none; padding: 0; }

/* Product card */
.ds-card { background: var(--ds-card); border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); transition: box-shadow .2s, transform .2s; position: relative; display: flex; }
.ds-card:hover { box-shadow: var(--ds-shadow-hover); transform: translateY(-2px); }
.ds-card__inner { display: flex; flex-direction: column; width: 100%; padding: 14px; position: relative; }
.ds-card__wish {
	position: absolute; top: 12px; left: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
	border: 0; background: var(--ds-primary); color: #fff; display: flex; align-items: center; justify-content: center;
}
.ds-card__wish .ds-icon { width: 17px; height: 17px; }
.ds-card__wish.is-active .ds-icon { fill: #fff; }
.ds-badges { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.ds-badge { background: var(--ds-primary); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.ds-badge--promo { background: var(--ds-accent); }
.ds-badge--oos { background: #6b7280; }
.ds-card__media { display: block; aspect-ratio: 1; margin-bottom: 10px; position: relative; overflow: hidden; }
/* fixed square image box everywhere – beats WooCommerce's "li.product a img { height:auto }" */
.ds-card__media img:not(.ds-card__stamp),
.woocommerce ul.products li.product a.ds-card__media img:not(.ds-card__stamp),
.woocommerce-page ul.products li.product a.ds-card__media img:not(.ds-card__stamp) { width: 100%; height: 100%; max-height: 100%; object-fit: contain; margin: 0; }
/* brand logo above the card title */
.ds-card__brand { display: flex; align-items: center; height: 26px; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .3px; color: var(--ds-muted); text-transform: uppercase; }
.ds-card__brand img.ds-card__brandimg { height: 100%; width: auto; max-width: 96px; object-fit: contain; object-position: right center; }
/* "DROP מבצע" tag – top-right of sale cards (heart stays top-left); text badges move below it */
.ds-card__saletag { display: block; width: clamp(96px, 48cqw, 160px); height: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .18)); pointer-events: none; }
.ds-card__inner { container-type: inline-size; }
/* "שטל – יבואן רשמי" stamp – bottom-left of the product image (heart top-left, badges top-right) */
.ds-card__media .ds-card__stamp { position: absolute; left: 0; bottom: 0; width: 26%; max-width: 68px; min-width: 40px; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); pointer-events: none; }
.ds-card__body { display: flex; flex-direction: column; flex: 1; text-align: right; }
.ds-card__title { font-weight: 700; font-size: 15.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ds-card__sub { color: var(--ds-muted); font-size: 13px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-card__price { margin-top: auto; padding-top: 10px; font-size: 22px; font-weight: 800; color: var(--ds-text); }
.ds-card__price del { font-size: 14px; color: var(--ds-muted); font-weight: 400; margin-inline-end: 6px; }
.ds-card__price ins { text-decoration: none; color: var(--ds-primary); }
.ds-card__actions { margin-top: 10px; }
.ds-card__actions .button { width: 100%; padding: 9px 12px; font-size: 14px; }
.ds-rollship { background: var(--ds-bg); border-radius: 12px; padding: 10px 14px; margin: 12px 0; font-size: 14px; }
.ds-rollship summary { cursor: pointer; font-weight: 700; }
.ds-rollship table { width: 100%; margin: 8px 0 4px; border-collapse: collapse; }
.ds-rollship td { padding: 5px 4px; border-bottom: 1px solid var(--ds-border); }
.ds-rollship td:last-child { text-align: left; font-weight: 700; white-space: nowrap; }
.ds-rollship p { margin: 6px 0 0; color: var(--ds-muted); font-size: 13px; }
.ds-unit { font-size: .6em; font-weight: 700; color: var(--ds-muted); }
.ds-unit-note { width: 100%; font-size: 13px; color: var(--ds-muted); margin-bottom: 4px; }
.ds-vat-note { margin: -6px 0 10px; color: var(--ds-muted); font-size: 13px; }
.ds-price-quote { font-size: 16px; font-weight: 700; color: var(--ds-muted); }
.single-product .ds-price-quote { font-size: 20px; }
.woocommerce a.button.ds-quote-btn { background: var(--ds-accent) !important; color: #fff !important; }
.woocommerce a.button.ds-quote-btn--lg { padding: 14px 36px; font-size: 17px; }
.ds-card__actions .added_to_cart { display: block; text-align: center; font-size: 13px; margin-top: 6px; color: var(--ds-primary); }

/* Carousel */
.ds-carousel { position: relative; }
.ds-carousel .woocommerce ul.products, .ds-carousel > ul.products {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px * 4) / 5); grid-template-columns: none;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px;
}
.ds-carousel ul.products::-webkit-scrollbar { display: none; }
.ds-carousel li.ds-card { scroll-snap-align: start; }
.ds-carousel__nav {
	position: absolute; top: 40%; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0;
	background: #fff; color: var(--ds-primary); box-shadow: var(--ds-shadow-hover); display: flex; align-items: center; justify-content: center;
}
.ds-carousel__nav--prev { right: -14px; }
.ds-carousel__nav--next { left: -14px; transform: scaleX(-1); }
.ds-carousel__nav[disabled] { opacity: 0; pointer-events: none; }
.ds-carousel .woocommerce { width: 100%; }

/* Pages */
.ds-page { padding-block: 24px 40px; }
.ds-page__title { font-size: 28px; font-weight: 800; margin: 0 0 18px; }
.ds-content { background: #fff; border-radius: var(--ds-radius); padding: 24px; box-shadow: var(--ds-shadow); }
.ds-shop--sidebar { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.ds-shop__sidebar { background: #fff; border-radius: var(--ds-radius); padding: 18px; box-shadow: var(--ds-shadow); }
.ds-widget + .ds-widget { margin-top: 20px; }
.ds-widget__title { font-size: 16px; margin: 0 0 10px; }
.woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--ds-muted); margin-bottom: 12px; }
.woocommerce-products-header__title { font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.woocommerce .woocommerce-result-count { color: var(--ds-muted); font-size: 14px; }
.woocommerce .woocommerce-ordering select { border: 1px solid var(--ds-border); border-radius: 10px; padding: 8px 12px; font: inherit; background: #fff; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 10px; background: #fff; padding: 8px 14px; box-shadow: var(--ds-shadow); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ds-primary); color: #fff; }

/* Single product */
.single-product div.product { background: #fff; border-radius: var(--ds-radius); padding: 24px; box-shadow: var(--ds-shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { width: auto !important; float: none !important; margin: 0; }
.single-product div.product .woocommerce-tabs, .single-product div.product .related, .single-product div.product .upsells { grid-column: 1 / -1; }
.single-product .product_title { font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.single-product div.product p.price, .single-product div.product span.price { font-size: 30px; font-weight: 800; color: var(--ds-text); }
.single-product div.product p.price ins { color: var(--ds-primary); text-decoration: none; }
.single-product div.product form.cart { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.single-product div.product form.cart .single_add_to_cart_button { padding: 14px 36px; font-size: 17px; }
.woocommerce .quantity .qty { border: 1px solid var(--ds-border); border-radius: 999px; padding: 10px; width: 80px; text-align: center; font: inherit; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 10px 10px 0 0; background: var(--ds-bg); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; }
.woocommerce span.onsale { display: none; } /* replaced by our badges */

/* Notices / forms */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 12px; border-top-color: var(--ds-primary); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection--single {
	border: 1px solid var(--ds-border); border-radius: 10px; padding: 10px 12px; min-height: 44px;
}

/* Footer */
.ds-footer { background: var(--ds-dark); color: #cdd6e2; margin-top: 40px; padding-top: 40px; }
.ds-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 32px; }
.ds-footer h3 { color: #fff; font-size: 16px; margin: 0 0 12px; }
.ds-footer__brand { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.ds-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ds-footer a:hover { color: #fff; }
.ds-footer__social { display: flex; gap: 14px; }
.ds-footer__bottom { text-align: center; padding: 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

/* ---------- Homepage: energy / solar feature (front-page.php 1c) ---------- */
.ds-energy__hero { position: relative; border-radius: 22px; overflow: hidden; min-height: 340px; display: flex; align-items: center; background: #1b1d1a; color: #fff; }
.ds-energy__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.ds-energy__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(10, 12, 10, .82) 0%, rgba(10, 12, 10, .55) 45%, rgba(10, 12, 10, 0) 75%); }
.ds-energy__text { position: relative; z-index: 1; max-width: 520px; padding: 34px 36px; }
.ds-energy__kicker { display: inline-block; background: #ffc400; color: #111; font-weight: 800; font-size: 13px; border-radius: 99px; padding: 4px 14px; margin-bottom: 10px; }
.ds-energy__text h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; line-height: 1.15; margin: 0 0 10px; }
.ds-energy__text p { color: rgba(255, 255, 255, .9); font-size: 16px; margin: 0 0 18px; }
.ds-energy__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ds-energy__btns .ds-btn--ghost { color: #fff !important; }
.ds-energy__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 14px; }
.ds-energy__tile { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--ds-border); border-radius: 16px; padding: 12px; transition: transform .15s, box-shadow .15s; }
.ds-energy__tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.ds-energy__timg { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #f6f7f8; border-radius: 12px; overflow: hidden; margin-bottom: 6px; }
.ds-energy__timg img { width: 100%; height: 100%; object-fit: contain; }
.ds-energy__tile b { font-size: 15px; }
.ds-energy__tile small { color: var(--ds-muted); font-size: 12px; }
@media (max-width: 700px) { .ds-energy__hero { min-height: 420px; align-items: flex-end; } .ds-energy__hero::after { background: linear-gradient(0deg, rgba(10, 12, 10, .88) 0%, rgba(10, 12, 10, .5) 55%, rgba(10, 12, 10, .1) 100%); } .ds-energy__text { padding: 22px; } }

/* ---------- Product page (inc/product-page.php) ---------- */
.single-product div.product .product_title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.25; margin: 4px 0 8px; }
.ds-pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--ds-muted); margin: 0 0 12px; }
.ds-pmeta i { font-style: normal; opacity: .4; }
.ds-pmeta b { color: var(--ds-text); font-weight: 700; }
.ds-pmeta a { color: var(--ds-primary); font-weight: 700; }
.ds-pmeta__in { color: #1e8e3e; font-weight: 700; }
.ds-pmeta__out { color: #b42318; font-weight: 700; }
.ds-plabel { font-size: 13px; font-weight: 700; color: var(--ds-muted); margin-bottom: -2px; }
.single-product div.product .summary p.price { font-size: 32px; font-weight: 800; color: var(--ds-primary); margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.single-product div.product .summary p.price del { font-size: 18px; color: var(--ds-muted); font-weight: 500; order: 2; }
.single-product div.product .summary p.price ins { text-decoration: none; order: 1; }
.ds-psave { display: inline-block; background: #fff1f1; color: var(--ds-primary); font-weight: 700; font-size: 13px; border-radius: 99px; padding: 3px 12px; margin: 2px 0 6px; }
.single-product div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 14px 0 6px; }
.single-product div.product form.cart .quantity input.qty { height: 52px; width: 76px; border-radius: 12px; font-size: 17px; font-weight: 700; }
.single-product div.product form.cart .single_add_to_cart_button { flex: 1 1 180px; min-height: 52px; border-radius: 12px; font-size: 17px; font-weight: 800; }
.ds-buynow { flex: 1 1 140px; min-height: 52px; border: 0; border-radius: 12px; background: var(--ds-accent, #111); color: #fff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }
.ds-buynow:hover { filter: brightness(1.25); }
.single-product div.product form.variations_form .single_variation_wrap { width: 100%; }
.single-product div.product form.variations_form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.ds-ptiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 10px; }
.ds-ptile { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ds-border); border-radius: 12px; padding: 10px 12px; background: #fff; }
.ds-ptile__ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #fff1f1; color: var(--ds-primary); display: grid; place-items: center; }
.ds-ptile__ic svg { width: 20px; height: 20px; }
.ds-ptile b { display: block; font-size: 13px; }
.ds-ptile small { display: block; font-size: 12px; color: var(--ds-muted); line-height: 1.35; }
.ds-pask { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #c7ecd2; background: #effaf2; color: #146c2e; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 14px; margin: 0 0 14px; }
.ds-pask svg { width: 18px; height: 18px; }
.ds-pabout { border-top: 1px solid var(--ds-border); padding-top: 12px; }
.ds-pabout h2 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.ds-pabout__body { max-height: 9.5em; overflow: hidden; position: relative; font-size: 15px; line-height: 1.6; }
.ds-pabout__body:not(.is-open)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2.5em; background: linear-gradient(transparent, #fff); }
.ds-pabout__body.is-open { max-height: none; }
.ds-pabout__more { border: 0; background: none; color: var(--ds-primary); font: inherit; font-weight: 700; padding: 4px 0; cursor: pointer; }
@media (max-width: 600px) { .ds-ptiles { grid-template-columns: 1fr; } .ds-ptile { padding: 8px 12px; } }

/* ---------- Quantity tiers (dropshop-core/class-qty-tiers.php) ---------- */
.ds-tiers { width: 100%; display: grid; gap: 12px; margin: 4px 0 6px; }
.ds-tiers__title { text-align: center; font-weight: 800; font-size: 17px; margin-bottom: 2px; }
.ds-tier { position: relative; display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--ds-border); border-radius: 16px; padding: 14px 16px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.ds-tier input { width: 20px; height: 20px; accent-color: var(--ds-primary); flex: none; margin: 0; }
.ds-tier__main { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.ds-tier__main b { font-size: 16px; }
.ds-tier__main small { flex-basis: 100%; color: var(--ds-muted); font-size: 13px; }
.ds-tier__save { font-style: normal; background: #fff1f1; color: var(--ds-primary); font-weight: 700; font-size: 12px; border-radius: 99px; padding: 2px 10px; }
.ds-tier__price { text-align: left; white-space: nowrap; color: var(--ds-muted); font-size: 13px; }
.ds-tier__price b { color: var(--ds-text); font-size: 20px; font-weight: 800; }
.ds-tier__price s { display: block; font-size: 13px; }
.ds-tier--tag::before { content: attr(data-tag); position: absolute; top: -11px; right: 22px; background: var(--ds-accent, #111); color: #fff; font-size: 12px; font-weight: 800; border-radius: 99px; padding: 2px 12px; }
.ds-tier--tag:last-of-type::before { background: var(--ds-primary); }
.ds-tier.is-on { border: 2px solid var(--ds-primary); background: #fff6f6; }
.ds-tiers__total { text-align: center; font-size: 14px; }
.ds-tiers__total span { color: #1e8e3e; font-weight: 700; }

/* ---------- Variation option buttons (inc/product-page.php) ---------- */
.ds-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; }
.ds-swatch { min-width: 64px; min-height: 44px; padding: 8px 16px; border: 2px solid var(--ds-border); border-radius: 12px; background: #fff; font: inherit; font-weight: 700; font-size: 14px; color: var(--ds-text); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.ds-swatch[aria-pressed="true"] { border-color: var(--ds-primary); background: #fff1f1; color: var(--ds-primary); }
.ds-swatch[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.ds-swatch__dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex: none; }
.ds-has-swatches table.variations select { position: absolute !important; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.single-product table.variations { width: 100%; margin-bottom: 6px; }
.single-product table.variations th, .single-product table.variations td { display: block; text-align: right; padding: 0; }
.single-product table.variations th label { font-weight: 800; font-size: 14px; }
.single-product table.variations .reset_variations { font-size: 13px; color: var(--ds-muted); }

/* ---------- Synthetic-grass configurator (inc/grass-configurator.php) ---------- */
.ds-has-grass form.variations_form { display: none !important; }
.ds-grass { --g-acc: var(--ds-primary); --g-soft: #fff1f1; --g-ln: var(--ds-border, #e5e7eb); --g-sf: #f6f7f8;
	border: 1px solid var(--g-ln); border-radius: 18px; padding: 16px; margin: 14px 0; background: #fff; }
.ds-grass__form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.ds-grass button { font-family: inherit; cursor: pointer; line-height: 1.3; }
.ds-grass__lb { font-weight: 700; font-size: 14px; margin-bottom: 6px; display: flex; justify-content: space-between; gap: 6px; }
.ds-grass__lb span { font-weight: 400; color: var(--ds-muted); font-size: 12px; }
.ds-grass__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ds-grass__seg button { border: 2px solid var(--g-ln); background: #fff; border-radius: 12px; padding: 8px; text-align: center; color: var(--ds-text); }
.ds-grass__seg b { display: block; font-size: 15px; }
.ds-grass__seg small { color: var(--ds-muted); font-size: 12px; }
.ds-grass__seg button[aria-pressed="true"] { border-color: var(--g-acc); background: var(--g-soft); }
.ds-grass__seg button[aria-pressed="true"] small { color: var(--g-acc); font-weight: 700; }
.ds-grass__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.ds-grass__chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); gap: 6px; }
.ds-grass__chips button { height: 46px; border: 2px solid var(--g-ln); border-radius: 10px; background: #fff; font-weight: 700; font-size: 15px; color: var(--ds-text); }
.ds-grass__chips button[aria-pressed="true"] { border-color: var(--g-acc); background: var(--g-acc); color: #fff; }
.ds-grass__step { display: grid; grid-template-columns: 46px 1fr 46px; border: 2px solid var(--g-ln); border-radius: 12px; overflow: hidden; height: 46px; }
.ds-grass__step button { border: 0; background: var(--g-sf); font-size: 22px; color: var(--ds-text); }
.ds-grass__step button:disabled { opacity: .35; cursor: not-allowed; }
.ds-grass__step input { border: 0; text-align: center; font: inherit; font-size: 19px; font-weight: 700; width: 100%; -moz-appearance: textfield; appearance: textfield; }
.ds-grass__step input::-webkit-inner-spin-button, .ds-grass__step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ds-grass__step input:disabled { background: #fff; opacity: .6; }
.ds-grass__calc { border: 1px dashed #cfd4d9; border-radius: 12px; padding: 8px 12px; background: var(--g-sf); }
.ds-grass__calc summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.ds-grass__calcin { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; margin-top: 10px; }
.ds-grass__calcin label { font-size: 12px; color: var(--ds-muted); }
.ds-grass__calcin input { width: 100%; height: 40px; border: 2px solid var(--g-ln); border-radius: 10px; text-align: center; font: inherit; font-size: 16px; margin-top: 4px; }
.ds-grass__calcin i { font-style: normal; font-weight: 700; padding-bottom: 10px; }
.ds-grass__rec { font-size: 13px; line-height: 1.6; }
.ds-grass__rec:not(:empty) { margin-top: 8px; }
.ds-grass__rec button { margin-top: 6px; border: 0; background: var(--ds-text); color: #fff; border-radius: 8px; padding: 6px 12px; font-size: 13px; }
.ds-grass__fig { position: relative; padding: 24px 0 0 26px; }
.ds-grass__dl { position: absolute; top: 0; left: 26px; right: 0; text-align: center; font-size: 13px; font-weight: 700; border-bottom: 1.5px solid var(--ds-text); line-height: 20px; }
.ds-grass__dw { position: absolute; top: 24px; bottom: 0; left: 0; width: 20px; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-size: 13px; font-weight: 700; border-right: 1.5px solid var(--ds-text); }
/* turf strip: the chosen length is shown in green, the rest of the roll faded */
.ds-grass__turf { --ds-len: 30%; position: relative; height: 84px; border-radius: 6px; background: repeating-linear-gradient(80deg, #4f8a2e 0 2px, #6fae45 3px, #3f7424 5px); }
.ds-grass__turf::after { content: ""; position: absolute; inset: 0 var(--ds-len) 0 0; background: rgba(255, 255, 255, .55); border-radius: 0 6px 6px 0; }
.ds-grass__area { position: absolute; top: 50%; left: calc(100% - var(--ds-len) / 2); transform: translate(-50%, -50%); z-index: 1; background: rgba(17, 17, 17, .78); color: #fff; font-weight: 800; border-radius: 20px; padding: 3px 12px; white-space: nowrap; }
.ds-grass__area:empty { display: none; }
.ds-grass__buy { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px; }
.ds-grass__sum { background: var(--ds-text); color: #fff; border-radius: 12px; padding: 8px 14px; }
.ds-grass__sum .js-what { font-size: 14px; }
.ds-grass__total { font-size: 24px; font-weight: 800; color: #fff; }
.ds-grass__total s { font-size: 14px; opacity: .6; font-weight: 400; }
.ds-grass__meta { font-size: 12px; opacity: .75; }
.ds-grass__cta { border: 0; border-radius: 12px; background: var(--g-acc); color: #fff; font-size: 18px; font-weight: 800; min-height: 54px; }
.ds-grass__cta:disabled { opacity: .5; cursor: not-allowed; }
.ds-grass__note { margin: -4px 0 0; font-size: 12px; color: var(--ds-muted); text-align: center; }
.ds-grass__sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--ds-border); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; box-shadow: 0 -4px 14px rgba(0, 0, 0, .08); direction: rtl; }
.ds-grass__sticky[hidden] { display: none; }
.ds-grass__sticky div { flex: 1; line-height: 1.25; }
.ds-grass__sticky b { font-size: 20px; display: block; }
.ds-grass__sticky small { color: var(--ds-muted); font-size: 12px; }
.ds-grass__sticky button { border: 0; border-radius: 10px; background: var(--ds-primary); color: #fff; font: inherit; font-weight: 800; padding: 12px 22px; }
@media (min-width: 861px) { .ds-grass__sticky { display: none !important; } }

/* Policy pages (inc/legal.php) */
.ds-legal__lead { font-size: 1.08em; }
.ds-legal__op { margin-top: 2.5em; font-size: 13px; color: #6b7280; font-weight: 400; line-height: 1.5; }
.ds-seller-line { font-size: 12px; color: #6b7280; margin: 0 0 10px; }
.ds-legal__contact { list-style: none; padding: 14px 18px; margin: 0 0 1em; background: var(--ds-bg, #f5f6f8); border-radius: 12px; display: grid; gap: 6px; }
.ds-legal__table { border-collapse: collapse; margin: 0 0 1em; min-width: 280px; }
.ds-legal__table th, .ds-legal__table td { border: 1px solid var(--ds-border, #e5e7eb); padding: 8px 14px; text-align: right; }
.ds-legal__table th { background: var(--ds-bg, #f5f6f8); }
mark.ds-missing { background: #fff3bf; color: #7a5b00; padding: 0 4px; border-radius: 4px; }

/* Bottom bar (mobile) */
.ds-bottombar { display: none; }

/* ---------- Mega menu: category → subcategories → brands ---------- */
.ds-pills .ds-container { position: relative; }
.ds-mega__panel { display: none; }
@media (min-width: 861px) {
	.ds-pills__list.ds-mega { overflow: visible; flex-wrap: wrap; }
	.ds-mega__item { position: static; }
	.ds-mega__item.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); margin-inline-start: 8px; position: relative; top: -2px; }
	.ds-mega__panel {
		/* starts exactly under the pills (overlaps the list's 12px bottom padding) – no dead gap that drops the hover */
		position: absolute; top: calc(100% - 14px); left: 16px; right: 16px; z-index: 80;
		background: #fff; border-radius: 0 0 16px 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .14); border-top: 3px solid var(--ds-primary);
		padding: 20px 24px 16px; max-height: 70vh; overflow-y: auto;
	}
	/* without JS: plain hover; with JS (.ds-mega--js): open/close with a small delay (main.js) */
	.ds-mega:not(.ds-mega--js) .ds-mega__item.has-sub:hover > .ds-mega__panel,
	.ds-mega__item.has-sub.is-open > .ds-mega__panel,
	.ds-mega__item.has-sub:focus-within > .ds-mega__panel { display: block; }
	.ds-mega:not(.ds-mega--js) .ds-mega__item.has-sub:hover > a,
	.ds-mega__item.has-sub.is-open > a { background: var(--ds-primary); color: #fff; border-color: var(--ds-primary); }
}
.ds-mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 24px; }
.ds-mega__sub { display: block; font-weight: 700; color: var(--ds-text); margin-bottom: 6px; padding-bottom: 6px; border-bottom: 1px solid var(--ds-border); }
.ds-mega__sub span { color: var(--ds-muted); font-weight: 400; font-size: 12px; }
.ds-mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ds-mega__col ul a { font-size: 14px; color: var(--ds-muted); }
.ds-mega__col ul a:hover { color: var(--ds-primary); }
.ds-mega__brands { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ds-border); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.ds-mega__brands span { color: var(--ds-muted); }
.ds-mega__brands a { padding: 4px 12px; border-radius: 99px; background: var(--ds-bg); font-weight: 700; }
.ds-mega__item--brands > a { background: var(--ds-dark) !important; color: #fff !important; border-color: var(--ds-dark) !important; }

/* ================= Homepage v2 ================= */
/* Department colour themes */
.ds-theme--tools { --t1: #111111; --t2: #e30613; --tx: #fff; --ts: rgba(255,255,255,.82); }
.ds-theme--clean { --t1: #ffed00; --t2: #ffc400; --tx: #111; --ts: rgba(0,0,0,.72); }
.ds-theme--agri  { --t1: #2d3f17; --t2: #6f8f2a; --tx: #fff; --ts: rgba(255,255,255,.85); }
.ds-theme--grass { --t1: #0c4a2c; --t2: #2fa35b; --tx: #fff; --ts: rgba(255,255,255,.85); }
.ds-theme--energy { --t1: #0b1a2e; --t2: #f59e0b; --tx: #fff; --ts: rgba(255,255,255,.86); }
.ds-theme--energy .ds-cover__shade { background: linear-gradient(270deg, rgba(8,18,34,.92) 0, rgba(8,18,34,.65) 34%, rgba(8,18,34,0) 60%); }
.ds-theme--energy.has-photo .ds-cover__shade::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: #f59e0b; }
@media (max-width: 780px) { .ds-theme--energy .ds-cover__shade { background: linear-gradient(180deg, rgba(8,18,34,.75) 0, rgba(8,18,34,0) 65%); } }

.ds-btn--light { background: #fff !important; color: #111 !important; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.ds-btn--ghost { background: transparent !important; color: inherit !important; border: 2px solid currentColor; }
.ds-btn--wa { background: #25d366 !important; color: #fff !important; }

/* Hero */
.ds-hero2 { position: relative; overflow: hidden; background: #111; }
.ds-hero2 .ds-hero__track { height: clamp(360px, 38vw, 480px); }
.ds-hero2__slide { background: linear-gradient(115deg, var(--t1) 0%, var(--t2) 100%); color: var(--tx); }
.ds-hero2__slide::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(255,255,255,.22), transparent 55%); pointer-events: none; }
.ds-hero2__img { background-size: cover; background-position: center; color: #fff; }
.ds-hero2__img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0,0,0,.6), transparent 70%); }
.ds-hero2__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px; }
.ds-hero2__text { position: relative; z-index: 1; max-width: 520px; }
.ds-hero2__eyebrow { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 99px; background: rgba(255,255,255,.18); margin-bottom: 12px; }
.ds-theme--clean .ds-hero2__eyebrow { background: rgba(0,0,0,.1); }
.ds-hero2__text h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.1; margin: 0 0 12px; font-weight: 800; }
.ds-hero2__text p { font-size: clamp(15px, 1.4vw, 19px); margin: 0 0 22px; color: var(--ts); }
.ds-hero2__img .ds-hero2__text { margin-inline-start: 0; padding-top: 80px; }
.ds-hero2__stage { position: relative; height: 86%; }
.ds-hero2__main, .ds-hero2__side { position: absolute; background: #fff; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.28); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ds-hero2__main { inset-inline-start: 18%; top: 4%; width: 58%; aspect-ratio: 1; }
.ds-hero2__side--a { inset-inline-start: 0; bottom: 4%; width: 30%; aspect-ratio: 1; transform: rotate(-4deg); }
.ds-hero2__side--b { inset-inline-end: 0; top: 0; width: 26%; aspect-ratio: 1; transform: rotate(5deg); }
.ds-hero2__main img, .ds-hero2__side img { width: 88%; height: 88%; object-fit: contain; }
.ds-hero2__slide.is-active .ds-hero2__main { animation: ds-pop .7s ease both; }
.ds-hero2__slide.is-active .ds-hero2__side { animation: ds-pop .7s .15s ease both; }
@keyframes ds-pop { from { opacity: 0; transform: translateY(18px) scale(.96); } }

/* Designed covers (SVG art / lifestyle photo) behind the hero */
.ds-cover { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ds-cover__svg, .ds-cover__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-cover__photo { object-position: 30% center; animation: ds-kenburns 14s ease-out both; }
@keyframes ds-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.ds-cover__shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ds-hero2__slide.has-cover::before { display: none; }
.ds-hero2__slide.has-cover .ds-hero2__inner { z-index: 1; }
.ds-theme--clean .ds-cover__shade { background: linear-gradient(270deg, rgba(255,237,0,.97) 0, rgba(255,237,0,.88) 30%, rgba(255,237,0,0) 58%); }
.ds-theme--agri .ds-cover__shade { background: linear-gradient(270deg, rgba(35,51,15,.9) 0, rgba(35,51,15,.6) 32%, rgba(35,51,15,0) 58%); }
.ds-theme--grass .ds-cover__shade { background: linear-gradient(270deg, rgba(12,74,44,.9) 0, rgba(12,74,44,.55) 32%, rgba(12,74,44,0) 58%); }
.ds-theme--tools .ds-cover__shade { background: linear-gradient(270deg, rgba(10,10,10,.9) 0, rgba(10,10,10,.6) 32%, rgba(10,10,10,0) 58%); }
.ds-theme--tools.has-photo .ds-cover__shade::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--ds-primary); }
.ds-hero2__text h2 { text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.ds-theme--clean .ds-hero2__text h2 { text-shadow: none; }
@media (max-width: 860px) {
	.ds-theme--clean .ds-cover__shade { background: linear-gradient(180deg, rgba(255,237,0,.97) 0, rgba(255,237,0,.85) 42%, rgba(255,237,0,0) 70%); }
	.ds-theme--agri .ds-cover__shade { background: linear-gradient(180deg, rgba(35,51,15,.92) 0, rgba(35,51,15,.6) 45%, rgba(35,51,15,0) 72%); }
	.ds-theme--grass .ds-cover__shade { background: linear-gradient(180deg, rgba(12,74,44,.92) 0, rgba(12,74,44,.55) 45%, rgba(12,74,44,0) 72%); }
	.ds-theme--tools .ds-cover__shade { background: linear-gradient(180deg, rgba(0,0,0,.6) 0, rgba(0,0,0,0) 60%); }
	.ds-cover__photo { object-position: 25% 70%; }
}

/* Brand strip under the hero – endless marquee */
/* direction:ltr – in an RTL page the max-content track would hang from the right edge and leave a gap */
.ds-marquee { background: #fff; border-bottom: 1px solid var(--ds-border); overflow: hidden; position: relative; padding: 14px 0; direction: ltr; }
.ds-marquee::before, .ds-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ds-marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.ds-marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.ds-marquee__track { display: flex; width: max-content; direction: ltr; animation: ds-marquee var(--ds-marquee-time, 40s) linear infinite; }
.ds-marquee:hover .ds-marquee__track, .ds-marquee:focus-within .ds-marquee__track { animation-play-state: paused; }
.ds-marquee__group { display: flex; align-items: center; gap: 18px; padding-inline-end: 18px; }
.ds-marquee__item { flex: none; width: 150px; height: 64px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ds-border); border-radius: 14px; background: #fff; padding: 8px 14px; transition: box-shadow .2s, border-color .2s; }
.ds-marquee__item:hover { box-shadow: var(--ds-shadow-hover); border-color: transparent; }
.ds-marquee__item img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; transition: transform .2s; }
.ds-marquee__item:hover img { transform: scale(1.06); }
.ds-marquee__item--text span { font-weight: 800; font-size: 17px; letter-spacing: .5px; color: var(--ds-dark); white-space: nowrap; }
.ds-marquee__item--text:hover span { color: var(--ds-primary); }
@keyframes ds-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ds-marquee__track { animation: none; }
	.ds-marquee { overflow-x: auto; }
}
@media (max-width: 600px) {
	.ds-marquee { padding: 10px 0; }
	.ds-marquee__item { width: 110px; height: 50px; }
	.ds-marquee__item img { max-height: 34px; }
	.ds-marquee::before, .ds-marquee::after { width: 30px; }
}

/* Benefits bar */
.ds-usp { background: #fff; border-bottom: 1px solid var(--ds-border); }
.ds-usp__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-block: 16px; }
.ds-usp__item { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ds-usp__item .ds-icon { width: 34px; height: 34px; color: var(--ds-primary); background: var(--ds-primary-soft); padding: 7px; border-radius: 12px; }
.ds-usp__item b { display: block; font-size: 15px; }
.ds-usp__item span { display: block; font-size: 13px; color: var(--ds-muted); }

/* Departments */
.ds-depts2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ds-dept2 { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, var(--t1), var(--t2)); color: var(--tx); box-shadow: var(--ds-shadow); transition: transform .2s, box-shadow .2s; }
.ds-dept2:hover { color: var(--tx); transform: translateY(-4px); box-shadow: var(--ds-shadow-hover); }
.ds-dept2__imgs { position: relative; height: 190px; }
.ds-dept2__img { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ds-dept2__img img { width: 86%; height: 86%; object-fit: contain; }
.ds-dept2__img--0 { width: 58%; aspect-ratio: 1; top: 16px; inset-inline-start: 21%; z-index: 2; }
.ds-dept2__img--1 { width: 36%; aspect-ratio: 1; top: 48px; inset-inline-start: 6%; transform: rotate(-6deg); }
.ds-dept2__img--2 { width: 36%; aspect-ratio: 1; top: 48px; inset-inline-end: 6%; transform: rotate(6deg); }
.ds-dept2__body { padding: 14px 18px 18px; display: grid; gap: 6px; margin-top: auto; }
.ds-dept2__body b { font-size: 19px; font-weight: 800; line-height: 1.25; }
.ds-dept2__body span { font-size: 13.5px; color: var(--ts); }
.ds-dept2__body em { font-style: normal; font-weight: 700; font-size: 14px; }

/* Seasonal banner */
.ds-season { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 20px; border-radius: 26px; overflow: hidden; padding: 34px 40px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.14), transparent 40%), linear-gradient(120deg, #23330f, #5e7b23 60%, #8aa83a); }
.ds-season__tag { display: inline-block; background: rgba(255,255,255,.16); border-radius: 99px; padding: 4px 12px; font-weight: 700; font-size: 13px; }
.ds-season h2 { font-size: clamp(26px, 3vw, 40px); margin: 10px 0 8px; font-weight: 800; }
.ds-season p { margin: 0 0 18px; color: rgba(255,255,255,.86); font-size: 16px; max-width: 520px; }
.ds-season__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ds-season__imgs { position: relative; height: 240px; }
.ds-season__img { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 14px 30px rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 1; }
.ds-season__img img { width: 88%; height: 88%; object-fit: contain; }
.ds-season__img--0 { width: 46%; top: 0; inset-inline-start: 27%; z-index: 2; }
.ds-season__img--1 { width: 34%; bottom: 0; inset-inline-start: 0; transform: rotate(-5deg); }
.ds-season__img--2 { width: 34%; bottom: 0; inset-inline-end: 0; transform: rotate(5deg); }

/* Categories – 12 */
.ds-cats--12 { grid-template-columns: repeat(6, 1fr); }

/* Promo banners */
.ds-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ds-promo { position: relative; min-height: 230px; border-radius: 22px; overflow: hidden; display: flex; align-items: flex-end; padding: 22px 24px; color: #fff; background: linear-gradient(120deg, var(--t1), var(--t2)); box-shadow: var(--ds-shadow); }
.ds-promo:hover { color: #fff; box-shadow: var(--ds-shadow-hover); }
.ds-promo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ds-promo:hover .ds-promo__bg { transform: scale(1.04); }
.ds-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent 65%); }
.ds-promo--product::after { background: none; }
.ds-promo__product { position: absolute; inset-inline-end: 18px; top: 50%; transform: translateY(-50%); width: 42%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.ds-promo__text { position: relative; z-index: 1; display: grid; gap: 4px; max-width: 55%; }
.ds-promo:not(.ds-promo--product) .ds-promo__text { max-width: 80%; }
.ds-promo__text b { font-size: clamp(20px, 2vw, 26px); font-weight: 800; line-height: 1.2; }
.ds-promo__text span { font-size: 14px; opacity: .9; }
.ds-promo__text em { font-style: normal; display: inline-block; margin-top: 6px; background: var(--ds-primary); color: #fff; border-radius: 99px; padding: 5px 14px; font-weight: 800; width: max-content; }

/* Brand wall */
.ds-brandwall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ds-brandwall a { background: #fff; border: 1px solid var(--ds-border); border-radius: 16px; height: 86px; display: flex; align-items: center; justify-content: center; padding: 12px; transition: .2s; }
.ds-brandwall a:hover { box-shadow: var(--ds-shadow-hover); border-color: transparent; }
.ds-brandwall img { max-height: 52px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(.2); }

/* Help block */
.ds-help { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 22px; padding: 22px 26px; box-shadow: var(--ds-shadow); border: 1px solid var(--ds-border); }
.ds-help__icon .ds-icon { width: 52px; height: 52px; color: #fff; background: var(--ds-primary); border-radius: 16px; padding: 12px; }
.ds-help__text { flex: 1; display: grid; gap: 2px; }
.ds-help__text b { font-size: 19px; }
.ds-help__text span { color: var(--ds-muted); }
.ds-help__btns { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1100px) {
	.ds-depts2 { grid-template-columns: repeat(2, 1fr); }
	.ds-cats--12 { grid-template-columns: repeat(4, 1fr); }
	.ds-brandwall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
	.ds-hero2 .ds-hero__track { height: 520px; }
	.ds-hero2__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 8px; padding-top: 26px; }
	.ds-hero2__text { text-align: center; margin: 0 auto; }
	.ds-hero2__stage { height: 260px; max-width: 420px; width: 100%; margin: 0 auto; }
	.ds-usp__row { grid-template-columns: repeat(2, 1fr); }
	.ds-season { grid-template-columns: 1fr; padding: 26px 22px; }
	.ds-season__imgs { height: 200px; }
	.ds-promos { grid-template-columns: 1fr; }
	.ds-help { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
	.ds-depts2 { grid-template-columns: 1fr 1fr; gap: 10px; }
	.ds-dept2__imgs { height: 130px; }
	.ds-dept2__body { padding: 10px 12px 14px; }
	.ds-dept2__body b { font-size: 15px; }
	.ds-dept2__body span { display: none; }
	.ds-cats--12 { grid-template-columns: repeat(3, 1fr); }
	.ds-brandwall { grid-template-columns: repeat(3, 1fr); }
	.ds-brandwall a { height: 66px; }
	.ds-usp__item b { font-size: 13px; }
	.ds-usp__item span { font-size: 11.5px; }
	.ds-hero2__text h2 { font-size: 26px; }
	.ds-promo__product { width: 38%; }
}

/* Homepage departments */
.ds-depts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ds-dept { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 150px; padding: 20px 24px; border-radius: 20px; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--ds-dark), var(--ds-primary)); box-shadow: var(--ds-shadow); }
.ds-dept:nth-child(2) { background: linear-gradient(120deg, #0b4f8a, #1aa1e0); }
.ds-dept:hover { color: #fff; box-shadow: var(--ds-shadow-hover); }
.ds-dept__text { position: relative; z-index: 1; display: grid; gap: 6px; }
.ds-dept__text b { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; }
.ds-dept__text span { font-size: 14px; opacity: .9; }
.ds-dept__img { width: 140px; height: 140px; object-fit: contain; background: #fff; border-radius: 16px; padding: 8px; }
@media (max-width: 600px) { .ds-depts { grid-template-columns: 1fr; } .ds-dept { min-height: 110px; } .ds-dept__img { width: 90px; height: 90px; } }

/* Drawer accordion */
.ds-drawer__root { display: block; font-size: 15px !important; color: var(--ds-primary) !important; border-top: 1px solid var(--ds-border); margin-top: 6px; }
.ds-drawer__label { padding: 14px 20px 6px; font-size: 12px; font-weight: 700; color: var(--ds-muted); letter-spacing: .5px; }
.ds-drawer__panel details { border-bottom: 1px solid #f1f3f6; }
.ds-drawer__panel summary, .ds-drawer__top { display: block; padding: 12px 20px; font-weight: 700; cursor: pointer; list-style: none; border-bottom: 1px solid #f1f3f6; }
.ds-drawer__panel summary::-webkit-details-marker { display: none; }
.ds-drawer__panel summary::after { content: "+"; float: left; color: var(--ds-primary); font-weight: 800; }
.ds-drawer__panel details[open] summary::after { content: "–"; }
.ds-drawer__panel details ul a { padding: 9px 36px 9px 20px; font-weight: 400; color: var(--ds-text); }
.ds-drawer__brands { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 20px 20px; }
.ds-drawer__brands a { padding: 6px 12px; border: 1px solid var(--ds-border); border-radius: 99px; font-size: 14px; font-weight: 700; }

/* Archive: subcategory tiles */
.ds-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 6px 0 18px; }
.ds-tile { background: #fff; border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); padding: 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: .2s; }
.ds-tile:hover { box-shadow: var(--ds-shadow-hover); transform: translateY(-2px); }
.ds-tile__img { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.ds-tile__img img { width: 100%; height: 100%; object-fit: contain; }
.ds-tile__img .ds-icon { width: 40%; height: 40%; color: var(--ds-primary); }
.ds-tile__name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.ds-tile__count { font-size: 12px; color: var(--ds-muted); }

/* Archive: brand filter chips */
.ds-brandbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #fff; border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); padding: 10px 14px; margin-bottom: 16px; }
.ds-brandbar__label { font-weight: 700; font-size: 14px; margin-inline-end: 4px; }
.ds-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--ds-border); border-radius: 99px; background: #fff; font-size: 14px; font-weight: 700; min-height: 38px; }
.ds-chip span { color: var(--ds-muted); font-weight: 400; font-size: 12px; }
.ds-chip:hover { border-color: var(--ds-primary); }
.ds-chip.is-active { border-color: var(--ds-primary); background: var(--ds-primary-soft); box-shadow: inset 0 0 0 1px var(--ds-primary); }
.ds-chip__logo { height: 22px; width: auto; max-width: 90px; object-fit: contain; }

/* Brand header (brand page / filtered category) */
.ds-brandhead { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); padding: 14px 18px; margin-bottom: 14px; }
.ds-brandhead__logo { height: 54px; width: auto; max-width: 200px; object-fit: contain; }
.ds-brandhead__name { font-size: 22px; font-weight: 800; }
.ds-brandhead__count { color: var(--ds-muted); font-size: 14px; }
.ds-brandhead a { font-size: 14px; color: var(--ds-primary); font-weight: 700; }
.ds-brandcats { display: grid; gap: 10px; margin-bottom: 18px; }
.ds-brandcats__group { background: #fff; border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); padding: 12px 16px; }
.ds-brandcats__top { display: inline-block; font-weight: 800; font-size: 17px; margin-bottom: 8px; }
.ds-brandcats__top span { color: var(--ds-muted); font-weight: 400; font-size: 13px; }
.ds-brandcats__subs { display: flex; flex-wrap: wrap; gap: 8px; }

/* Product page brand logo */
.ds-pbrand { display: inline-flex; align-items: center; margin-bottom: 6px; font-weight: 800; color: var(--ds-muted); }
.ds-pbrand__logo { height: 34px; width: auto; max-width: 150px; object-fit: contain; }

/* Brands index */
.ds-brandgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.ds-brandgrid__item { background: #fff; border: 1px solid var(--ds-border); border-radius: var(--ds-radius); padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: .2s; }
.ds-brandgrid__item:hover { box-shadow: var(--ds-shadow-hover); border-color: transparent; }
.ds-brandgrid__logo { height: 64px; display: flex; align-items: center; justify-content: center; }
.ds-brandgrid__logo img { max-height: 64px; width: auto; max-width: 150px; object-fit: contain; }
.ds-brandgrid__logo b { font-size: 22px; }
.ds-brandgrid__name { font-weight: 700; }
.ds-brandgrid__count { color: var(--ds-muted); font-size: 13px; }

/* Countdown (from DropShop Core) */
.ds-countdown { display: inline-flex; align-items: center; gap: 8px; background: var(--ds-primary-soft); color: var(--ds-primary); border: 1px dashed var(--ds-primary); border-radius: 12px; padding: 8px 14px; font-weight: 700; margin: 8px 0 14px; }
.ds-countdown__time { font-variant-numeric: tabular-nums; direction: ltr; }

/* Responsive */
@media (max-width: 1100px) {
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ds-carousel .woocommerce ul.products, .ds-carousel > ul.products { grid-auto-columns: calc((100% - 16px * 3) / 4); }
	.ds-cats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
	.ds-search { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; border-radius: 0; max-width: none; background: #fff; border-inline: 0; }
	.ds-search.is-open { display: flex; }
	.ds-search-toggle { display: inline-flex; }
	.ds-header__inner { height: 60px; position: relative; }
	.ds-logo { position: absolute; left: 50%; transform: translateX(-50%); }
	.ds-logo img { max-height: 38px; }
	.ds-hide-mobile { display: none; }
	.ds-pills__list { justify-content: flex-start; padding: 10px 0; }
	.ds-hero__card { margin-inline: auto; padding: 16px; }
	.ds-hero__card p { font-size: 15px; }
	.ds-shop--sidebar, .single-product div.product { grid-template-columns: 1fr; }
	.ds-footer__grid { grid-template-columns: 1fr 1fr; }
	.ds-footer__grid > div:first-child { grid-column: 1 / -1; }
	.ds-brandhead__logo { height: 40px; }
	.ds-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	body { padding-bottom: 64px; }
	.ds-bottombar {
		display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
		background: #fff; box-shadow: 0 -2px 12px rgba(0, 0, 0, .08); padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
	}
	.ds-bottombar > * { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; color: #4b5563; background: none; border: 0; position: relative; }
	.ds-bottombar .is-active { color: var(--ds-primary); font-weight: 700; }
	.ds-bottombar .ds-cart-count { top: -4px; inset-inline-start: calc(50% - 22px); }
}
@media (max-width: 600px) {
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ds-carousel .woocommerce ul.products, .ds-carousel > ul.products { grid-auto-columns: 46%; gap: 10px; }
	.ds-carousel__nav { display: none; }
	.ds-card__inner { padding: 10px; }
	.ds-card__title { font-size: 14px; }
	.ds-card__price { font-size: 18px; }
	.ds-card__wish { width: 30px; height: 30px; top: 8px; left: 8px; }
	.ds-badges { top: 8px; right: 8px; }
	.ds-cats { grid-template-columns: repeat(4, 1fr); gap: 10px; }
	.ds-cats__item { font-size: 12px; }
	.ds-topbar__note { display: none !important; }
}
