/* ==========================================================================
   Instrument Master — main stylesheet
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/manrope-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--blue: #0b3d9e;
	--blue-600: #1450c4;
	--blue-800: #082c73;
	--blue-900: #061f52;
	--blue-50: #eef3fc;
	--blue-100: #dbe5f8;
	--yellow: #ffc20e;
	--yellow-600: #f0b000;
	--ink: #111827;
	--text: #2b3445;
	--muted: #5f6b7d;
	--line: #e3e8f0;
	--bg: #f5f7fb;
	--white: #fff;
	--green: #15803d;
	--red: #c62828;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
	--shadow-lg: 0 10px 30px -12px rgba(11, 61, 158, .28);
	--wrap: 1240px;
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; color: #fff; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px;
	border: 1px solid transparent; border-radius: var(--radius-sm);
	font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-800); color: #fff; }
.btn--accent, .btn--buy { background: var(--yellow); color: var(--ink); }
.btn--accent:hover, .btn--buy:hover { background: var(--yellow-600); color: var(--ink); }
.btn--ghost { background: #fff; color: var(--blue); border-color: var(--blue-100); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--blue-900); color: #dbe5f8; font-size: 13.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; }
.topbar__mail, .topbar__note { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.topbar .icon { width: 16px; height: 16px; color: var(--yellow); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { flex: none; }
.logo img { width: 176px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; }
.nav__list a:hover { background: var(--blue-50); color: var(--blue); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a { color: var(--blue); background: var(--blue-50); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.cart-link { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; }
.cart-link:hover { background: var(--blue-800); color: #fff; }
.cart-link .icon { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 21px; text-align: center; border: 2px solid #fff; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.burger .icon { width: 22px; height: 22px; }
.burger__close { display: none; }
.nav-open .burger__open { display: none; }
.nav-open .burger__close { display: block; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); border-bottom: 1px solid var(--line); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 48px; }
.hero__title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; max-width: 18ch; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 56ch; margin-bottom: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero--product .hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); padding-block: 40px; }
.hero--product .hero__title { max-width: 22ch; font-size: clamp(28px, 3.6vw, 42px); }
.hero--product .eyebrow { display: flex; align-items: center; gap: 10px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; letter-spacing: .06em; }
.hero__buy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 22px; }
.hero__buy .price--lg { margin: 0; font-size: 34px; }
.hero__buy .stock-line { margin: 0; }
.hero__media { position: relative; display: block; aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: end; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform .3s; }
.hero__media:hover .hero__img { transform: scale(1.03); }
.hero__brands { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.hero__brands-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.brand { display: grid; place-items: center; min-height: 54px; border-radius: var(--radius-sm); background: var(--bg); color: var(--blue-900); font-weight: 800; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; }
.brand:last-child:nth-child(odd) { grid-column: span 2; }

/* ---------- Sections ---------- */
.section { padding-block: 56px; }
.section--products { padding-top: 40px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.section__title { font-size: clamp(24px, 3vw, 32px); margin: 0; }
.section__meta { margin: 0; color: var(--muted); font-weight: 600; white-space: nowrap; }
.section__desc { color: var(--muted); margin-top: 8px; }
.section__desc p { margin: 0; }

/* ---------- Category chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
	flex: none; display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
	color: var(--ink); font-weight: 600; font-size: 14.5px; white-space: nowrap;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip__count { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--blue-50); color: var(--blue); }
.chip.is-active .chip__count { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Product grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid__empty, .empty { grid-column: 1 / -1; padding: 32px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card__media { display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); }
.card__img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.card__cat { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.card__title { font-size: 16px; font-weight: 700; line-height: 1.35; margin-bottom: 14px; }
.card__title a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { color: var(--blue); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__foot .price { margin: 0; }
.card__foot .btn { min-height: 42px; padding: 9px 14px; }
.card__stock.is-out { font-size: 13px; font-weight: 700; color: var(--red); }

.price { font-weight: 800; color: var(--ink); font-size: 19px; line-height: 1.2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price del { order: 2; font-size: .72em; font-weight: 600; color: var(--muted); }
.price ins { order: 1; text-decoration: none; }
.price--lg { font-size: 30px; margin-bottom: 18px; }

/* ---------- Benefits & CTA ---------- */
.section--benefits { background: #fff; border-block: 1px solid var(--line); }
.section--benefits .section__title { margin-bottom: 28px; }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { padding: 22px; border-radius: var(--radius); background: var(--bg); }
.benefit__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: var(--yellow); margin-bottom: 14px; }
.benefit__icon .icon { width: 24px; height: 24px; }
.benefit__title { font-size: 17px; margin-bottom: 6px; }
.benefit__text { margin: 0; color: var(--muted); font-size: 15px; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: 16px; background: var(--blue); color: #dbe5f8; }
.cta__title { color: #fff; font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 6px; }
.cta__text { margin: 0; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 48px; }
.footer__logo img { width: 160px; margin-bottom: 14px; }
.footer__about p { max-width: 38ch; }
.footer__title { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links a, .footer__pay { color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.footer__links a:hover { color: var(--blue); }
.footer__links .icon { width: 18px; height: 18px; color: var(--blue); }
.footer__bottom { border-top: 1px solid var(--line); font-size: 14px; }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 12px; padding-block: 18px; }
.footer__bottom p { margin: 0; }

/* ---------- Pages / prose ---------- */
.content-page { padding-block: 48px 64px; }
.content-page .prose { margin-inline: auto; }
.prose { max-width: 820px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.prose h1 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 24px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose h3 { font-size: 18px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose > :last-child { margin-bottom: 0; }
.prose--wide { max-width: none; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }

/* Contact page */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: start; }
.contact__info { display: grid; gap: 14px; }
.contact__item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--bg); }
.contact__item .icon { width: 24px; height: 24px; color: var(--blue); margin-top: 2px; }
.contact__item h2 { font-size: 16px; margin: 0 0 2px; }
.contact__item p { margin: 0; }
.contact__form { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact__form h2 { margin-top: 0; }
/* Super5 Forms in brand colours */
.contact__form { --s5f-accent: var(--blue); --s5f-cta: var(--yellow); --s5f-cta-hover: var(--yellow-600); --s5f-ink: var(--ink); --s5f-navy: var(--blue); --s5f-line: #cfd7e4; --s5f-muted: var(--muted); }
.contact__form .s5f-submit { color: var(--ink); font-weight: 800; }

/* Trainings */
.videos { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.prose .videos { padding-left: 0; }
.video { margin: 0; }
.video__frame, .video iframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-900); }
.video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video__play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.video__play .icon { width: 26px; height: 26px; fill: currentColor; }
.video__title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 10px 0 0; }

/* ---------- Single product ---------- */
.product-page { padding-block: 24px 64px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery__main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery__thumb { padding: 4px; aspect-ratio: 1; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--blue); }
.product__info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.product__title { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 14px; }
.product__short { color: var(--text); margin-bottom: 14px; }
.product__short a { font-weight: 700; white-space: nowrap; }
.prose p:empty { display: none; }
.stock-line { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; margin-bottom: 18px; }
.stock-line.is-in { color: var(--green); }
.stock-line.is-out { color: var(--red); }
.product__buy form.cart { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
/* Quantity stepper (product page + sticky bar) */
.product-page .quantity { display: inline-flex; align-items: stretch; height: 54px; border: 1px solid #cfd7e4; border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.product-page .quantity .qty { width: 52px; border: 0; text-align: center; font-weight: 800; font-size: 17px; background: transparent; -moz-appearance: textfield; }
.product-page .quantity .qty::-webkit-outer-spin-button, .product-page .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-page .quantity .qty:focus { outline: none; }
.product-page .quantity:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.qty-btn { display: grid; place-items: center; width: 44px; border: 0; background: var(--bg); color: var(--ink); cursor: pointer; padding: 0; }
.qty-btn:hover { background: var(--blue-50); color: var(--blue); }
.qty-btn .icon { width: 18px; height: 18px; }

/* Sticky buy bar */
.buybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
	border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(16, 24, 40, .35);
	transform: translateY(100%); transition: transform .25s ease;
}
.buybar.is-visible { transform: none; }
.buybar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.buybar__product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.buybar__thumb { width: 52px; height: 52px; flex: none; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 3px; }
.buybar__text { min-width: 0; }
.buybar__name { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__text .price { margin: 0; font-size: 17px; }
.buybar__form { display: flex; align-items: center; gap: 10px; flex: none; }
.buybar .quantity { height: 48px; }
.buybar__btn { min-height: 48px; padding-inline: 22px; font-weight: 800; }
body.has-buybar .footer { padding-bottom: 76px; }
.product__buy .single_add_to_cart_button { flex: 1; min-height: 54px; padding: 14px 24px; border: 0; border-radius: var(--radius-sm); background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 17px; cursor: pointer; }
.product__buy .single_add_to_cart_button:hover { background: var(--yellow-600); }
.product__buy .stock { display: none; }
.product__perks { list-style: none; margin: 0 0 16px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; }
.product__perks li { display: flex; gap: 12px; align-items: flex-start; }
.product__perks .icon { color: var(--blue); margin-top: 2px; }
.product__sku { margin: 0; font-size: 14px; color: var(--muted); }
.product__details { display: grid; gap: 24px; margin-top: 40px; }
.product__details .prose { max-width: none; }
.specs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.specs table { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--muted); font-weight: 600; }
.specs p { margin: 0; }
.related { margin-top: 56px; }
.related .section__title { margin-bottom: 20px; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius-sm);
	background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--ink);
}
.woocommerce-error { background: #fdecec; border-color: #f6caca; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button { float: right; font-weight: 700; }

/* ---------- Checkout ---------- */
.checkout-page { padding-block: 32px 64px; }
.checkout-page__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.checkout-page__title { font-size: clamp(26px, 3vw, 34px); margin: 0; }
.link-back { font-weight: 700; }
.checkout-page__body .woocommerce-form-coupon-toggle .woocommerce-info { background: #fff; border-color: var(--line); }
.checkout_coupon { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.checkout_coupon p { margin: 0; }
.checkout_coupon .form-row-first { flex: 1; }
.checkout_coupon .form-row-first .input-text { height: 50px; }
.checkout_coupon .button {
	min-height: 50px; padding: 10px 22px; border: 0; border-radius: var(--radius-sm);
	background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
	transition: background-color .15s;
}
.checkout_coupon .button:hover { background: var(--blue-800); }
@media (max-width: 640px) {
	.checkout_coupon p { width: 100%; }
	.checkout_coupon .button { width: 100%; }
}
.checkout_coupon .clear { display: none; }

form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 16px 28px; align-items: start; }
.select2-container { display: none !important; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
#customer_details { grid-column: 1; grid-row: 1 / span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
#customer_details .col-1, #customer_details .col-2 { width: 100%; float: none; }
#order_review_heading { grid-column: 2; grid-row: 1; margin: 0; font-size: 20px; }
#order_review { grid-column: 2; grid-row: 2; position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.woocommerce-billing-fields h3, .woocommerce-additional-fields h3, #ship-to-different-address { font-size: 20px; margin: 0 0 16px; }
.woocommerce-additional-fields h3 { margin-top: 12px; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row { margin: 0 0 16px; grid-column: 1 / -1; }
.form-row-first { grid-column: 1; }
.form-row-last { grid-column: 2; }
.form-row label { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink); margin-bottom: 6px; }
.form-row .required { color: var(--red); text-decoration: none; border: 0; }
.form-row .optional { color: var(--muted); font-weight: 500; }
.input-text, .form-row select, .form-row textarea, .contact__form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .contact__form textarea, .contact__form select {
	width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #cfd7e4; border-radius: var(--radius-sm); background: #fff; font-size: 16px;
	transition: border-color .15s, box-shadow .15s;
}
.form-row textarea { min-height: 96px; resize: vertical; }
.input-text:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.woocommerce-invalid .input-text, .woocommerce-invalid select { border-color: var(--red); }
.woocommerce-input-wrapper { display: block; }
.woocommerce-checkout .form-row .woocommerce-input-wrapper strong { display: block; padding: 11px 0; }

.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
.shop_table th, .shop_table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.shop_table td.product-total, .shop_table tfoot td, .shop_table th.product-total { text-align: right; }
.shop_table thead { display: none; }
.shop_table tfoot th { font-weight: 600; color: var(--muted); }
.shop_table .order-total th, .shop_table .order-total td { font-size: 18px; font-weight: 800; color: var(--ink); border-bottom: 0; }
.shop_table .product-name { padding-right: 12px; }
.review__item { display: flex; gap: 12px; align-items: center; font-weight: 700; color: var(--ink); line-height: 1.35; }
.review__thumb { width: 56px; height: 56px; flex: none; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 3px; }
.shop_table .product-name > .qty-step { margin: 10px 0 0 68px; }
.qty-step { display: inline-flex; align-items: center; gap: 4px; }
.qty-step.is-busy { opacity: .5; pointer-events: none; }
.qty-step__btn, .qty-step__rm { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; padding: 0; }
.qty-step__btn:hover { border-color: var(--blue); color: var(--blue); }
.qty-step__btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-step__btn .icon, .qty-step__rm .icon { width: 16px; height: 16px; }
.qty-step__val { min-width: 28px; text-align: center; font-weight: 800; }
.qty-step__rm { margin-left: 6px; border-color: transparent; color: var(--muted); }
.qty-step__rm:hover { color: var(--red); }

#shipping_method { list-style: none; margin: 0; padding: 0; }
#shipping_method li { margin-bottom: 4px; }

.woocommerce-checkout-payment { margin-top: 16px; }
.wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.wc_payment_method { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.wc_payment_method > label { font-weight: 700; color: var(--ink); cursor: pointer; }
.wc_payment_method input { accent-color: var(--blue); margin-right: 8px; }
.payment_box { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.payment_box p { margin: 0; }
.woocommerce-privacy-policy-text { font-size: 13.5px; color: var(--muted); }
.woocommerce-terms-and-conditions-wrapper .form-row { margin-bottom: 12px; }
.woocommerce-form__label-for-checkbox { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 600 !important; cursor: pointer; }
.woocommerce-form__label-for-checkbox input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
#place_order { width: 100%; min-height: 56px; border: 0; border-radius: var(--radius-sm); background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 18px; cursor: pointer; }
#place_order:hover { background: var(--yellow-600); }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* Order received */
.woocommerce-order { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.woocommerce-thankyou-order-received { font-size: 20px; font-weight: 800; color: var(--green); }
.woocommerce-order-overview { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.woocommerce-order-overview strong { display: block; color: var(--ink); }
.woocommerce-order h2 { font-size: 20px; margin-top: 24px; }
.woocommerce-order .shop_table thead { display: table-header-group; }
.woocommerce-customer-details address { font-style: normal; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.benefits { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.hero__in, .hero--product .hero__in { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
	.hero--product .hero__media { order: -1; max-width: 360px; justify-self: center; }
	.hero--product .eyebrow { flex-wrap: wrap; }
	.product { grid-template-columns: 1fr; gap: 24px; }
	.gallery { position: static; }
	form.checkout { grid-template-columns: 1fr; }
	#customer_details, #order_review_heading, #order_review { grid-column: 1; grid-row: auto; }
	#order_review { position: static; }
	.contact { grid-template-columns: 1fr; }
	.burger { display: grid; }
	.nav {
		position: fixed; inset: 114px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); padding: 10px 20px 20px;
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
	}
	.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: 14px 12px; font-size: 17px; }
	.header__actions { margin-left: auto; }
}
@media (max-width: 640px) {
	.wrap { padding-inline: 16px; }
	.topbar__note { display: none; }
	.topbar__in { justify-content: center; }
	.header__in { min-height: 66px; gap: 12px; }
	.logo img { width: 150px; }
	.nav { inset: 104px 0 auto 0; }
	.hero__lead { font-size: 16px; }
	.hero--product .hero__in { padding-block: 20px 32px; gap: 20px; }
	.hero--product .hero__media { max-width: 280px; }
	.buybar__in { gap: 10px; padding-block: 8px; }
	.buybar__name, .buybar__thumb { display: none; }
	.buybar__text .price { font-size: 16px; flex-direction: column; gap: 0; }
	.buybar .quantity { height: 46px; }
	.buybar .qty-btn { width: 36px; }
	.buybar .quantity .qty { width: 36px; }
	.buybar__btn { min-height: 46px; padding-inline: 14px; }
	.hero--product .hero__cta .btn { flex: 1 1 140px; }
	.hero__buy .price--lg { font-size: 28px; }
	.hero__cta .btn { flex: 1 1 auto; }
	.hero__brands { padding: 16px; }
	.brands { grid-template-columns: repeat(3, 1fr); }
	.brand { min-height: 44px; font-size: 13px; }
	.brand:last-child:nth-child(odd) { grid-column: auto; }
	.section { padding-block: 40px; }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.card__body { padding: 10px 12px 12px; }
	.card__title { font-size: 14.5px; }
	.card__foot { flex-direction: column; align-items: stretch; }
	.card__foot .btn { width: 100%; }
	.price { font-size: 17px; }
	.benefits { grid-template-columns: 1fr; }
	.cta { flex-direction: column; align-items: flex-start; padding: 24px; }
	.cta .btn { width: 100%; font-size: 15px; }
	.footer__grid { grid-template-columns: 1fr; gap: 24px; }
	.footer__bottom-in { flex-direction: column; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
	.form-row-first, .form-row-last { grid-column: 1; }
	.price--lg { font-size: 26px; }
}
