/* Components: product page, overlays, reviews, services, contact, basket.
   App shell (app bar, drawer, tab bar, grids, cards, catalog) lives in app.css. */

/* Section header — one row: title + inline controls/action, with a clear gap
   before the content that follows. */
.shead { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-7); }
.shead .section__title { margin-bottom: 0; }

/* Product page — media pinned to the physical LEFT, text panel on the right;
   the gallery stretches to exactly match the info card's height. */
.product { padding-bottom: var(--space-10); }
.product__layout { display: grid; gap: var(--space-8); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
@media (max-width: 900px) { .product__layout { grid-template-columns: 1fr; gap: var(--space-5); } }
@media (min-width: 901px) {
	.product__media { order: 2; display: flex; flex-direction: column; min-width: 0; }
	.product__panel { order: 1; }
	.product__media .gallery { display: flex; flex-direction: column; flex: 1; min-height: 0; }
	.product__media .gallery__main { flex: 1; aspect-ratio: auto; min-height: 420px; }
}

.product__panel {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sheet);
	box-shadow: var(--shadow-card);
	padding: var(--space-6);
}

.gallery__main {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--radius-sheet);
	overflow: hidden;
	background: var(--color-secondary-soft);
	box-shadow: var(--shadow-card);
	cursor: zoom-in;
	touch-action: pan-y pinch-zoom; /* Horizontal swipes are ours (image navigation); pinch stays native. */
}
.gallery__main.is-zoomed { cursor: zoom-out; }
/* Slide transition: JS keeps every image at translateX((i - current) * 100%).
   No-JS fallback: only the server-marked active image sits on screen. */
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateX(100%); transition: transform 350ms var(--ease); }
.gallery__img.is-active { transform: none; }
/* Direct prev/next arrows over the image. */
.gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: var(--color-text);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--shadow-card);
	transition: background var(--dur-control) var(--ease);
}
.gallery__nav:hover { background: var(--color-surface); color: var(--color-primary); }
.gallery__nav--prev { inset-inline-start: var(--space-3); }
.gallery__nav--next { inset-inline-end: var(--space-3); }
.gallery { margin: 0; }
/* Dots instead of a thumbnail strip (client request 2026-09-02): swipe or tap a dot. */
.gallery__dots { position: absolute; inset-inline: 0; bottom: var(--space-2); z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery__dots button { pointer-events: auto; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.65); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18); cursor: pointer; transition: width 200ms, background-color 200ms; }
.gallery__dots button[aria-pressed='true'] { width: 22px; border-radius: 999px; background: #fff; }
/* Videos — 16:9 cards; YouTube shows a light thumbnail facade until clicked. */
.vgrid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.vcard {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	border: 0;
	border-radius: var(--radius-media);
	overflow: hidden;
	background: #101812;
	box-shadow: var(--shadow-card);
	cursor: pointer;
}
.vcard > img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
.vcard__play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 62px;
	height: 62px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	color: var(--color-primary);
	box-shadow: var(--shadow-lift);
	transition: transform var(--dur-control) var(--ease);
}
.vcard__play svg { margin-inline-start: 3px; }
.vcard:hover .vcard__play { transform: scale(1.1); }
@media (prefers-reduced-motion: no-preference) {
	.vcard > img { transition: transform 500ms var(--ease), opacity var(--dur-control) var(--ease); }
	.vcard:hover > img { transform: scale(1.05); opacity: 1; }
}
.vcard iframe, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vcard--playing, .vcard--file, .vcard--embed { cursor: default; }
/* Tall (portrait) uploads: never taller than the viewport; width follows the ratio (--r = w/h) and the card centres. */
.vcard--tall { width: min(100%, calc(72vh * var(--r, 0.5625))); margin-inline: auto; }
.vcard--link { display: grid; place-items: center; text-decoration: none; }
.vcard--link .vcard__play { position: static; margin: 0 0 var(--space-2); }
.vcard__ext { color: #fff; font-weight: 500; position: relative; }
.vcard--link { align-content: center; justify-items: center; }

.product__videos { margin-block: var(--space-8); }
.product__videos h2 { font-size: var(--text-h3); margin-bottom: var(--space-4); }

.product__name { font-size: var(--text-h2); margin-bottom: var(--space-2); }
.product__meta { display: flex; gap: var(--space-4); align-items: center; }
.product__rating { color: var(--color-accent); text-decoration: none; }
.product__price { font-family: var(--font-head); font-size: var(--text-h2); font-weight: 800; color: var(--color-primary); margin-bottom: var(--space-3); }
.product__excerpt { color: var(--color-text-muted); }
.avail { display: inline-flex; align-items: center; gap: 6px; }
.avail::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.variants, .addons { border: 1px solid var(--color-border); border-radius: var(--radius-card); padding: var(--space-4); margin: 0 0 var(--space-4); }
.variants legend, .addons legend { font-weight: 600; padding-inline: var(--space-1); }
.variants__opt, .addons__opt {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	padding: var(--space-2) 0;
	min-height: 44px;
	cursor: pointer;
}
.variants__opt.is-out { color: var(--color-text-muted); cursor: not-allowed; }
.variants__price, .addons__price { margin-inline-start: auto; color: var(--color-primary); font-size: var(--text-small); }
.addons__media { width: 44px; height: 44px; border-radius: var(--radius-control); overflow: hidden; flex-shrink: 0; }
.addons__media img { width: 100%; height: 100%; object-fit: cover; }

/* Buy controls live in the sticky .buybar (app.css) since 2026-09-02. */
.qty { display: inline-flex; border: 1px solid var(--color-border); border-radius: var(--radius-control); overflow: hidden; }
.qty button { width: 44px; min-height: 44px; border: 0; background: var(--color-surface); cursor: pointer; font-size: 1.1rem; }
.qty button:hover { background: var(--color-secondary-soft); }
.qty input { width: 56px; border: 0; text-align: center; font: inherit; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.specs { margin: 0; display: grid; gap: var(--space-2); }
.specs__row {
	display: flex;
	gap: var(--space-4);
	padding: var(--space-2) var(--space-4);
	background: var(--color-secondary-soft);
	border-radius: var(--radius-card);
}
.specs dt { color: var(--color-text-muted); min-width: 90px; }
.specs dd { margin: 0; font-weight: 500; }

.product__details { display: grid; gap: var(--space-5); margin-block: var(--space-8); }
.detail {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-media);
	box-shadow: var(--shadow-card);
	padding: var(--space-6);
}
.detail h2 { font-size: var(--text-h3); }
.detail > :last-child { margin-bottom: 0; }

/* Reviews — compact rounded cards. */
.reviews { list-style: none; display: grid; gap: var(--space-4); padding: 0; margin: 0; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.review {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-media);
	box-shadow: var(--shadow-card);
	padding: var(--space-4) var(--space-5);
}
.review__head { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-2); }
.review__avatar {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: var(--radius-pill);
	background: var(--color-secondary-soft);
	color: var(--color-primary);
	font-family: var(--font-head);
	font-weight: 700;
}
.review__avatar--f { background: #f7ecef; color: #a05a72; }
.review__who { display: grid; min-width: 0; }
.review__name { font-weight: 600; font-size: var(--text-small); }
.review__date { color: var(--color-text-muted); font-size: var(--text-micro); }
.review__stars { color: var(--color-accent); letter-spacing: 2px; margin-inline-start: auto; font-size: var(--text-small); }
.review__text { margin: 0; font-size: var(--text-small); line-height: 1.8; }
.product__reviews { margin-block: var(--space-8); }
.product__reviews h2 { font-size: var(--text-h3); }

.review-form {
	margin-top: var(--space-6);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-media);
	box-shadow: var(--shadow-card);
	padding: var(--space-5) var(--space-6);
}
.review-form h3 { font-size: var(--text-body-lg); }
.review-form__actions { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin: 0; }
.review-form__note { margin: 0; font-size: var(--text-small); }
.review-form__grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr auto; align-items: end; }
.field label, .field legend { display: block; font-size: var(--text-small); font-weight: 500; margin-bottom: var(--space-1); }
.field input, .field textarea {
	width: 100%;
	padding: var(--space-2) var(--space-3);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-control);
	font: inherit;
	font-size: 16px;
}
.field--stars { border: 0; padding: 0; margin: 0; }
.starpick { display: inline-flex; flex-direction: row-reverse; font-size: 2.25rem; }
.starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.starpick label { cursor: pointer; color: var(--color-border); padding: 0 2px; }
.starpick input:checked ~ label, .starpick label:hover, .starpick label:hover ~ label { color: var(--color-accent); }
.starpick input:focus-visible + label { outline: 2px solid var(--color-primary); border-radius: 4px; }
.review-form__status { padding: var(--space-2) var(--space-3); border-radius: var(--radius-control); }
.review-form__status.is-ok { background: var(--color-secondary-soft); color: var(--color-success); }
.review-form__status.is-err { background: #f9efef; color: var(--color-danger); }

/* Story / mosaic / areas / contact band */
.story { position: relative; background: var(--color-primary-deep); color: #fff; padding-block: var(--space-10); overflow: hidden; }
.story__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.story::after { content: ''; position: absolute; inset: 0; background: rgba(24, 32, 25, 0.55); }
.story .section__title { color: #fff; }
.story__inner { position: relative; z-index: 1; max-width: 640px; text-align: center; }
.story__text { color: #dfe7e0; }
.story__tagline { color: #c4d0c1; font-size: var(--text-body-lg); }

.mosaic__hint { text-align: center; color: var(--color-muted); margin: calc(-1 * var(--space-3)) 0 var(--space-4); font-size: 0.9rem; }
.mosaic { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 641px) {
	.mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
}
.mosaic__item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #edf1ec; border-radius: var(--radius-card); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms ease; }
.mosaic__item:hover img, .mosaic__item:focus-visible img { transform: scale(1.05); }
.mosaic__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(24, 32, 25, 0.45), transparent 50%); opacity: 0; transition: opacity 250ms; }
.mosaic__item:hover::after, .mosaic__item:focus-visible::after { opacity: 1; }
.mosaic__zoom { position: absolute; inset-inline-end: var(--space-3); bottom: var(--space-3); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--color-primary); opacity: 0; transform: translateY(6px); transition: opacity 250ms, transform 250ms; z-index: 1; }
.mosaic__item:hover .mosaic__zoom, .mosaic__item:focus-visible .mosaic__zoom { opacity: 1; transform: none; }
.mosaic__zoom svg { width: 18px; height: 18px; }

/* Lightbox: native dialog, full-viewport dark stage. */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(12, 18, 13, 0.96); color: #fff; inset: 0; }
.lightbox::backdrop { background: rgba(12, 18, 13, 0.96); }
.lightbox__stage { margin: 0; width: 100%; height: 100%; display: grid; place-items: center; padding: var(--space-6) var(--space-4); box-sizing: border-box; touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-card); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.lightbox__close, .lightbox__nav { position: fixed; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background 150ms; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--color-primary); }
.lightbox__close { top: var(--space-4); inset-inline-end: var(--space-4); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { inset-inline-start: var(--space-4); }
.lightbox__nav--next { inset-inline-end: var(--space-4); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__count { direction: ltr; position: fixed; bottom: var(--space-4); inset-inline: 0; margin: 0; text-align: center; color: #c4d0c1; font-size: 0.9rem; }
@media (max-width: 640px) {
	.lightbox__nav { top: auto; bottom: var(--space-8); transform: none; }
	.lightbox__stage { padding: var(--space-8) var(--space-2); }
}

/* Service areas — premium dark panel: Iraq map + glass area chips. */
.areas-wrap {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: var(--space-7);
	grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
	align-items: center;
	background: linear-gradient(160deg, #17251c, var(--color-primary-deep) 55%, #1d2f24);
	border-radius: var(--radius-sheet);
	box-shadow: var(--shadow-lift);
	padding: var(--space-8);
	color: #fff;
}
.areas-wrap::before {
	content: '';
	position: absolute;
	top: -160px;
	inset-inline-end: 10%;
	width: 460px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(141, 157, 138, 0.25), transparent);
	pointer-events: none;
}
@media (max-width: 760px) { .areas-wrap { grid-template-columns: 1fr; padding: var(--space-6); } }
.areas-side { position: relative; }
.areas-side .section__title { color: #fff; margin-bottom: var(--space-2); }
.areas-side__sub { color: #c4d0c1; margin: 0 0 var(--space-5); }
.areas-map { position: relative; }
.areas-map svg { width: 100%; max-width: 440px; height: auto; display: block; margin-inline: auto; filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.35)); }
.areas-map__land {
	fill: url(#kh-land);
	stroke: rgba(255, 255, 255, 0.4);
	stroke-width: 1.5;
	stroke-linejoin: round;
}
.areas-map__dot { fill: #ffd98a; stroke: #fff; stroke-width: 1.5; }
.areas-map__halo { fill: #ffd98a; opacity: 0.2; }
.areas-map__pin text {
	font-family: var(--font-ar);
	font-size: 16px;
	font-weight: 600;
	fill: #fff;
	paint-order: stroke;
	stroke: rgba(16, 24, 18, 0.65);
	stroke-width: 3px;
}
@media (prefers-reduced-motion: no-preference) {
	.areas-map__halo { transform-origin: center; transform-box: fill-box; animation: kh-halo 2.4s var(--ease) infinite; }
	@keyframes kh-halo {
		0% { transform: scale(0.6); opacity: 0.35; }
		70% { transform: scale(1.3); opacity: 0; }
		100% { transform: scale(1.3); opacity: 0; }
	}
}
.areas { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); padding: 0; margin: 0; }
.areas li {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	padding: var(--space-2) var(--space-4);
	font-size: var(--text-small);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.areas li svg { color: #ffd98a; flex-shrink: 0; }

.contactband { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-media); padding: var(--space-7); }
.contactband__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* Overlays: search + basket */
.overlay { position: fixed; inset: 0; background: rgba(24, 32, 25, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 60; overscroll-behavior: contain; touch-action: none; }
.overlay[hidden] { display: none; }
.overlay__panel { background: var(--color-surface); box-shadow: var(--shadow-lift); overscroll-behavior: contain; touch-action: pan-y; }
.overlay__panel--side {
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	width: min(420px, 100%);
	display: flex;
	flex-direction: column;
	padding: var(--space-5);
	padding-bottom: calc(var(--space-5) + env(safe-area-inset-bottom));
}

.search-form { display: flex; gap: var(--space-2); }
.search-form input {
	flex: 1;
	min-height: 48px;
	padding-inline: var(--space-4);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-control);
	font: inherit;
	font-size: 16px;
}
.search-results { overflow-y: auto; margin-top: var(--space-4); }
.sresult { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-2); border-radius: var(--radius-control); text-decoration: none; color: var(--color-text); }
.sresult:hover, .sresult.is-active { background: var(--color-secondary-soft); }
.sresult__img { width: 48px; height: 48px; border-radius: var(--radius-control); object-fit: cover; background: var(--color-secondary-soft); flex-shrink: 0; }
.sresult__name { font-weight: 500; }
.sresult__meta { font-size: var(--text-small); color: var(--color-text-muted); display: flex; gap: var(--space-3); }
.sresult--cat .sresult__name::after { content: ' ›'; }
.search-results__empty, .search-results__more { padding: var(--space-3); color: var(--color-text-muted); text-align: center; display: block; }

/* Basket */
.basket__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.basket__head h2 { margin: 0; font-size: var(--text-h3); }
.basket__items { flex: 1; overflow-y: auto; }
.bitem { display: flex; gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid var(--color-border); }
.bitem__img { width: 64px; height: 64px; border-radius: var(--radius-control); object-fit: cover; background: var(--color-secondary-soft); flex-shrink: 0; }
.bitem__body { flex: 1; min-width: 0; }
.bitem__name { font-weight: 500; text-decoration: none; color: var(--color-text); display: block; }
.bitem__variant, .bitem__addons { font-size: var(--text-small); color: var(--color-text-muted); }
.bitem__row { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-2); }
.bitem__price { margin-inline-start: auto; font-size: var(--text-small); color: var(--color-primary); font-weight: 600; }
.bitem__remove { background: none; border: 0; color: var(--color-danger); cursor: pointer; font-size: var(--text-small); padding: var(--space-1) var(--space-2); min-height: 44px; display: inline-flex; align-items: center; }
.basket__foot { border-top: 1px solid var(--color-border); padding-top: var(--space-4); display: grid; gap: var(--space-2); }
.basket__total { font-weight: 600; display: flex; justify-content: space-between; }
.basket__empty { text-align: center; color: var(--color-text-muted); padding-block: var(--space-8); }

/* Testimonials / review sliders — one horizontal row, randomized server-side,
   auto-sliding card by card; touch scrolls natively, JS adds mouse drag. */
.trust { overflow: hidden; }
.tslider {
	display: flex;
	gap: var(--space-4);
	list-style: none;
	margin: 0;
	padding: var(--space-2) var(--container-pad) var(--space-4);
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
	scrollbar-width: none; /* Auto-slide + drag: the bar itself is just noise. */
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.tslider::-webkit-scrollbar { display: none; }
.tslider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.tslider.is-dragging > * { pointer-events: none; }
/* Product-page variant: review cards ride the same slider. */
.tslider--reviews { padding-inline: 0; margin-bottom: var(--space-4); }
.tslider--reviews .review { flex-shrink: 0; width: min(360px, 82vw); scroll-snap-align: start; }
.tcard {
	width: min(340px, 78vw);
	flex-shrink: 0;
	scroll-snap-align: start;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
	padding: var(--space-5);
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}
.tcard__stars { color: var(--color-accent); letter-spacing: 3px; }
.tcard__text { margin: 0; flex: 1; font-size: var(--text-small); line-height: 1.8; }
.tcard__author { margin: 0; display: flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: var(--text-small); }
.tcard__avatar {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: var(--radius-pill);
	background: var(--color-secondary-soft);
	color: var(--color-primary);
	font-family: var(--font-head);
	font-weight: 700;
}
.tcard__avatar--f { background: #f7ecef; color: #a05a72; }

/* Contact section — info card (start side) + large embedded map. */
.contact__grid {
	display: grid;
	gap: var(--space-6);
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: stretch;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__map {
	border-radius: var(--radius-sheet);
	overflow: hidden;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-card);
	min-height: 480px;
	background: var(--color-secondary-soft);
}
.contact__map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }
.contact__card {
	background: linear-gradient(170deg, var(--color-surface), var(--color-secondary-soft));
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sheet);
	box-shadow: var(--shadow-card);
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}
.contact__list { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; gap: var(--space-4); align-content: start; }
.contact__list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.contact__ico {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: var(--radius-card);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	color: var(--color-primary);
}
.contact__body { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.contact__label { color: var(--color-text-muted); font-size: var(--text-small); }
.contact__list a { text-decoration: none; font-weight: 500; }
.contact__list a:hover { text-decoration: underline; }
.contact__social { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.contact__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.social-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	color: var(--color-primary);
	transition: background var(--dur-control) var(--ease), color var(--dur-control) var(--ease), border-color var(--dur-control) var(--ease);
}
.social-btn:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* Motion — gated so reduced-motion users get a calm static page. */
@media (prefers-reduced-motion: no-preference) {
	.pcard, .review, .tcard {
		transition: transform var(--dur-card) var(--ease), border-color var(--dur-card) var(--ease), box-shadow var(--dur-card) var(--ease);
	}
	.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
	.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
	.pcard__media img {
		transition: transform 500ms var(--ease);
	}
	.pcard:hover .pcard__media img {
		transform: scale(1.06);
	}
	.btn { transition: background var(--dur-control) var(--ease), border-color var(--dur-control) var(--ease), color var(--dur-control) var(--ease), transform var(--dur-control) var(--ease), box-shadow var(--dur-control) var(--ease); }
	.btn:hover { transform: translateY(-1px); }
	.btn:active { transform: scale(0.98); }
	.btn--primary:hover, .btn--whatsapp:hover { box-shadow: 0 8px 20px rgba(24, 32, 25, 0.25); }
	/* Scroll reveal (JS adds kh-reveal / is-visible; no JS = no hiding). */
	.kh-reveal { opacity: 0; transform: translateY(18px); transition: opacity 550ms var(--ease), transform 550ms var(--ease); transition-delay: var(--reveal-delay, 0ms); }
	.kh-reveal.is-visible { opacity: 1; transform: none; }
}

/* Floating basket bubble — visible whenever the basket has items. */
.basket-fab {
	position: fixed;
	bottom: calc(var(--space-6) + env(safe-area-inset-bottom));
	right: var(--space-5); /* Client request: bubble on the right, always. */
	z-index: 55;
	width: 60px;
	height: 60px;
	border: 0;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	display: grid;
	place-items: center;
	box-shadow: var(--shadow-lift);
	cursor: pointer;
	transition: transform var(--dur-control) var(--ease), background var(--dur-control) var(--ease);
}
.basket-fab:hover { background: var(--color-primary-hover); transform: scale(1.06); }
.basket-fab[hidden] { display: none; }
.basket-fab__count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 24px;
	height: 24px;
	padding-inline: 6px;
	display: grid;
	place-items: center;
	background: var(--color-accent-bright, #d9b45a);
	color: var(--color-text);
	font-size: var(--text-small);
	font-weight: 700;
	border-radius: var(--radius-pill);
	border: 2px solid #fff;
}

/* Floating basket bar — confirms the add and leads straight to the basket. */
.kh-toast {
	position: fixed;
	bottom: calc(var(--space-6) + env(safe-area-inset-bottom));
	/* On phones sit above the floating basket bubble instead of under it. */
}
@media (max-width: 640px) { .kh-toast { bottom: calc(var(--space-6) + env(safe-area-inset-bottom) + 76px); } }
.kh-toast {
	inset-inline-start: 50%;
	transform: translateX(50%);
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	width: min(560px, calc(100% - 32px));
	background: var(--color-primary);
	color: #fff;
	padding: var(--space-3);
	padding-inline-start: var(--space-6);
	border-radius: var(--radius-pill);
	box-shadow: var(--shadow-lift);
	font-weight: 500;
	pointer-events: none;
	opacity: 0;
	transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
html[dir='ltr'] .kh-toast { transform: translateX(-50%); }
.kh-toast.is-visible { opacity: 1; pointer-events: auto; transform: translateX(50%) translateY(-6px); }
html[dir='ltr'] .kh-toast.is-visible { transform: translateX(-50%) translateY(-6px); }
.kh-toast__btn {
	flex-shrink: 0;
	border: 0;
	cursor: pointer;
	background: #fff;
	color: var(--color-primary);
	font: inherit;
	font-weight: 600;
	min-height: 40px;
	padding-inline: var(--space-5);
	border-radius: var(--radius-pill);
}
.kh-toast__btn:hover { background: var(--color-secondary-soft); }

/* WhatsApp CTA pulse (product page only; calm for reduced motion). */
@media (prefers-reduced-motion: no-preference) {
	.buybar .btn--whatsapp { animation: kh-wa-pulse 2.6s var(--ease) infinite; }
	@keyframes kh-wa-pulse {
		0%, 100% { box-shadow: 0 0 0 0 rgba(14, 124, 67, 0.45); }
		45% { box-shadow: 0 0 0 12px rgba(14, 124, 67, 0); }
		60% { box-shadow: 0 0 0 0 rgba(14, 124, 67, 0); }
	}
}

/* Page */
.page { padding-block: var(--space-8); }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
