/* Softener gold — mobile only: section-2 image width aligns with .header-inner / logo track */
@media (max-width: 640px) {
	main.gold-page.softener-gold-page:not(.nabati-page):not(.rosegold-page):not(.liquid-rosegold-page):not(.powder-hand-page):not(.powder-machine-page) .gold-summary__band {
		padding-inline: 0;
	}

	main.gold-page.softener-gold-page:not(.nabati-page):not(.rosegold-page):not(.liquid-rosegold-page):not(.powder-hand-page):not(.powder-machine-page) .gold-summary__band .container {
		width: var(--layout-width);
		max-width: var(--layout-width);
		padding-inline: 0;
		margin-inline: auto;
	}

	main.gold-page.softener-gold-page:not(.nabati-page):not(.rosegold-page):not(.liquid-rosegold-page):not(.powder-hand-page):not(.powder-machine-page) .gold-product-card {
		width: 100%;
		max-width: 100%;
		margin-inline: auto;
	}

	main.gold-page.softener-gold-page:not(.nabati-page):not(.rosegold-page):not(.liquid-rosegold-page):not(.powder-hand-page):not(.powder-machine-page) .gold-product-card__info {
		padding: 1.25rem 1rem 1.5rem;
	}

	main.gold-page.softener-gold-page:not(.nabati-page):not(.rosegold-page):not(.liquid-rosegold-page):not(.powder-hand-page):not(.powder-machine-page) .gold-product-card__media {
		display: flex;
		justify-content: center;
		align-items: flex-end;
		width: 100%;
		padding: 0;
		box-sizing: border-box;
		height: auto;
		min-height: 0;
		max-height: none;
		overflow: visible;
	}

	html[dir="rtl"] main.gold-page.softener-gold-page:not(.nabati-page):not(.rosegold-page):not(.liquid-rosegold-page):not(.powder-hand-page):not(.powder-machine-page) .gold-product-card__media {
		justify-content: center;
	}

	main.gold-page.softener-gold-page:not(.nabati-page):not(.rosegold-page):not(.liquid-rosegold-page):not(.powder-hand-page):not(.powder-machine-page) .gold-product-card__media img {
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: none;
		object-fit: contain;
		object-position: center bottom;
		align-self: flex-end;
		margin: 0 auto;
		margin-bottom: 0;
	}

	/* Nabati mobile: s1 title cream; image+below+info #F7EAD8; cream gap; s3 details */
	main.gold-page.nabati-page .gold-summary__band {
		background: #FCF3EB;
	}

	/* Nabati + Rosegold: section-2 box/image align with .header-inner / logo track */
	main.gold-page.nabati-page .gold-summary__band .container,
	main.gold-page.rosegold-page .gold-summary__band .container {
		width: var(--layout-width);
		max-width: var(--layout-width);
		padding-inline: 0;
		margin-inline: auto;
	}

	main.gold-page.nabati-page .gold-product-card,
	main.gold-page.rosegold-page .gold-product-card {
		width: 100%;
		max-width: 100%;
		margin-inline: auto;
	}

	/* Below-image strip (info margin-top) + card surface — mobile only */
	main.gold-page.nabati-page .gold-product-card {
		background: #F7EAD8;
	}

	main.gold-page.nabati-page .gold-product-card__media {
		background: #F7EAD8;
		justify-content: center;
	}

	html[dir="rtl"] main.gold-page.nabati-page .gold-product-card__media {
		justify-content: center;
	}

	main.gold-page.nabati-page .gold-product-card__media img,
	main.gold-page.rosegold-page .gold-product-card__media img {
		width: 100%;
		max-width: 100%;
		object-position: center bottom;
		margin: 0 auto;
		margin-bottom: 0;
	}

	main.gold-page.rosegold-page .gold-product-card__media {
		justify-content: center;
	}

	html[dir="rtl"] main.gold-page.rosegold-page .gold-product-card__media {
		justify-content: center;
	}

	main.gold-page.nabati-page .gold-product-card__info {
		width: 100%;
		max-width: 100%;
		margin-inline: 0;
		margin-top: clamp(1.5rem, 4vw, 2rem);
		padding: 1.35rem 1rem 1.35rem;
		background: #F7EAD8;
		text-align: center;
		align-items: center;
	}

	main.gold-page.rosegold-page .gold-product-card__info {
		padding: 1.25rem 1rem 1.5rem;
	}

	main.gold-page.nabati-page .gold-product-card__weights {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: center;
		width: 100%;
		max-width: min(100%, var(--layout-width));
		gap: 0.75rem;
		margin-inline: auto;
	}

	main.gold-page.nabati-page .gold-weight-btn {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
	}

	main.gold-page.nabati-page .gold-section-gap {
		background: #FCF3EB;
	}

	main.gold-page.nabati-page .gold-summary + .gold-section-gap {
		background: #FCF3EB;
		height: clamp(1.25rem, 2.5vw, 1.75rem);
		overflow: visible;
	}

	main.gold-page.nabati-page .gold-details {
		background: #F7EAD8;
		width: 100%;
	}

	main.gold-page.nabati-page .gold-shop-band > .gold-section-gap:first-child {
		background: #FCF3EB;
	}

	/* Gap between online shop and footer — mobile only */
	main.gold-page.nabati-page .gold-shop-band > .gold-section-gap:last-child {
		background: #F7EAD8;
	}
}

/* Contact map — compact card, map fills box */
.contact-map__card {
	height: clamp(308px, calc(30vw + 28px), 368px) !important;
	min-height: 308px !important;
}
.contact-map__embed {
	position: relative !important;
	align-self: stretch !important;
	min-height: 0 !important;
	height: 100% !important;
	width: 100% !important;
	overflow: hidden !important;
	border-radius: 0 !important;
}
.contact-map__embed iframe {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	display: block !important;
}
.contact-map__open {
	top: 12px !important;
	left: 12px !important;
}
@media (max-width: 960px) {
	.contact-map__card {
		height: auto !important;
		min-height: 0 !important;
	}
	.contact-map__embed {
		height: 340px !important;
		min-height: 340px !important;
		border-radius: 0 !important;
	}
	.contact-map__embed iframe {
		inset: 0 !important;
		width: 100% !important;
		height: 100% !important;
		border-radius: 0 !important;
	}
}


/* Liquid HD + Baby — section-2 boxes/images align with .header-inner / logo track */
@media (max-width: 640px) {
	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-summary__band {
		padding-inline: 0;
	}

	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-summary__band .container {
		width: var(--layout-width);
		max-width: var(--layout-width);
		padding-inline: 0;
		margin-inline: auto;
	}

	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-product-card {
		width: 100%;
		max-width: 100%;
		margin-inline: auto;
	}

	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-product-card__info {
		padding: 1.25rem 1rem 1.5rem;
	}

	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-product-card__media {
		display: flex;
		justify-content: center;
		align-items: flex-end;
		width: 100%;
		padding: 0;
		box-sizing: border-box;
		height: auto;
		min-height: 0;
		max-height: none;
		overflow: visible;
	}

	html[dir="rtl"] main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-product-card__media {
		justify-content: center;
	}

	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-product-card__media img {
		display: block;
		position: static;
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: none;
		object-fit: contain;
		object-position: center bottom;
		align-self: flex-end;
		margin: 0 auto;
		margin-bottom: 0;
	}
}

/* Liquid HD — mobile shop boxes/icons must match liquid-rosegold (loads after style.css) */
@media (max-width: 640px) {
	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-shop {
		padding: 1.15rem 0 1.35rem;
	}

	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-shop-card {
		padding: 1.25rem 0 0.65rem;
		aspect-ratio: 363 / 198;
	}

	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-shop-card__logo {
		flex: 1 1 auto;
		min-height: 0;
		align-items: flex-start;
		margin-bottom: clamp(10px, 1.2vw, 16px);
		transform: translateY(-8px);
	}

	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-shop-card__logo img {
		max-height: clamp(118px, 34vw, 162px);
		max-width: 96%;
	}

	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-shop-card__btn {
		min-height: 38px;
		padding: 0.45rem 0.5rem;
		font-size: 0.72rem;
	}

	main.gold-page.liquid-rosegold-page.liquid-hd-page .gold-shop-band > .gold-section-gap:last-child {
		height: clamp(2.5rem, 5vw, 3.25rem);
	}
}

/* Nabati — shop boxes/icons must match powder-hand (loads after style.css) */
main.gold-page.nabati-page .gold-shop-card {
	padding: 1.35rem 0 0.75rem;
	aspect-ratio: 363 / 252;
	min-height: 0;
	justify-content: space-between;
	gap: 0;
}

main.gold-page.nabati-page .gold-shop-card__logo {
	flex: 1 1 auto;
	min-height: 0;
	align-items: center;
	margin-bottom: clamp(18px, 2.4vw, 28px);
	transform: none;
}

main.gold-page.nabati-page .gold-shop-card__logo img {
	max-height: clamp(72px, 6.8vw, 118px);
	max-width: 82%;
}

main.gold-page.nabati-page .gold-shop-card__btn {
	width: calc(100% - 28px);
	min-height: 38px;
	padding: 0.45rem 0.5rem;
	font-size: 0.72rem;
}

@media (max-width: 640px) {
	main.gold-page.nabati-page .gold-shop {
		padding: 1.15rem 0 1.35rem;
	}

	main.gold-page.nabati-page .gold-shop-card {
		padding: 1.25rem 0 0.65rem;
		aspect-ratio: 363 / 198;
	}

	main.gold-page.nabati-page .gold-shop-card__logo {
		align-items: flex-start;
		margin-bottom: clamp(10px, 1.2vw, 16px);
		transform: translateY(-8px);
	}

	main.gold-page.nabati-page .gold-shop-card__logo img {
		max-height: clamp(118px, 34vw, 162px);
		max-width: 96%;
	}

	main.gold-page.nabati-page .gold-shop-card__btn {
		min-height: 38px;
		padding: 0.45rem 0.5rem;
		font-size: 0.72rem;
	}
}
