/* Importadora Gylan · base styles (tokens, typography, buttons, cards). Palette A "Azul industrial". */

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/montserrat-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/montserrat-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 {
	/* Brand (logo, not modified). */
	--g-yellow: #FAD002;
	--g-yellow-hover: #E6BF02;
	--g-black: #111111;
	/* Main color: palette A. Switching to palette B ("Grafito minero") only changes these three. */
	--g-primary: #0F3557;
	--g-primary-mid: #1B4F80;
	--g-primary-light: #E8F0F8;
	/* Surfaces. */
	--g-bg: #FFFFFF;
	--g-bg-alt: #F5F7FA;
	--g-dark: #0B2540;
	/* Text. */
	--g-text: #111827;
	--g-text-2: #4B5563;
	--g-muted: #6B7280;
	--g-border: #E5E7EB;
	/* States. */
	--g-whatsapp: #107C41;
	--g-whatsapp-hover: #0E6F3B;
	--g-error: #B42318;
	/* Shape. */
	--g-radius: 12px;
	--g-radius-sm: 8px;
	--g-shadow: 0 1px 2px rgba(17, 24, 39, .05);
	--g-shadow-hover: 0 12px 24px -8px rgba(15, 53, 87, .18);
	--g-wrap: 1240px;
	--g-gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--g-bg);
	color: var(--g-text);
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--g-primary); }
a:hover { color: var(--g-primary-mid); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p { margin: 0; }

h1 { font-weight: 800; font-size: clamp(28px, 4vw, 48px); line-height: 1.12; letter-spacing: -.02em; color: var(--g-text); }
h2 { font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.01em; color: var(--g-primary); }
h3 { font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--g-text); }

:focus-visible { outline: 3px solid var(--g-primary-mid); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	padding: 12px 16px; border-radius: var(--g-radius-sm);
	background: var(--g-yellow); color: var(--g-black); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Layout. */
.wrap { width: 100%; max-width: var(--g-wrap); margin: 0 auto; padding: 0 var(--g-gutter); }
.sec { padding: 80px 0; }
.alt { background: var(--g-bg-alt); }
.sub { color: var(--g-text-2); font-size: 16px; }
.mut { color: var(--g-muted); font-size: 14px; }

/* Section heading: uppercase label with short yellow line, H2 in primary, centered subtitle. */
.sh { max-width: 640px; margin: 0 auto 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.eb { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g-black); }
.eb::after { content: ""; display: block; width: 36px; height: 3px; background: var(--g-yellow); margin: 8px auto 0; border-radius: 2px; }
.eb.l::after { margin-left: 0; }
.eb.y { color: var(--g-yellow); }

/* Icons (line, 1.5px stroke). */
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-s { width: 16px; height: 16px; }
.ic-l { width: 30px; height: 30px; }

/* Buttons (min. 44px touch area). */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: var(--g-radius-sm); border: 0;
	font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s; white-space: nowrap;
}
.btn-p { background: var(--g-primary); color: #fff; }
.btn-p:hover { background: var(--g-primary-mid); color: #fff; }
.btn-y { background: var(--g-yellow); color: var(--g-black); }
.btn-y:hover { background: var(--g-yellow-hover); color: var(--g-black); }
.btn-ob { background: #fff; color: var(--g-primary); border: 1.5px solid var(--g-primary); }
.btn-ob:hover { background: var(--g-primary-light); color: var(--g-primary); }
.btn-ow { background: transparent; color: #fff; border: 1.5px solid #fff; }
.btn-ow:hover { background: #fff; color: var(--g-primary); }
.btn-wa { background: var(--g-whatsapp); color: #fff; }
.btn-wa:hover { background: var(--g-whatsapp-hover); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 13px; }
.full { width: 100%; }

/* Cards. */
.card {
	background: #fff; border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 24px;
	box-shadow: var(--g-shadow); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--g-primary-mid); box-shadow: var(--g-shadow-hover); }
.ico {
	width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--g-primary-mid); background: #fff; color: var(--g-primary);
	display: flex; align-items: center; justify-content: center; flex: none; transition: background .2s;
}
.card:hover .ico { background: var(--g-primary-light); }
.tag {
	display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px;
	background: var(--g-yellow); color: var(--g-black); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}


/* Scroll lock while a dialog is open; the floating WhatsApp button hides behind panels. */
html.gylan-lock { overflow: hidden; }
html.gylan-lock .fab { display: none; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------
 * Top bar
 * ------------------------------------------------------------- */
.topbar { background: var(--g-dark); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.tb-l { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.tb-i { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; }
a.tb-i { position: relative; min-height: 40px; }
a.tb-i::after { content: ""; position: absolute; inset: -2px 0; }
a.tb-i:hover { color: var(--g-yellow); }
.lang { display: flex; gap: 4px; }
.lang a {
	display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 26px; position: relative;
	border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px; background: transparent; color: #fff;
	font-size: 12px; font-weight: 600; letter-spacing: .08em; text-decoration: none;
}
/* 44px touch area around the small language buttons. */
.lang a::after { content: ""; position: absolute; inset: -9px -4px; }
.lang a:hover { color: var(--g-yellow); border-color: var(--g-yellow); }
.lang a.on { background: var(--g-yellow); color: var(--g-black); border-color: var(--g-yellow); }

/* ---------------------------------------------------------------
 * Header
 * ------------------------------------------------------------- */
.hdr-wrap { position: relative; z-index: 40; background: #fff; border-bottom: 3px solid var(--g-primary); }
.hdr-wrap::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 14%; height: 3px; background: var(--g-yellow); }
.hdr { position: relative; display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { flex: none; display: inline-flex; }
.logo img { height: 54px; width: auto; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { font-weight: 600; font-size: 14px; color: var(--g-text); text-decoration: none; padding: 12px 0 9px; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--g-primary); }
.nav a.on { color: var(--g-primary); font-weight: 700; border-bottom-color: var(--g-yellow); }
.sbtn {
	margin-left: auto; flex: none; width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1px solid var(--g-border);
	background: var(--g-bg-alt); color: var(--g-primary); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.sbtn:hover { background: var(--g-primary-light); border-color: #C9D7E6; }
.login, .usr {
	flex: none; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px;
	font-size: 14px; font-weight: 700; text-decoration: none; color: var(--g-primary);
}
.login { border: 1.5px solid var(--g-primary); }
.login:hover { background: var(--g-primary-light); color: var(--g-primary); }
.usr { background: var(--g-primary-light); }
.usr:hover { background: #D6E2EE; color: var(--g-primary); }
.usr span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--g-primary); }
.cart:hover { background: var(--g-primary-light); color: var(--g-primary); }
.badge-c {
	position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; padding: 0 4px;
	background: var(--g-yellow); color: var(--g-black); font-size: 11px; font-weight: 700; line-height: 1;
	display: flex; align-items: center; justify-content: center;
}
.burger {
	display: none; flex: none; width: 44px; height: 44px; border: 1px solid var(--g-border); border-radius: var(--g-radius-sm);
	background: #fff; color: var(--g-primary); align-items: center; justify-content: center; cursor: pointer;
}
.burger .ic + .ic, .burger[aria-expanded="true"] .ic:first-child { display: none; }
.burger[aria-expanded="true"] .ic + .ic { display: block; }

/* Mobile menu: rows of 52px, current page with a yellow dot, Login / Mi cuenta and the search at the end. */
.mnav { display: none; border-top: 1px solid var(--g-border); padding: 4px 16px 20px; background: #fff; }
.mrow { display: flex; align-items: center; justify-content: space-between; height: 52px; border-bottom: 1px solid var(--g-border); color: var(--g-text); font-weight: 600; font-size: 15px; text-decoration: none; }
.mrow:hover { color: var(--g-primary); }
.mrow.on { color: var(--g-primary); font-weight: 700; }
.mrow .ic { color: var(--g-primary); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g-yellow); }
.search { margin: 20px 0 12px; }
.search__in {
	display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border: 1px solid var(--g-border);
	border-radius: 999px; background: var(--g-bg-alt); color: var(--g-muted);
}
.search__in:focus-within { border-color: var(--g-primary-mid); background: #fff; }
.search__in input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--g-text); outline: none; }
.search__in input::placeholder { color: var(--g-muted); }

/* ---------------------------------------------------------------
 * Search modal
 * ------------------------------------------------------------- */
.sm { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: center; align-items: flex-start; padding: 88px 16px 16px; }
.sm-scrim { position: absolute; inset: 0; border: 0; padding: 0; background: rgba(11, 37, 64, .62); backdrop-filter: blur(2px); cursor: default; }
.sm-card {
	position: relative; width: 100%; max-width: 680px; max-height: calc(100% - 104px); display: flex; flex-direction: column;
	background: #fff; border-radius: 16px; border-top: 4px solid var(--g-yellow); box-shadow: 0 24px 48px -16px rgba(11, 37, 64, .45); overflow: hidden;
}
.sm-top { display: flex; align-items: center; gap: 10px; padding: 16px; border-bottom: 1px solid var(--g-border); }
.sm-in {
	flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px;
	border: 1px solid var(--g-primary-mid); border-radius: 999px; box-shadow: 0 0 0 3px var(--g-primary-light); color: var(--g-primary); background: #fff;
}
.sm-in input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--g-text); }
.sm-in input::placeholder { color: var(--g-muted); }
.sm-in input::-webkit-search-cancel-button { display: none; }
.sm-x { flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--g-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sm-x:hover { background: var(--g-primary-light); }
.sm-body { overflow: auto; padding: 4px 16px 16px; }
.sm-t { margin: 14px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g-muted); }
.sm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--g-border); border-radius: 999px; color: var(--g-primary); font-size: 13px; font-weight: 600; text-decoration: none; }
.sm-chip:hover { background: var(--g-primary-light); border-color: #C9D7E6; color: var(--g-primary); }
.sm-hint { margin: 16px 0 4px; font-size: 13px; color: var(--g-muted); }
.sm-p { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: var(--g-text); text-decoration: none; }
.sm-p:hover, .sm-c:hover { background: var(--g-bg-alt); color: var(--g-text); }
.sm-p img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--g-bg-alt); flex: none; }
.sm-pn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sm-pn b { font-size: 14px; font-weight: 700; }
.sm-pn small { font-size: 12px; color: var(--g-muted); }
.sm-pr { font-size: 14px; font-weight: 700; color: var(--g-primary); white-space: nowrap; }
.sm-c { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px; border-radius: 10px; color: var(--g-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.sm-c .ic { color: var(--g-primary); }
.sm-c span { flex: 1; }
.sm-none { margin: 16px 0 8px; font-size: 14px; color: var(--g-text-2); }
.sm-none b { display: block; margin-bottom: 4px; font-size: 15px; color: var(--g-text); }
.sm-ft { padding: 12px 16px; border-top: 1px solid var(--g-border); background: #F9FAFB; }
.sm-all { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--g-radius-sm); background: var(--g-primary); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.sm-all:hover { background: var(--g-primary-mid); color: #fff; }

/* ---------------------------------------------------------------
 * Cart panel
 * ------------------------------------------------------------- */
.cd-wrap { position: fixed; inset: 0; z-index: 80; }
.cd-scrim { position: absolute; inset: 0; background: rgba(11, 37, 64, .45); border: 0; padding: 0; cursor: pointer; animation: gylanFade .25s ease; }
.cd {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column;
	box-shadow: -20px 0 40px -12px rgba(11, 37, 64, .35); animation: gylanIn .3s ease;
}
.cd-in { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cd-wrap[aria-busy="true"] .cd-in { opacity: .6; pointer-events: none; }
.cd-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--g-border); }
.cd-h h2 { font-size: 20px; font-weight: 800; color: var(--g-primary); }
.cd-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--g-border); background: #fff; color: var(--g-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.cd-x:hover { background: var(--g-primary-light); }
.cd-ok { display: flex; gap: 10px; align-items: center; margin: 16px 24px 0; padding: 12px 14px; border-radius: 10px; background: var(--g-primary-light); color: var(--g-primary); font-size: 14px; font-weight: 600; line-height: 1.4; }
.cd-list { flex: 1; overflow: auto; margin: 0; padding: 4px 24px; list-style: none; }
.cd-it { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--g-border); }
.cd-th { width: 72px; height: 72px; border: 1px solid var(--g-border); border-radius: 10px; padding: 6px; display: flex; align-items: center; justify-content: center; background: #fff; }
.cd-th img { max-height: 100%; width: auto; object-fit: contain; }
.cd-n { display: block; font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--g-text); text-decoration: none; }
a.cd-n:hover { color: var(--g-primary); }
.cd-p { font-weight: 700; font-size: 14px; color: var(--g-primary); }
.cd-q { display: flex; align-items: center; border: 1px solid var(--g-border); border-radius: var(--g-radius-sm); height: 44px; margin-top: 6px; width: max-content; }
.cd-q button { width: 44px; height: 42px; border: 0; background: transparent; color: var(--g-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: var(--g-radius-sm); }
.cd-q button:hover { background: var(--g-primary-light); }
.cd-q button:disabled { color: #9CA3AF; cursor: not-allowed; background: transparent; }
.cd-q span { min-width: 28px; text-align: center; font-weight: 700; font-size: 14px; }
.cd-rm { width: 44px; height: 44px; border: 0; background: transparent; color: var(--g-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: var(--g-radius-sm); }
.cd-rm:hover { background: var(--g-bg-alt); color: var(--g-primary); }
.cd-f { padding: 20px 24px; border-top: 1px solid var(--g-border); display: flex; flex-direction: column; gap: 10px; background: var(--g-bg-alt); }
.cd-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 600; }
.cd-row b { font-size: 18px; font-weight: 800; color: var(--g-primary); }
.cd-note { font-size: 13px; color: var(--g-text-2); margin-bottom: 4px; }
.cd-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 32px; color: var(--g-text-2); }
.cd-empty h3 { font-size: 18px; color: var(--g-text); }
.cd-ei { width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--g-primary-mid); color: var(--g-primary); display: flex; align-items: center; justify-content: center; }
@keyframes gylanFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gylanIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------- */
.ft { background: var(--g-dark); color: #fff; padding-top: 64px; }
.ft-g { display: grid; grid-template-columns: 1fr 1.3fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.ft-plate { display: inline-flex; background: #fff; border-radius: 10px; padding: 12px 16px; }
.ft-plate img { height: 56px; width: auto; }
.soc { display: flex; gap: 10px; margin-top: 24px; }
.soc a { position: relative; width: 36px; height: 36px; border-radius: var(--g-radius-sm); background: rgba(255, 255, 255, .1); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.soc a::after { content: ""; position: absolute; inset: -4px; }
.soc a:hover { background: var(--g-yellow); color: var(--g-black); }
.soc svg { width: 18px; height: 18px; fill: currentColor; }
.soc .so-s { fill: none; stroke: currentColor; stroke-width: 1.8; }
.ft-t { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g-yellow); margin-bottom: 20px; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-nav a { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--g-radius-sm); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; }
.ft-nav a:hover { border-color: var(--g-yellow); color: var(--g-yellow); }
.ft-c { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.ft-ci { display: flex; gap: 12px; align-items: flex-start; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
a.ft-ci { min-height: 24px; }
a.ft-ci:hover { color: var(--g-yellow); }
.ft-ci .ic { color: var(--g-yellow); margin-top: 1px; }
.ft-b { border-top: 1px solid rgba(255, 255, 255, .12); }
.ft-b .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.ft-b a { color: #fff; font-weight: 600; text-decoration: none; }
.ft-b a:hover { color: var(--g-yellow); }

/* ---------------------------------------------------------------
 * Floating WhatsApp button
 * ------------------------------------------------------------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 65; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.fab-c { width: 56px; height: 56px; border-radius: 50%; background: var(--g-whatsapp); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -6px rgba(11, 37, 64, .45); transition: transform .2s, background .2s; }
.fab-c svg { width: 28px; height: 28px; fill: currentColor; }
.fab:hover .fab-c { transform: scale(1.06); background: var(--g-whatsapp-hover); }
.fab-tip { background: #fff; color: var(--g-text); font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(11, 37, 64, .35); opacity: 0; transform: translateX(8px); transition: opacity .2s, transform .2s; pointer-events: none; white-space: nowrap; }
.fab:hover .fab-tip, .fab:focus-visible .fab-tip { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
 * Form fields, custom dropdowns and password fields
 * ------------------------------------------------------------- */
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label, .fld .lbl { font-size: 13px; font-weight: 600; color: var(--g-text); }
.fld input, .fld textarea {
	font: inherit; font-size: 15px; color: var(--g-text); border: 1px solid #D1D5DB; border-radius: var(--g-radius-sm);
	padding: 12px 14px; min-height: 48px; background: #fff; outline: none; width: 100%;
}
.fld textarea { min-height: 140px; resize: vertical; }
.fld input:focus, .fld textarea:focus { border-color: var(--g-primary-mid); box-shadow: 0 0 0 3px var(--g-primary-light); }
.fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: var(--g-error); }
.fld-err { font-size: 13px; color: var(--g-error); }

.dd { position: relative; min-width: 0; }
.dd-btn {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 0 14px;
	border: 1px solid #D1D5DB; border-radius: var(--g-radius-sm); background: #fff; font: inherit; font-size: 15px; color: var(--g-text); cursor: pointer; text-align: left;
}
.dd-btn > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-btn .dd-ph { color: var(--g-muted); }
.dd-btn .ic { color: var(--g-primary); transition: transform .15s; flex: none; }
.dd-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.dd-btn[aria-expanded="true"], .dd-btn:focus-visible { border-color: var(--g-primary-mid); box-shadow: 0 0 0 3px var(--g-primary-light); outline: none; }
.dd-btn[aria-invalid="true"] { border-color: var(--g-error); }
.dd-btn:disabled { background: var(--g-bg-alt); color: var(--g-muted); cursor: not-allowed; }
.dd-pop {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; min-width: 220px; max-height: 340px;
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--g-border); border-radius: var(--g-radius);
	box-shadow: 0 20px 40px -12px rgba(15, 53, 87, .25); padding: 6px; outline: none;
}
.dd--up .dd-pop { top: auto; bottom: calc(100% + 6px); }
.dd-list { overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.dd-o {
	display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; flex: none;
	border-radius: var(--g-radius-sm); font-size: 14px; color: var(--g-text); cursor: pointer;
}
.dd-o.is-active { background: var(--g-bg-alt); }
.dd-o.on { color: var(--g-primary); font-weight: 700; background: var(--g-primary-light); }
.dd-o > .ic { visibility: hidden; color: var(--g-primary); }
.dd-o.on > .ic { visibility: visible; }
.dd-pop:focus-visible .dd-o.is-active { box-shadow: inset 0 0 0 2px var(--g-primary-mid); }
.dd--multi .dd-o { justify-content: flex-start; }
.dd-box { width: 20px; height: 20px; flex: none; border: 1.5px solid #9CA3AF; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: #fff; }
.dd-box .ic { visibility: hidden; color: #fff; }
.dd-o.on .dd-box { background: var(--g-primary); border-color: var(--g-primary); }
.dd-o.on .dd-box .ic { visibility: visible; }
.dd-q { min-height: 44px; margin-bottom: 6px; padding: 0 12px; border: 1px solid var(--g-border); border-radius: var(--g-radius-sm); font: inherit; font-size: 14px; color: var(--g-text); flex: none; }
.dd-q:focus { border-color: var(--g-primary-mid); box-shadow: 0 0 0 3px var(--g-primary-light); outline: none; }
.dd-o[hidden], .dd-none[hidden] { display: none; }
.dd-none { padding: 12px; font-size: 14px; color: var(--g-text-2); }
.dd-f { display: flex; justify-content: space-between; gap: 8px; padding: 10px 6px 4px; margin-top: 4px; border-top: 1px solid var(--g-border); }
.dd-f .btn { flex: 1; }

.pw { position: relative; display: block; }
.pw input { padding-right: 52px; width: 100%; }
.eye {
	position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: transparent;
	color: var(--g-text-2); border-radius: var(--g-radius-sm); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.eye:hover { color: var(--g-primary); background: var(--g-primary-light); }
.show-password-input { display: none !important; }

/* ---------------------------------------------------------------
 * Carousels (fade and slide)
 * ------------------------------------------------------------- */
[data-gylan-carousel="fade"] [data-car-slide] { transition: opacity .6s ease; opacity: 0; }
[data-gylan-carousel="fade"] [data-car-slide].is-on { opacity: 1; }
[data-gylan-carousel="slide"] [data-car-track] { transition: transform .6s ease; }
[data-gylan-carousel].no-anim [data-car-slide], [data-gylan-carousel].no-anim [data-car-track] { transition: none; }
[data-gylan-carousel].is-single [data-car-prev], [data-gylan-carousel].is-single [data-car-next], [data-gylan-carousel].is-single [data-car-dots] { display: none; }
.car-dots { display: flex; gap: 8px; }
.car-dots button { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .2s, background .2s; }
.car-dots button::after { content: ""; position: absolute; inset: -17px -8px; }
.car-dots button.on { width: 28px; background: var(--g-yellow); }


/* ===============================================================
 * Pages (phase 3): shared pieces
 * ============================================================= */
.ic-m { width: 26px; height: 26px; }
.shl { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sh--flush { margin-bottom: 0; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.center-cta { display: flex; justify-content: center; margin-top: 32px; }
/* Image of a section, or a neutral block while the photo is pending. */
.hero-img { border-radius: 16px; overflow: hidden; height: 440px; background: var(--g-bg-alt); }
.hero-img__img { width: 100%; height: 100%; object-fit: cover; }
.hero-img.is-empty { background: linear-gradient(135deg, #E8F0F8 0%, #D6E2EE 100%); }
.hero-img--rise { animation: gylanRise .8s ease both; }
@keyframes gylanRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--g-muted); }
.crumbs a { color: var(--g-text-2); text-decoration: none; }
.crumbs a:hover { color: var(--g-primary); }
.crumbs .cur { color: var(--g-primary); font-weight: 600; }
.phd { background: var(--g-bg-alt); border-bottom: 1px solid var(--g-border); padding: 40px 0; }
.phd .wrap { display: flex; flex-direction: column; gap: 10px; }

/* Product card. */
.pc { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--g-border); border-radius: var(--g-radius); overflow: hidden; box-shadow: var(--g-shadow); transition: transform .2s, border-color .2s, box-shadow .2s; }
.pc:hover { transform: translateY(-3px); border-color: var(--g-primary-mid); box-shadow: var(--g-shadow-hover); }
.pc .tag { position: absolute; top: 12px; left: 12px; z-index: 1; }
.pc-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 18%; background: #fff; border-bottom: 1px solid var(--g-border); }
.pc-img img { width: 100%; height: 100%; object-fit: contain; }
.pc-b { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-c { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--g-muted); }
.pc-n { font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--g-text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.pc-n:hover { color: var(--g-primary); }
.pc-p { font-weight: 800; font-size: 17px; color: var(--g-primary); margin-bottom: 8px; }
.pc-p del { font-weight: 500; font-size: 13px; color: var(--g-muted); }
.pc-p ins { text-decoration: none; }
.pc-p--ask { font-size: 14px; font-weight: 600; color: var(--g-muted); }
.pc .btn { margin-top: auto; }
.pc .added_to_cart { display: none; }
.pc .btn.loading { opacity: .7; pointer-events: none; }

/* ===============================================================
 * Inicio
 * ============================================================= */
.home-top { padding-top: 24px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.car { position: relative; border-radius: 16px; overflow: hidden; background: var(--g-primary); min-height: 420px; }
.car-track { position: absolute; inset: 0; }
.sl { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 28px; padding: 48px 76px; }
.sl.sl--noimg { grid-template-columns: minmax(0, 1fr); }
.sl.sl--img { display: block; padding: 0; }
.sl-t { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.sl-h { color: #fff; font-size: clamp(26px, 3.2vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.sl p { color: rgba(255, 255, 255, .85); font-size: 15px; max-width: 380px; }
.sl-img { display: block; height: 280px; }
.sl-img img { width: 100%; height: 100%; object-fit: contain; }
.sl--img .sl-img { height: 100%; }
.sl--img .sl-img img { object-fit: cover; }
.sl-cta { position: absolute; left: 76px; bottom: 56px; }
.car-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; }
.car-arr:hover { background: var(--g-yellow); color: var(--g-black); }
.car-arr.prev { left: 16px; }
.car-arr.next { right: 16px; }
.car .car-dots { position: absolute; left: 0; right: 0; bottom: 22px; justify-content: center; z-index: 3; }
.hside { display: grid; grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; min-height: 0; }
.hb { border-radius: 16px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; align-items: flex-start; min-height: 0; }
.hb1 { background: var(--g-primary-light); color: var(--g-primary); padding: 0; gap: 0; overflow: hidden; justify-content: flex-start; }
.hb-ph { width: 100%; flex: 1; min-height: 120px; overflow: hidden; }
.hb-ph.is-empty { background: linear-gradient(135deg, #DCE6F1 0%, #C9D6E3 100%); }
.hb-ph__img { width: 100%; height: 100%; object-fit: cover; }
.hb-cap { display: flex; gap: 12px; align-items: center; padding: 16px 20px; background: var(--g-primary-light); border-top: 3px solid var(--g-yellow); width: 100%; }
.hb-cap .ic { color: var(--g-primary); width: 28px; height: 28px; }
.hb-h { font-size: 19px; font-weight: 800; line-height: 1.25; color: inherit; letter-spacing: 0; }
.hb1 .hb-h { font-size: 15px; line-height: 1.3; }
.hb2 { background: var(--g-yellow); color: var(--g-black); }
.ben { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--g-border); border-radius: var(--g-radius); background: #fff; margin-top: 24px; }
.ben > div { display: flex; gap: 16px; align-items: center; padding: 22px 24px; }
.ben > div + div { border-left: 1px solid var(--g-border); }
.ben .ico { width: 56px; height: 56px; }
.ben h3 { font-size: 15px; }
.ben p { font-size: 13px; color: var(--g-text-2); line-height: 1.45; }

/* Featured categories carousel (Inicio and Tienda). */
.hcats-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.hcats-t { max-width: 640px; }
.hc-arrs { display: flex; gap: 8px; }
.hc-arr, .arr { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--g-border); background: #fff; color: var(--g-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hc-arr:hover, .arr:hover { border-color: var(--g-primary-mid); background: var(--g-primary-light); }
.hc-view { overflow: hidden; padding: 4px; margin: -4px; }
.hc-track { --vis: 2; display: flex; gap: 20px; }
.hc-card {
	flex: 0 0 calc((100% - 20px * (var(--vis) - 1)) / var(--vis)); display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; align-items: center;
	padding: 20px 20px 20px 28px; border-radius: var(--g-radius); border: 1px solid transparent; text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.hc-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(15, 53, 87, .25); }
.hc-card.on { outline: 3px solid var(--g-yellow); outline-offset: 2px; }
.hc-t { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hc-n { font-size: 19px; font-weight: 800; line-height: 1.25; }
.hc-card.dark { background: var(--g-primary); color: #fff; }
.hc-card.light { background: var(--g-bg-alt); border-color: var(--g-border); color: var(--g-text); }
.hc-img { height: 140px; border-radius: var(--g-radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hc-img img { width: 100%; height: 100%; object-fit: cover; }
.hc-img.is-empty { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); }
.hc-card.light .hc-img.is-empty { background: #fff; color: #9CA3AF; }

/* Product tabs. */
.tabs-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs-hl { display: flex; flex-direction: column; gap: 16px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--g-border); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--g-text-2); cursor: pointer; }
.tab:hover { border-color: var(--g-primary-mid); color: var(--g-primary); }
.tab.on { background: var(--g-primary); border-color: var(--g-primary); color: #fff; }
.arrs { display: flex; gap: 8px; }
.pg5-view { overflow: hidden; padding: 4px; margin: -4px; }
.pg5 { --vis: 5; display: flex; gap: 20px; }
.pg5-i { flex: 0 0 calc((100% - 20px * (var(--vis) - 1)) / var(--vis)); min-width: 0; }

/* Services band. */
.band { background: var(--g-primary); color: #fff; padding: 80px 0; }
.band .wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; }
.band-t { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .85); }
.svc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc3 > div { border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--g-radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.svc3 .ico { width: 56px; height: 56px; background: transparent; border-color: var(--g-yellow); color: var(--g-yellow); }
.svc3 h3 { color: #fff; font-size: 15px; }

/* ===============================================================
 * Servicios
 * ============================================================= */
.shero { background: var(--g-bg-alt); padding: 72px 0; }
.shero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.shero-t { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 8px 0 0; padding: 0; list-style: none; }
.cov { display: inline-flex; gap: 8px; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--g-border); background: #fff; font-weight: 600; font-size: 14px; color: var(--g-primary); }
.cov .ic { color: var(--g-primary-mid); }
.sg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: sv; }
.sv { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 30px; counter-increment: sv; }
.sv::before { content: counter(sv, decimal-leading-zero); position: absolute; top: 14px; right: 18px; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--g-primary-light); transition: color .2s; }
.sv::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--g-yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.sv:hover::before { color: var(--g-yellow); }
.sv:hover::after { transform: scaleX(1); }
.sv .ico { position: relative; width: 56px; height: 56px; border-radius: 14px; border: 0; background: var(--g-primary); color: #fff; box-shadow: 0 8px 16px -6px rgba(15, 53, 87, .45); }
.sv:hover .ico { background: var(--g-primary); color: var(--g-yellow); }
.sv .ico .ic-l { width: 26px; height: 26px; }
.sv p { font-size: 14px; color: var(--g-text-2); line-height: 1.55; position: relative; }
.sv h3 { font-size: 16px; position: relative; padding-right: 40px; }
.sv-cta {
	position: relative; overflow: hidden; background: var(--g-primary); color: #fff; border-radius: var(--g-radius); padding: 28px 24px;
	display: flex; flex-direction: column; justify-content: center; gap: 16px; align-items: flex-start;
	background-image: radial-gradient(circle at 100% 0, rgba(250, 208, 2, .22) 0, rgba(250, 208, 2, 0) 55%), radial-gradient(circle at 0 100%, rgba(27, 79, 128, .9) 0, rgba(27, 79, 128, 0) 60%);
}
.sv-cta h3 { font-size: 22px; font-weight: 800; color: #fff; }
.sv-cta p { color: #D7E3EF; font-size: 14px; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why > div { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; padding: 12px 16px; }
.why p { color: var(--g-text-2); font-size: 14px; max-width: 300px; }
.cta-b { background: var(--g-primary); color: #fff; padding: 80px 0; }
.cta-b .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta-b h2 { color: #fff; font-size: clamp(24px, 3vw, 38px); font-weight: 800; }

/* ===============================================================
 * Nosotros
 * ============================================================= */
.nhero { padding: 72px 0; }
.nhero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.nhero-t { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.amv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.amv .card { display: flex; flex-direction: column; gap: 16px; border-top: 4px solid var(--g-primary); }
.amv .card:hover { border-top-color: var(--g-yellow); }
.amv .card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 72px 200px minmax(0, 1fr); align-items: center; column-gap: 28px; padding: 32px; }
.amv .card:first-child p { font-size: 16px; line-height: 1.7; }
.amv p { color: var(--g-text-2); font-size: 15px; }
.amv-h { font-size: 20px; font-weight: 800; color: var(--g-primary); letter-spacing: 0; }
.tb3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tb3 .card { display: flex; gap: 18px; align-items: flex-start; }
.tb3 p { color: var(--g-text-2); font-size: 14px; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.st { background: #fff; border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 32px 24px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.st-n { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; color: var(--g-primary); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.st-l { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g-muted); }
.st-bar { width: 36px; height: 3px; background: var(--g-yellow); border-radius: 2px; margin: 10px auto 0; }

/* ===============================================================
 * Contáctanos
 * ============================================================= */
.ct { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; align-items: start; }
.fcard { background: #fff; border: 1px solid var(--g-border); border-radius: 16px; padding: 32px; box-shadow: var(--g-shadow); display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 24px; }
.req { font-size: 13px; color: var(--g-text-2); margin-top: -8px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ferr { font-size: 12px; font-weight: 600; color: var(--g-error); }
.ferr--box { padding: 12px 14px; border: 1px solid var(--g-error); border-radius: var(--g-radius-sm); background: #FEF3F2; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ok { display: flex; gap: 14px; align-items: center; background: var(--g-primary-light); border: 1px solid var(--g-primary-mid); border-radius: var(--g-radius); padding: 18px 20px; color: var(--g-primary); font-weight: 600; outline: none; }
.ok .ic { width: 28px; height: 28px; flex: none; }
.okwa { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--g-text-2); }
.btn-wa svg { width: 18px; height: 18px; fill: currentColor; }
.fld input[readonly], .fld textarea[readonly] { background: var(--g-bg-alt); }
.icard { background: var(--g-primary); color: #fff; border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.icard h2 { color: #fff; font-size: 22px; }
.irow { display: flex; gap: 14px; align-items: flex-start; color: #fff; text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
a.irow:hover { color: var(--g-yellow); }
.irow .ii { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--g-yellow); color: var(--g-yellow); display: flex; align-items: center; justify-content: center; flex: none; }
.irow small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.icard .soc { margin-top: 0; }
.map { height: 420px; border-radius: 16px; margin-bottom: 80px; overflow: hidden; background: var(--g-primary-light); border: 1px solid var(--g-border); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-gap { height: 32px; }

@media (max-width: 1100px) {
	.pg5 { --vis: 4; }
	.sg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
	.pg5 { --vis: 3; }
}

@media (max-width: 860px) {
	.hero { grid-template-columns: 1fr; }
	.hside { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 12px; }
	.hb { padding: 20px; }
	.hb-h { font-size: 16px; }
	.hb1 { padding: 0; }
	.hb1 .hb-ph { min-height: 110px; }
	.hb-cap { padding: 12px 14px; }
	.hb1 .hb-h { font-size: 13px; }
	.car { min-height: 360px; }
	.sl { grid-template-columns: 1fr; padding: 40px 60px; }
	.sl:not(.sl--img) .sl-img { display: none; }
	.sl-cta { left: 60px; bottom: 48px; }
	.ben { grid-template-columns: 1fr 1fr; }
	.ben > div { border-left: 0 !important; flex-direction: column; align-items: flex-start; padding: 16px; }
	.hc-track { --vis: 1; }
	.hc-card { grid-template-columns: minmax(0, 1fr) 120px; padding: 16px; }
	.hc-img { height: 110px; }
	.pg5 { --vis: 2; gap: 12px; }
	.pg5-i { flex-basis: calc((100% - 12px * (var(--vis) - 1)) / var(--vis)); }
	.band { padding: 56px 0; }
	.band .wrap { grid-template-columns: 1fr; gap: 32px; }
	.svc3 { grid-template-columns: 1fr; }
	.shero { padding: 48px 0; }
	.shero .wrap { grid-template-columns: 1fr; gap: 32px; }
	.hero-img { height: 240px; }
	.why { grid-template-columns: 1fr; }
	.cta-b { padding: 56px 0; }
	.nhero { padding: 48px 0; }
	.nhero .wrap { grid-template-columns: 1fr; gap: 28px; }
	.amv, .tb3 { grid-template-columns: 1fr; }
	.amv .card:first-child { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }
	.stats { grid-template-columns: 1fr 1fr; gap: 12px; }
	.ct { grid-template-columns: 1fr; padding-top: 24px; }
	.map { height: 280px; margin-bottom: 56px; }
}

@media (max-width: 600px) {
	.sg { grid-template-columns: 1fr; }
	.frow { grid-template-columns: 1fr; }
	.fcard, .icard { padding: 20px; }
	.sl { padding: 32px 56px; }
}


/* ===============================================================
 * Phase 4: shop, product, cart, checkout and order summary
 * ============================================================= */
.js .js-hide { display: none !important; }
.muted { color: var(--g-muted); font-weight: 500; }
.opt-l { font-weight: 500; color: var(--g-muted); }

/* Notices of WooCommerce. */
.woocommerce-error, .woocommerce-message, .woocommerce-info, .woocommerce-NoticeGroup ul {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--g-radius); font-weight: 600; font-size: 14px;
	background: var(--g-primary-light); border: 1px solid var(--g-primary-mid); color: var(--g-primary);
}
.woocommerce-error, .woocommerce-NoticeGroup .woocommerce-error { background: #FEF3F2; border-color: var(--g-error); color: var(--g-error); }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-message { background: #ECFDF3; border-color: #ABEFC6; color: #05603A; }
.acc-c .woocommerce-error, .acc-c .woocommerce-message, .acc-c .woocommerce-info, .ck-c .woocommerce-error, .ck-c .woocommerce-message, .ck-c .woocommerce-info { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { display: none; }

/* Highlighted notice: incomplete quote (light yellow) or information (light blue). */
.ask-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 10px; background: #FEF7D6; border: 1px solid #F2D14A; color: var(--g-black); font-size: 13px; font-weight: 600; line-height: 1.5; }
.ask-note .ic { color: var(--g-primary); flex: none; margin-top: 1px; }
.ask-note--blue { background: var(--g-primary-light); border-color: var(--g-primary-mid); color: var(--g-primary); }

/* Shop. */
.afb { background: var(--g-primary-light); border-bottom: 1px solid #D6E2EE; }
.afb-in { display: flex; align-items: center; gap: 14px; min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
.afb-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--g-primary); color: var(--g-yellow); display: flex; align-items: center; justify-content: center; flex: none; }
.afb-ic .ic { width: 18px; height: 18px; }
.afb p { margin: 0; flex: 1; font-size: 14px; font-weight: 600; color: var(--g-primary); }
.afb-x { width: 44px; height: 44px; border: 0; background: transparent; color: var(--g-text-2); border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.afb-x:hover { background: #fff; color: var(--g-primary); }
.shop { padding-top: 32px; padding-bottom: 80px; }
.shop[aria-busy="true"] [data-gylan-shop-results] { opacity: .55; transition: opacity .15s; }
.fcats { margin-bottom: 28px; }
.fcats .hcats-h { align-items: center; margin-bottom: 14px; }
.tbar { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 24px; }
.tbar-r { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.tsel { display: flex; align-items: center; gap: 10px; }
.tlab { font-size: 14px; color: var(--g-text-2); white-space: nowrap; }
.tsel .dd { min-width: 260px; }
.tsel .dd-btn { min-height: 44px; font-size: 14px; border-color: var(--g-border); }
.tsel .dd-pop { min-width: 300px; }
.dl-btn { min-height: 44px; }
.dl-btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -8px 0 24px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--g-primary-mid); background: var(--g-primary-light); color: var(--g-primary); font-size: 13px; font-weight: 600; text-decoration: none; }
.chip:hover { background: #fff; color: var(--g-primary); }
.chip-clear { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--g-primary); font-size: 13px; font-weight: 600; text-decoration: underline; }
.pg4 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.shop-empty { padding: 40px 24px; border: 1px dashed #C7CED8; border-radius: var(--g-radius); text-align: center; color: var(--g-text-2); }
.pfoot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--g-border); }
.pcount { font-size: 14px; color: var(--g-text-2); }
.pcount b { color: var(--g-primary); font-weight: 700; }
.pager { display: flex; gap: 8px; justify-content: center; }
.pager a, .pager span { width: 44px; height: 44px; border-radius: var(--g-radius-sm); border: 1px solid var(--g-border); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; color: var(--g-text); background: #fff; text-decoration: none; }
.pager a:hover { border-color: var(--g-primary-mid); color: var(--g-primary); }
.pager a.on { background: var(--g-primary); border-color: var(--g-primary); color: #fff; }
.pager .off { color: #9CA3AF; border-color: #F3F4F6; }
.pager .dbl + .dbl { margin-left: -10px; }
.pper { display: flex; align-items: center; gap: 10px; justify-self: end; font-size: 14px; color: var(--g-text-2); }
.pper .dd { min-width: 84px; }
.pper .dd-btn { min-height: 44px; font-size: 14px; border-color: var(--g-border); }
.pper .dd-pop { min-width: 100px; }

/* Product page. */
.crumbs-top { padding-top: 24px; }
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 24px; padding-bottom: 72px; align-items: start; }
.gal { display: flex; flex-direction: column; gap: 14px; }
.gal-main { position: relative; width: 100%; aspect-ratio: 1 / 1; border: 1px solid var(--g-border); border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 8%; cursor: zoom-in; font: inherit; }
.gal-main:hover { border-color: var(--g-primary-mid); }
.gal-main img { width: 100%; height: 100%; object-fit: contain; }
.zb { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--g-border); color: var(--g-primary); display: flex; align-items: center; justify-content: center; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.th { aspect-ratio: 1 / 1; border: 1px solid var(--g-border); border-radius: 10px; background: #fff; padding: 10%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.th img { width: 100%; height: 100%; object-fit: contain; }
.th.on { border: 2px solid var(--g-primary); }
.info { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; background: var(--g-primary-light); color: var(--g-primary); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.pill:hover { background: #D6E2EE; color: var(--g-primary); }
.price { font-size: 32px; font-weight: 800; color: var(--g-primary); line-height: 1; }
.price del { font-size: 18px; font-weight: 500; color: var(--g-muted); }
.price ins { text-decoration: none; }
.price--ask { font-size: 20px; font-weight: 600; color: var(--g-muted); }
.short { color: var(--g-text-2); font-size: 16px; max-width: 520px; }
.hr { width: 100%; height: 1px; background: var(--g-border); }
.buy { display: flex; gap: 12px; width: 100%; flex-wrap: wrap; }
.buy .btn-p { flex: 1; }
.qty { display: flex; align-items: center; border: 1px solid var(--g-border); border-radius: var(--g-radius-sm); height: 48px; width: max-content; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 46px; border: 0; background: #fff; color: var(--g-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--g-primary-light); }
.qty button:disabled { color: #9CA3AF; cursor: not-allowed; background: #fff; }
.qty input { width: 48px; height: 46px; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 15px; color: var(--g-text); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.meta { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--g-text-2); }
.meta b { color: var(--g-text); font-weight: 600; }
.stock-out { color: var(--g-error); font-weight: 600; }
.buy-var table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.buy-var td, .buy-var th { padding: 6px 0; text-align: left; }
.buy-var select { min-height: 44px; border: 1px solid #D1D5DB; border-radius: var(--g-radius-sm); padding: 0 12px; font: inherit; }
.buy-var .single_add_to_cart_button { min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--g-radius-sm); background: var(--g-primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.desc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.desc-body { display: flex; flex-direction: column; gap: 14px; color: var(--g-text-2); font-size: 16px; max-width: 760px; }
.rel-h { margin-bottom: 28px; }
.lb { position: fixed; inset: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 32px; }
.lb-bg { position: absolute; inset: 0; background: rgba(11, 37, 64, .88); border: 0; padding: 0; cursor: zoom-out; }
.lb-in { position: relative; background: #fff; border-radius: 16px; width: min(760px, 100%, calc(100vh - 64px)); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 8%; }
.lb-in img { width: 100%; height: 100%; object-fit: contain; }
.lb-x { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--g-yellow); color: var(--g-black); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(11, 37, 64, .25); z-index: 2; }
.lb-x:hover { background: var(--g-yellow-hover); }
.lb-x .ic { width: 22px; height: 22px; stroke-width: 2; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--g-border); background: #fff; color: var(--g-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-nav:hover { background: var(--g-primary-light); border-color: var(--g-primary-mid); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); background: var(--g-primary); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }

/* Cart and checkout steps. */
.phd-steps { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; flex-direction: row !important; }
.phd-t { display: flex; flex-direction: column; gap: 10px; }
.steps { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--g-muted); }
.step { display: inline-flex; align-items: center; gap: 8px; }
.step i { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #C7CED8; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; background: #fff; }
.step.on { color: var(--g-primary); }
.step.on i { background: var(--g-primary); border-color: var(--g-primary); color: #fff; }
.step.done { color: var(--g-text); }
.step.done i { background: var(--g-yellow); border-color: var(--g-yellow); color: var(--g-black); }
.sep { width: 28px; height: 1px; background: #C7CED8; }

/* Cart. */
.cartl { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.cartl--empty { grid-template-columns: 1fr; }
.ctab { border: 1px solid var(--g-border); border-radius: var(--g-radius); overflow: hidden; background: #fff; }
.ct-h, .ct-r { display: grid; grid-template-columns: minmax(0, 2.4fr) 1fr 1.3fr 1fr 52px; gap: 16px; align-items: center; padding: 16px 20px; }
.ctab--ask .ct-h, .ctab--ask .ct-r { grid-template-columns: minmax(0, 2.4fr) 1.3fr 52px; }
.ct-h { background: var(--g-bg-alt); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g-text-2); }
.ct-r { border-top: 1px solid var(--g-border); }
.ct-p { display: flex; gap: 14px; align-items: center; min-width: 0; }
.ct-th { width: 72px; height: 72px; border: 1px solid var(--g-border); border-radius: 10px; padding: 6px; display: flex; align-items: center; justify-content: center; flex: none; background: #fff; }
.ct-th img { max-height: 100%; width: auto; object-fit: contain; }
.ct-n { font-weight: 600; color: var(--g-text); text-decoration: none; line-height: 1.35; }
a.ct-n:hover { color: var(--g-primary); }
.ct-c { font-size: 15px; color: var(--g-text); }
.ct-c b { font-weight: 800; color: var(--g-primary); }
.ct-c .qty { height: 44px; }
.ct-c .qty button { height: 42px; width: 40px; }
.ct-c .qty input { height: 42px; width: 40px; }
.rm { width: 44px; height: 44px; border: 0; background: transparent; color: var(--g-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: var(--g-radius-sm); }
.rm:hover { background: var(--g-bg-alt); color: var(--g-primary); }
.lbl-m { display: none; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g-muted); }
.ask-box { margin-top: 24px; }
.ask-h { font-size: 16px; margin-bottom: 12px; }
.ct-upd { margin-top: 16px; }
.js .ct-upd { display: none; }
.sum { border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 24px; background: var(--g-bg-alt); display: flex; flex-direction: column; gap: 14px; }
.sum h2 { font-size: 20px; }
.sum-r { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--g-text-2); }
.sum-r > span:last-child { color: var(--g-text); font-weight: 600; text-align: right; }
.sum-r .muted { color: var(--g-muted); font-weight: 500; }
.sum-t { border-top: 1px solid var(--g-border); padding-top: 14px; font-weight: 800; font-size: 18px; color: var(--g-primary); }
.sum-t > span:last-child { color: var(--g-primary); font-weight: 800; }
.sum-t small { display: block; font-size: 12px; font-weight: 500; color: var(--g-muted); }
.empty { border: 1px dashed #C7CED8; border-radius: var(--g-radius); padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; color: var(--g-text-2); }
.empty .ei { width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--g-primary-mid); color: var(--g-primary); display: flex; align-items: center; justify-content: center; }
.empty h2 { color: var(--g-text); }

/* Checkout. */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.co > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.co-alert { display: flex; gap: 10px; align-items: center; background: #FEF3F2; border: 1px solid var(--g-error); color: var(--g-error); border-radius: var(--g-radius); padding: 14px 18px; font-weight: 600; margin-bottom: 20px; scroll-margin-top: 24px; }
.box { border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 18px; }
.box + .box { margin-top: 24px; }
.bh { display: flex; align-items: center; gap: 12px; }
.bh h2 { font-size: 20px; }
.bh .n { width: 32px; height: 32px; border-radius: 50%; background: var(--g-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }
.fld select[data-gylan-dd] { display: none; }
.opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--g-border); border-radius: 10px; padding: 14px 16px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.opt b { display: block; font-size: 14px; color: var(--g-text); }
.opt small { display: block; font-size: 13px; color: var(--g-text-2); line-height: 1.45; margin-top: 2px; }
.opt.on { border-color: var(--g-primary); background: var(--g-primary-light); }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.opt { position: relative; }
.opt:hover { border-color: var(--g-primary-mid); }
.opt:focus-within { box-shadow: 0 0 0 3px var(--g-primary-light); }
.ent { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ent .opt { align-items: center; }
.ent .opt.on { border-width: 2px; padding: 13.5px 15.5px; }
.ent .opt.on b { color: var(--g-primary); }
.ent .opt > .ic { color: var(--g-primary); margin-left: auto; }
.ent .opt.off { cursor: not-allowed; background: var(--g-bg-alt); border-color: var(--g-border); opacity: .6; }
.ent .opt.off:hover { border-color: var(--g-border); }
.env-f { display: flex; flex-direction: column; gap: 16px; border-top: 1px dashed #D1D5DB; padding-top: 18px; }
.env-a { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.env-ok { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; border: 1.5px solid var(--g-primary); background: var(--g-primary-light); border-radius: 10px; padding: 14px 16px; }
.env-ok p { margin: 0; font-size: 14px; color: var(--g-text); line-height: 1.5; }
.env-ok b { display: flex; gap: 6px; align-items: center; color: var(--g-primary); font-size: 13px; }
.env-nl { font-weight: 600; color: var(--g-text-2); }
.env-ok button { border: 0; background: transparent; color: var(--g-primary); font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; }
.wa-note { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--g-border); border-radius: 10px; padding: 14px 16px; font-size: 13px; color: var(--g-text-2); line-height: 1.5; }
.wa-note .ic { color: var(--g-primary); flex: none; }
.co .sum { gap: 12px; }
.woocommerce-checkout-review-order-table { display: flex; flex-direction: column; gap: 12px; }
.woocommerce-checkout-review-order-table h2 { margin-bottom: 8px; }
.si { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--g-border); }
.si--ask { grid-template-columns: 56px minmax(0, 1fr); }
.si-th { position: relative; width: 56px; height: 56px; border: 1px solid var(--g-border); border-radius: var(--g-radius-sm); background: #fff; padding: 6px; display: flex; align-items: center; justify-content: center; }
.si-th img { max-height: 100%; width: auto; object-fit: contain; }
.si-q { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--g-primary); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.si-n { font-size: 14px; font-weight: 600; line-height: 1.35; }
.si-p { font-size: 14px; font-weight: 700; color: var(--g-primary); }
.si-h { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g-primary); }
.ship-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pay { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.pay-h { font-weight: 700; color: var(--g-text); font-size: 15px; }
.pay ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
#payment { display: flex; flex-direction: column; gap: 14px; }
#payment .place-order { display: flex; flex-direction: column; gap: 12px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--g-text-2); line-height: 1.5; cursor: pointer; }
.chk input { width: 20px; height: 20px; margin: 0; accent-color: var(--g-primary); flex: none; }
.chk input[aria-invalid="true"] { outline: 2px solid var(--g-error); outline-offset: 1px; }
.place-btn::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* Order summary (receipt). */
.rc-wrap { max-width: 820px; margin: 40px auto 80px; display: flex; flex-direction: column; gap: 20px; }
.rc-ok { display: flex; gap: 10px; align-items: center; background: var(--g-primary-light); border: 1px solid var(--g-primary-mid); border-radius: var(--g-radius); padding: 14px 18px; color: var(--g-primary); font-weight: 600; }
.rc { background: #fff; border: 1px solid var(--g-border); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 12px 32px -16px rgba(15, 53, 87, .25); }
.rc-h { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 3px solid var(--g-primary); position: relative; }
.rc-h::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 80px; height: 3px; background: var(--g-yellow); }
.rc-h img { height: 52px; width: auto; }
.rc-ht { text-align: right; }
.rc-ht h2 { font-size: 22px; font-weight: 800; color: var(--g-text); }
.rc-ht p { font-size: 14px; color: var(--g-text-2); }
.rc-g { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 14px; line-height: 1.6; }
.rc-t { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g-primary); margin-bottom: 6px; }
.rc-l { color: var(--g-muted); }
.rc-tb { border: 1px solid var(--g-border); border-radius: 10px; overflow: hidden; font-size: 14px; }
.rc-r { display: grid; grid-template-columns: minmax(0, 2.4fr) 60px 1fr 1fr; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--g-border); }
.rc-tb--ask .rc-r { grid-template-columns: minmax(0, 1fr) 60px; }
.rc-r span:nth-child(n+2) { text-align: right; }
.rc-tb--sku .rc-r { grid-template-columns: 96px minmax(0, 2.4fr) 60px 1fr 1fr; }
.rc-tb--sku.rc-tb--ask .rc-r { grid-template-columns: 96px minmax(0, 1fr) 60px; }
.rc-tb--sku .rc-r span:first-child { overflow-wrap: anywhere; }
.rc-tb--sku .rc-r span:nth-child(2) { text-align: left; }
.rc-hd { background: var(--g-bg-alt); border-top: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g-text-2); }
.rc-tot { margin-left: auto; width: min(340px, 100%); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.rc-tot div { display: flex; justify-content: space-between; gap: 12px; }
.rc-tot span:last-child { font-weight: 600; text-align: right; }
.rc-total { border-top: 1px solid var(--g-border); padding-top: 8px; font-size: 18px; font-weight: 800; color: var(--g-primary); }
.rc-f { border-top: 1px solid var(--g-border); padding-top: 16px; font-size: 12px; color: var(--g-text-2); text-align: center; display: flex; flex-direction: column; gap: 2px; }
.rc-a { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

@media (min-width: 861px) {
	.pills { flex-wrap: nowrap; width: max-content; max-width: calc(100vw - 48px); }
}

@media (max-width: 1240px) {
	.pg4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
	.pg4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ent { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	.shop { padding-top: 24px; }
	.tbar, .tbar-r, .tsel { flex-direction: column; align-items: stretch; width: 100%; }
	.tsel .dd, .tsel .dd-pop { min-width: 0; width: 100%; }
	.tbar-r { gap: 12px; }
	.pg4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.pfoot { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.pper { justify-self: center; }
	.pd { grid-template-columns: 1fr; gap: 28px; }
	.desc { grid-template-columns: 1fr; gap: 16px; }
	.cartl, .co { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 56px; }
	.ct-h { display: none; }
	.ct-r, .ctab--ask .ct-r { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
	.ct-p { grid-column: 1; grid-row: 1; }
	.rm { grid-column: 2; grid-row: 1; }
	.ct-c { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
	.lbl-m { display: inline; }
	.box { padding: 20px; }
	.sep { width: 12px; }
	.rc { padding: 20px; }
	.rc-g { grid-template-columns: 1fr; }
	.rc-ht { text-align: left; }
	.rc-r { grid-template-columns: minmax(0, 1fr) 40px 80px; }
	.rc-r span:nth-child(3) { display: none; }
	.rc-tb--sku .rc-r { grid-template-columns: 64px minmax(0, 1fr) 40px 80px; }
	.rc-tb--sku .rc-r span:nth-child(3) { display: block; }
	.rc-tb--sku .rc-r span:nth-child(4) { display: none; }
	.rc-tb--sku.rc-tb--ask .rc-r { grid-template-columns: 64px minmax(0, 1fr) 40px; }
	.rc-wrap { margin: 24px auto 56px; }
	.lb { padding: 16px; }
}

@media (max-width: 600px) {
	.afb .afb-in { position: relative; flex-wrap: wrap; gap: 10px; padding: 14px 56px 14px 16px; }
	.afb-ic { display: none; }
	.afb p { flex: 1 1 100%; font-size: 13px; }
	.afb-x { position: absolute; right: 8px; top: 6px; }
}

/* Generic content. */
.entry { display: flex; flex-direction: column; gap: 20px; }
.entry__content > * + * { margin-top: 1em; }
.not-found { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

@media (max-width: 1100px) {
	.hdr { gap: 18px; }
	.nav { gap: 18px; }
}

@media (max-width: 860px) {
	.sec { padding: 56px 0; }
	.tb-hide { display: none; }
	.hdr { min-height: 72px; gap: 12px; }
	.logo img { height: 44px; }
	.nav { display: none; }
	.burger { display: flex; }
	.login, .usr { width: 44px; padding: 0; justify-content: center; }
	.login { border: 0; }
	.login span, .usr span { display: none; }
	.mnav { display: block; }
	.js .mnav:not(.is-open) { display: none; }
	.sm { padding: 0; }
	.sm-card { max-width: none; max-height: none; height: 100%; border-radius: 0; }
	.sm-pr { font-size: 13px; }
	.ft-g { grid-template-columns: 1fr; gap: 36px; }
	.ft-nav { flex-direction: column; align-items: stretch; }
	.ft-b .wrap { padding-bottom: 88px; }
	.fab { right: 16px; bottom: 16px; }
	.fab-c { width: 52px; height: 52px; }
	.fab-tip { display: none; }
	.dd-pop { min-width: 0; }
}

@media (max-width: 600px) {
	:root { --g-gutter: 16px; }
	.cd-h, .cd-f { padding-left: 16px; padding-right: 16px; }
	.cd-list { padding: 4px 16px; }
	.cd-ok { margin: 16px 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ===============================================================
 * Affiliates: role price, Login window, Mi cuenta, Crear contraseña
 * ============================================================= */
.btn:disabled, .btn[aria-disabled="true"] { background: var(--g-border); color: #6B7280; cursor: not-allowed; box-shadow: none; }
.pc-tag { align-self: flex-start; margin: 0 0 4px; padding: 2px 8px; border-radius: 4px; background: var(--g-yellow); color: var(--g-black); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.info > .pc-tag { margin-bottom: -8px; }
.pc-p del, .price del { display: block; }
.lnk { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--g-primary); cursor: pointer; padding: 0; text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; }
.lnk:hover { color: var(--g-primary-mid); }
.lk { font-size: 14px; font-weight: 700; color: var(--g-primary); text-decoration: underline; margin-top: 6px; }
.alert { display: flex; gap: 10px; align-items: flex-start; background: #FEF3C7; border: 1px solid #F2B705; border-radius: 10px; padding: 12px 14px; font-size: 13px; line-height: 1.45; color: var(--g-text); }
.alert .ic { color: #B45309; flex: none; }
.alert p + p { margin-top: 2px; }
.alert .lnk { min-height: 32px; }
.okm { display: flex; gap: 10px; align-items: flex-start; background: #ECFDF3; border: 1px solid #ABEFC6; color: #05603A; border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; outline: none; }
.okm .ic { flex: none; margin-top: 1px; }
.ok--s { gap: 10px; align-items: flex-start; background: #ECFDF3; border-color: #ABEFC6; color: #05603A; padding: 12px 14px; font-size: 14px; border-radius: 10px; }
.ok--s .ic { width: 20px; height: 20px; }
.chk--c { align-items: center; min-height: 44px; }
.chk--c input { width: 18px; height: 18px; }
.fld label span { font-weight: 400; color: var(--g-muted); }

/* Login window */
.ov { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ov[hidden] { display: none; }
.ov-bg { position: absolute; inset: 0; border: 0; padding: 0; margin: 0; background: rgba(11, 37, 64, .62); backdrop-filter: blur(2px); cursor: default; }
.lm { position: relative; width: min(480px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); background: #fff; border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .45); display: flex; flex-direction: column; overflow: hidden; }
.lm.wide { width: min(640px, 100%); }
.lm::before { content: ""; position: absolute; left: 28px; top: 0; width: 56px; height: 4px; background: var(--g-yellow); border-radius: 0 0 4px 4px; z-index: 2; }
.lm-h { display: flex; align-items: center; gap: 12px; padding: 20px 20px 0 28px; flex: none; }
.lm-h img { height: 40px; width: auto; }
.lm-x { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--g-text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lm-x:hover { background: var(--g-primary-light); color: var(--g-primary); }
.lm-v { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.lm-v[hidden] { display: none; }
.lm-b { overflow: auto; padding: 8px 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.lm-t h2 { font-size: 22px; font-weight: 800; color: var(--g-primary); line-height: 1.25; outline: none; }
.lm-t p { font-size: 14px; color: var(--g-text-2); margin-top: 4px; }
.lm-row { display: flex; justify-content: space-between; align-items: center; gap: 4px 12px; flex-wrap: wrap; font-size: 13px; }
.lm-f { border-top: 1px solid var(--g-border); padding: 14px 28px; font-size: 14px; color: var(--g-text-2); text-align: center; background: #fff; flex: none; }
.lm-f .lnk { font-size: 14px; }
.lm [data-lm-unsent] { display: flex; flex-direction: column; gap: 16px; }
.lm [data-lm-unsent][hidden] { display: none; }
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fg .sp { grid-column: 1 / -1; }
.fg .fld { min-width: 0; }
.lm .fld textarea { min-height: 88px; }
.sent { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 12px 0; }
.sent-ic { width: 64px; height: 64px; border-radius: 50%; background: #ECFDF3; color: #05603A; display: flex; align-items: center; justify-content: center; }
.sent-ic .ic { width: 32px; height: 32px; stroke-width: 2; }
.sent h2 { font-size: 22px; font-weight: 800; color: var(--g-primary); outline: none; }
.sent p { font-size: 14px; color: var(--g-text-2); max-width: 400px; }
.sent .acts { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 340px; margin-top: 6px; }

/* Mi cuenta */
.acc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.acc-nav { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 8px; background: #fff; }
.acc-nav a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: var(--g-radius-sm); font-size: 15px; font-weight: 600; color: var(--g-text); text-decoration: none; }
.acc-nav a:hover { background: var(--g-primary-light); color: var(--g-primary); }
.acc-nav a.on, .acc-nav a.on:hover { background: var(--g-primary); color: #fff; }
.acc-nav a.acc-out { margin-top: 6px; border-top: 1px solid var(--g-border); border-radius: 0 0 8px 8px; color: var(--g-error); }
.acc-c { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.acc-c > .woocommerce-notices-wrapper:empty { display: none; }
.acc-hi { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--g-primary); color: #fff; border-radius: 16px; padding: 28px; position: relative; overflow: hidden; }
.acc-hi::before { content: ""; position: absolute; left: 28px; top: 0; width: 56px; height: 4px; background: var(--g-yellow); border-radius: 0 0 4px 4px; }
.acc-hi h2 { font-size: 26px; font-weight: 800; color: #fff; }
.acc-hi p { color: #D7E3EF; font-size: 14px; max-width: 520px; margin-top: 4px; }
.acc-role { display: flex; align-items: center; gap: 12px; background: var(--g-yellow); color: var(--g-black); border-radius: var(--g-radius); padding: 12px 18px; }
.acc-role > span { display: flex; flex-direction: column; font-size: 12px; line-height: 1.3; }
.acc-role b { font-size: 18px; font-weight: 800; }
.acc-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acc-k { border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.acc-kt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--g-muted); }
.acc-kv { font-size: 20px; font-weight: 800; color: var(--g-primary); }
.acc-kd { font-size: 13px; color: var(--g-text-2); }
.acc-h { font-size: 22px; font-weight: 800; color: var(--g-primary); }
.acc-n { font-size: 13px; color: var(--g-text-2); }
.acc-empty { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border: 1px solid var(--g-border); border-radius: var(--g-radius); padding: 24px; color: var(--g-text-2); }
.acc-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--g-primary); text-decoration: none; align-self: flex-start; }
.tbl { border: 1px solid var(--g-border); border-radius: var(--g-radius); overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1fr 60px; gap: 12px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--g-border); font-size: 14px; }
.tr.tr-h { border-top: 0; background: var(--g-bg-alt); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--g-text-2); }
.tr .lk { margin: 0; display: inline-flex; align-items: center; min-height: 44px; }
.acc-st { font-style: normal; font-size: 12px; font-weight: 700; color: var(--g-primary); background: var(--g-primary-light); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.acc .box { max-width: 760px; gap: 16px; padding: 24px; }
.acc .box--n { max-width: 520px; }
.fixed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; background: var(--g-bg-alt); border-radius: 10px; padding: 14px 16px; }
.fixed div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fixed span { font-size: 12px; color: var(--g-muted); }
.fixed b { font-size: 14px; color: var(--g-text); overflow-wrap: anywhere; }
.act { display: flex; justify-content: flex-end; }
.pw-info { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -14px -8px -14px 0; border: 0; background: transparent; color: var(--g-text-2); border-radius: 50%; cursor: pointer; }
.pw-info:hover { color: var(--g-primary); background: var(--g-primary-light); }
.hint { font-size: 12px; color: var(--g-text-2); background: var(--g-bg-alt); border: 1px solid var(--g-border); border-radius: var(--g-radius-sm); padding: 10px 12px; line-height: 1.5; }
.meter { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.meter[hidden] { display: none; }
.meter span { flex: 1; height: 6px; border-radius: 3px; background: var(--g-border); position: relative; overflow: hidden; }
.meter span::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.meter .m1::after { width: 25%; background: #B42318; }
.meter .m2::after { width: 50%; background: #DC6803; }
.meter .m3::after { width: 75%; background: #CA8504; }
.meter .m4::after { width: 100%; background: #079455; }
.meter b { min-width: 72px; text-align: right; color: var(--g-text); }
.ferr[hidden] { display: none; }

/* Crear contraseña, Ingresar and Recuperar contraseña on the Mi cuenta page */
.ck { background: var(--g-bg-alt); border-bottom: 1px solid var(--g-border); }
.ck-w { display: flex; justify-content: center; padding-top: 64px; padding-bottom: 80px; }
.ck-c { position: relative; width: min(480px, 100%); background: #fff; border: 1px solid var(--g-border); border-radius: 16px; box-shadow: 0 12px 32px -16px rgba(15, 53, 87, .25); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.ck-c::before { content: ""; position: absolute; left: 28px; top: 0; width: 56px; height: 4px; background: var(--g-yellow); border-radius: 0 0 4px 4px; }
.ck-t h1 { font-size: 26px; font-weight: 800; color: var(--g-primary); line-height: 1.2; }
.ck-t p { font-size: 14px; color: var(--g-text-2); margin-top: 4px; }
.ck-f { display: flex; flex-direction: column; gap: 16px; }
.ck-ft { font-size: 14px; color: var(--g-text-2); text-align: center; border-top: 1px solid var(--g-border); padding-top: 8px; }
.ck-ft .lnk { font-size: 14px; }
.ck .woocommerce-notices-wrapper:empty { display: none; }

@media (max-width: 860px) {
	.acc { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; padding-bottom: 56px; }
	.acc-nav { flex-direction: row; overflow-x: auto; padding: 6px; }
	.acc-nav a { flex: none; white-space: nowrap; min-height: 44px; }
	.acc-nav a.acc-out { margin-top: 0; border-top: 0; border-radius: 8px; }
	.acc-g { grid-template-columns: 1fr; }
	.tr { grid-template-columns: 1fr 1fr; row-gap: 4px; }
	.tr.tr-h { display: none; }
	.acc .box { padding: 18px; }
	.acc .box .fg, .fixed { grid-template-columns: 1fr; }
	.act .btn { width: 100%; }
}

@media (max-width: 600px) {
	.ov { padding: 0; align-items: stretch; }
	.lm, .lm.wide { width: 100%; max-height: none; height: 100%; border-radius: 0; }
	.lm-h { padding: 16px 16px 0; }
	.lm::before { left: 16px; }
	.lm-b { padding: 18px 16px 24px; flex: 1; }
	.fg { grid-template-columns: 1fr; }
	.lm-f { padding: 12px 16px; }
	.stick { position: sticky; bottom: -24px; background: #fff; padding: 12px 0 16px; margin-bottom: -16px; box-shadow: 0 -8px 12px -8px rgba(15, 53, 87, .15); z-index: 3; }
	.ck-w { padding-top: 24px; padding-bottom: 40px; }
	.ck-c { padding: 28px 18px; }
	.ck-c::before { left: 18px; }
}

/* ===============================================================
 * Touch areas of at least 44px (final review): invisible hit area, same look
 * ============================================================= */
.crumbs a, .pill, a.ft-ci { position: relative; }
.crumbs a::after { content: ""; position: absolute; inset: -12px -4px; }
.pill::after { content: ""; position: absolute; inset: -7px 0; }
.ft-c { gap: 20px; }
a.ft-ci::after { content: ""; position: absolute; inset: -10px 0; }
.pc-n { padding: 2px 0; margin: -2px 0; min-height: 44px; }

/* Order types offered (Gylan › Configuración › Pedidos): two or one card */
.ent--n1 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1101px) {
	.ent--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Search: pages found (suggestions and results page) */
.sm-pg { padding-top: 8px; padding-bottom: 8px; align-items: flex-start; }
.sm-pg span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sm-pg b { font-size: 14px; font-weight: 700; }
.sm-pg small { font-size: 12px; font-weight: 400; color: var(--g-text-2); line-height: 1.45; }
.sm-pg > .ic:first-child { margin-top: 2px; }
.srch-pages { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.srch-pages h2 { font-size: 22px; font-weight: 800; color: var(--g-primary); }
.srch-pages ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.srch-pages a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border: 1px solid var(--g-border); border-radius: var(--g-radius); background: #fff; color: var(--g-text); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.srch-pages a:hover { border-color: var(--g-primary-mid); box-shadow: var(--g-shadow-hover); }
.srch-pages b { font-size: 16px; color: var(--g-primary); }
.srch-pages span { font-size: 14px; color: var(--g-text-2); line-height: 1.5; }

/* Account button while the user is in Mi cuenta (current page) */
.usr.on, .usr.on:hover { background: var(--g-primary); color: #fff; }
.usr.on .ic { color: #fff; }

/* Catalog preview window ("Ver catálogo") */
.pv { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pv[hidden] { display: none; }
.pv-bg { position: absolute; inset: 0; background: rgba(11, 37, 64, .7); border: 0; padding: 0; cursor: pointer; }
.pv-in { position: relative; background: var(--g-primary-light); border-radius: 16px; width: min(860px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); display: flex; flex-direction: column; overflow: hidden; }
.pv-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px 12px 24px; background: var(--g-primary); color: #fff; flex-wrap: wrap; flex: none; }
.pv-act { display: flex; gap: 8px; align-items: center; }
.pv-act .btn { min-height: 44px; }
.pv-x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pv-x:hover { background: rgba(255, 255, 255, .12); }
.pv-scroll { overflow: auto; padding: 24px; outline: none; }
.pv-status { text-align: center; color: var(--g-text-2); font-size: 14px; padding: 40px 0; }
.pv-status[hidden] { display: none; }
.pv-doc { background: #fff; max-width: 640px; margin: 0 auto; box-shadow: 0 12px 32px -12px rgba(15, 53, 87, .35); padding: 40px; display: flex; flex-direction: column; gap: 20px; color: var(--g-text); }
.pv-doc[hidden] { display: none; }
.pv-cover { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 20px; border-bottom: 3px solid var(--g-primary); position: relative; }
.pv-cover::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 80px; height: 3px; background: var(--g-yellow); }
.pv-cover img { height: 56px; width: auto; }
.pv-cover h2 { font-size: 26px; font-weight: 800; color: var(--g-primary); }
.pv-meta { font-size: 13px; color: var(--g-text-2); }
.pv-meta b { color: var(--g-primary); font-weight: 700; }
.pv-cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g-primary); background: var(--g-primary-light); padding: 6px 10px; border-radius: 4px; margin-top: 6px; }
.pv-it { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--g-border); }
.pv-th { width: 64px; height: 64px; border: 1px solid var(--g-border); border-radius: 8px; padding: 10px; display: flex; align-items: center; justify-content: center; }
.pv-th img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pv-n { font-weight: 700; font-size: 14px; }
.pv-d { font-size: 12px; color: var(--g-text-2); }
.pv-sku { font-size: 12px; color: var(--g-text-2); }
.pv-pr { font-size: 15px; font-weight: 800; color: var(--g-primary); white-space: nowrap; text-align: right; }
.pv-pr.q { font-size: 12px; font-weight: 600; color: var(--g-muted); }
.pv-end { background: var(--g-primary); color: #fff; border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.pv-end h3 { color: var(--g-yellow); font-size: 18px; font-weight: 800; margin: 0; }
@media (max-width: 600px) {
	.pv { padding: 0; align-items: stretch; }
	.pv-in { max-height: none; height: 100%; border-radius: 0; width: 100%; }
	.pv-bar { padding: 10px 12px 10px 16px; }
	.pv-scroll { padding: 12px; flex: 1; }
	.pv-doc { padding: 20px 16px; gap: 16px; }
	.pv-cover h2 { font-size: 22px; }
	.pv-it { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
	.pv-th { width: 52px; height: 52px; padding: 6px; grid-row: span 2; }
	.pv-pr { text-align: left; grid-column: 2; }
}
