/*
 * InstaSwad Premium — "Saffron & Ink"
 *
 * Loaded after the parent theme's styles. Colours, fonts, widths and spacing come from the
 * parent's CSS variables (--isw-*), so Appearance → Theme Settings keeps controlling them.
 *
 *  1. Tokens & base          9. How to order
 *  2. Buttons & WhatsApp     10. WhatsApp panel
 *  3. Labels & headings      11. FAQ
 *  4. Header & menu          12. Contact & enquiry form
 *  5. Hero                   13. Final call to action
 *  6. Ribbon                 14. Footer
 *  7. Story                  15. Thank You page
 *  8. Collection & why       16. Motion, reduced motion & print
 *                            17. Product details popup
 */

/* ---------- 1. Tokens & base ---------- */
:root {
	--isp-ink: var(--isw-heading);
	--isp-saffron: var(--isw-secondary);
	--isp-rust: var(--isw-accent);
	--isp-paper: var(--isw-body-bg);
	--isp-parchment: var(--isw-alt-bg);
	--isp-line: var(--isw-border);
	--isp-card: var(--isw-content-bg, #fff);
	--isp-wa: #25D366;
	--isp-error: #B3261E;
	--isp-ease: cubic-bezier(.2, .7, .2, 1);
	--isp-pad: clamp(72px, 9vw, var(--isw-section-pad));
	--isp-gutter: var(--isw-container-pad);
}
body.isp { background: var(--isp-paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.isp ::selection { background: color-mix(in srgb, var(--isp-saffron) 35%, transparent); color: var(--isp-ink); }
.isp :where(h1, h2, h3, h4) em { font-style: italic; font-weight: 400; }
.isp .site-main.page-landing, .isp .entry-content.is-landing { overflow-x: clip; }

/* Every premium section: full width, inner content limited to the wide width. */
:where(.isp-hero, .isp-story, .isp-products, .isp-why, .isp-how, .isp-wa-panel, .isp-faq, .isp-contact) {
	padding: var(--isp-pad) var(--isp-gutter);
}
:where(.isp-hero, .isp-story, .isp-products, .isp-why, .isp-how, .isp-wa-panel, .isp-faq, .isp-contact) > .alignwide { max-width: var(--isw-wide-width); margin-inline: auto; }
.isp-products, .isp-contact { background: var(--isp-parchment); }
.isp .entry-content.is-landing > .alignfull + .alignfull { margin-top: 0; }
.isp .site-main--landing { padding-block: 0; }

/* ---------- 2. Buttons & WhatsApp ---------- */
.isp-btn,
.isp-wa-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .65em;
	min-height: 52px; padding: 0 28px;
	border: 1.5px solid var(--isw-btn-bg); border-radius: var(--isw-btn-radius);
	background: var(--isw-btn-bg); color: var(--isw-btn-text);
	font-family: var(--isw-font-ui); font-size: var(--isw-btn-fs); font-weight: var(--isw-btn-fw); line-height: 1.2; letter-spacing: .01em;
	text-decoration: none; cursor: pointer;
	transition: transform .35s var(--isp-ease), background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .35s ease;
}
.isp-btn:hover, .isp-wa-btn:hover {
	background: var(--isw-btn-hover-bg); border-color: var(--isw-btn-hover-bg); color: var(--isw-btn-hover-text);
	transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(22, 34, 56, .55);
}
.isp-btn:focus-visible, .isp-wa-btn:focus-visible { outline: 3px solid var(--isp-saffron); outline-offset: 3px; }
.isp-btn--ghost { background: transparent; color: var(--isp-ink); border-color: currentColor; }
.isp-btn--ghost:hover { background: var(--isp-ink); border-color: var(--isp-ink); color: #fff; }

/* WhatsApp glyph in a green disc */
.isp-wa-btn .isp-wa-icon {
	width: 30px; height: 30px; margin-left: -12px; padding: 6px; flex-shrink: 0;
	border-radius: 50%; background: var(--isp-wa); color: #fff;
	transition: transform .45s var(--isp-ease);
}
.isp-wa-btn:hover .isp-wa-icon { transform: rotate(-12deg) scale(1.06); }
.isp-wa-btn--sm { min-height: 46px; padding-inline: 22px; font-size: .92rem; }
.isp-wa-btn--sm .isp-wa-icon { width: 26px; height: 26px; padding: 5px; margin-left: -8px; }
.isp-wa-btn--header { min-height: 46px; padding-inline: 20px 22px; font-size: .9rem; }
.isp-wa-btn--header .isp-wa-icon { width: 26px; height: 26px; padding: 5px; margin-left: -8px; }
.isp-wa-btn--outline { background: transparent; color: var(--isp-ink); }
.isp-wa-btn--outline:hover { background: var(--isp-ink); color: #fff; }
.isp-wa-btn--light { background: var(--isp-paper); border-color: var(--isp-paper); color: var(--isp-ink); }
.isp-wa-btn--light:hover { background: #fff; border-color: #fff; color: var(--isp-ink); }

/* "WhatsApp" block button style (Button block → Styles → WhatsApp) */
.wp-block-button.is-style-isp-whatsapp .wp-block-button__link {
	gap: .65em; min-height: 54px; padding: 0 28px 0 12px;
	border: 1.5px solid var(--isw-btn-bg); background: var(--isw-btn-bg); color: var(--isw-btn-text);
	box-shadow: none; letter-spacing: .01em;
}
.wp-block-button.is-style-isp-whatsapp .wp-block-button__link::before {
	content: ""; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
	background: var(--isp-wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38a9.9 9.9 0 0 0 4.74 1.21h.01c5.46 0 9.91-4.45 9.91-9.91A9.85 9.85 0 0 0 12.04 2Zm0 18.15h-.01a8.2 8.2 0 0 1-4.19-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.22 8.22 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.25-8.24a8.24 8.24 0 0 1 8.24 8.25c0 4.54-3.7 8.23-8.24 8.23Zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.13-.16.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.13-.15.17-.25.25-.42.08-.17.04-.31-.02-.43-.06-.13-.56-1.34-.76-1.84-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31-.23.25-.86.85-.86 2.07 0 1.22.89 2.4 1.01 2.56.12.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.67-1.18.21-.58.21-1.07.15-1.18-.06-.1-.23-.16-.48-.29Z'/%3E%3C/svg%3E") center / 19px no-repeat;
	transition: transform .45s var(--isp-ease);
}
.wp-block-button.is-style-isp-whatsapp .wp-block-button__link:hover { background: var(--isw-btn-hover-bg); border-color: var(--isw-btn-hover-bg); box-shadow: 0 14px 30px -16px rgba(22, 34, 56, .55); }
.wp-block-button.is-style-isp-whatsapp .wp-block-button__link:hover::before { transform: rotate(-12deg) scale(1.06); }
.isp .wp-block-button.is-style-outline .wp-block-button__link { min-height: 54px; padding-inline: 28px; border-width: 1.5px; }
.isp .wp-block-button__link { box-shadow: none; }

/* Floating WhatsApp button */
.isp-wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 95;
	display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
	background: var(--isp-wa); color: #fff;
	box-shadow: 0 16px 34px -12px rgba(10, 60, 30, .55), 0 0 0 0 rgba(37, 211, 102, .45);
	transition: transform .35s var(--isp-ease), box-shadow .35s ease;
	animation: ispFloatIn .6s var(--isp-ease) .8s both, ispPulse 2.4s ease-out 2s 2;
}
.isp-wa-float .isp-wa-icon { width: 32px; height: 32px; }
.isp-wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.04); }
.isp-wa-float:focus-visible { outline: 3px solid var(--isp-ink); outline-offset: 3px; }
.isp .back-to-top { bottom: 96px; right: 29px; }
.nav-open .isp-wa-float { opacity: 0; visibility: hidden; }
@keyframes ispFloatIn { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ispPulse { 0% { box-shadow: 0 16px 34px -12px rgba(10, 60, 30, .55), 0 0 0 0 rgba(37, 211, 102, .45); } 100% { box-shadow: 0 16px 34px -12px rgba(10, 60, 30, .55), 0 0 0 18px rgba(37, 211, 102, 0); } }

/* ---------- 3. Labels & headings ---------- */
.isp-eyebrow,
.isp-label {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 1.4rem;
	font-family: var(--isw-font-ui); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--isp-rust);
}
.isp-eyebrow::before { content: ""; width: 36px; height: 1.5px; background: var(--isp-saffron); }
.isp-label::after { content: ""; flex: 0 1000 56px; min-width: 12px; height: 1px; background: currentColor; opacity: .45; }
.isp-label.has-text-align-center, .isp-section-head--center .isp-label { justify-content: center; }
.isp-label.has-text-align-center::before, .isp-section-head--center .isp-label::before { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .45; }
.isp-lead { font-family: var(--isw-font-heading); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.4; color: var(--isp-ink); }

.isp-section-head {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(32px, 6vw, 96px); align-items: end;
	margin-bottom: clamp(44px, 6vw, 80px);
}
.isp-section-head > .isp-label { grid-column: 1 / -1; }
.isp-section-head > h2 { margin: 0; max-width: 16ch; }
.isp-section-head > .isp-section-head__text { margin: 0; max-width: 46ch; color: var(--isw-muted); font-size: 1.05rem; }
.isp-section-head--center { display: block; text-align: center; }
@media (max-width: 781px) {
	.isp-section-head { display: block; }
	.isp-section-head > h2 { margin-bottom: 1rem; }
}
.isp-section-head--center > h2 { margin-inline: auto; max-width: 22ch; }

/* ---------- 4. Header & menu ---------- */
.isp .site-header { background: transparent; }
.isp .site-header::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: color-mix(in srgb, var(--isw-header-bg) 86%, transparent);
	-webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .4s ease, background-color .4s ease;
}
.isp .site-header.is-scrolled::after { border-bottom-color: var(--isp-line); background: color-mix(in srgb, var(--isw-header-bg) 94%, transparent); }
.isp .site-header.shadow-on-scroll.is-scrolled { box-shadow: 0 18px 40px -32px rgba(22, 34, 56, .5); }
.isp .header-inner { transition: min-height .4s var(--isp-ease); }
.isp .site-header.is-scrolled .header-inner { min-height: calc(var(--isw-header-h) - 14px); }
.isp .custom-logo { transition: width .4s var(--isp-ease); }
.isp .main-navigation a { letter-spacing: .01em; }
.isp .main-navigation .menu > li > a::after { bottom: 0; height: 1.5px; }
.isp .header-actions .header-cta { margin: 0; }
.isp .nav-toggle { background: var(--isp-ink); }

@media (min-width: 961px) {
	.isp .site-header.is-scrolled .custom-logo { width: calc(var(--isw-logo-w) * .86); }
}
/* Mobile menu (the parent switches to it below 960px by default) */
@media (max-width: 960px) {
	.isp .header-nav-wrap { background: var(--isp-paper); }
	.isp .main-navigation .menu > li > a { font-family: var(--isw-font-heading); font-weight: 450; font-size: clamp(1.7rem, 6vw, 2.2rem); letter-spacing: -.01em; padding: 12px 0; border-bottom: 1px solid var(--isp-line); }
	.isp .main-navigation .menu > li.is-active > a { color: var(--isp-rust); }
	.isp .header-actions { flex-direction: column; align-items: stretch; }
	.isp .header-actions .isp-wa-btn--header { min-height: 56px; font-size: 1rem; }
	.js .isw-animate.nav-open .main-navigation .menu > li { animation: iswRevealUp .6s var(--isp-ease) both; }
	.js .isw-animate.nav-open .main-navigation .menu > li:nth-child(2) { animation-delay: .05s; }
	.js .isw-animate.nav-open .main-navigation .menu > li:nth-child(3) { animation-delay: .1s; }
	.js .isw-animate.nav-open .main-navigation .menu > li:nth-child(4) { animation-delay: .15s; }
	.js .isw-animate.nav-open .main-navigation .menu > li:nth-child(5) { animation-delay: .2s; }
	.js .isw-animate.nav-open .main-navigation .menu > li:nth-child(6) { animation-delay: .25s; }
	.js .isw-animate.nav-open .main-navigation .menu > li:nth-child(n+7) { animation-delay: .3s; }
}

/* ---------- 5. Hero ---------- */
.isp-hero {
	position: relative; overflow: hidden;
	padding-top: clamp(36px, 6vw, 88px);
	background:
		radial-gradient(48% 60% at 86% 30%, color-mix(in srgb, var(--isp-saffron) 22%, transparent), transparent 70%),
		radial-gradient(40% 50% at 0% 100%, color-mix(in srgb, var(--isp-parchment) 90%, transparent), transparent 70%),
		var(--isp-paper);
}
.isp-hero__cols { gap: clamp(40px, 6vw, 96px); }
.isp-hero__title {
	margin: 0 0 1.6rem; max-width: 11ch;
	font-size: clamp(2.8rem, 1.2rem + 5.4vw, 5.6rem); font-weight: 420; line-height: .98; letter-spacing: -.035em;
}
.isp-hero__title em { display: block; color: var(--isp-rust); }
.isp-hero__lead { max-width: 36ch; margin: 0 0 2.2rem; font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); color: var(--isw-muted); }
.isp-hero__actions { gap: 14px; }
.isp-hero__facts {
	display: flex; flex-wrap: wrap; gap: 10px 28px;
	margin: 2.6rem 0 0; padding: 1.4rem 0 0; list-style: none;
	border-top: 1px solid var(--isp-line);
	font-size: .9rem; font-weight: 600; color: var(--isp-ink);
}
.isp-hero__facts li { display: flex; align-items: center; gap: 10px; margin: 0; }
.isp-hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--isp-saffron); box-shadow: 0 0 0 4px color-mix(in srgb, var(--isp-saffron) 22%, transparent); }

.isp-hero__visual { position: relative; padding: 4% 8% 8% 6%; }
.isp-hero__visual::before {
	content: ""; position: absolute; inset: 0 2% 3% 0; z-index: 0;
	border: 1px solid color-mix(in srgb, var(--isp-rust) 35%, transparent);
	border-radius: 999px 999px 10px 10px;
	transform: translate(18px, -14px);
}
.isp-hero__visual .wp-block-image { margin: 0; }
.isp-hero__main { position: relative; z-index: 1; }
.isp-hero__main img {
	display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%;
	border-radius: 999px 999px 10px 10px;
	box-shadow: 0 40px 80px -48px rgba(22, 34, 56, .7);
	transform: translate3d(0, calc(var(--isp-par, 0) * .06px), 0);
}
.isp-hero__float { position: absolute; z-index: 2; width: 30%; }
.isp-hero__float img {
	display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
	border: 6px solid #fff; border-radius: 8px;
	box-shadow: 0 26px 50px -26px rgba(22, 34, 56, .6);
}
.isp-hero__float--a { left: -4%; bottom: 6%; transform: translate3d(0, calc(var(--isp-par, 0) * -.22px), 0) rotate(-7deg); }
.isp-hero__float--b { right: 0; top: 12%; width: 25%; transform: translate3d(0, calc(var(--isp-par, 0) * -.12px), 0) rotate(6deg); }
.isp-hero__badge {
	position: absolute; z-index: 3; right: 4%; bottom: 4%;
	display: grid; place-content: center; gap: 2px;
	width: clamp(112px, 11vw, 140px); aspect-ratio: 1; margin: 0; padding: 16px;
	border-radius: 50%; background: var(--isp-ink); color: rgba(255, 255, 255, .86);
	font-size: .72rem; font-weight: 700; letter-spacing: .08em; line-height: 1.25; text-align: center; text-transform: uppercase;
	box-shadow: 0 20px 40px -20px rgba(22, 34, 56, .8);
}
.isp-hero__badge strong { display: block; font-family: var(--isw-font-heading); font-size: 2rem; font-weight: 450; letter-spacing: -.02em; line-height: 1; text-transform: none; color: var(--isp-saffron); }

@media (max-width: 781px) {
	.isp-hero__cols { flex-direction: column; }
	.isp-hero__visual { width: 100%; max-width: 460px; margin-inline: auto; padding: 2% 10% 10% 8%; }
	.isp-hero__title { max-width: 12ch; }
}

/* ---------- 6. Ribbon ---------- */
.isp-ribbon { overflow: hidden; padding: 22px 0; background: var(--isp-ink); color: rgba(255, 255, 255, .9); }
.isp-ribbon__track { display: flex; width: max-content; }
.isp-ribbon__list {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0;
	margin: 0 auto; padding: 0 var(--isp-gutter); list-style: none;
	font-family: var(--isw-font-heading); font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-style: italic; font-weight: 400; white-space: nowrap;
}
.isp-ribbon__list li { display: flex; align-items: center; margin: 0; }
.isp-ribbon__list li::after { content: "✦"; margin-inline: 28px; font-size: .7em; font-style: normal; color: var(--isp-saffron); }
.isp-ribbon.is-marquee .isp-ribbon__list { flex-wrap: nowrap; padding: 0; margin: 0; }
.isp-ribbon.is-marquee .isp-ribbon__track { animation: ispMarquee 46s linear infinite; }
.isp-ribbon.is-marquee:hover .isp-ribbon__track { animation-play-state: paused; }
@keyframes ispMarquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- 7. Story ---------- */
.isp-story__cols { gap: clamp(40px, 7vw, 120px); }
.isp-story__copy h2 { max-width: 15ch; }
.isp-story__copy h2 em { display: block; }
.isp-story__copy > p:not(.isp-label):not(.isp-lead) { max-width: 54ch; color: var(--isw-muted); }
.wp-block-image.is-style-isp-arch { position: relative; margin: 0; }
.wp-block-image.is-style-isp-arch img {
	position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
	border-radius: 999px 999px var(--isw-img-radius) var(--isw-img-radius);
}
.wp-block-image.is-style-isp-arch::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	border: 1px solid color-mix(in srgb, var(--isp-rust) 40%, transparent);
	border-radius: 999px 999px var(--isw-img-radius) var(--isw-img-radius);
	transform: translate(-16px, 16px);
}
.isp-story__image img { transition: transform 1.2s var(--isp-ease); }
.isp-pullquote.wp-block-quote {
	margin: 2.4rem 0 0; padding: 0 0 0 26px;
	border: 0; border-left: 2px solid var(--isp-saffron);
}
.isp-pullquote p { margin: 0; font-family: var(--isw-font-heading); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); font-style: italic; line-height: 1.25; color: var(--isp-ink); }

/* ---------- 8. Collection ---------- */
.isp-collection {
	display: grid; grid-template-columns: repeat(var(--isp-cols, 4), minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 28px);
	margin: 0; padding: 0;
}
.isp-product {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: var(--isp-card); border: 1px solid var(--isp-line); border-radius: var(--isw-radius);
	overflow: hidden;
	transition: transform .5s var(--isp-ease), box-shadow .5s var(--isp-ease), border-color .4s ease;
}
.isp-product:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--isp-saffron) 55%, var(--isp-line)); box-shadow: 0 34px 60px -38px rgba(22, 34, 56, .55); }
.isp-product__media { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--isp-paper); }
.isp-product__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--isp-ease); }
.isp-product:hover .isp-product__media img { transform: scale(1.06); }
.isp-product__noimage { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--isp-parchment), var(--isp-paper)); }
.isp-product__body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.isp-product__index { margin: 0 0 .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--isp-rust); }
.isp-product__name { margin: 0 0 .5rem; font-size: clamp(1.2rem, 1.1rem + .3vw, 1.4rem); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.isp-product__meta { display: flex; align-items: center; gap: 8px; margin: 0 0 .6rem; font-size: .85rem; font-weight: 600; color: var(--isp-ink); }
.isp-product__meta svg { width: 16px; height: 16px; fill: none; stroke: var(--isp-rust); stroke-width: 1.8; stroke-linecap: round; flex-shrink: 0; }
.isp-product__meta--note { display: block; font-weight: 500; color: var(--isw-muted); }
.isp-product__desc { margin: 0 0 .8rem; font-size: .88rem; line-height: 1.55; color: var(--isw-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.isp-product__facts { margin: 0 0 .8rem; font-size: .85rem; font-weight: 700; color: var(--isp-ink); }
.isp-product .isp-product__order {
	width: 100%; min-height: 46px; margin-top: auto; padding-inline: 14px;
	background: transparent; color: var(--isp-ink); border-color: color-mix(in srgb, var(--isp-ink) 30%, transparent);
	font-size: .88rem;
}
.isp-product .isp-product__order .isp-wa-icon { width: 24px; height: 24px; padding: 4px; margin-left: 0; }
.isp-product .isp-product__order:hover { background: var(--isp-ink); border-color: var(--isp-ink); color: #fff; box-shadow: none; transform: none; }
.isp-collection__more { display: none; margin: 48px 0 0; text-align: center; }
.js .isp-collection__more { display: block; }
.js .isp-collection.is-collapsed .is-extra { display: none; }
.isp-empty { padding: 24px; border: 1px dashed var(--isp-line); text-align: center; }

@media (max-width: 1100px) { .isp-collection { grid-template-columns: repeat(min(var(--isp-cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 820px) { .isp-collection { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.isp-collection { grid-template-columns: 1fr; gap: 16px; }
	.isp-product { display: grid; grid-template-columns: 34% minmax(0, 1fr); }
	.isp-product .isp-product__order { gap: .45em; padding-inline: 8px; font-size: .8rem; white-space: nowrap; }
	.isp-product .isp-product__order .isp-wa-icon { width: 22px; height: 22px; }
	.isp-product__media { aspect-ratio: auto; min-height: 100%; }
	.isp-product__media img { position: absolute; inset: 0; }
	.isp-product__body { padding: 16px 16px 16px; }
	.isp-product__desc { -webkit-line-clamp: 2; }
	.isp-product:hover { transform: none; }
}

/* Why InstaSwad (dark) */
.isp-why { position: relative; overflow: hidden; background: var(--isp-ink); color: rgba(255, 255, 255, .78); }
.isp-why::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--isp-saffron) 18%, transparent), transparent); pointer-events: none; }
.isp-why > * { position: relative; }
.isp-why h2, .isp-why h3 { color: #fff; }
.isp-why h2 em { color: var(--isp-saffron); }
.isp-why .isp-label { color: var(--isp-saffron); }
.isp-why__grid { gap: 0 !important; border-top: 1px solid rgba(255, 255, 255, .14); }
.isp-why__item { padding: 44px clamp(20px, 2.4vw, 36px) 8px; border-left: 1px solid rgba(255, 255, 255, .14); }
.isp-why__item:first-child { border-left: 0; padding-left: 0; }
.isp-why__item p { margin: 0; font-size: .98rem; }
.isp-why__title { display: flex; flex-direction: column; gap: 22px; margin: 0 0 .7rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 420; }
@media (max-width: 781px) {
	.isp-why__item, .isp-why__item:first-child { padding: 32px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
	.isp-why__title { flex-direction: row; align-items: center; gap: 18px; }
}
/* Line icons (used by "isp-icon isp-icon--clock|leaf|home|heart" on headings) */
.isp-icon::before {
	content: ""; display: block; width: 56px; height: 56px; flex-shrink: 0;
	background: var(--isp-saffron);
	-webkit-mask: var(--isp-icon) center / 26px no-repeat, radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px) 100%, transparent 100%);
	mask: var(--isp-icon) center / 26px no-repeat, radial-gradient(closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px) 100%, transparent 100%);
}
.isp-icon--clock { --isp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 9v4l2.5 2.5M9 2h6'/%3E%3C/svg%3E"); }
.isp-icon--leaf { --isp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 5-13 15-14-1 10-6 15-14 15'/%3E%3Cpath d='M5 19 13 11'/%3E%3C/svg%3E"); }
.isp-icon--home { --isp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E"); }
.isp-icon--heart { --isp-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10Z'/%3E%3C/svg%3E"); }

/* ---------- 9. How to order ---------- */
.isp-steps { position: relative; gap: clamp(20px, 3vw, 40px) !important; counter-reset: none; }
.isp-steps::before {
	content: ""; position: absolute; top: 36px; left: 36px; right: 12%;
	border-top: 1px dashed color-mix(in srgb, var(--isp-rust) 45%, transparent);
}
.isp-step { position: relative; }
.isp-step__num {
	position: relative; z-index: 1;
	display: grid; place-items: center; width: 72px; height: 72px; margin: 0 0 1.6rem;
	border: 1px solid var(--isp-saffron); border-radius: 50%;
	background: var(--isp-paper); color: var(--isp-rust);
	font-family: var(--isw-font-heading); font-size: 1.5rem; font-style: italic; font-weight: 400;
	transition: background-color .4s ease, color .4s ease, transform .5s var(--isp-ease);
}
.isp-step:hover .isp-step__num { background: var(--isp-ink); border-color: var(--isp-ink); color: var(--isp-saffron); transform: translateY(-3px); }
.isp-step__title { margin: 0 0 .5rem; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); font-weight: 500; }
.isp-step__text { margin: 0; max-width: 30ch; color: var(--isw-muted); font-size: .98rem; }
.isp-how__cta { margin-top: clamp(48px, 6vw, 72px) !important; }
@media (max-width: 781px) {
	.isp-steps { flex-direction: column; gap: 0 !important; }
	.isp-steps::before { top: 36px; bottom: 36px; left: 36px; right: auto; border-top: 0; border-left: 1px dashed color-mix(in srgb, var(--isp-rust) 45%, transparent); }
	.isp-step { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; padding-bottom: 28px; }
	.isp-step__num { grid-row: 1 / span 2; margin: 0; }
	.isp-step__title { align-self: end; margin-top: 10px; }
}

/* ---------- 10. WhatsApp panel ---------- */
.isp-wa-panel { background: var(--isp-paper); }
.isp-how + .isp-wa-panel { padding-top: 0; }
.isp-wa-panel__cols {
	gap: clamp(40px, 6vw, 96px) !important;
	padding: clamp(32px, 6vw, 80px) !important;
	border: 1px solid var(--isp-line); border-radius: calc(var(--isw-radius) * 2);
	background:
		radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--isp-wa) 12%, transparent), transparent 70%),
		var(--isp-card);
	box-shadow: 0 50px 90px -70px rgba(22, 34, 56, .6);
}
.isp-wa-panel h2 { max-width: 16ch; }
.isp-wa-panel__text { max-width: 44ch; color: var(--isw-muted); font-size: 1.05rem; }
.isp-wa-panel__number { display: flex; flex-direction: column; gap: 4px; margin: 2rem 0; }
.isp-wa-panel__number span { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--isw-muted); }
.isp-wa-panel__number a { font-family: var(--isw-font-heading); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); font-weight: 420; letter-spacing: -.02em; line-height: 1.05; color: var(--isp-ink); text-decoration: none; }
.isp-wa-panel__number a:hover { color: var(--isp-rust); }

.isp-chat { overflow: hidden; border-radius: 22px; background: #EFE7DA; box-shadow: 0 30px 60px -36px rgba(22, 34, 56, .55); border: 6px solid var(--isp-ink); }
.isp-chat > p { margin: 0; }
.isp-chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #075E54; color: rgba(255, 255, 255, .8); font-size: .8rem; }
.isp-chat__head::before { content: ""; width: 38px; height: 38px; border-radius: 50%; background: var(--isp-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2325D366' d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38a9.9 9.9 0 0 0 4.74 1.21h.01c5.46 0 9.91-4.45 9.91-9.91A9.85 9.85 0 0 0 12.04 2Zm0 18.15h-.01a8.2 8.2 0 0 1-4.19-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.22 8.22 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.25-8.24a8.24 8.24 0 0 1 8.24 8.25c0 4.54-3.7 8.23-8.24 8.23Zm4.52-6.16c-.25-.12-1.47-.72-1.69-.81-.23-.08-.39-.12-.56.13-.16.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.12-1.05-.39-1.99-1.23-.74-.66-1.23-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.13-.15.17-.25.25-.42.08-.17.04-.31-.02-.43-.06-.13-.56-1.34-.76-1.84-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31-.23.25-.86.85-.86 2.07 0 1.22.89 2.4 1.01 2.56.12.17 1.75 2.67 4.23 3.74.59.26 1.05.41 1.41.52.59.19 1.13.16 1.56.1.48-.07 1.47-.6 1.67-1.18.21-.58.21-1.07.15-1.18-.06-.1-.23-.16-.48-.29Z'/%3E%3C/svg%3E") center / 22px no-repeat; flex-shrink: 0; }
.isp-chat__head strong { color: #fff; font-size: 1rem; margin-right: 4px; }
.isp-chat__bubble {
	position: relative; width: fit-content; max-width: 84%; margin: 28px 18px 10px auto !important; padding: 12px 14px;
	border-radius: 12px 0 12px 12px; background: #D9FDD3; color: #1B2A22;
	font-size: .95rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.isp-chat__bubble::after { content: ""; position: absolute; top: 0; right: -8px; border-left: 8px solid #D9FDD3; border-bottom: 10px solid transparent; }
.isp-chat__caption { padding: 4px 18px 22px; font-size: .78rem; color: #5B5F55; text-align: right; }
.js .isw-animate .isp-chat:not(.is-visible) .isp-chat__bubble { opacity: 0; transform: translateY(10px) scale(.96); }
.isp-chat.is-visible .isp-chat__bubble { transition: opacity .6s ease .35s, transform .7s var(--isp-ease) .35s; }

/* ---------- 11. FAQ ---------- */
.isp-faq__cols { gap: clamp(40px, 6vw, 96px) !important; }
.isp-faq__intro p:not(.isp-label) { color: var(--isw-muted); }
@media (min-width: 782px) {
	.isp-faq__intro { position: sticky; top: calc(var(--isw-header-h) + 32px); align-self: flex-start; }
}
.isp-faq .wp-block-details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--isp-line); }
.isp-faq .wp-block-details:first-child { border-top: 1px solid var(--isp-line); }
.isp-faq .wp-block-details summary {
	position: relative; display: block; padding: 26px 56px 26px 0; cursor: pointer; list-style: none;
	font-family: var(--isw-font-heading); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); font-weight: 450; line-height: 1.3; color: var(--isp-ink);
	transition: color .25s ease;
}
.isp-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.isp-faq .wp-block-details summary::before,
.isp-faq .wp-block-details summary::after {
	content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 1.5px; background: var(--isp-rust);
	transition: transform .4s var(--isp-ease);
}
.isp-faq .wp-block-details summary::after { transform: rotate(90deg); }
.isp-faq .wp-block-details[open] summary::after { transform: rotate(0); }
.isp-faq .wp-block-details summary:hover { color: var(--isp-rust); }
.isp-faq .wp-block-details summary:focus-visible { outline-offset: 6px; }
.isp-faq .wp-block-details > :not(summary) { max-width: 62ch; margin: 0 0 26px; color: var(--isw-muted); }
.isp-faq .wp-block-details[open] > :not(summary) { animation: ispFadeDown .5s var(--isp-ease); }
@keyframes ispFadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 12. Contact & enquiry form ---------- */
.isp-contact__cols { gap: clamp(40px, 6vw, 96px) !important; }
.isp-contact__intro > p:not(.isp-label) { color: var(--isw-muted); max-width: 40ch; }
.isp-contact__wa { display: flex; flex-direction: column; gap: 6px; margin-top: 2rem !important; padding-top: 1.6rem; border-top: 1px solid var(--isp-line); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.isp-contact__wa a { font-family: var(--isw-font-heading); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); font-weight: 420; letter-spacing: -.01em; text-transform: none; color: var(--isp-ink); text-decoration: none; }
.isp-contact__wa a:hover { color: var(--isp-rust); }
.isp-form-card { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--isp-line); border-radius: calc(var(--isw-radius) * 2); background: var(--isp-card); box-shadow: 0 40px 80px -64px rgba(22, 34, 56, .6); }

.isp-form { margin: 0; }
.isp-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; }
.isp-field { display: flex; flex-direction: column; min-width: 0; }
.isp-field--message { grid-column: 1 / -1; }
.isp-field label { margin: 0 0 8px; font-size: .84rem; font-weight: 700; letter-spacing: .02em; color: var(--isp-ink); }
.isp-req { color: var(--isp-rust); }
.isp-form input:not([type="hidden"]),
.isp-form select,
.isp-form textarea {
	width: 100%; min-height: 52px; margin: 0; padding: 13px 16px;
	border: 1px solid var(--isw-field-border); border-radius: calc(var(--isw-radius) * .75);
	background: var(--isp-paper); color: var(--isp-ink);
	font: inherit; font-size: 1rem; box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.isp-form textarea { min-height: 140px; resize: vertical; }
.isp-form select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162238' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.isp-form input:not([type="hidden"]):focus,
.isp-form select:focus,
.isp-form textarea:focus { outline: none; border-color: var(--isw-field-focus); background-color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--isw-field-focus) 22%, transparent); }
.isp-field.has-error input, .isp-field.has-error select, .isp-field.has-error textarea,
.isp-form [aria-invalid="true"] { border-color: var(--isp-error) !important; }
.isp-field__error { display: flex; gap: 6px; margin: 8px 0 0; font-size: .85rem; font-weight: 600; color: var(--isp-error); }
.isp-field__error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--isp-error); color: #fff; font-size: .7rem; font-weight: 800; }
.isp-field__error[hidden] { display: none; }
.isp-form__trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.isp-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.isp-form__actions .isp-btn { min-width: 190px; }
.isp-form__note { flex: 1 1 220px; margin: 0; font-size: .82rem; color: var(--isw-muted); }
.isp-form-errors { margin: 0 0 24px; padding: 16px 20px; border-left: 3px solid var(--isp-error); border-radius: 4px; background: color-mix(in srgb, var(--isp-error) 7%, #fff); color: #5F1410; }
.isp-form-errors p { margin: 0; }
.isp-form-errors ul { margin: 8px 0 0; padding-left: 1.2em; }
.isp-form-errors a { color: inherit; }
.isp-form-errors:focus, .isp-form-success:focus { outline: none; }
.isp-form-success { margin: 0 0 24px; padding: 16px 20px; border-left: 3px solid #1C7A45; border-radius: 4px; background: #EAF6EE; color: #13472A; }
.isp-btn.is-sending { pointer-events: none; opacity: .85; }
.isp-btn.is-sending::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ispSpin .8s linear infinite; }
@keyframes ispSpin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
	.isp-form__grid { grid-template-columns: 1fr; }
	.isp-form__actions .isp-btn { width: 100%; }
}

/* ---------- 13. Final call to action ---------- */
.wp-block-cover.isp-final { padding: var(--isp-pad) var(--isp-gutter); }
.isp-final .wp-block-cover__image-background { transform: scale(1.06); }
.isp-final .wp-block-cover__inner-container { max-width: 900px; }
.isp-final .wp-block-cover__background { background-color: var(--isp-ink) !important; opacity: .84 !important; }
.isp-final h2, .isp-final h2.has-text-color { color: #fff !important; max-width: 15ch; margin-inline: auto; font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); font-weight: 420; line-height: 1.02; }
.isp-final h2 em { display: block; color: var(--isp-saffron); }
.isp-final .isp-label { color: var(--isp-saffron); }
.isp-final .wp-block-buttons { gap: 14px; margin-top: 2.4rem; }
.isp-final .is-style-isp-whatsapp .wp-block-button__link { background: var(--isp-saffron); border-color: var(--isp-saffron); color: var(--isp-ink); }
.isp-final .is-style-isp-whatsapp .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--isp-ink); }
.isp-final .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .6); }
.isp-final .is-style-outline .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--isp-ink); }

/* ---------- 14. Footer ---------- */
.isp .site-footer { color: var(--isw-footer-text); }
.isp .site-footer a:hover { color: var(--isp-rust); }
.isp-footer { padding: clamp(64px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-top: 1px solid var(--isp-line); }
.isp-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px clamp(32px, 6vw, 96px); }
.isp-footer__brand .footer-logo { margin-bottom: 1.4rem; }
.isp-footer__about { max-width: 38ch; color: var(--isw-footer-text); }
.isp-footer__about p:last-child { margin-bottom: 0; }
.isp .site-footer .isp-footer__title { margin: 0 0 1.2rem; font-family: var(--isw-font-ui); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--isw-footer-heading); }
.isp-footer__links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.isp-footer__links li { margin: 0; }
.isp-footer__links a { position: relative; font-weight: 600; }
.isp-footer__links a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--isp-ease); }
.isp-footer__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.isp-footer__wa-label { margin: 0 0 2px; font-size: .85rem; color: var(--isw-muted); }
.isp .site-footer .isp-footer__wa { display: inline-block; margin-bottom: 1.2rem; font-family: var(--isw-font-heading); font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); font-weight: 420; letter-spacing: -.01em; color: var(--isp-ink); }
.isp .site-footer .isp-wa-btn { color: var(--isw-btn-text); }
.isp .site-footer .isp-wa-btn:hover { color: var(--isw-btn-hover-text); }
.isp-footer__contact { display: grid; gap: 8px; margin: 1.4rem 0 0; padding: 0; list-style: none; font-size: .92rem; }
.isp-footer__contact:empty { display: none; }
.isp .footer-bottom { border-top: 1px solid var(--isp-line); color: var(--isw-muted); }
.isp .footer-bottom a { color: var(--isw-muted); }
.isp-footer-strip { padding: 28px 0; background: var(--isp-ink); color: #fff; }
.isp-footer-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.isp-footer-strip__text { margin: 0; font-family: var(--isw-font-heading); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); font-style: italic; }
.isp .site-footer .isp-footer-strip .isp-wa-btn--light { color: var(--isp-ink); }
@media (max-width: 860px) { .isp-footer__grid { grid-template-columns: 1fr 1fr; } .isp-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .isp-footer__grid { grid-template-columns: 1fr; } }

/* ---------- 15. Thank You page ---------- */
.isp-thanks {
	display: grid; place-items: center; min-height: calc(100vh - var(--isw-header-h) - 120px);
	padding: clamp(56px, 8vw, 120px) var(--isp-gutter);
	background: radial-gradient(50% 60% at 50% 0%, color-mix(in srgb, var(--isp-saffron) 16%, transparent), transparent 70%), var(--isp-paper);
}
.isp-thanks__card { width: 100%; max-width: 760px; text-align: center; }
.isp-thanks__content > * { margin-inline: auto; }
.isp-thanks__content > p { max-width: 54ch; color: var(--isw-muted); }
.isp-thanks__content h1 { max-width: 19ch; font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); font-weight: 420; line-height: 1.04; }
.isp-thanks__content h1 em { display: block; }
.isp-thanks__content .isp-eyebrow { justify-content: center; }
.isp-thanks__content .wp-block-buttons, .isp-thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 2.2rem; }
.isp-thanks__tick { width: 104px; height: 104px; margin: 0 auto 2rem; }
.isp-thanks__tick svg { width: 100%; height: 100%; overflow: visible; }
.isp-thanks__ring { fill: color-mix(in srgb, var(--isp-saffron) 12%, transparent); stroke: var(--isp-saffron); stroke-width: 2; stroke-dasharray: 277; stroke-dashoffset: 0; transform-origin: 50% 50%; }
.isp-thanks__check { fill: none; stroke: var(--isp-ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 0; }
.isw-animate .isp-thanks__ring { animation: ispDraw 1s var(--isp-ease) both, ispPop .7s var(--isp-ease) .9s both; --isp-dash: 277; }
.isw-animate .isp-thanks__check { animation: ispDrawCheck .55s var(--isp-ease) .75s both; }
.isw-animate .isp-thanks__content > * { animation: iswRevealUp .8s var(--isp-ease) both; }
.isw-animate .isp-thanks__content > :nth-child(2) { animation-delay: .1s; }
.isw-animate .isp-thanks__content > :nth-child(3) { animation-delay: .2s; }
.isw-animate .isp-thanks__content > :nth-child(n+4) { animation-delay: .3s; }
@keyframes ispDraw { from { stroke-dashoffset: 277; } to { stroke-dashoffset: 0; } }
@keyframes ispDrawCheck { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
@keyframes ispPop { 0% { transform: scale(1); } 40% { transform: scale(1.07); } 100% { transform: scale(1); } }

/* ---------- 16. Motion, reduced motion & print ---------- */
/* Hero entrance (plays once on load; only when JavaScript and animations are on). */
.js .isw-animate .isp-hero__copy > * { animation: iswRevealUp 1s var(--isp-ease) both; }
.js .isw-animate .isp-hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .isw-animate .isp-hero__copy > :nth-child(3) { animation-delay: .18s; }
.js .isw-animate .isp-hero__copy > :nth-child(4) { animation-delay: .28s; }
.js .isw-animate .isp-hero__copy > :nth-child(n+5) { animation-delay: .38s; }
.js .isw-animate .isp-hero__main { animation: ispRise 1.3s var(--isp-ease) .1s both; }
.js .isw-animate .isp-hero__float--a { animation: ispFade 1s var(--isp-ease) .55s both; }
.js .isw-animate .isp-hero__float--b { animation: ispFade 1s var(--isp-ease) .7s both; }
.js .isw-animate .isp-hero__badge { animation: ispBadge .9s var(--isp-ease) .95s both; }
.js .isw-animate .isp-hero__visual::before { animation: ispFade 1.4s ease .3s both; }
@keyframes ispRise { from { opacity: 0; clip-path: inset(18% 0 0 0 round 999px 999px 10px 10px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 999px 999px 10px 10px); } }
@keyframes ispFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ispBadge { from { opacity: 0; scale: .6; rotate: -30deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }

/* Scroll reveal for section content (premium.js adds .isp-r and the stagger index). */
.js .isw-animate .isp-r:not(.is-visible) { opacity: 0; translate: 0 26px; }
.js .isw-animate .isp-r.is-visible { animation: iswRevealUp .9s var(--isp-ease) both; animation-delay: calc(var(--isw-i, 0) * 90ms); }
.js .isw-animate .isp-r--image:not(.is-visible) { opacity: 0; translate: none; scale: .97; }
.js .isw-animate .isp-r--image.is-visible { animation: ispZoomIn 1.2s var(--isp-ease) both; }
@keyframes ispZoomIn { from { opacity: 0; scale: .97; } to { opacity: 1; scale: 1; } }

@media (prefers-reduced-motion: reduce) {
	.isp-ribbon .isp-ribbon__track { animation: none !important; }
	.isp-hero__main img, .isp-hero__float--a, .isp-hero__float--b { translate: none; }
	.js .isw-animate .isp-r, .js .isw-animate .isp-chat .isp-chat__bubble { opacity: 1 !important; translate: none !important; scale: none !important; transform: none !important; }
	.isp-product:hover, .isp-product:hover .isp-product__media img { transform: none; }
	.isp-wa-float { animation: none; }
}
@media print {
	.isp-wa-float, .isp-ribbon { display: none !important; }
	.isp-why, .isp-final { background: #fff !important; color: #000 !important; }
}

/* ---------- 17. Product details popup ---------- */
/* Clickable cards: the product name is a real <button>; its ::after stretches over the whole card,
   so the image, name and description all open the popup. The WhatsApp button stays on top. */
.isp-product.is-clickable { cursor: pointer; }
.isp-product__open {
	all: unset; cursor: pointer;
	font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; text-align: inherit;
	transition: color .3s ease;
}
.isp-product__open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.isp-product.is-clickable .isp-product__order { position: relative; z-index: 2; }
.isp-product.is-clickable:hover .isp-product__open { color: var(--isp-rust); }
.isp-product__open:focus-visible { text-decoration: underline; text-decoration-color: var(--isp-saffron); text-underline-offset: 5px; }
.isp-product:has(.isp-product__open:focus-visible) { outline: 2px solid var(--isp-saffron); outline-offset: 3px; }
@media (max-width: 560px) { .isp-product__desc { -webkit-line-clamp: 4; } }

html.isp-pd-lock { overflow: hidden; scrollbar-gutter: stable; }
.isp-pd {
	position: fixed; inset: 0; margin: auto;
	width: min(960px, calc(100% - 32px)); max-width: none;
	height: min(620px, calc(100vh - 32px)); height: min(620px, calc(100dvh - 32px)); max-height: none;
	padding: 0; border: 0; border-radius: calc(var(--isw-radius) * 2);
	background: var(--isp-card); color: var(--isw-text);
	box-shadow: 0 50px 100px -40px rgba(14, 22, 38, .65);
	overflow: hidden;
}
.isp-pd::backdrop { background: rgba(14, 22, 38, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.isp-pd [hidden] { display: none !important; }
.isp-pd__panel { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); grid-template-rows: 100%; height: 100%; }
.isp-pd__media { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--isp-parchment), var(--isp-paper)); }
.isp-pd__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.isp-pd__body {
	display: flex; flex-direction: column; justify-content: safe center;
	min-height: 0; overflow-y: auto; overscroll-behavior: contain;
	padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 52px);
}
.isp-pd__close {
	position: absolute; top: 14px; right: 14px; z-index: 3;
	display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--isp-line); border-radius: 50%;
	background: color-mix(in srgb, var(--isp-card) 92%, transparent); color: var(--isp-ink);
	cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--isp-ease);
}
.isp-pd__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.isp-pd__close:hover { background: var(--isp-ink); border-color: var(--isp-ink); color: #fff; transform: rotate(90deg); }
.isp-pd__close:focus-visible { outline: 2px solid var(--isp-saffron); outline-offset: 2px; }
.isp-pd__cat { margin: 0 0 .9rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--isp-rust); }
.isp-pd__title { margin: 0 0 .6rem; padding-right: 36px; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 500; line-height: 1.1; letter-spacing: -.015em; }
.isp-pd__meta { display: flex; align-items: center; gap: 8px; margin: 0 0 1.25rem; font-size: .9rem; font-weight: 600; color: var(--isp-ink); }
.isp-pd__meta svg { width: 16px; height: 16px; fill: none; stroke: var(--isp-rust); stroke-width: 1.8; stroke-linecap: round; flex-shrink: 0; }
.isp-pd__meta.is-note { display: block; font-weight: 500; font-style: italic; color: var(--isw-muted); }
.isp-pd__desc { font-size: 1rem; line-height: 1.7; }
.isp-pd__desc p { margin: 0 0 .85em; }
.isp-pd__desc > :last-child { margin-bottom: 0; }
.isp-pd__subhead {
	margin: 1.6rem 0 .5rem; font-family: var(--isw-font-body); font-size: .72rem; font-weight: 700;
	letter-spacing: .2em; text-transform: uppercase; color: var(--isp-ink);
}
.isp-pd__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 0 0 1.6rem; border-top: 1px solid var(--isp-line); font-size: .92rem; }
.isp-pd__facts dt, .isp-pd__facts dd { margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--isp-line); }
.isp-pd__facts dt { padding-right: 24px; color: var(--isw-muted); }
.isp-pd__facts dd { font-weight: 600; color: var(--isp-ink); text-align: right; }
.isp-pd__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.isp-pd__actions .isp-pd__order { flex: 1 1 220px; justify-content: center; min-height: 52px; }
.isp-pd__enquire {
	font-weight: 600; color: var(--isp-ink); text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--isp-saffron) 70%, transparent); text-underline-offset: 5px;
}
.isp-pd__enquire:hover { color: var(--isp-rust); }
.isp-pd__note { margin: 1.1rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--isw-muted); }

@keyframes isp-pd-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes isp-pd-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes isp-pd-fade-in { from { opacity: 0; } }
@keyframes isp-pd-fade-out { to { opacity: 0; } }
.isw-animate .isp-pd[open] { animation: isp-pd-in .38s var(--isp-ease); }
.isw-animate .isp-pd[open]::backdrop { animation: isp-pd-fade-in .3s ease; }
.isw-animate .isp-pd.is-closing { animation: isp-pd-out .2s ease forwards; }
.isw-animate .isp-pd.is-closing::backdrop { animation: isp-pd-fade-out .2s ease forwards; }

@media (max-width: 700px) {
	.isp-pd { width: calc(100% - 24px); height: auto; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
	.isp-pd__panel { display: block; height: auto; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
	.isp-pd__media { aspect-ratio: 4 / 3; }
	.isp-pd__body { display: block; overflow: visible; padding: 24px 20px 28px; }
	.isp-pd__close { top: 10px; right: 10px; }
	.isp-pd__title { padding-right: 0; }
	.isp-pd__actions .isp-pd__order { flex-basis: 100%; }
	.isp-pd__actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.isp-pd, .isp-pd::backdrop, .isp-pd__close { animation: none !important; transition: none !important; }
}
@media print { .isp-pd { display: none !important; } }
