/*
Theme Name:   Botiga Child
Theme URI:    https://github.com/maorhadad/WpStore
Description:  Botiga child theme for אוריאן צעצועים — brand palette, Hebrew typography, modern homepage UX. RTL-first.
Author:       StoreWP
Template:     botiga
Version:      1.0.0
Text Domain:  botiga-child
*/

/* All visual tokens live in theme.json. This file is for runtime CSS only. */

/* ═══════════════════════════════════════════════════════════════
   FOUNDATION — fonts, background, body text
   Botiga parent sets its own font-family/background on <body>,
   so these !important overrides are required to match the design.
   ═══════════════════════════════════════════════════════════════ */

html,
body {
	background-color: #FFF7ED !important;
	font-family: 'Assistant', 'Segoe UI', system-ui, sans-serif !important;
	color: #1A1F2E;
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.product_title,
.woocommerce-loop-product__title,
.entry-title,
.widget-title,
.section-title,
.wp-block-heading,
.botiga-navigation a,
.site-title {
	font-family: 'Heebo', 'Segoe UI', system-ui, sans-serif !important;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER — white card, proper height, RTL layout
   ═══════════════════════════════════════════════════════════════ */

.site-header,
#masthead,
.botiga-header {
	background: #fff !important;
	box-shadow: 0 1px 0 #ECE6DB;
}

/* Category nav bar — cream separator strip */
.botiga-navigation,
.primary-navigation,
.main-navigation {
	background: #FFF7ED !important;
	border-top: 1px solid #ECE6DB;
}

/* Nav links — navy base, orange active/hover */
.botiga-navigation a,
.primary-navigation a,
.main-navigation a {
	font-family: 'Heebo', sans-serif !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	color: #1E3A5F !important;
	padding: 10px 14px !important;
}
.botiga-navigation a:hover,
.primary-navigation a:hover,
.current-menu-item > a,
.current-menu-item > a:hover {
	color: #FF8A3D !important;
}
.current-menu-item > a {
	border-bottom: 2px solid #FF8A3D;
}

/* ═══════════════════════════════════════════════════════════════
   HERO section — warm cream background already from body;
   ensure the hero block itself inherits it
   ═══════════════════════════════════════════════════════════════ */

.wp-block-cover,
.wp-block-group.is-style-hero,
[class*="hero-section"],
.hero-wrap {
	background-color: #FFF7ED !important;
}

/* Hero art card — white rounded card wrapper */
.hero-art {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 4px 24px rgba(30,30,10,.08);
	padding: 28px;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS — kicker / title / link row
   ═══════════════════════════════════════════════════════════════ */

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}
.section-head h2 {
	color: #1E3A5F;
	margin: 0;
}
.section-kicker {
	font-size: 12px;
	font-weight: 700;
	color: #FF8A3D;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	display: block;
	margin-bottom: 4px;
}
.section-action {
	font-size: 13px;
	font-weight: 600;
	color: #FF8A3D !important;
	text-decoration: none;
	white-space: nowrap;
}
.section-action:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   CATEGORY CARDS — emoji grid
   ═══════════════════════════════════════════════════════════════ */

.cat-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	list-style: none;
	padding: 0;
	margin: 0 0 48px;
}
.cat-card {
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #ECE6DB;
	transition: box-shadow .18s, transform .18s;
}
.cat-card:hover {
	box-shadow: 0 4px 18px rgba(30,30,10,.10);
	transform: translateY(-2px);
}
.cat-card a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	padding: 20px 12px 14px;
	gap: 10px;
	color: inherit;
}
.cat-card__photo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #FFF7ED;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}
.cat-card__icon { font-size: 38px; line-height: 1; }
.cat-card__label { text-align: center; }
.cat-card__name {
	display: block;
	font-family: 'Heebo', sans-serif !important;
	font-weight: 700;
	font-size: 15px;
	color: #1E3A5F;
}
.cat-card__sub {
	display: block;
	font-size: 11px;
	color: #6B7280;
	margin-top: 2px;
}

/* Tint backgrounds per category */
.cat-card--tint-sky    .cat-card__photo { background: #D4EFFF; }
.cat-card--tint-primary .cat-card__photo { background: #D6E4F5; }
.cat-card--tint-sage   .cat-card__photo { background: #D9EEE0; }
.cat-card--tint-coral  .cat-card__photo { background: #FDDCDC; }
.cat-card--tint-accent .cat-card__photo { background: #FFE8D4; }
.cat-card--tint-sun    .cat-card__photo { background: #FFF3C4; }

/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD (carousels + grids) — spacing & typography
   ═══════════════════════════════════════════════════════════════ */

.cat-carousel { margin-bottom: 56px; }

.cat-carousel__card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}
.cat-carousel__name {
	font-family: 'Heebo', sans-serif !important;
	font-weight: 700;
	font-size: 14px;
	color: #1E3A5F;
	margin: 6px 0 2px;
	line-height: 1.3;
}
.cat-carousel__price,
.cat-carousel__card .price {
	font-family: 'Heebo', sans-serif !important;
	font-weight: 800;
	font-size: 16px;
	color: #1E3A5F;
}
.cc-cat {
	font-size: 11px;
	color: #6B7280;
	font-weight: 500;
	margin-bottom: 2px;
}
.cc-age {
	font-size: 11px;
	font-weight: 600;
	color: #FF8A3D;
	background: #FFF0E4;
	border-radius: 999px;
	padding: 1px 8px;
	display: inline-block;
}

/* Add to cart button on carousel cards */
.cat-carousel__qv {
	background: #FF8A3D !important;
	color: #fff !important;
	border: none;
	border-radius: 999px !important;
	font-family: 'Heebo', sans-serif !important;
	font-weight: 700;
	font-size: 13px;
	padding: 8px 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	width: 100%;
	justify-content: center;
	margin-top: 10px;
	transition: background .15s;
}
.cat-carousel__qv:hover { background: #E5742A !important; }

/* ═══════════════════════════════════════════════════════════════
   SHOPCAT ROW HEADER — category name + "view all" link
   ═══════════════════════════════════════════════════════════════ */

.shopcat-rowhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.shopcat-rowhead h3 {
	font-size: 20px;
	font-weight: 800;
	color: #1E3A5F;
	margin: 0;
}
.shopcat-rowhead h3 span {
	font-size: 13px;
	font-weight: 400;
	color: #6B7280;
}
.shopcat-all {
	font-size: 13px;
	font-weight: 600;
	color: #FF8A3D !important;
	text-decoration: none;
}
.shopcat-all:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER — cream background, navy text, orange links
   ═══════════════════════════════════════════════════════════════ */

.site-footer,
#colophon {
	background: #1E3A5F !important;
	color: #ECE6DB !important;
	font-family: 'Assistant', sans-serif !important;
	padding: 48px 0 24px !important;
}
.site-footer a,
#colophon a {
	color: #FF8A3D !important;
	text-decoration: none;
}
.site-footer a:hover,
#colophon a:hover { text-decoration: underline; }
.site-footer p,
#colophon p { color: #b0bbcc; font-size: 13px; }

/* ═══════════════════════════════════════════════════════════════
   SECTION SPACING — consistent vertical rhythm
   ═══════════════════════════════════════════════════════════════ */

.wp-site-blocks > * + * { margin-block-start: 0; }

/* Page content padding */
.entry-content,
.woocommerce,
.wp-block-group__inner-container {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
}

/* RTL-safe focus ring */
:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
	border-radius: 4px;
}

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

/* Smooth scroll for in-page anchors */
html { scroll-behavior: smooth; }

/* Touch targets + pill shape — global catch-all so every button is a pill */
.wp-block-button__link,
.wp-block-search__button,
.wc-block-components-button,
.button,
button.button,
a.button,
input[type="submit"] {
	min-block-size: 44px;
	min-inline-size: 44px;
	border-radius: 999px !important;
}

/* Fade-up reveal — applied via JS adding .is-visible */
.reveal-fade-up {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 250ms ease, transform 250ms ease;
}
.reveal-fade-up.is-visible {
	opacity: 1;
	transform: none;
}

/* Product card polish — classic WooCommerce loop (shop, archive, category, related) */
ul.products li.product {
	border-radius: 16px !important;
	background: #fff !important;
	border: 1px solid rgba(30, 58, 95, 0.08) !important;
	overflow: hidden;
	transition: transform 200ms ease, box-shadow 200ms ease;
}
ul.products li.product:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -12px rgba(30, 58, 95, 0.18);
}
/* Classic loop: product title — navy Heebo */
ul.products li.product .woocommerce-loop-product__title {
	color: #1E3A5F !important;
	font-family: 'Heebo', sans-serif !important;
	font-weight: 700 !important;
}
/* Classic loop: price — navy */
ul.products li.product .price {
	color: #1E3A5F !important;
	font-family: 'Heebo', sans-serif !important;
	font-weight: 800 !important;
}
/* Classic loop: add to cart button — orange pill */
ul.products li.product .add_to_cart_button,
ul.products li.product a.button {
	background: #FF8A3D !important;
	color: #fff !important;
	border-color: #FF8A3D !important;
	border-radius: 999px !important;
	font-family: 'Heebo', sans-serif !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	transition: background .15s !important;
}
ul.products li.product .add_to_cart_button:hover,
ul.products li.product a.button:hover {
	background: #E5742A !important;
	border-color: #E5742A !important;
}

/* Product card polish — block-based (Gutenberg product collection) */
.wc-block-grid__product,
.wp-block-woocommerce-product-template li.product {
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	transition: transform 200ms ease, box-shadow 200ms ease;
}
.wc-block-grid__product:hover,
.wp-block-woocommerce-product-template li.product:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -12px rgba(30, 58, 95, 0.18);
}

/* Sale badge — coral pill, logical-prop positioning for RTL */
.onsale,
.wc-block-components-product-sale-badge {
	background: var(--wp--preset--color--coral) !important;
	color: #fff !important;
	border-radius: 999px !important;
	font-weight: 600;
	inset-block-start: 12px;
	inset-inline-start: 12px;
}

/* Shop sidebar — desktop fixed, mobile drawer */
.shop-sidebar h3 {
	color: var(--wp--preset--color--primary);
	border-block-end: 2px solid var(--wp--preset--color--cream);
	padding-block-end: 0.5rem;
}

@media (max-width: 768px) {
	.shop-sidebar {
		position: fixed;
		inset-block-start: 0;
		inset-inline-start: 0;
		block-size: 100dvh;
		inline-size: min(85vw, 320px);
		background: #fff;
		padding: 1.5rem;
		box-shadow: 0 0 32px rgba(0,0,0,0.18);
		transform: translateX(-100%);
		transition: transform 250ms ease;
		z-index: 50;
		overflow-y: auto;
	}
	[dir="rtl"] .shop-sidebar { transform: translateX(100%); }
	.shop-sidebar.is-open { transform: translateX(0); }
}

/* Product collection grid — responsive cols */
.wp-block-woocommerce-product-collection .wp-block-post-template,
.wp-block-woocommerce-product-collection .wp-block-woocommerce-product-template {
	gap: var(--wp--preset--spacing--40) !important;
}
@media (max-width: 1024px) {
	.wp-block-woocommerce-product-collection.columns-4 .wp-block-post-template,
	.wp-block-woocommerce-product-collection.columns-4 .wp-block-woocommerce-product-template {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* Featured-categories — square cards, gradient overlay, hover lift */
.wc-block-product-categories-list-item-name,
.wp-block-woocommerce-product-categories a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	transition: color 200ms ease;
}
.wp-block-woocommerce-product-categories a:hover {
	color: var(--wp--preset--color--accent);
}

/* Category cards (homepage section 3) — desktop: single row, mobile: scroll-snap */
.cat-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: var(--wp--preset--spacing--20);
}
/* Tablet — 2 rows of 4 */
@media (max-width: 1024px) {
	.cat-cards {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--wp--preset--spacing--30);
	}
}
/* Mobile — horizontal scroll-snap carousel */
@media (max-width: 640px) {
	.cat-cards {
		display: flex;
		gap: 0.75rem;
		overflow-x: auto;
		scroll-snap-type: inline mandatory;
		scroll-padding-inline: 1rem;
		padding-block-end: 0.5rem;
		padding-inline: 1rem;
		margin-inline: -1rem; /* bleed to edges */
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}
	.cat-card {
		flex: 0 0 42vw;
		max-inline-size: 180px;
		scroll-snap-align: start;
	}
}

/* Photo-forward white card: square photo on top, label below (matches design). */
.cat-card { position: relative; }
.cat-card a {
	display: flex;
	flex-direction: column;
	block-size: 100%;
	border-radius: 14px;
	text-decoration: none;
	color: var(--wp--preset--color--primary);
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(30, 58, 95, 0.08);
	transition: transform 250ms ease, box-shadow 250ms ease;
}
.cat-card a:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 24px -14px rgba(30, 58, 95, 0.22);
}
.cat-card__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	inline-size: 100%;
	aspect-ratio: 1 / 1;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
/* Emoji only visible as fallback when no photo (tint shows behind it). */
.cat-card__icon { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; display: none; }
.cat-card--noimg .cat-card__icon { display: block; }
.cat-card__label {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	padding: 0.5rem 0.45rem 0.6rem;
	text-align: center;
}
.cat-card__name {
	font-weight: 700;
	font-size: clamp(0.8rem, 0.9vw, 0.95rem);
	line-height: 1.2;
	overflow-wrap: break-word;
}
.cat-card__sub {
	display: block;
	font-size: 0.72rem;
	color: var(--wp--preset--color--muted);
}
/* Larger type on tablet + mobile (more space per card) */
@media (max-width: 1024px) {
	.cat-card__name { font-size: 1rem; }
	.cat-card__sub  { font-size: 0.8rem; }
}
/* Tinted photo area only when there is no image (inline bg-image overrides this). */
.cat-card--tint-sky     .cat-card__photo { background-image: linear-gradient(160deg, #E8F4FB 0%, #FFFFFF 70%); }
.cat-card--tint-sun     .cat-card__photo { background-image: linear-gradient(160deg, #FFF6D9 0%, #FFFFFF 70%); }
.cat-card--tint-coral   .cat-card__photo { background-image: linear-gradient(160deg, #FCE0E0 0%, #FFFFFF 70%); }
.cat-card--tint-accent  .cat-card__photo { background-image: linear-gradient(160deg, #FFE3CC 0%, #FFFFFF 70%); }
.cat-card--tint-sage    .cat-card__photo { background-image: linear-gradient(160deg, #E3F1E8 0%, #FFFFFF 70%); }
.cat-card--tint-primary .cat-card__photo { background-image: linear-gradient(160deg, #E0E7F1 0%, #FFFFFF 70%); }

/* Per-category product carousels (homepage section 4) */
.cat-carousels-wrap { background: #F7F5F0; } /* silky off-white — set on outer section in template */
/* Tighten gap between the section head and the first carousel row; let it span
   the full section width so it aligns with the uncapped carousels below. */
.cat-carousels-wrap .section-head { margin-block-end: 0.75rem; max-inline-size: none; }

.cat-carousel { margin-block-end: var(--wp--preset--spacing--40); }
.cat-carousel:last-child { margin-block-end: 0; }

/* Title centered with thin accent underline; "view all" floats to end */
.cat-carousel__head {
	position: relative;
	text-align: center;
	margin-block-end: 1rem;
	min-block-size: 2rem;
}
.cat-carousel__title {
	display: inline-block;
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0;
	padding-block-end: 0.4rem;
	border-block-end: 1.5px solid var(--wp--preset--color--accent);
	letter-spacing: 0.01em;
}
.cat-carousel__more {
	position: absolute;
	inset-block-start: 50%;
	inset-inline-end: 0;
	transform: translateY(-50%);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}
.cat-carousel__more:hover { color: var(--wp--preset--color--accent); }
@media (max-width: 640px) {
	.cat-carousel__more {
		position: static;
		display: block;
		transform: none;
		margin-block-start: 0.4rem;
	}
}

.cat-carousel__row {
	list-style: none;
	margin: 0;
	padding-block: 0.15rem 0.5rem;
	padding-inline: 1.25rem;
	display: flex;
	gap: 0.5rem;
	justify-content: flex-start;   /* start-align so cards fill from the gutter (RTL: right) */
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	/* hide scrollbar — desktop + mobile */
	scrollbar-width: none;          /* Firefox */
	-ms-overflow-style: none;       /* IE/Edge legacy */
}
/* When content overflows, justify-content:center can clip scroll start
   in some browsers. Fall back to start once items spill. Modern fix:
   use margin-inline:auto on overflow targets — see auto wrap below.   */
.cat-carousel__row > * { margin-inline: 0; }
.cat-carousel__row::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

.cat-carousel__item {
	flex: 0 0 180px;
}
@media (max-width: 640px) {
	.cat-carousel__row {
		padding-inline: 1rem;
		margin-inline: -1rem;
	}
	.cat-carousel__item { flex-basis: 52vw; max-inline-size: 200px; }
}

.cat-carousel__card {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}
.cat-carousel__img {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 8px;
	background: var(--wp--preset--color--cream);
}
.cat-carousel__img img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	display: block;
}
.cat-carousel__badge {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-end: 8px;
	background: var(--wp--preset--color--coral);
	color: #fff;
	font-weight: 700;
	font-size: 0.75rem;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 999px;
	z-index: 1;
}
.cat-carousel__name {
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-block-size: 2.1rem;
	padding-inline: 0.15rem;
	margin-block-start: 0.5rem;   /* 8px — image → title */
}
.cat-carousel__price {
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--wp--preset--color--primary);
	padding-inline: 0.15rem;
	padding-block-end: 0.15rem;
	margin-block-start: 0.25rem;  /* 4px — title → price (tight, Gestalt grouping) */
}
.cat-carousel__price del { color: var(--wp--preset--color--muted); font-weight: 400; margin-inline-end: 0.3rem; }
.cat-carousel__price ins { text-decoration: none; color: var(--wp--preset--color--coral); }

/* ============ SITE HEADER ============ */

/* Two-row sticky header: Row 1 white, Row 2 cream nav bar */
.site-header {
	box-shadow: 0 2px 12px -4px rgba(30, 58, 95, 0.1);
}

/* Full-bleed header on classic pages.
   Classic (non-home) pages wrap everything in Botiga's #page (~1152px),
   which would trap the header. Break the header + nav row out to the full
   viewport width so they match the home page (which has no #page wrapper).
   Scoped to #page, so the home page is never affected. Inner content stays
   centered at 1280px via each block's own constrained layout. */
#page > header.wp-block-template-part,
#page > .site-header,
#page > .header-nav-bar {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ---- Header row 1 inner flex ---- */
.site-header > .wp-block-group:first-child > .wp-block-group {
	align-items: center !important;
	gap: 1.5rem !important;
}

/* ---- Nav bar (Row 2) ---- */
.header-nav-bar {
	background-color: var(--wp--preset--color--cream) !important;
}
/* Navigation links in the nav bar */
.header-nav-bar .wp-block-navigation {
	width: 100%;
	justify-content: center !important;
}
.header-nav-bar .wp-block-navigation__container {
	gap: 0 !important;
}
.header-nav-bar .wp-block-navigation-item__content {
	padding-block: 0.7rem !important;
	padding-inline: 0.9rem !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: var(--wp--preset--color--primary) !important;
	white-space: nowrap;
	transition: color 150ms, background 150ms;
}
.header-nav-bar .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--accent) !important;
	background: rgba(255,138,61,0.08) !important;
}
.header-nav-bar .wp-block-navigation-item__content:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: -2px;
}

/* Category strip moved into the hero — reuses the nav-bar link styling */
.hero-cats { width: 100%; }
.hero-cats .wp-block-navigation { width: 100%; justify-content: center !important; }
.hero-cats .wp-block-navigation__container {
	gap: 0 !important;
	flex-wrap: wrap;
	justify-content: center;
}
.hero-cats .wp-block-navigation-item__content {
	padding-block: 0.5rem !important;
	padding-inline: 0.9rem !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	color: var(--wp--preset--color--primary) !important;
	white-space: nowrap;
	transition: color 150ms, background 150ms;
}
.hero-cats .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--accent) !important;
}

/* ============ HEADER SEARCH ============ */

/* Desktop wrapper — flex-grows to fill header space */
.header-search {
	flex: 1 1 200px;
	max-inline-size: 520px;
	min-inline-size: 160px;
}
.header-search .dgwt-wcas-search-wrapp,
.header-search .dgwt-wcas-search-form,
.header-search .dgwt-wcas-sf-wrapp { width: 100%; }
@media (max-width: 1100px) { .header-search { max-inline-size: 320px; } }
@media (max-width: 768px)  { .header-search { display: none; } }

/* ---- Search form: flex row, button on left (RTL) ----
   Override FiboSearch absolute positioning with flex so button + input join
   seamlessly. .dgwt-wcas-sf-wrapp becomes the flex container.               */
/* wpautop wraps shortcode output in <p> tags — zero them out so they don't
   add 40px margin-bottom from WP block-gap, and make them transparent flex items */
.site-header .header-search p {
	margin: 0 !important;
	padding: 0 !important;
}
.site-header .header-search .dgwt-wcas-sf-wrapp > p {
	display: contents !important;  /* layout-transparent: children become direct flex items */
}

.site-header .header-search .dgwt-wcas-sf-wrapp {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	position: relative !important;  /* for preloader absolute child */
	height: 46px !important;
}

/* ---- Input: right half of the pill pair ---- */
.site-header .header-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	flex: 1 1 auto !important;
	order: 1 !important;                          /* input first = RIGHT side in RTL */
	border-radius: 0 999px 999px 0 !important;    /* rounded RIGHT side (RTL outer edge) */
	border: 1.5px solid #e4e6ea !important;
	border-left: none !important;                 /* button handles right visual border (join side) */
	height: 46px !important;
	line-height: 46px !important;
	padding-block: 0 !important;
	padding-right: 1.25rem !important;
	padding-left: 0.9rem !important;
	font-family: inherit !important;
	font-size: 0.9rem !important;
	background: #f4f5f7 !important;
	color: var(--wp--preset--color--ink) !important;
	width: auto !important;
	min-width: 0 !important;
	transition: border-color 200ms, background 200ms !important;
	box-shadow: none !important;
	position: static !important;
}
.site-header .header-search .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
	outline: none !important;
	border-color: var(--wp--preset--color--accent) !important;
	background: #fff !important;
}
/* Keep shape when dropdown opens */
.site-header .header-search .dgwt-wcas-open .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	border-radius: 0 999px 999px 0 !important;
}

/* ---- Submit button: left half of the pill pair (RTL) ---- */
.site-header .header-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	flex-shrink: 0 !important;
	order: 2 !important;                          /* button second = LEFT side in RTL */
	position: static !important;                  /* override FiboSearch absolute */
	background: var(--wp--preset--color--accent) !important;
	border: 1.5px solid var(--wp--preset--color--accent) !important;
	border-radius: 999px 0 0 999px !important;    /* rounded LEFT side (RTL outer edge) */
	height: 46px !important;
	min-height: 0 !important;         /* override FiboSearch min-height: 100% */
	min-width: 52px !important;
	width: 52px !important;
	padding: 0 !important;
	margin: 0 !important;
	color: #fff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: background 150ms, border-color 150ms !important;
	box-shadow: none !important;
	text-shadow: none !important;
	line-height: 1 !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
}
.site-header .header-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover {
	background: var(--wp--preset--color--primary) !important;
	border-color: var(--wp--preset--color--primary) !important;
	opacity: 1 !important;
}
/* Kill FiboSearch CSS arrow (:before) and any text label */
.site-header .header-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before {
	display: none !important;
}
/* Hide button text (FiboSearch renders localized label string, not SVG) */
.site-header .header-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	font-size: 0 !important;   /* hide text */
	color: transparent !important;
}
/* Magnifier icon via ::after — inline SVG as data URI */
.site-header .header-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::after {
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='20' y1='20' x2='16.65' y2='16.65'/%3E%3C/svg%3E") center/contain no-repeat;
	pointer-events: none;
}
/* Keep any FiboSearch SVG visible too (if present) */
.site-header .header-search .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit svg {
	display: none !important;  /* hide FiboSearch SVG, use our ::after instead */
}

/* Preloader and voice search: keep at end of row */
.site-header .header-search .dgwt-wcas-sf-wrapp .dgwt-wcas-preloader,
.site-header .header-search .dgwt-wcas-sf-wrapp .dgwt-wcas-voice-search {
	order: 3 !important;
	position: absolute !important;  /* restore absolute so they float over input */
	right: 12px !important;
	left: auto !important;
	top: 0 !important;
	height: 46px !important;
	width: 32px !important;
}

/* ---- Free FiboSearch (dgwt-wcas-no-submit): style the SVG magnifier as orange pill button ---- */
.site-header .header-search .dgwt-wcas-search-wrapp.dgwt-wcas-no-submit .dgwt-wcas-sf-wrapp > br {
	display: none !important;
}
.site-header .header-search .dgwt-wcas-search-wrapp.dgwt-wcas-no-submit .dgwt-wcas-sf-wrapp > svg {
	/* Pull out of FiboSearch absolute positioning */
	position: static !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	/* Flex item sizing */
	order: 2 !important;
	flex-shrink: 0 !important;
	width: 52px !important;
	height: 46px !important;
	min-width: 52px !important;
	min-height: 46px !important;
	padding: 12px !important;
	margin: 0 !important;
	background: #FF8A3D !important;
	border-radius: 999px 0 0 999px !important;
	color: #fff !important;
	cursor: pointer !important;
	transition: background 150ms !important;
	box-sizing: border-box !important;
}
.site-header .header-search .dgwt-wcas-search-wrapp.dgwt-wcas-no-submit .dgwt-wcas-sf-wrapp > svg:hover {
	background: #E5742A !important;
}
.site-header .header-search .dgwt-wcas-search-wrapp.dgwt-wcas-no-submit .dgwt-wcas-sf-wrapp > svg * {
	fill: #fff !important;
	stroke: none !important;
}
/* Fix input to join smoothly — right half of pill pair */
.site-header .header-search .dgwt-wcas-search-wrapp.dgwt-wcas-no-submit .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	order: 1 !important;
	border-radius: 0 999px 999px 0 !important;
	border-left: none !important;
}

/* ---- Dropdown suggestions ---- */
.site-header .header-search .dgwt-wcas-suggestions-wrapp {
	border: 1.5px solid #e4e6ea !important;
	border-top: none !important;
	border-radius: 0 0 16px 16px !important;
	box-shadow: 0 8px 24px -8px rgba(30, 58, 95, 0.15) !important;
	overflow: hidden;
}

/* Header actions row */
.header-actions {
	gap: 0.5rem !important;
	align-items: center;
	flex-shrink: 0;
}

/* Mobile search toggle icon */
.header-search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 40px;
	block-size: 40px;
	border-radius: 50%;
	background: transparent;
	border: none;
	color: var(--wp--preset--color--primary);
	cursor: pointer;
	transition: background 150ms ease;
}
.header-search-icon:hover { background: var(--wp--preset--color--cream); }
.header-search-icon:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}
@media (min-width: 769px) { .header-search-icon { display: none; } }

/* Account icon — same pill style as search toggle */
.header-account-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 40px;
	block-size: 40px;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	transition: background 150ms ease, color 150ms ease;
}
.header-account-icon:hover {
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--accent);
}
.header-account-icon:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* ---- Mobile overlay ---- */
.header-search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(30, 58, 95, 0.45);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	display: none;
	z-index: 100;
	padding-block-start: 2rem;
	padding-inline: 1rem;
}
.header-search-overlay.is-open { display: block; }
.header-search-overlay__panel {
	background: #fff;
	border-radius: 14px;
	padding: 1rem;
	max-inline-size: 640px;
	margin-inline: auto;
	box-shadow: 0 18px 32px -16px rgba(0,0,0,0.3);
	position: relative;
}
.header-search-overlay__close {
	position: absolute;
	inset-block-start: 0.5rem;
	inset-inline-end: 0.5rem;
	background: transparent;
	border: none;
	color: var(--wp--preset--color--primary);
	cursor: pointer;
	padding: 0.5rem;
	border-radius: 50%;
	inline-size: 36px;
	block-size: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.header-search-overlay__close:hover { background: var(--wp--preset--color--cream); }
.header-search-overlay__input { padding-inline-end: 2.5rem; }
/* Overlay input — same pill treatment */
.header-search-overlay .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	border-radius: 999px !important;
	border: 1.5px solid #e4e6ea !important;
	padding-right: 2.8rem !important;
	padding-left: 1.25rem !important;
	min-block-size: 48px !important;
	height: 48px !important;
	width: 100% !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	background: #f4f5f7 !important;
}
.header-search-overlay .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus {
	outline: none !important;
	border-color: var(--wp--preset--color--accent) !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.14) !important;
}
/* Overlay magnifier icon */
.header-search-overlay .dgwt-wcas-ico-magnifier {
	opacity: 1 !important;
	right: 15px !important;
	left: auto !important;
	width: 20px !important;
	max-width: 20px !important;
}
.header-search-overlay .dgwt-wcas-ico-magnifier svg path,
.header-search-overlay .dgwt-wcas-ico-magnifier svg circle,
.header-search-overlay .dgwt-wcas-ico-magnifier svg line {
	stroke: var(--wp--preset--color--accent) !important;
	fill: none !important;
}
.header-search-overlay .dgwt-wcas-suggestions-wrapp {
	max-block-size: 60vh;
	overflow-y: auto;
}
body.has-search-overlay-open { overflow: hidden; }

/* Site title visual lift */
.wp-block-site-title a {
	text-decoration: none;
	font-weight: 800;
	letter-spacing: -0.01em;
}

/* ============ HERO PRODUCT (standard product card) ============ */

/* Sizes the standard .pcard inside the hero column. */
.hero-product {
	width: 100%;
	max-width: 320px;
	margin-inline: auto;
}

/* ============ HERO PRODUCT SHOWCASE (legacy — unused) ============ */

.hero-product-showcase {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	width: 100%;
}

.hero-product-showcase__img-link {
	position: relative;
	display: block;
	width: 100%;
	max-width: 300px;
	aspect-ratio: 1 / 1;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 20px 48px -16px rgba(30,58,95,0.28);
	transition: transform 240ms ease, box-shadow 240ms ease;
}
.hero-product-showcase__img-link:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 28px 56px -16px rgba(30,58,95,0.36);
}
.hero-product-showcase__img-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.hero-product-badge {
	position: absolute;
	inset-block-start: 12px;
	inset-inline-end: 12px;
	background: var(--wp--preset--color--coral);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	padding: 5px 10px;
	border-radius: 999px;
	pointer-events: none;
}

.hero-product-showcase__meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	text-align: center;
	max-width: 300px;
	width: 100%;
}
.hero-product-showcase__name {
	font-size: clamp(0.9rem, 1.2vw, 1.05rem);
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0;
	line-height: 1.3;
}
.hero-product-showcase__price {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0;
}
.hero-product-showcase__price del { color: var(--wp--preset--color--muted); font-weight: 400; margin-inline-end: 0.25rem; font-size: 0.875rem; }
.hero-product-showcase__price ins { text-decoration: none; color: var(--wp--preset--color--coral); }
.hero-product-showcase__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--wp--preset--color--accent);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.6rem 1.4rem;
	font-size: 0.9rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: background 150ms ease, transform 100ms ease;
	margin-block-start: 0.25rem;
	min-height: 42px;
}
.hero-product-showcase__cta:hover { background: var(--wp--preset--color--primary); }
.hero-product-showcase__cta:active { transform: scale(0.97); }

.hero-products-empty {
	font-size: 3rem;
	text-align: center;
	padding: 2rem;
}

/* ============ CAROUSEL CARD QUICK-VIEW BUTTON ============ */

/* White card frame: holds the product link + a persistent add-to-cart pill (matches design). */
.cat-carousel__card-wrap {
	position: relative;
	display: flex;
	flex-direction: column;
	block-size: 100%;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(30, 58, 95, 0.06);
	padding: 0.4rem;
	transition: transform 200ms ease, box-shadow 200ms ease;
}
.cat-carousel__card-wrap:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -12px rgba(30, 58, 95, 0.2);
}

/* Persistent add-to-cart pill, pinned to the card bottom */
.cat-carousel__qv {
	margin-block-start: auto;
	margin-block-end: 0.1rem;
	background: var(--wp--preset--color--accent);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.45rem 0.6rem;
	font-size: 0.78rem;
	font-weight: 700;
	font-family: inherit;
	line-height: 1.2;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-height: 38px;
	transition: background 150ms ease, transform 100ms ease;
}
.cat-carousel__qv:hover { background: var(--wp--preset--color--primary); }
.cat-carousel__qv:active { transform: scale(0.97); }

/* ============ QUICK-VIEW MODAL ============ */

.qv-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(10, 20, 40, 0.65);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	pointer-events: none; /* never intercept clicks when not open */
	transition: opacity 250ms ease;
}
/* hidden attribute must win over display:flex */
.qv-modal-backdrop[hidden] { display: none !important; }
.qv-modal-backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

.qv-modal-panel {
	background: #fff;
	border-radius: 20px;
	max-width: 680px;
	width: 100%;
	max-height: 92dvh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 32px 64px -24px rgba(30,58,95,0.35);
	transform: translateY(20px) scale(0.96);
	opacity: 0;
	transition: transform 260ms cubic-bezier(0.34, 1.36, 0.64, 1), opacity 240ms ease;
}
.qv-modal-backdrop.is-open .qv-modal-panel {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.qv-modal-close {
	position: absolute;
	inset-block-start: 0.75rem;
	inset-inline-end: 0.75rem;
	background: var(--wp--preset--color--cream);
	border: none;
	cursor: pointer;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--primary);
	z-index: 3;
	transition: background 150ms ease;
	flex-shrink: 0;
}
.qv-modal-close:hover { background: #e4e0d8; }
.qv-modal-close:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* Two-column layout: image left, info right */
.qv-modal-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 320px;
}
@media (max-width: 520px) {
	.qv-modal-body { grid-template-columns: 1fr; }
}

.qv-modal-img {
	background: var(--wp--preset--color--cream);
	border-radius: 20px 0 0 20px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
}
[dir="rtl"] .qv-modal-img { border-radius: 0 20px 20px 0; }
@media (max-width: 520px) {
	.qv-modal-img,
	[dir="rtl"] .qv-modal-img { border-radius: 20px 20px 0 0; }
}
.qv-modal-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.qv-modal-info {
	padding: 1.5rem 1.25rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.qv-modal-name {
	font-size: clamp(1rem, 2vw, 1.15rem);
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	line-height: 1.3;
	margin: 0;
	padding-inline-end: 2rem; /* space for close btn */
}

.qv-modal-price {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}
.qv-modal-price del {
	color: var(--wp--preset--color--muted);
	font-weight: 400;
	font-size: 0.9rem;
	margin-inline-end: 0.3rem;
}
.qv-modal-price ins {
	text-decoration: none;
	color: var(--wp--preset--color--coral);
}

.qv-modal-desc {
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--wp--preset--color--ink);
	flex: 1;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

.qv-modal-actions {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	margin-block-start: auto;
}

/* Quick-view quantity row */
.qv-add-form {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.qv-qty-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.qv-qty-row label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	white-space: nowrap;
}
.qv-qty-wrap {
	display: flex;
	align-items: center;
	border: 1.5px solid #e0e3e8;
	border-radius: 999px;
	overflow: hidden;
	height: 38px;
}
.qv-qty-wrap button {
	width: 38px;
	height: 38px;
	border: none;
	background: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--primary);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 150ms;
	flex-shrink: 0;
}
.qv-qty-wrap button:hover { background: #ede9df; }
.qv-qty {
	width: 44px;
	text-align: center;
	border: none;
	border-inline: 1.5px solid #e0e3e8;
	font-size: 0.9rem;
	font-weight: 700;
	height: 38px;
	-moz-appearance: textfield;
	background: #fff;
	color: var(--wp--preset--color--ink);
	font-family: inherit;
	padding: 0;
}
.qv-qty::-webkit-outer-spin-button,
.qv-qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.qv-qty:focus { outline: none; background: #fafafa; }

/* Primary action button (shared by add-to-cart and variable "select options") */
.qv-add-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	background: var(--wp--preset--color--accent);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.75rem 1.25rem;
	font-size: 0.95rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	min-height: 46px;
	width: 100%;
	transition: background 150ms ease, transform 100ms ease;
}
.qv-add-btn:hover { background: #e57428; }
.qv-add-btn:active { transform: scale(0.97); }
.qv-add-btn.is-loading { opacity: 0.65; cursor: wait; }
.qv-add-btn.is-added { background: #16a34a; }
.qv-add-btn.is-error { background: var(--wp--preset--color--coral); }
/* Variable product "select options" link variant */
a.qv-add-btn,
.qv-variable-link {
	background: var(--wp--preset--color--primary);
}
a.qv-add-btn:hover,
.qv-variable-link:hover { background: #162d4a; color: #fff; }

/* "Full details" link below the main button */
.qv-view-link {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	text-align: center;
	text-decoration: none;
	transition: color 150ms;
}
.qv-view-link:hover { color: var(--wp--preset--color--accent); }

/* Loading state */
.qv-modal-loading {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
	gap: 0.5rem;
}
.qv-modal-error { color: var(--wp--preset--color--coral); }
.qv-spinner {
	display: inline-block;
	width: 24px;
	height: 24px;
	border: 3px solid rgba(30,58,95,0.15);
	border-block-start-color: var(--wp--preset--color--accent);
	border-radius: 50%;
	animation: qv-spin 0.7s linear infinite;
}
@keyframes qv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.qv-spinner { animation: none; border-block-start-color: var(--wp--preset--color--accent); }
}

/* ============================================================
   Homepage merge (June 2026): hero accent, on-sale hero + rocket
   fallback, hero name clamp, contained category rows.
   ============================================================ */

/* Hero accent line "דרך המשחק." — Suez One display serif, brand orange.
   Falls back to a generic serif until the woff2 files are added. */
.hero-accent {
	display: block;
	font-family: 'Suez One', Georgia, 'Times New Roman', serif;
	font-weight: 400;
	color: var(--wp--preset--color--accent);
	line-height: 1.15;
}

/* Hero product name — cap at 2 lines so the showcase card height stays stable. */
.hero-product-showcase__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Hero rocket fallback (no product on sale) — mirrors the product card frame. */
.hero-rocket {
	width: 100%;
	max-width: 340px;
	margin-inline: auto;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
	background: radial-gradient(ellipse at 70% 25%, rgba(125,191,232,0.35) 0%, rgba(255,255,255,0.55) 60%);
	box-shadow: 0 20px 48px -16px rgba(30,58,95,0.28);
	display: grid;
	place-items: center;
	padding: 1.5rem;
}
.hero-rocket svg { width: 78%; height: auto; display: block; }
@media (prefers-reduced-motion: no-preference) {
	.hero-rocket svg { animation: hero-rocket-float 4s ease-in-out infinite; }
}
@keyframes hero-rocket-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Category sections — contain rows to the page width and centre them so they
   keep a comfortable gutter and never run to the viewport edges. The section
   background stays full-bleed; only the content is capped. */
.cat-cards { max-inline-size: 1200px; margin-inline: auto; }
/* Carousels fill the section width (expand on big screens, gutter from the
   section padding) and stay aligned with the full-width carousels section-head. */
.cat-carousel { max-inline-size: none; }

/* ─── Section head (kicker + H2 + action link) ─────────────────────────── */
.section-head {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	margin-block-end: var(--wp--preset--spacing--40);
	flex-wrap: wrap;
	max-inline-size: 1200px;   /* align with the 1200px-capped content (e.g. cat-cards) */
	margin-inline: auto;
}
.section-kicker {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}
.section-head h2 { margin: 0; flex: 1; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.section-action {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	white-space: nowrap;
	margin-inline-start: auto;
}
.section-action:hover { color: var(--wp--preset--color--accent); }

/* ─── Shopcat row head (per-category sub-heading in carousels section) ──── */
.shopcat-rowhead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-block-end: 0.5rem;
}
.shopcat-rowhead h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0;
}
.shopcat-rowhead h3 span {
	font-weight: 400;
	color: var(--wp--preset--color--muted);
	font-size: 0.875rem;
}
.shopcat-all {
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}
.shopcat-all:hover { color: var(--wp--preset--color--accent); }

/* ─── Carousel arrow buttons ────────────────────────────────────────────── */
.cat-carousel__nav {
	display: flex;
	align-items: center;
}
.cat-carousel__nav .cat-carousel__row { flex: 1; min-width: 0; }
.cat-carousel__arrow {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--wp--preset--color--primary);
	transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
	padding: 0;
}
.cat-carousel__arrow:hover {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: #fff;
}
.cat-carousel__arrow[disabled],
.cat-carousel__arrow:disabled {
	opacity: 0.35;
	pointer-events: none;
}
@media (max-width: 640px) {
	.cat-carousel__arrow { display: none; }
}

/* ─── Category card sub-text (age / type label) ─────────────────────────── */
.cat-card__sub {
	display: block;
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	margin-block-start: 0.2rem;
}

/* ─── Featured products grid (.pgrid) ───────────────────────────────────── */
.pgrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--wp--preset--spacing--30);
}
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pgrid { gap: 0.75rem; } }

.pcard {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 200ms ease, transform 200ms ease;
}
.pcard:hover {
	box-shadow: 0 8px 24px -8px rgba(30,58,95,0.18);
	transform: translateY(-3px);
}
.pcard__link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	flex: 1;
}
.pcard__img {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	position: relative;
}
.pcard__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pcard__badge {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-start: 8px;
	background: var(--wp--preset--color--coral);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.2em 0.55em;
	border-radius: 999px;
}
.pcard__body {
	padding: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	flex: 1;
}
.pcard__name {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4;
}
.pcard__price { font-size: 0.9rem; }
.pcard__price del { color: var(--wp--preset--color--muted); margin-inline-end: 0.3em; }
.pcard__price ins { text-decoration: none; color: var(--wp--preset--color--coral); font-weight: 700; }
.pcard__cta {
	margin: 0.5rem 0.75rem 0.75rem;
	padding: 0.5rem;
	border-radius: 8px;
	background: var(--wp--preset--color--accent);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	border: none;
	cursor: pointer;
	width: calc(100% - 1.5rem);
	transition: background 150ms ease;
}
.pcard__cta:hover { background: var(--wp--preset--color--primary); }

/* ─── FAQ accordion ─────────────────────────────────────────────────────── */
.faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--wp--preset--spacing--30);
}
@media (max-width: 640px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-item {
	background: #fff;
	border-radius: 12px;
	padding: var(--wp--preset--spacing--30);
}
.faq-item summary {
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1rem;
	color: var(--wp--preset--color--primary);
	gap: 0.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
	flex: 0 0 auto;
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--wp--preset--color--accent);
	transition: transform 200ms ease;
	line-height: 1;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item p {
	margin-block-start: 0.75rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--wp--preset--color--ink);
	margin-block-end: 0;
}

/* ─── Botiga parent theme spacing reset (prevents cramped sections) ──────── */
.home .site-main,
.home .entry-content {
	padding: 0;
	margin: 0;
	max-width: none;
}

/* ============================================================
   CAROUSEL CARD — design-reference parity (heart, badge,
   category label, age pill, larger card + CTA). Appended late
   so these override the base .cat-carousel rules above.
   ============================================================ */
.cat-carousel__item { flex: 0 0 240px; }
@media (max-width: 640px) {
	.cat-carousel__item { flex-basis: 64vw; max-inline-size: 260px; }
}

.cat-carousel__card-wrap {
	padding: 0.65rem;
	border-radius: 16px;
	border: 1px solid rgba(30, 58, 95, 0.08);
}
.cat-carousel__img { border-radius: 12px; }

/* Wishlist heart — top start corner */
.cc-wish {
	position: absolute;
	inset-block-start: 14px;
	inset-inline-start: 14px;
	z-index: 2;
	inline-size: 34px;
	block-size: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--wp--preset--color--primary);
	border: 1px solid rgba(30, 58, 95, 0.10);
	box-shadow: 0 2px 6px -2px rgba(30, 58, 95, 0.25);
	cursor: pointer;
	transition: color 150ms ease, transform 100ms ease;
}
.cc-wish:hover  { color: var(--wp--preset--color--coral); }
.cc-wish:active { transform: scale(0.92); }

/* Status badge — top end corner */
.cc-badge {
	position: absolute;
	inset-block-start: 14px;
	inset-inline-end: 14px;
	z-index: 2;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	padding: 6px 10px;
	border-radius: 999px;
	color: #fff;
	white-space: nowrap;
}
.cc-badge--sale { background: var(--wp--preset--color--coral); }
.cc-badge--new  { background: var(--wp--preset--color--primary); }
.cc-badge--pick { background: #5BAE7E; }

/* Category label above the title */
.cc-cat {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	padding-inline: 0.15rem;
	margin-block-start: 0.65rem;
}
.cat-carousel__name {
	font-size: 0.98rem;
	min-block-size: 2.45rem;
	margin-block-start: 0.2rem;
}

/* Age pill */
.cc-age {
	align-self: flex-start;
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	background: #F4ECDB;
	padding: 3px 10px;
	border-radius: 999px;
	margin: 0.3rem 0.15rem 0;
}

.cat-carousel__price {
	font-size: 1.15rem;
	margin-block-start: 0.5rem;
}

/* Full-width add-to-cart pill */
.cat-carousel__qv {
	inline-size: 100%;
	min-height: 44px;
	font-size: 0.9rem;
	padding: 0.6rem;
	margin-block-start: 0.65rem;
	gap: 0.4rem;
}

/* ============================================================
   HERO ART — white card + cream dotted panel + rocket (ref).
   ============================================================ */
.hero-art {
	width: 100%;
	max-inline-size: 520px;
	margin-inline: auto;
	background: #fff;
	border-radius: 28px;
	padding: 22px;
	box-shadow: 0 24px 60px -24px rgba(30, 58, 95, 0.30);
}
.hero-art .hero-rocket {
	max-width: none;
	width: 100%;
	aspect-ratio: 5 / 4;
	border-radius: 16px;
	background: #FBF1E1;
	background-image: radial-gradient(rgba(30, 58, 95, 0.10) 1.6px, transparent 1.6px);
	background-size: 26px 26px;
	box-shadow: none;
	padding: 1.75rem;
}
.hero-art .hero-rocket svg { width: 56%; }

/* ============================================================
   HEADER ACTIONS — wishlist / account labels + orange cart
   button with count bubble + running total (design parity).
   ============================================================ */
.header-actions { gap: 0.4rem; align-items: center; }

.header-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.6rem;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 600;
	border-radius: 999px;
	white-space: nowrap;
	transition: color 150ms ease, background 150ms ease;
}
.header-link:hover { color: var(--wp--preset--color--accent); }
.header-link svg { flex: 0 0 auto; }
@media (max-width: 1100px) { .header-link__label { display: none; } }
@media (max-width: 768px)  { .header-wishlist { display: none; } }

/* Orange cart */
.hdr-cart {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	color: var(--wp--preset--color--primary);
	font-weight: 700;
	font-size: 0.9rem;
	margin-inline-start: 0.2rem;
}
.hdr-cart__total { white-space: nowrap; }
.hdr-cart__total .amount { color: var(--wp--preset--color--primary); }
@media (max-width: 768px) { .hdr-cart__total { display: none; } }
.hdr-cart__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 46px;
	block-size: 46px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	color: #fff;
	flex: 0 0 auto;
	transition: background 150ms ease;
}
.hdr-cart:hover .hdr-cart__btn { background: var(--wp--preset--color--primary); }
.hdr-cart__count {
	position: absolute;
	inset-block-start: -4px;
	inset-inline-start: -4px;
	min-inline-size: 20px;
	block-size: 20px;
	padding-inline: 4px;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
}
.hdr-cart:hover .hdr-cart__count { background: var(--wp--preset--color--accent); }

/* Logo + Suez One tagline lockup (design parity) */
.header-brand { flex: 0 0 auto; }
.header-brand .wp-block-site-logo { margin: 0; line-height: 0; }
.header-brand__tagline {
	font-family: 'Suez One', Georgia, serif;
	font-weight: 400;
	font-size: 0.72rem;
	line-height: 1.1;
	color: var(--wp--preset--color--accent);
	white-space: nowrap;
}
@media (max-width: 768px) { .header-brand__tagline { display: none; } }

/* ============================================================
   Botiga hides .site-header below 1024px to swap in its own
   .mobile-header — but this child theme uses an FSE header part
   (.site-header) and ships no .mobile-header. Force our header
   to stay visible across all breakpoints. Internal elements
   (full search / labels / cart total) collapse via their own
   media queries above for a compact mobile bar.
   ============================================================ */
@media (max-width: 1024px) {
	.site-header { display: block !important; }
}

/* ============================================================
   FOOTER bottom bar — copyright + payment pills (design parity)
   ============================================================ */
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-block-start: 0.5rem;
}
.footer-copy {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(255, 247, 237, 0.75);
}
.pay-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-pill {
	border: 1px solid rgba(255, 255, 255, 0.30);
	border-radius: 8px;
	padding: 5px 11px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
	white-space: nowrap;
}
@media (max-width: 640px) {
	.footer-bottom { justify-content: center; text-align: center; }
}

/* Footer link lists — plain (no bullets), match reference */
footer.wp-block-group ul.wp-block-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer.wp-block-group ul.wp-block-list li { padding-inline-start: 0; }

/* Sparse real-data rows (few products/category) left big empty bands when
   start-aligned. `safe center` centres rows that fit, but falls back to
   start alignment when a row overflows — so the scroll start is never
   clipped (the documented hazard of plain `center`). */
.cat-carousel__row { justify-content: safe center; }

/* Nav items: chevron affordance (ref shows a dropdown caret per item) */
.hero-cats .wp-block-navigation-item__content::after {
	content: "";
	display: inline-block;
	inline-size: 7px;
	block-size: 7px;
	margin-inline-start: 6px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	opacity: 0.65;
	vertical-align: middle;
}
/* Don't add a caret to items that already have a real submenu arrow */
.hero-cats .wp-block-navigation-item__content.wp-block-navigation-submenu__toggle::after { content: none; }

/* ═══════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE — Variant B (boxed purchase card)
   Gallery: vertical rail (gallery-vertical Botiga layout)
   ═══════════════════════════════════════════════════════ */

/* Title + price in brand navy */
.single-product .product_title,
.single-product .price,
.single-product p.price,
.single-product span.price { color: #1E3A5F; }

/* Title — Heebo 800, 38px (ref .tpl-title) */
.single-product .product_title {
	font-size: 38px;
	line-height: 1.12;
	letter-spacing: -0.01em;
	font-weight: 800;
	margin: 0 0 18px;
}

/* Price — Heebo 800, 40px (ref .tpl-price) */
.single-product .price,
.single-product p.price,
.single-product span.price {
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
	margin: 0 0 24px;
}

/* Quantity selector — pill shape */
.single-product .quantity .qty {
	border-radius: 999px;
	border: 1.5px solid #ECE6DB;
	padding-inline: 12px;
	text-align: center;
	font-weight: 700;
}

/* Add to cart — orange pill */
.single-product .single_add_to_cart_button.button {
	border-radius: 999px !important;
	background: #FF8A3D !important;
	color: #fff !important;
	border-color: #FF8A3D !important;
	font-weight: 700;
	transition: background .15s, border-color .15s;
}
.single-product .single_add_to_cart_button.button:hover {
	background: #E5742A !important;
	border-color: #E5742A !important;
}

/* "חדש" / New badge — navy pill */
.single-product span.onsale,
.single-product .botiga-badge--new {
	background: #1E3A5F !important;
	border-radius: 999px !important;
	color: #fff !important;
}

/* Variant B — summary as a white card */
.single-product .summary.entry-summary {
	background: #fff;
	border: 1px solid #ECE6DB;
	border-radius: 18px;
	padding: 28px 30px;
	box-shadow: 0 2px 6px rgba(60,40,10,.06), 0 8px 24px rgba(60,40,10,.06);
}

/* Tabs — orange active underline */
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li a:hover { color: #FF8A3D; }
.single-product .woocommerce-tabs ul.tabs li.active {
	border-bottom-color: #FF8A3D;
}

/* Breadcrumb links in brand orange */
.woocommerce-breadcrumb a { color: #FF8A3D; }

/* Wishlist button — match text style */
.single-product .tinvwl_add_to_wishlist_button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #6B7280;
	font-weight: 600;
	font-size: 14px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px 0;
}
.single-product .tinvwl_add_to_wishlist_button:hover { color: #FF8A3D; }

/* Related products section heading in navy */
.single-product .related.products h2 {
	color: #1E3A5F;
	font-weight: 800;
}

/* Related / upsell / cross-sell loop product cards — orange button + card polish */
.related .products .add_to_cart_button,
.upsells .products .add_to_cart_button,
.crosssells .products .add_to_cart_button,
.related .products a.button,
.upsells .products a.button {
	background: #FF8A3D !important;
	color: #fff !important;
	border-color: #FF8A3D !important;
	border-radius: 999px !important;
	font-family: 'Heebo', sans-serif !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	transition: background .15s !important;
}
.related .products .add_to_cart_button:hover,
.upsells .products .add_to_cart_button:hover {
	background: #E5742A !important;
	border-color: #E5742A !important;
}

/* Related product card polish — match grid card style */
.related ul.products li.product,
.upsells ul.products li.product {
	background: #fff;
	border: 1px solid rgba(30, 58, 95, 0.08);
	border-radius: 16px;
	overflow: hidden;
}

/* Related product title — navy */
.related ul.products li.product .woocommerce-loop-product__title,
.upsells ul.products li.product .woocommerce-loop-product__title {
	color: #1E3A5F !important;
	font-family: 'Heebo', sans-serif !important;
	font-weight: 700 !important;
}

/* Related product price — navy */
.related ul.products li.product .price,
.upsells ul.products li.product .price {
	color: #1E3A5F !important;
	font-family: 'Heebo', sans-serif !important;
	font-weight: 800 !important;
}

/* ───────────────────────────────────────────────────────────
   SINGLE PRODUCT — pixel-perfect refinements (design ref v2)
   ─────────────────────────────────────────────────────────── */

/* 1. Category label above H1 title */
.single-product .single-product-cat-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #6B7280;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
	text-align: right;
}
.single-product .single-product-cat-label a {
	color: #6B7280;
	text-decoration: none;
}
.single-product .single-product-cat-label a:hover { color: #FF8A3D; }

/* 2. Cart icon on add-to-cart button (data-URI SVG, white stroke) */
.single-product .single_add_to_cart_button.button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
/* Add-to-cart sizing — 54px pill, 16px label (ref .tpl-add) */
.single-product .single_add_to_cart_button.button {
	height: 54px !important;
	min-height: 54px;
	padding: 0 26px !important;
	font-size: 16px !important;
	font-weight: 800 !important;
}
.single-product .single_add_to_cart_button.button::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

/* 3. Quantity wrapper — unified pill (ref .tpl-qty, 54px) */
.single-product .quantity {
	display: inline-flex !important;
	align-items: stretch;
	gap: 0 !important;
	border: 1.5px solid #ECE6DB !important;
	border-radius: 999px !important;
	overflow: hidden;
	background: #fff !important;
	height: 54px;
	padding: 0 !important;
	flex-shrink: 0;
}

/* 4. Quantity +/− links — flat segments inside the pill */
.single-product .botiga-quantity-minus,
.single-product .botiga-quantity-plus {
	width: 46px !important;
	min-width: 46px;
	height: auto !important;
	border: 0 !important;
	border-radius: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 20px !important;
	font-weight: 700;
	color: #1E3A5F !important;
	background: transparent !important;
	text-decoration: none !important;
	line-height: 1 !important;
	padding: 0 !important;
	transition: background .15s, color .15s;
	flex-shrink: 0;
}
.single-product .botiga-quantity-minus:hover,
.single-product .botiga-quantity-plus:hover {
	background: #FFF7ED !important;
	color: #FF8A3D !important;
}
/* Hide Botiga's screen-reader spans that leak as text */
.single-product .botiga-quantity-minus .bt-d-none,
.single-product .botiga-quantity-plus .bt-d-none { display: none !important; }

/* 5. Qty input — centered number inside the pill (ref .tpl-qty input) */
.single-product .quantity .qty {
	width: 46px !important;
	height: 54px !important;
	border-radius: 0 !important;
	border: 0 !important;
	padding: 0 !important;
	text-align: center;
	font-weight: 800;
	font-size: 16px;
	color: #1E3A5F;
	background: transparent !important;
}

/* 5b. Hide native number spinner arrows */
.single-product .quantity .qty::-webkit-outer-spin-button,
.single-product .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .quantity .qty { -moz-appearance: textfield; appearance: textfield; }

/* 6. Category + tag links in product meta — brand orange */
.single-product .product_meta .posted_in a,
.single-product .product_meta .tagged_as a {
	color: #FF8A3D !important;
	text-decoration: none;
}
.single-product .product_meta .posted_in a:hover,
.single-product .product_meta .tagged_as a:hover { text-decoration: underline; }

/* 7. Product meta — relocated to a full-width row under the hero
   (re-hooked in functions.php to woocommerce_after_single_product_summary).
   Lay SKU + category inline on one row, spanning both hero columns. */
.single-product div.product .product_meta {
	grid-column: 1 / -1;     /* span full width when product layout is grid */
	flex-basis: 100%;        /* …or when it is flex */
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 28px;
	margin: 28px 0 0;
	padding: 18px 4px 0;
	border-top: 1px solid #ECE6DB;
	font-size: 14px;
	color: #6B7280;
	line-height: 1.6;
}
.single-product .product_meta .sku_wrapper,
.single-product .product_meta .posted_in {
	display: inline-flex;
	gap: 6px;
	margin: 0;
	color: #6B7280;
}

/* Hide the trailing divider Botiga left inside the card once the meta
   (which it used to precede) was relocated under the hero. */
.single-product .summary.entry-summary hr.divider { display: none; }

/* 9. Gallery lightbox trigger pill */
.single-product .woocommerce-product-gallery__trigger {
	background: #fff !important;
	border-radius: 999px !important;
	box-shadow: 0 1px 4px rgba(30,30,30,.12) !important;
	border: 1px solid #ECE6DB !important;
	padding: 6px 10px !important;
	opacity: 1 !important;
	transition: box-shadow .15s;
}
.single-product .woocommerce-product-gallery__trigger:hover {
	box-shadow: 0 2px 8px rgba(30,30,30,.18) !important;
}

/* Hero columns (gallery ↔ summary/pricing card).
   We deliberately DON'T override Botiga's column split here. Botiga ships
   `.product-gallery-summary` as a 50/50 flex row (`flex: 0 0 50%` per child,
   no gap, with 40px inline padding on the summary for separation). That
   already gives a balanced, side-by-side hero that never wraps.

   A previous attempt forced a custom ratio (`flex: 1.02 1 0` + a 56px gap)
   to chase the handoff's 1320px hero. It backfired: the gap + flex-basis:0
   math let the summary keep its content width and starved the gallery down
   to ~507px — smaller than the native 50/50 (~561px). The matching
   `.container.content-wrapper { max-width: 1320px }` was also dead weight:
   the site body is capped at 1200px, so the page never reached 1320px and
   widening it would mean fighting the global content width.

   So: defer to the theme's 50/50 split. The one thing it lacks is breathing
   room between the columns (Botiga ships gap:0), so we add a small DESKTOP-ONLY
   gap and trim each column by half of it (calc(50% - 20px)) so the row still
   totals 100% and never wraps. Mobile (<992px) is left to Botiga, which stacks
   the columns full-width. The square frame below is additive polish.

   (Note: no sticky gallery — its flex container holds only the gallery +
   summary, and the gallery is the taller of the two, so there's nothing for it
   to stick past. A stray `position: sticky; top: 16px` here was overridden to
   `position: relative` by Botiga, leaving just the `top: 16px` to shove the
   gallery 16px below the summary — the cause of the misaligned tops.) */
@media (min-width: 992px) {
	.single-product .product-gallery-summary {
		gap: 40px;
	}
	.single-product .product-gallery-summary > .woocommerce-product-gallery,
	.single-product .product-gallery-summary > .summary.entry-summary {
		flex: 0 0 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}
}

/* 10. Gallery main image — fixed square container, image cropped to fill
   (ref .tpl-main, aspect-ratio 1). A defined frame so every product's image
   is the same size regardless of source dimensions; object-fit: cover crops
   the photo to fill the square (no letterboxing). */
.single-product .woocommerce-product-gallery__image {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid #ECE6DB;
	background: #F5EEE2;
}
.single-product .woocommerce-product-gallery__image > a,
.single-product .woocommerce-product-gallery__image > a > img,
.single-product .woocommerce-product-gallery__image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}
