/* =======================================================
   JeKaDo — main stylesheet
   Brand: navy #1E3A8A · cyan #06B6D4 · yellow #FBBF24
          bg #F8FAFC · dark #1F2937
   Headings: Poppins · Body: Inter
   ======================================================= */

:root {
	--navy: #1E3A8A;
	--navy-dark: #16296b;
	--cyan: #06B6D4;
	--cyan-dark: #0596b0;
	--yellow: #FBBF24;
	--yellow-dark: #e5a90f;
	--pink: #ec4899;
	--bg-light: #F8FAFC;
	--dark: #1F2937;
	--white: #ffffff;
	--border: #e5eaf1;
	--text: #1F2937;
	--text-muted: #6b7280;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px -12px rgba(30, 58, 138, 0.18);
	--container: 1280px;
	--font-heading: 'Poppins', sans-serif;
	--font-body: 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text);
	background: var(--white);
	line-height: 1.6;
	font-size: 16px;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--navy); margin: 0 0 .5em; line-height: 1.2; }
button { font-family: inherit; cursor: pointer; }
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	height: 1px; width: 1px;
}

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

.icon { width: 1em; height: 1em; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	border: 2px solid transparent;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-cyan { background: var(--cyan); color: var(--white); }
.btn-cyan:hover { background: var(--cyan-dark); }
.btn-navy-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-navy-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Top bar ---------- */
.top-bar { background: var(--navy); color: #cbd8f5; font-size: 0.82rem; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 24px; gap: 16px; }
.top-bar-messages { display: flex; gap: 24px; flex-wrap: wrap; }
.top-bar-messages li { display: flex; align-items: center; gap: 6px; }
.top-bar-messages .icon { width: 14px; height: 14px; color: var(--yellow); }
.top-bar-social { display: flex; gap: 12px; }
.top-bar-social a {
	display: flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; border-radius: 50%;
	background: rgba(255,255,255,0.12); font-size: 0.65rem; font-weight: 700; letter-spacing: .02em;
}
.top-bar-social a:hover { background: var(--cyan); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 0 24px; }
.site-branding { flex-shrink: 0; }
/* !important below is deliberate: WooCommerce's own stylesheet ships a
   ".woocommerce img" rule that is MORE specific than a single class selector,
   so on any WooCommerce-templated page (shop/product/cart/checkout/account)
   it would otherwise override this and render the logo at its full native
   pixel size — which was blowing out the header layout and pushing the nav
   off-screen on every page except the (non-WooCommerce) homepage. */
.logo-img, .custom-logo, img.custom-logo {
	height: 100px !important;
	width: auto !important;
	max-width: none !important;
	object-fit: cover;
	object-position: top;
}
.site-logo { display: block; overflow: hidden; height: 100px; }

.main-navigation { flex: 1; }
#primary-menu { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
#primary-menu > li { position: relative; }
#primary-menu > li > a {
	font-weight: 600; font-size: 0.95rem; color: var(--dark);
	padding: 10px 2px; display: inline-block; border-bottom: 2px solid transparent;
}
#primary-menu > li > a:hover,
#primary-menu > li.current-menu-item > a { color: var(--navy); border-color: var(--cyan); }

/* dropdown support if editor adds sub-menus */
#primary-menu ul.sub-menu {
	display: none; position: absolute; top: 100%; left: 0; background: var(--white);
	box-shadow: var(--shadow); border-radius: var(--radius-sm); padding: 8px; min-width: 200px; z-index: 20;
}
#primary-menu li:hover > ul.sub-menu { display: block; }
#primary-menu ul.sub-menu li a { display: block; padding: 8px 12px; border-radius: 6px; font-weight: 500; }
#primary-menu ul.sub-menu li a:hover { background: var(--bg-light); }

.menu-toggle {
	display: none; background: none; border: none; padding: 6px;
	width: 40px; height: 40px; align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 24px; height: 24px; color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-icon-btn {
	position: relative; display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; background: transparent; border: none;
	color: var(--navy);
}
.header-icon-btn:hover { background: var(--bg-light); }
.header-icon-btn .icon { width: 20px; height: 20px; }
.cart-btn .cart-count {
	position: absolute; top: 0; right: 0; background: var(--yellow); color: var(--dark);
	font-size: 0.65rem; font-weight: 700; border-radius: 50%; width: 18px; height: 18px;
	display: flex; align-items: center; justify-content: center;
}
.cart-total-display { font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-left: 4px; white-space: nowrap; }

.header-search-panel { display: none; border-top: 1px solid var(--border); padding: 14px 0; background: var(--bg-light); }
.header-search-panel.is-open { display: block; }
.site-search-form { display: flex; max-width: 480px; margin: 0 auto; }
.search-field { flex: 1; border: 1px solid var(--border); border-radius: 999px 0 0 999px; padding: 10px 16px; font-family: inherit; }
.search-submit { border: none; background: var(--navy); color: var(--white); border-radius: 0 999px 999px 0; padding: 0 18px; }

/* ---------- Hero ----------
   The photo is a real CSS background-image on the section itself (set inline
   per-page in front-page.php so it can come from the Customizer), anchored
   toward the bottom-right so the product cluster stays visible while the
   text overlays the image's open left/top area — same technique as the
   approved reference mockup, rather than a separate foreground <img>. */
.hero {
	position: relative;
	background-color: var(--bg-light);
	background-repeat: no-repeat;
	background-position: 100% 75%;
	background-size: cover;
	min-height: 520px;
	display: flex;
	align-items: center;
}
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 48px; padding-bottom: 48px; }
.hero-eyebrow, .hero-title { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 2.6rem; line-height: 1.15; }
.hero-eyebrow { color: var(--navy); }
.hero-title { color: var(--cyan); }
.hero-copy { max-width: 480px; }
.hero-text { color: var(--text-muted); font-size: 1.05rem; margin: 18px 0 28px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Category tiles ----------
   One white rounded card overlapping the bottom of the hero, tiles laid out
   in a row with thin dividers between them (icon beside content, not
   stacked) — matches the reference "service-tiles" component. */
.category-tiles { position: relative; z-index: 5; margin-top: -56px; padding-bottom: 40px; }
.tiles-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	background: var(--white);
	border-radius: 28px;
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}
.tile {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px 18px;
	text-align: left;
	border-right: 1px solid var(--border);
	transition: background .2s ease;
}
.tile:last-child { border-right: none; }
.tile:hover { background: var(--bg-light); }
.tile-icon {
	width: 60px; height: 60px; min-width: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.tile-icon .icon { width: 28px; height: 28px; }
.tile-icon-navy { background: #e4e9f7; color: var(--navy); }
.tile-icon-cyan { background: #d9f6fb; color: var(--cyan); }
.tile-icon-pink { background: #fde3ef; color: var(--pink); }
.tile-icon-yellow { background: #fef3d9; color: var(--yellow-dark); }
.tile-icon-purple { background: #ede9fe; color: #7c3aed; }
.tile-content h3 { font-size: 1.05rem; margin-bottom: 4px; }
.tile-content p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; margin: 0 0 8px; }
.tile-link { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan-dark); font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.tile-link .icon { width: 14px; height: 14px; transition: transform .15s ease; }
.tile-link:hover .icon { transform: translateX(3px); }

/* ---------- Bestsellers ---------- */
.bestsellers { padding: 40px 0 56px; }
.bestsellers-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section-kicker { color: var(--yellow-dark); font-weight: 700; font-size: 0.8rem; letter-spacing: .04em; text-transform: uppercase; }
.bestsellers-head h2 { margin: 6px 0 0; font-size: 1.8rem; }

.bestsellers-carousel { position: relative; display: flex; align-items: center; gap: 12px; }
ul.products.bestseller-track {
	display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: 4px 4px 10px; flex: 1; scrollbar-width: thin;
}
ul.products.bestseller-track::-webkit-scrollbar { height: 6px; }
ul.products.bestseller-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }

.carousel-arrow {
	flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
	background: var(--white); font-size: 1.4rem; color: var(--navy); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.carousel-arrow:hover { background: var(--navy); color: var(--white); }

/* product card (shared by carousel + shop/category grids) — badge, image,
   category label, title, star rating, price + round icon cart button. */
li.product-card {
	list-style: none; flex: 0 0 260px; scroll-snap-align: start;
	background: var(--white); border-radius: 22px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
	overflow: hidden; position: relative;
	transition: box-shadow .25s ease, transform .25s ease;
	/* Stretch to the full row height (grid rows/flex rows both do this by
	   default already) and lay the body out as a column so the footer below
	   can be pinned to the bottom regardless of how tall the title/rating
	   above it end up — that's what keeps price+button aligned card to card. */
	display: flex; flex-direction: column; height: 100%;
}
li.product-card:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12); transform: translateY(-6px); }
.product-card-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-light); position: relative; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
li.product-card:hover .product-card-media img { transform: scale(1.06); }

.product-badge {
	position: absolute; top: 14px; left: 14px; z-index: 5;
	color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}
.badge-navy { background: var(--navy); }
.badge-cyan { background: var(--cyan); }
.badge-yellow { background: var(--yellow); color: var(--dark); }
.badge-pink { background: var(--pink); }

/* flex column + the footer's margin-top:auto is what pins price/button to the
   bottom of every card, regardless of whether this card's title wraps to one
   line or two, or whether it has a star rating — the title reserves space for
   2 lines up front (min-height + line-clamp) so that part doesn't shift either. */
.product-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card-category { display: block; color: var(--text-muted); font-size: 0.78rem; margin-bottom: 6px; }
.product-card-title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
	overflow: hidden; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem;
	line-height: 1.35; min-height: calc(1.35em * 2); color: var(--dark); margin-bottom: 8px;
}
.product-card-title:hover { color: var(--navy); }
.product-card-rating { margin-bottom: 10px; min-height: 1.2em; }
.product-card-rating:empty { display: none; margin: 0; min-height: 0; }
.product-card-rating .star-rating { font-size: 0.9rem; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.product-card-price { font-weight: 700; font-size: 1.15rem; color: var(--navy); font-family: var(--font-heading); }
.product-card-price del { color: var(--text-muted); font-weight: 400; font-size: 0.9rem; margin-right: 6px; }
.product-card-price ins { text-decoration: none; }

/* Scoped with .product-card-footer/.bestseller-track ancestors (rather than
   the bare .add-to-cart-btn class) so this reliably beats WooCommerce's own
   plugin CSS, which styles `.button` with a same-or-higher-specificity rule
   of its own (separate from the theme's single-product ":not()" fix above). */
.product-card-footer a.add-to-cart-btn,
.product-card-footer a.add_to_cart_button,
.product-card-footer .add-to-cart-btn,
.bestseller-track a.add-to-cart-btn,
.bestseller-track .add-to-cart-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); color: var(--white);
	font-size: 0; overflow: hidden; flex-shrink: 0; position: relative;
}
.product-card-footer a.add-to-cart-btn:hover,
.bestseller-track a.add-to-cart-btn:hover { background: var(--cyan-dark); }
.product-card-footer a.add-to-cart-btn::before,
.bestseller-track a.add-to-cart-btn::before {
	content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
	background-color: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 12.4a2 2 0 0 0 2 1.6h7.2a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 12.4a2 2 0 0 0 2 1.6h7.2a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}
.no-products-yet { padding: 24px; background: var(--bg-light); border-radius: var(--radius); color: var(--text-muted); }

/* ---------- Variation color swatches ----------
   Restyles the "Variation Swatches for WooCommerce" plugin via its own CSS
   custom properties (its official theming API — see its frontend.css) rather
   than fighting its default stylesheet's specificity with new rules. Shape
   is set to round via add_theme_support('woo_variation_swatches', …) in
   functions.php; everything below is size/color only. Works out of the box
   with any product attribute whose terms have a color set (Products →
   Attributes → edit a term → fill in a hex color) — no extra markup needed. */
:root {
	--wvs-single-product-item-width: 34px;
	--wvs-single-product-item-height: 34px;
	--wvs-archive-product-item-width: 22px;
	--wvs-archive-product-item-height: 22px;
	--wvs-item-box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--border);
	--wvs-hover-item-box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--cyan);
	--wvs-selected-item-box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--navy);
	--wvs-tooltip-background-color: var(--dark);
}
.variable-items-wrapper { margin: 4px 0 12px; }
.variable-item-span-button { font-weight: 600; }
.variable-item:not(.radio-variable-item).selected .variable-item-span-button { color: var(--navy); }

/* ---------- Added-to-cart popup ---------- */
.cart-popup {
	position: fixed; inset: 0; z-index: 1000; display: none;
	align-items: center; justify-content: center;
	background: rgba(31, 41, 55, 0.45); padding: 20px;
}
.cart-popup.is-open { display: flex; }
.cart-popup-box {
	position: relative; background: var(--white); border-radius: var(--radius);
	max-width: 360px; width: 100%; padding: 32px 28px 28px; text-align: center;
	box-shadow: var(--shadow); animation: jekado-popup-in .18s ease-out;
}
@keyframes jekado-popup-in {
	from { transform: translateY(10px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
.cart-popup-close {
	position: absolute; top: 12px; right: 12px; background: none; border: none;
	width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
	color: var(--text-muted); border-radius: 50%;
}
.cart-popup-close:hover { background: var(--bg-light); }
.cart-popup-close .icon { width: 16px; height: 16px; }
.cart-popup-icon {
	width: 56px; height: 56px; border-radius: 50%; background: #dcfce7; color: #16a34a;
	display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.6rem;
}
.cart-popup-message { font-family: var(--font-heading); font-weight: 700; color: var(--dark); font-size: 1.1rem; margin: 0 0 22px; }
.cart-popup-actions { display: flex; flex-direction: column; gap: 10px; }
.cart-popup-actions .btn { justify-content: center; width: 100%; }
.cart-popup-actions button.btn { border: 2px solid var(--navy); background: transparent; color: var(--navy); }
.cart-popup-actions button.btn:hover { background: var(--navy); color: var(--white); }

/* Hide WooCommerce's own default "added ✓ View cart" link that appears next
   to the button after an AJAX add — our popup replaces that affordance. */
a.added_to_cart.wc-forward { display: none !important; }

/* ---------- Rental CTA ----------
   Full-width navy banner — background bleeds edge to edge, content stays
   inside the normal .container width — with the confetti accents and thin
   column dividers from webdesign.png. */
.rental-cta {
	position: relative; overflow: hidden;
	background: var(--navy); padding: 48px 0; color: var(--white);
}
.rental-confetti { position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.55; }
.rental-confetti-1 { width: 14px; height: 14px; background: var(--pink); top: 24px; left: 36px; }
.rental-confetti-2 { width: 10px; height: 10px; background: var(--yellow); top: 68px; left: 90px; }
.rental-confetti-3 { width: 18px; height: 18px; background: var(--cyan); bottom: 20px; left: 60px; opacity: 0.35; }
.rental-confetti-4 { width: 12px; height: 12px; background: var(--yellow); top: 30px; right: 48px; opacity: 0.4; }

.rental-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 32px; }
.rental-divider { align-self: stretch; width: 1px; background: rgba(255, 255, 255, 0.15); flex-shrink: 0; }
.rental-copy { flex: 0 0 auto; }
.rental-copy h2 { color: var(--white); font-size: 1.7rem; margin: 0; }
.rental-copy h2 span { color: var(--yellow); }
.rental-item { flex: 1; display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.rental-item-media {
	width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.1);
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rental-item-media .icon { width: 28px; height: 28px; color: var(--yellow); }
.rental-item-info h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 2px; }
.rental-price { color: var(--yellow); font-weight: 700; margin: 0 0 8px; }
.rental-features { margin-bottom: 14px; }
.rental-features li { font-size: 0.85rem; color: #cbd8f5; position: relative; padding-left: 18px; margin-bottom: 4px; }
.rental-features li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* ---------- On-page trust strip (light, homepage) ---------- */
.page-trust-strip { padding: 40px 0; border-top: 1px solid var(--border); }
.page-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.page-trust-item { display: flex; align-items: center; gap: 12px; }
.page-trust-item .icon { width: 30px; height: 30px; color: var(--cyan); flex-shrink: 0; }
.page-trust-item strong { display: block; font-size: 0.95rem; color: var(--dark); }
.page-trust-item span { display: block; font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Footer trust strip (dark, reusable) ---------- */
.trust-strip { background: var(--navy); color: var(--white); padding: 22px 0; }
.trust-strip-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item .icon { width: 26px; height: 26px; color: var(--yellow); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.88rem; }
.trust-item span { display: block; font-size: 0.76rem; color: #b9c6ea; }

/* ---------- Footer ---------- */
.footer-main { background: var(--bg-light); padding: 48px 0; }
.footer-columns { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { height: 34px !important; width: auto !important; max-width: none !important; object-fit: cover; object-position: top; overflow: hidden; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; }
.footer-widget-title, .footer-col h3 { font-size: 1rem; margin-bottom: 14px; color: var(--navy); }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--cyan-dark); }
.footer-contact-list li { display: flex; align-items: center; gap: 8px; }
.footer-contact-list .icon { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }

.footer-bottom { background: var(--dark); color: #cbd5e1; padding: 20px 0; font-size: 0.85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 14px; }
.footer-bottom-block { display: flex; align-items: center; gap: 10px; }
.footer-bottom-label { color: #94a3b8; }
.footer-copyright { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-menu { display: flex; gap: 16px; }
.footer-menu a:hover { color: var(--cyan); }

/* ---------- Mascot bubble ---------- */
.mascot-bubble {
	position: fixed; bottom: 20px; right: 20px; max-width: 280px; background: var(--white);
	border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; gap: 12px;
	align-items: flex-start; z-index: 200; border: 1px solid var(--border);
}
.mascot-bubble.is-hidden { display: none; }
.mascot-img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.mascot-text strong { display: block; color: var(--navy); font-family: var(--font-heading); margin-bottom: 4px; }
.mascot-text p { margin: 0; font-size: 0.82rem; color: var(--text-muted); }
.mascot-close {
	position: absolute; top: 6px; right: 6px; background: none; border: none; width: 22px; height: 22px;
	color: var(--text-muted); display: flex; align-items: center; justify-content: center;
}
.mascot-close .icon { width: 14px; height: 14px; }

/* ---------- WooCommerce: shop / category archives ---------- */
.woocommerce-page-wrap { padding: 40px 0 60px; }
.woocommerce-page-wrap .page-header,
.woocommerce-page-wrap .woocommerce-products-header { margin-bottom: 24px; }

/* ---------- Shop/category two-column layout (category sidebar + grid) ----------
   .shop-sidebar comes *after* .shop-content in the DOM (WooCommerce fires the
   `woocommerce_sidebar` hook once the main content is already closed), so
   `order: -1` is what actually puts it on the left visually. */
.shop-layout { display: flex; gap: 40px; align-items: flex-start; }
.shop-content { flex: 1; min-width: 0; }
.shop-sidebar { order: -1; width: 250px; flex-shrink: 0; }
.shop-sidebar-widget { margin-bottom: 32px; }
.shop-sidebar-title, .shop-widget-title { font-size: 1rem; margin-bottom: 14px; color: var(--navy); }
.shop-category-list li { margin-bottom: 2px; }
.shop-category-list li.children { margin-top: 4px; }
.shop-category-list ul.children { margin: 4px 0 8px 14px; }
.shop-category-list a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 9px 12px; border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--text);
}
.shop-category-list a:hover { background: var(--bg-light); color: var(--navy); }
.shop-category-list li.current-cat > a { background: var(--bg-light); color: var(--navy); font-weight: 700; }
.shop-category-list .cat-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-category-list .cat-count { flex-shrink: 0; color: var(--text-muted); font-size: 0.82rem; }
.shop-category-list li.current-cat .cat-count { color: var(--navy); }

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	list-style: none;
}
.shop-content .products { grid-template-columns: repeat(3, 1fr); }
/* WooCommerce's own stylesheet ships `ul.products li.product { width:22.05%;
   float:left; margin:0 3.8% ... }` from its legacy float-based grid system.
   That explicit width still applies inside our CSS-grid layout — resolved
   against the grid cell rather than the row — which compounds down to a
   sliver of the real column width (this was the "first slot empty, rest
   misaligned" shop-grid bug). Reset it so grid's own stretch sizing wins. */
.woocommerce ul.products li.product-card {
	flex: unset;
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
/* WooCommerce also ships a `::before`/`::after { content:" "; display:table; }`
   clearfix on ul.products, needed only for its old float-based layout so the
   container clears its floated <li> children. Inside a CSS Grid container,
   generated content like this becomes a real (empty) grid item and takes the
   very first cell, pushing every actual product over by one slot — the "empty
   first slot, rest misaligned" gap. Kill it off; grid needs no clearfix. */
.woocommerce .products ul::before,
.woocommerce .products ul::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none !important;
	display: none !important;
}
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.woocommerce-ordering select { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; font-family: inherit; }
nav.woocommerce-pagination { margin-top: 32px; }
nav.woocommerce-pagination ul { display: flex; gap: 8px; }
nav.woocommerce-pagination ul li a,
nav.woocommerce-pagination ul li span {
	display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
	border: 1px solid var(--border); border-radius: var(--radius-sm);
}
nav.woocommerce-pagination ul li .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* single product */
.woocommerce div.product .woocommerce-product-gallery { border-radius: var(--radius); overflow: hidden; }
.woocommerce div.product .product_title { color: var(--navy); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--navy); font-family: var(--font-heading); font-size: 1.4rem; }
/* :not(.add-to-cart-btn) below is needed because this selector's specificity
   (2 classes + a type) would otherwise beat the product-card icon button's
   own rule and flatten it back into a text pill everywhere, including the
   homepage/shop grid cards — not just the single-product "add to cart". */
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button:not(.add-to-cart-btn),
.woocommerce button.button {
	background: var(--cyan); color: var(--white); border-radius: 999px; padding: 12px 28px; font-weight: 600; border: none;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:not(.add-to-cart-btn):hover,
.woocommerce button.button:hover { background: var(--cyan-dark); }
.woocommerce span.onsale { background: var(--pink); border-radius: 999px; }
.woocommerce nav.woocommerce-breadcrumb { color: var(--text-muted); margin-bottom: 20px; font-size: 0.88rem; }
.woocommerce nav.woocommerce-breadcrumb a { color: var(--navy); }

/* cart / checkout tidy-up */
.woocommerce-cart table.cart img, .woocommerce-checkout table.cart img { border-radius: var(--radius-sm); }
.woocommerce table.shop_table { border-radius: var(--radius); border: 1px solid var(--border); }
.woocommerce #payment #place_order,
.woocommerce-checkout #payment #place_order { background: var(--navy); }
.woocommerce #payment #place_order:hover { background: var(--navy-dark); }

/* my account */
.woocommerce-MyAccount-navigation ul li a { padding: 8px 0; display: block; }
.woocommerce-MyAccount-navigation ul li.is-active a { color: var(--navy); font-weight: 700; }

/* ---------- Generic page templates ---------- */
.page-wrap { padding: 48px 0 64px; }
.page-wrap-narrow { max-width: 760px; }
.entry-title { font-size: 2rem; }
.entry-thumbnail { margin: 20px 0; border-radius: var(--radius); overflow: hidden; }
.entry-meta { color: var(--text-muted); font-size: 0.85rem; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.post-card-media img { aspect-ratio: 16/10; object-fit: cover; }
.post-card-body { padding: 16px; }
.post-card-title { font-size: 1.05rem; margin-bottom: 8px; }
.pagination { margin-top: 32px; }

.not-found { text-align: center; padding: 70px 0; }
.not-found-mascot { width: 120px; margin: 0 auto 20px; }
.not-found .btn { margin: 20px auto; }
.not-found-search { max-width: 420px; margin: 24px auto 0; }

/* ---------- Full-width page-builder template ---------- */
.full-width-template { max-width: none; }
.full-width-template > .container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
	.hero { min-height: 440px; background-position: 100% 100%; }
	.hero-inner { text-align: center; padding-top: 32px; }
	.hero-copy { max-width: 560px; margin: 0 auto; }
	.hero-text { margin-inline: auto; }
	.hero-buttons { justify-content: center; }
	.category-tiles { margin-top: -32px; }
	.tiles-grid { grid-template-columns: repeat(2, 1fr); border-radius: 20px; }
	.tile { border-right: none; border-bottom: 1px solid var(--border); }
	.tile:last-child { border-bottom: none; }
	.rental-cta { padding: 32px 0; }
	.rental-inner { flex-direction: column; align-items: stretch; gap: 24px; }
	.rental-divider { width: auto; height: 1px; align-self: stretch; }
	.rental-copy { text-align: center; }
	.trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
	.page-trust-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-columns { grid-template-columns: 1fr 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.shop-content .products { grid-template-columns: repeat(2, 1fr); }
	.shop-layout { gap: 28px; }
	.shop-sidebar { width: 200px; }
	.post-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.top-bar-messages li:not(:first-child) { display: none; }
	.main-navigation { position: fixed; top: 0; left: -100%; width: 82%; max-width: 320px; height: 100%; background: var(--white); z-index: 999; transition: left .25s ease; padding: 80px 24px 24px; overflow-y: auto; box-shadow: var(--shadow); }
	.main-navigation.is-open { left: 0; }
	#primary-menu { flex-direction: column; align-items: flex-start; gap: 6px; }
	#primary-menu ul.sub-menu { position: static; box-shadow: none; display: none; padding-left: 12px; }
	#primary-menu li.menu-open > ul.sub-menu { display: block; }
	.menu-toggle { display: flex; }
	.hero { min-height: 360px; }
	.hero-inner { padding-top: 24px; padding-bottom: 32px; }
	.hero-eyebrow, .hero-title { font-size: 1.9rem; }
	.category-tiles { margin-top: 0; padding-top: 8px; }
	.tiles-grid { grid-template-columns: 1fr; box-shadow: none; }
	.tile { padding: 18px 4px; }
	.bestsellers-head { flex-direction: column; align-items: flex-start; }
	.trust-strip-inner { grid-template-columns: 1fr; }
	.page-trust-grid { grid-template-columns: 1fr; }
	.footer-columns { grid-template-columns: 1fr; }
	.footer-bottom-inner { flex-direction: column; align-items: flex-start; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.shop-content .products { grid-template-columns: repeat(2, 1fr); }
	.shop-layout { flex-direction: column; }
	.shop-sidebar { width: 100%; }
	.shop-category-list { display: flex; flex-wrap: wrap; gap: 6px; }
	.shop-category-list li { margin-bottom: 0; }
	.post-list { grid-template-columns: 1fr; }
	.mascot-bubble { left: 16px; right: 16px; max-width: none; bottom: 16px; }
	.cart-total-display { display: none; }
}

@media (max-width: 480px) {
	.header-inner { flex-wrap: wrap; }
	li.product-card { flex-basis: 180px; }
}
