/* ==========================================================================
   Proton Vietnam — design system
   Tokens → base → layout → components → sections
   ========================================================================== */

:root {
	/* Colour */
	--pv-ink: #0A1430;          /* deep navy, main text & dark surfaces */
	--pv-navy: #14307F;         /* Proton brand navy */
	--pv-blue: #1F6FE0;         /* links, primary actions on light */
	--pv-sky: #2A9BE0;          /* Proton sky (large display only) */
	--pv-lime: #D4F24A;         /* pickleball ball — CTAs on dark only */
	--pv-paper: #FFFFFF;        /* page background */
	--pv-soft: #F5F6F8;         /* alt sections, product image frames */
	--pv-white: #FFFFFF;
	--pv-card: #F5F6F8;
	--pv-line: #E6E8EC;
	--pv-line-strong: #CDD1D8;
	--pv-muted: #5A6070;
	--pv-muted-dark: #AEB7CC;   /* muted text on dark */
	--pv-sale: #E5322D;
	--pv-success: #138A4B;
	--pv-zalo: #0068FF;

	/* Type */
	--pv-font-display: "Montserrat", system-ui, sans-serif;
	--pv-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--pv-fs-xs: 0.75rem;
	--pv-fs-sm: 0.875rem;
	--pv-fs-md: 1rem;
	--pv-fs-lg: 1.125rem;
	--pv-fs-h3: clamp(1.375rem, 1.1rem + .8vw, 1.75rem);
	--pv-fs-h2: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem);
	--pv-fs-h1: clamp(2rem, 1.3rem + 2.8vw, 3.75rem);

	/* Space & shape */
	--pv-gutter: clamp(16px, 3vw, 40px);
	--pv-max: 1440px;
	--pv-section: clamp(40px, 5vw, 72px);
	--pv-radius-sm: 10px;
	--pv-radius: 12px;
	--pv-radius-lg: 16px;
	--pv-pill: 999px;
	--pv-shadow: 0 12px 32px rgba(10, 20, 48, 0.12);
	--pv-shadow-lg: 0 24px 64px rgba(10, 20, 48, 0.22);
	--pv-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--pv-header-h: 68px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--pv-paper);
	color: var(--pv-ink);
	font-family: var(--pv-font-body);
	font-size: var(--pv-fs-md);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.pv-lock { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--pv-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pv-navy); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--pv-blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--pv-lime); color: var(--pv-ink); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--pv-white); clip: auto !important; clip-path: none; color: var(--pv-ink);
	display: block; font-weight: 700; height: auto; left: 8px; padding: 14px 20px; top: 8px; width: auto; z-index: 100000;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.pv-container { width: 100%; max-width: var(--pv-max); margin-inline: auto; padding-inline: var(--pv-gutter); }
.pv-container--narrow { max-width: 820px; }
.pv-section { padding-block: var(--pv-section); }
.pv-section--tight { padding-block: calc(var(--pv-section) * .6); }
.pv-section--white { background: var(--pv-white); }
.pv-section--soft { background: var(--pv-soft); }
.pv-section--dark { background: var(--pv-ink); color: var(--pv-white); }
.pv-grid { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.pv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pv-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .pv-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
	.pv-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pv-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .pv-grid--3, .pv-grid--2 { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Typography components
   -------------------------------------------------------------------------- */
.pv-display {
	font-family: var(--pv-font-display);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
}
.pv-h1 { font-size: var(--pv-fs-h1); }
.pv-h2 { font-size: var(--pv-fs-h2); margin: 0; }
.pv-h3 { font-size: var(--pv-fs-h3); margin: 0; }
.pv-accent { color: var(--pv-sky); font-style: italic; }
.pv-eyebrow {
	display: inline-block;
	margin: 0 0 8px;
	font-size: var(--pv-fs-xs);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--pv-blue);
}
.pv-section--dark .pv-eyebrow, .pv-on-dark .pv-eyebrow { color: var(--pv-lime); }
.pv-lead { font-size: var(--pv-fs-lg); line-height: 1.7; color: var(--pv-muted); max-width: 56ch; }
.pv-section--dark .pv-lead, .pv-on-dark .pv-lead { color: #C9D0E0; }
.pv-muted { color: var(--pv-muted); }

.pv-section-head {
	display: flex; justify-content: space-between; align-items: flex-end;
	gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px);
}
.pv-section-head__link { font-weight: 600; font-size: var(--pv-fs-sm); white-space: nowrap; }
.pv-section-head__link::after { content: " →"; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.pv-btn,
.button,
button.button,
input[type="submit"] {
	--_bg: var(--pv-ink); --_fg: var(--pv-white); --_bd: var(--pv-ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px;
	border-radius: var(--pv-pill);
	border: 2px solid var(--_bd);
	background: var(--_bg); color: var(--_fg);
	font-family: var(--pv-font-body); font-weight: 700; font-size: 15px; line-height: 1.2;
	text-decoration: none; white-space: nowrap;
	transition: transform .2s var(--pv-ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.pv-btn:hover, .button:hover, input[type="submit"]:hover { color: var(--_fg); transform: translateY(-2px); box-shadow: var(--pv-shadow); }
.pv-btn:active, .button:active { transform: translateY(0); }
.pv-btn--lime { --_bg: var(--pv-lime); --_fg: var(--pv-ink); --_bd: var(--pv-lime); }
.pv-btn--blue { --_bg: var(--pv-blue); --_fg: var(--pv-white); --_bd: var(--pv-blue); }
.pv-btn--outline { --_bg: transparent; --_fg: var(--pv-ink); --_bd: var(--pv-ink); }
.pv-btn--outline:hover { --_bg: var(--pv-ink); --_fg: var(--pv-white); }
.pv-btn--ghost-light { --_bg: transparent; --_fg: var(--pv-white); --_bd: rgba(255,255,255,.45); }
.pv-btn--ghost-light:hover { --_bg: var(--pv-white); --_fg: var(--pv-ink); --_bd: var(--pv-white); }
.pv-btn--zalo { --_bg: var(--pv-zalo); --_fg: #fff; --_bd: var(--pv-zalo); }
.pv-btn--lg { min-height: 60px; padding: 0 34px; font-size: 16px; }
.pv-btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.pv-btn--block { width: 100%; }
.pv-link-underline { font-weight: 600; color: inherit; border-bottom: 2px solid var(--pv-lime); padding-bottom: 3px; }
.pv-link-underline:hover { color: inherit; border-color: var(--pv-sky); }

/* Pills / tabs */
.pv-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-pill {
	min-height: 44px; padding: 0 20px; border-radius: var(--pv-pill);
	border: 1px solid var(--pv-line-strong); background: transparent; color: var(--pv-ink);
	font-weight: 600; font-size: var(--pv-fs-sm); display: inline-flex; align-items: center;
	transition: background .2s, color .2s, border-color .2s;
}
.pv-pill:hover { border-color: var(--pv-ink); color: var(--pv-ink); }
.pv-pill.is-active, .pv-pill[aria-selected="true"] { background: var(--pv-ink); border-color: var(--pv-ink); color: var(--pv-white); }

/* Badges */
.pv-badge {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 5px 10px; border-radius: var(--pv-pill);
	font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
	background: var(--pv-ink); color: var(--pv-lime);
}
.pv-badge--sale { background: var(--pv-sale); color: #fff; }
.pv-badge--hot { background: var(--pv-lime); color: var(--pv-ink); }
.pv-badge--soft { background: var(--pv-white); color: var(--pv-ink); }
.pv-badge--out { background: var(--pv-line); color: var(--pv-muted); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"],
input[type="number"], input[type="url"], select, textarea {
	width: 100%; min-height: 50px; padding: 12px 16px;
	border: 1px solid var(--pv-line-strong); border-radius: var(--pv-radius-sm);
	background: var(--pv-white); color: var(--pv-ink); font-size: 15px;
	transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pv-blue); box-shadow: 0 0 0 3px rgba(31,111,224,.18); }
label { font-size: var(--pv-fs-sm); font-weight: 600; }

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */
.pv-announce {
	background: var(--pv-ink); color: var(--pv-paper);
	font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
	overflow: hidden; position: relative; z-index: 60;
}
.pv-announce__track { display: flex; justify-content: center; gap: 48px; padding: 10px var(--pv-gutter); white-space: nowrap; }
.pv-announce__item a { color: inherit; }
.pv-announce__item--hl, .pv-announce__item--hl a { color: var(--pv-lime); }
@media (max-width: 860px) {
	.pv-announce__track { justify-content: flex-start; animation: pv-marquee 22s linear infinite; width: max-content; }
	.pv-announce:hover .pv-announce__track { animation-play-state: paused; }
}
@keyframes pv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pv-announce__track { animation: none !important; } }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.pv-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: background .3s, border-color .3s, color .3s, transform .35s var(--pv-ease);
}
.pv-header { border-bottom-color: var(--pv-line); }
.pv-header.is-scrolled { box-shadow: 0 4px 20px rgba(10,20,48,.06); }
.pv-header__inner {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
	min-height: var(--pv-header-h);
}
.pv-header__left { display: flex; align-items: center; justify-content: center; gap: 8px; order: 2; }
.pv-header__brand { order: 1; }
.pv-header__right { order: 3; }
.pv-header__right { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.pv-logo { display: block; line-height: 0; color: inherit; }
.pv-logo img { height: 26px; width: auto; }
.pv-logo__text { font-family: var(--pv-font-display); font-weight: 800; font-size: 32px; text-transform: lowercase; letter-spacing: -.01em; line-height: 1; }
.pv-icon-btn {
	position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%;
	display: inline-grid; place-items: center; background: transparent; color: inherit;
	transition: background .2s;
}
.pv-icon-btn:hover { background: rgba(10, 20, 48, .07); color: inherit; }
.pv-icon-btn svg { width: 22px; height: 22px; }
.pv-cart-btn {
	display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; margin-left: 6px;
	border-radius: var(--pv-pill); border: 0; background: var(--pv-ink); color: var(--pv-white);
	font-weight: 700; font-size: 13px; transition: transform .2s var(--pv-ease), background .2s;
}
.pv-cart-btn:hover { color: var(--pv-white); transform: translateY(-1px); }
.pv-cart-btn svg { width: 18px; height: 18px; }
.pv-cart-btn.is-bump { animation: pv-bump .5s var(--pv-ease); }
@keyframes pv-bump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.pv-menu-toggle { display: none; }


/* Primary navigation (desktop) */
.pv-nav ul { list-style: none; margin: 0; padding: 0; }
.pv-nav > ul { display: flex; gap: 4px; }
.pv-nav > ul > li { position: relative; }
.pv-nav > ul > li > a {
	display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
	color: inherit; font-weight: 600; font-size: 14px; letter-spacing: .02em; border-radius: var(--pv-pill);
}
.pv-nav > ul > li > a:hover, .pv-nav > ul > li.current-menu-item > a, .pv-nav > ul > li.current-menu-ancestor > a { background: rgba(10,20,48,.07); color: inherit; }
.pv-nav .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg) translateY(-2px); opacity: .7;
}
.pv-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 10px;
	background: var(--pv-white); color: var(--pv-ink); border-radius: var(--pv-radius); box-shadow: var(--pv-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--pv-ease), visibility .2s;
}
.pv-nav .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.pv-nav li:hover > .sub-menu, .pv-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.pv-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: var(--pv-radius-sm); color: var(--pv-ink); font-size: 14px; font-weight: 500; }
.pv-nav .sub-menu a:hover { background: var(--pv-soft); }

@media (max-width: 1024px) {
	.pv-nav { display: none; }
	.pv-menu-toggle { display: inline-grid; }
	.pv-header__inner { grid-template-columns: auto 1fr auto; gap: 8px; }
	.pv-header__left { order: 1; justify-content: flex-start; }
	.pv-header__brand { order: 2; justify-self: center; }
	.pv-header__account { display: none; }
}
@media (max-width: 560px) {
	:root { --pv-header-h: 64px; }
	.pv-logo img { height: 24px; }
	.pv-cart-btn .pv-cart-btn__label { display: none; }
}

/* Search overlay */
.pv-search {
	position: fixed; inset: 0; z-index: 90; background: rgba(10,20,48,.55);
	display: flex; align-items: flex-start; justify-content: center; padding: 12vh var(--pv-gutter) 0;
	opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.pv-search.is-open { opacity: 1; visibility: visible; }
.pv-search__panel { width: min(720px, 100%); background: var(--pv-white); border-radius: var(--pv-radius-lg); padding: 24px; box-shadow: var(--pv-shadow-lg); transform: translateY(-12px); transition: transform .3s var(--pv-ease); }
.pv-search.is-open .pv-search__panel { transform: none; }
.pv-search form { display: flex; gap: 10px; }
.pv-search input[type="search"] { min-height: 56px; font-size: 18px; border-radius: var(--pv-pill); padding-inline: 24px; }
.pv-search__hints { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; }
.pv-search__hints span { color: var(--pv-muted); align-self: center; margin-right: 4px; }

/* Off-canvas drawers (mobile menu & mini cart) */
.pv-drawer { position: fixed; inset: 0; z-index: 95; visibility: hidden; }
.pv-drawer.is-open { visibility: visible; }
.pv-drawer__backdrop { position: absolute; inset: 0; background: rgba(10,20,48,.5); opacity: 0; transition: opacity .3s; }
.pv-drawer.is-open .pv-drawer__backdrop { opacity: 1; }
.pv-drawer__panel {
	position: absolute; top: 0; bottom: 0; width: min(440px, 92vw); background: var(--pv-white); color: var(--pv-ink);
	display: flex; flex-direction: column; transition: transform .38s var(--pv-ease); box-shadow: var(--pv-shadow-lg);
}
.pv-drawer--left .pv-drawer__panel { left: 0; transform: translateX(-100%); }
.pv-drawer--right .pv-drawer__panel { right: 0; transform: translateX(100%); }
.pv-drawer.is-open .pv-drawer__panel { transform: none; }
.pv-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--pv-line); }
.pv-drawer__title { font-family: var(--pv-font-display); font-weight: 800; font-size: 20px; margin: 0; }
.pv-drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.pv-drawer__foot { padding: 20px; border-top: 1px solid var(--pv-line); background: var(--pv-soft); }

.pv-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.pv-mobile-nav > ul > li { border-bottom: 1px solid var(--pv-line); }
.pv-mobile-nav a { display: block; padding: 16px 0; color: var(--pv-ink); font-family: var(--pv-font-display); font-weight: 700; font-size: 18px; line-height: 1.3; }
.pv-mobile-nav .menu-item-has-children { position: relative; }
.pv-mobile-nav .pv-sub-toggle { position: absolute; right: -10px; top: 8px; }
.pv-mobile-nav .pv-sub-toggle svg { transition: transform .25s; }
.pv-mobile-nav .is-open > .pv-sub-toggle svg { transform: rotate(180deg); }
.pv-mobile-nav .sub-menu { display: none; padding: 0 0 12px 2px; }
.pv-mobile-nav .is-open > .sub-menu { display: block; }
.pv-mobile-nav .sub-menu a { font-family: var(--pv-font-body); font-weight: 500; font-size: 15px; text-transform: none; padding: 9px 0; color: var(--pv-muted); }
.pv-mobile-contact { display: grid; gap: 10px; }

/* --------------------------------------------------------------------------
   Banner slider (front page hero — Coolmate-style image banners)
   -------------------------------------------------------------------------- */
.pv-banner { position: relative; }
.pv-banner__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.pv-banner__track::-webkit-scrollbar { display: none; }
.pv-slide { position: relative; scroll-snap-align: start; aspect-ratio: 12 / 5; overflow: hidden; background: var(--pv-ink); color: var(--pv-white); isolation: isolate; }
.pv-slide picture, .pv-slide > img { position: absolute; inset: 0; z-index: -2; }
.pv-slide img { width: 100%; height: 100%; object-fit: cover; }
.pv-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,20,48,.72) 0%, rgba(10,20,48,.35) 45%, rgba(10,20,48,0) 70%); }
.pv-slide--light { color: var(--pv-ink); }
.pv-slide--light::after { background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.55) 42%, rgba(255,255,255,0) 66%); }
.pv-slide__inner { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; }
.pv-slide__copy { max-width: 520px; }
.pv-slide__eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border-radius: var(--pv-pill); background: var(--pv-lime); color: var(--pv-ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.pv-slide__title { margin: 0; font-size: var(--pv-fs-h1); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.pv-slide__text { margin: 16px 0 0; font-size: 17px; line-height: 1.6; opacity: .9; max-width: 440px; }
.pv-slide__price { margin: 18px 0 0; font-size: 15px; opacity: .9; }
.pv-slide__price strong { font-size: 24px; font-weight: 800; opacity: 1; }
.pv-slide__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.pv-banner__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.pv-banner__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; }
.pv-banner__dots button::before { content: ""; width: 8px; height: 8px; border-radius: var(--pv-pill); background: rgba(255,255,255,.55); transition: width .3s var(--pv-ease), background .3s; }
.pv-banner__dots button[aria-current="true"]::before { width: 24px; background: var(--pv-white); }
.pv-banner__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--pv-ink); display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.pv-banner:hover .pv-banner__nav { opacity: 1; }
.pv-banner__nav--prev { left: 16px; } .pv-banner__nav--next { right: 16px; }
@media (max-width: 860px) {
	.pv-slide { aspect-ratio: 4 / 5; }
	.pv-slide::after { background: linear-gradient(0deg, rgba(10,20,48,.85) 0%, rgba(10,20,48,.35) 50%, rgba(10,20,48,0) 75%); }
	.pv-slide--light::after { background: linear-gradient(0deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 75%); }
	.pv-slide__inner { justify-content: flex-end; padding-bottom: 64px; }
	.pv-slide__text { font-size: 15px; }
	.pv-banner__nav { display: none; }
}

/* Studio slide: packshots on the product-photo grey, no cropping */
.pv-slide--studio { background: var(--pv-soft); color: var(--pv-ink); }
.pv-slide--studio::after { display: none; }
.pv-slide--studio .pv-slide__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.pv-slide__shots { position: relative; display: flex; justify-content: center; align-items: center; gap: 16px; height: 100%; padding-block: 40px; }
.pv-slide .pv-slide__shots img { position: static; width: 44%; height: auto; max-height: none; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--pv-radius-lg); box-shadow: 0 18px 40px rgba(10,20,48,.10); }
/* Split slide: text panel + photo */
.pv-slide--split { background: var(--pv-ink); }
.pv-slide--split::after { display: none; }
.pv-slide--split .pv-slide__photo { position: absolute; inset: 0 0 0 46%; z-index: -1; }
.pv-slide--split .pv-slide__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
	.pv-slide--studio { aspect-ratio: auto; }
	.pv-slide--studio .pv-slide__inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; padding-top: 20px; padding-bottom: 64px; height: auto; }
	.pv-slide--studio .pv-slide__shots { order: -1; height: 100%; min-height: 0; padding-block: 8px 0; gap: 10px; }
	.pv-slide .pv-slide__shots img { height: auto; width: 44%; max-height: none; }
	.pv-slide--split .pv-slide__photo { inset: 0 0 38% 0; }
	.pv-slide--split .pv-slide__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--pv-ink) 0%, rgba(10,20,48,0) 45%); }
}

/* Section tabs (Mới về / Bán chạy) */
.pv-tabpanel[hidden] { display: none; }

/* Two big category banners */
.pv-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.pv-duo .pv-cat-tile { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .pv-duo { grid-template-columns: minmax(0, 1fr); } .pv-duo .pv-cat-tile { aspect-ratio: 4 / 3; } }

/* Trust strip */
.pv-trust { background: var(--pv-white); }
.pv-trust__list { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.pv-trust__item { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.pv-trust__item svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--pv-soft); color: var(--pv-blue); }
.pv-trust__item strong { display: block; font-weight: 700; }
.pv-trust__item span { color: var(--pv-muted); font-size: 13px; }
@media (max-width: 960px) { .pv-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Category tiles */
.pv-cat-tile {
	position: relative; display: block; overflow: hidden; border-radius: var(--pv-radius-lg);
	aspect-ratio: 4 / 5; color: var(--pv-white); background: var(--pv-navy); isolation: isolate;
}
.pv-cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--pv-ease); z-index: -1; }
.pv-cat-tile:hover img { transform: scale(1.06); }
.pv-cat-tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(10,20,48,.88)); z-index: -1; }
.pv-cat-tile__body { position: absolute; inset: auto 0 0; padding: clamp(20px, 2.4vw, 32px); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.pv-cat-tile__title { margin: 0; font-family: var(--pv-font-display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.pv-cat-tile__sub { margin: 6px 0 0; font-size: 14px; color: #DCE2EE; }
.pv-cat-tile__arrow { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--pv-white); color: var(--pv-ink); display: grid; place-items: center; transition: background .2s, transform .3s var(--pv-ease); }
.pv-cat-tile:hover .pv-cat-tile__arrow { background: var(--pv-lime); transform: rotate(-45deg); }
.pv-cat-tile:hover { color: var(--pv-white); }

/* Quick category chips (Coolmate-style row) */
.pv-chips { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.pv-chips::-webkit-scrollbar { display: none; }
.pv-chip { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; color: var(--pv-ink); font-weight: 600; font-size: 14px; text-align: center; }
.pv-chip__img { aspect-ratio: 1; border-radius: var(--pv-radius); background: var(--pv-soft); overflow: hidden; display: grid; place-items: center; transition: box-shadow .25s, transform .25s var(--pv-ease); }
.pv-chip__img img { width: 100%; height: 100%; object-fit: cover; }
.pv-chip:hover { color: var(--pv-ink); }
.pv-chip:hover .pv-chip__img { transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   Product card (shared by home, shop, related)
   -------------------------------------------------------------------------- */
.pv-products { display: grid; grid-template-columns: repeat(var(--pv-cols, 4), minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); list-style: none; margin: 0; padding: 0; }
@media (max-width: 1024px) { .pv-products { --pv-cols: 3; } }
@media (max-width: 860px) { .pv-products { --pv-cols: 2; } }
.pv-products--rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 3 * 20px) / 4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.pv-products--rail::-webkit-scrollbar { display: none; }
.pv-products--rail > * { scroll-snap-align: start; }
@media (max-width: 1024px) { .pv-products--rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 860px) { .pv-products--rail { grid-auto-columns: 46%; } }

.pv-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pv-card__media {
	position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
	background: var(--pv-card); border-radius: var(--pv-radius);
}
.pv-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; padding: 0; transition: opacity .45s, transform .9s var(--pv-ease); }
.pv-card__media img.pv-card__img--alt { opacity: 0; object-fit: cover; padding: 0; }
.pv-card:hover .pv-card__media img:first-child { transform: scale(1.04); }
.pv-card:hover .pv-card__media img.pv-card__img--alt { opacity: 1; transform: scale(1.02); }
.pv-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.pv-card__quick {
	position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
	opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .3s var(--pv-ease);
}
.pv-card:hover .pv-card__quick, .pv-card:focus-within .pv-card__quick { opacity: 1; transform: none; }
.pv-card__quick .pv-btn, .pv-card__quick .button { width: 100%; min-height: 44px; font-size: 13px; background: rgba(255,255,255,.95); color: var(--pv-ink); border-color: transparent; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pv-card__quick .pv-btn:hover, .pv-card__quick .button:hover { background: var(--pv-ink); color: var(--pv-white); }
.pv-card__quick .added_to_cart { display: none; }
.pv-card__quick .button.loading { opacity: .7; }
.pv-card__quick .button.added::after { content: " ✓"; }
@media (hover: none), (max-width: 860px) {
	.pv-card__quick { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; }
	.pv-card__quick .pv-btn, .pv-card__quick .button { width: 40px; min-height: 40px; height: 40px; padding: 0; border-radius: 50%; box-shadow: 0 4px 12px rgba(10,20,48,.12); }
	.pv-card__quick .pv-quick__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.pv-card__quick .pv-quick__icon { display: inline-flex; }
}
.pv-card__quick .pv-quick__icon { display: none; }
.pv-card__quick .pv-quick__icon svg { width: 18px; height: 18px; }
.pv-card__body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 4px; }
.pv-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--pv-muted); }
.pv-card__swatches { display: inline-flex; align-items: center; gap: 4px; }
.pv-card__swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(10,20,48,.15); }
.pv-card__rating { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; color: var(--pv-ink); }
.pv-card__rating svg { width: 13px; height: 13px; color: #F5B301; }
.pv-card__title { margin: 2px 0 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.pv-card__title a { color: var(--pv-ink); }
.pv-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pv-card__price { margin-top: 2px; font-size: 15px; font-weight: 700; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.pv-card__price del { color: var(--pv-muted); font-weight: 400; font-size: 13px; }
.pv-card__price ins { text-decoration: none; color: var(--pv-sale); }
.pv-card__stock { font-size: 12px; color: var(--pv-muted); }

/* --------------------------------------------------------------------------
   Split feature (The Science)
   -------------------------------------------------------------------------- */
.pv-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--pv-ink); color: var(--pv-white); }
.pv-split__media { position: relative; min-height: 640px; overflow: hidden; }
.pv-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-split__body { padding: clamp(48px, 7vw, 112px) clamp(24px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.pv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 32px; }
.pv-stat__num { margin: 0; font-family: var(--pv-font-display); font-weight: 800; font-size: clamp(30px, 2.6vw, 40px); line-height: 1.1; }
.pv-stat__label { margin: 8px 0 0; font-size: 13px; color: var(--pv-muted-dark); line-height: 1.45; }
@media (max-width: 960px) { .pv-split { grid-template-columns: minmax(0, 1fr); } .pv-split__media { min-height: 420px; } }
@media (max-width: 560px) { .pv-stats { grid-template-columns: minmax(0, 1fr); } }

/* Pros rail */
.pv-pro { margin: 0; }
.pv-pro__img { aspect-ratio: 3 / 4; border-radius: var(--pv-radius); overflow: hidden; background: var(--pv-navy); }
.pv-pro__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--pv-ease); }
.pv-pro:hover .pv-pro__img img { transform: scale(1.05); }
.pv-pro figcaption { padding-top: 12px; font-weight: 700; }
.pv-pro figcaption span { display: block; font-weight: 400; font-size: 13px; color: var(--pv-muted); }

/* Promo banner (softball) */
.pv-promo { background: var(--pv-soft); border-radius: var(--pv-radius-lg); overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-promo__body { padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.pv-promo__media { position: relative; min-height: 440px; }
.pv-promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .pv-promo { grid-template-columns: minmax(0, 1fr); } .pv-promo__media { min-height: 320px; order: -1; } }

/* Community / stats band (Coolmate-style) */
.pv-community { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pv-community__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.pv-community__nums div { background: var(--pv-soft); border-radius: var(--pv-radius); padding: 20px; }
.pv-community__nums strong { display: block; font-family: var(--pv-font-display); font-size: 34px; font-weight: 800; line-height: 1.1; }
.pv-community__nums span { font-size: 13px; color: var(--pv-muted); }
.pv-community__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pv-community__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--pv-radius); }
.pv-community__media img:nth-child(2) { margin-top: 48px; }
@media (max-width: 860px) { .pv-community { grid-template-columns: minmax(0, 1fr); } }

/* Journal cards */
.pv-post-card { display: flex; flex-direction: column; gap: 14px; color: var(--pv-ink); }
.pv-post-card:hover { color: var(--pv-ink); }
.pv-post-card__img { aspect-ratio: 16 / 10; border-radius: var(--pv-radius); overflow: hidden; background: var(--pv-line); }
.pv-post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--pv-ease); }
.pv-post-card:hover .pv-post-card__img img { transform: scale(1.05); }
.pv-post-card__meta { font-size: 12px; color: var(--pv-muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.pv-post-card__title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }

/* Newsletter */
.pv-newsletter { background: var(--pv-navy); color: var(--pv-white); }
.pv-newsletter__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap; padding-block: clamp(56px, 7vw, 88px); }
.pv-newsletter form { display: flex; gap: 10px; flex: 1 1 420px; max-width: 560px; flex-wrap: wrap; }
.pv-newsletter input[type="email"] { flex: 1 1 240px; min-height: 56px; border-radius: var(--pv-pill); border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--pv-white); padding-inline: 24px; }
.pv-newsletter input[type="email"]::placeholder { color: #B8C3E0; }
.pv-newsletter input[type="email"]:focus { border-color: var(--pv-lime); box-shadow: none; }
.pv-newsletter .pv-form-note { flex-basis: 100%; margin: 4px 0 0 24px; font-size: 12px; color: #B8C3E0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.pv-footer { background: var(--pv-ink); color: #C9D0E0; font-size: 14px; }
.pv-footer a { color: #C9D0E0; }
.pv-footer a:hover { color: var(--pv-lime); }
.pv-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 72px 48px; }
.pv-footer__brand img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.pv-footer__brand p { margin: 20px 0 0; line-height: 1.7; max-width: 340px; }
.pv-footer__title { margin: 0 0 16px; color: var(--pv-white); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pv-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.pv-footer__contact svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--pv-lime); }
.pv-socials { display: flex; gap: 8px; margin-top: 24px; }
.pv-socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.pv-socials a:hover { background: var(--pv-lime); color: var(--pv-ink); border-color: var(--pv-lime); }
.pv-socials svg { width: 18px; height: 18px; }
.pv-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.pv-payments { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-payments span { padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.08); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--pv-white); }
@media (max-width: 960px) { .pv-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pv-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .pv-footer__top { grid-template-columns: minmax(0, 1fr); } }

/* Floating contact (Zalo / Messenger / Hotline) */
.pv-float { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; flex-direction: column; gap: 10px; }
.pv-float a {
	position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
	color: #fff; box-shadow: 0 8px 24px rgba(10,20,48,.25); transition: transform .2s var(--pv-ease);
}
.pv-float a:hover { transform: scale(1.08); color: #fff; }
.pv-float a svg { width: 24px; height: 24px; }
.pv-float__zalo { background: var(--pv-zalo); font-weight: 800; font-size: 13px; }
.pv-float__mess { background: linear-gradient(135deg, #00B2FF, #A033FF 60%, #FF5280); }
.pv-float__call { background: var(--pv-lime); color: var(--pv-ink) !important; }
.pv-float__call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(212,242,74,.7); animation: pv-ping 2s infinite; }
@keyframes pv-ping { 70% { box-shadow: 0 0 0 16px rgba(212,242,74,0); } 100% { box-shadow: 0 0 0 0 rgba(212,242,74,0); } }
.pv-float a span { position: absolute; right: 64px; background: var(--pv-ink); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.pv-float a:hover span { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pv-float__call::before { animation: none; } }

/* --------------------------------------------------------------------------
   Generic content (pages, posts, archives)
   -------------------------------------------------------------------------- */
.pv-page-hero { padding-block: clamp(48px, 6vw, 88px) clamp(24px, 3vw, 40px); }
.pv-page-hero .pv-h2 { margin-top: 4px; }
.pv-breadcrumb { font-size: 13px; color: var(--pv-muted); margin-bottom: 12px; }
.pv-breadcrumb a { color: var(--pv-muted); }
.pv-breadcrumb a:hover { color: var(--pv-ink); }
.pv-prose { font-size: 17px; line-height: 1.8; }
.pv-prose > * + * { margin-top: 1.1em; }
.pv-prose h2 { font-size: 28px; margin-top: 1.8em; }
.pv-prose h3 { font-size: 22px; margin-top: 1.5em; }
.pv-prose img { border-radius: var(--pv-radius); }
.pv-prose a { text-decoration: underline; text-underline-offset: 3px; }
.pv-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--pv-lime); font-size: 20px; font-weight: 500; }
.pv-entry-hero-img { border-radius: var(--pv-radius-lg); overflow: hidden; margin-bottom: 40px; aspect-ratio: 16 / 8; }
.pv-entry-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-pagination, .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.pv-pagination .page-numbers, .nav-links .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--pv-pill); display: inline-grid; place-items: center; border: 1px solid var(--pv-line-strong); color: var(--pv-ink); font-weight: 600; }
.pv-pagination .current, .nav-links .current { background: var(--pv-ink); color: #fff; border-color: var(--pv-ink); }
.pv-404 { text-align: center; padding-block: 120px; }
.pv-404 .pv-h1 { font-size: clamp(120px, 24vw, 320px); color: var(--pv-navy); }

/* Reveal on scroll */
.pv-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--pv-ease), transform .8s var(--pv-ease); }
.pv-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .pv-reveal { opacity: 1; transform: none; transition: none; } }
.no-js .pv-reveal { opacity: 1; transform: none; }

/* WordPress core alignments */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--pv-muted); }
.sticky, .bypostauthor, .gallery-caption { display: block; }

/* --------------------------------------------------------------------------
   Logo lockup: original Proton wordmark + "VIỆT NAM" suffix
   -------------------------------------------------------------------------- */
.pv-lockup { display: inline-flex; align-items: center; gap: .55em; font-size: 26px; line-height: 1; color: #1B3A8C; }
.pv-lockup img { height: 1em !important; width: auto; }
.pv-lockup__suffix {
	display: inline-flex; align-items: center; gap: .55em;
	font-family: var(--pv-font-body); font-weight: 800; font-size: .46em; letter-spacing: .2em;
	text-transform: uppercase; white-space: nowrap; color: currentColor; padding-top: .08em;
}
.pv-lockup__suffix::before { content: ""; width: 1.5px; height: 2.2em; background: currentColor; opacity: .35; }
.pv-footer .pv-lockup { color: #fff; }
.pv-footer .pv-lockup img { filter: brightness(0) invert(1); }
@media (max-width: 560px) { .pv-lockup { font-size: 21px; } }

/* Light split (technology section) */
.pv-split--light { background: var(--pv-soft); color: var(--pv-ink); border-radius: var(--pv-radius-lg); overflow: hidden; }
.pv-split--light .pv-split__media { min-height: 520px; }
.pv-split--light .pv-stats { border-top-color: var(--pv-line-strong); }
.pv-split--light .pv-stat__label { color: var(--pv-muted); }
@media (min-width: 861px) { .pv-announce__item--dup { display: none; } }

/* ==========================================================================
   Coolmate-style layer (v2) — overrides above
   ========================================================================== */
:root { --pv-radius: 10px; --pv-cm-blue: #2F5ACF; }

/* Header: uppercase bold nav + search pill */
.pv-nav > ul > li > a { text-transform: uppercase; font-weight: 700; font-size: 14px; letter-spacing: .01em; }
.pv-nav > ul > li > a:hover, .pv-nav > ul > li.current-menu-item > a, .pv-nav > ul > li.current-menu-ancestor > a { background: transparent; color: var(--pv-cm-blue); }
.pv-header-search { position: relative; width: 240px; margin-right: 4px; }
.pv-header-search input[type="search"] { min-height: 40px; height: 40px; padding: 0 44px 0 18px; border-radius: var(--pv-pill); background: var(--pv-white); border: 1px solid var(--pv-line-strong); font-size: 14px; }
.pv-header-search button { position: absolute; right: 2px; top: 0; width: 40px; height: 40px; border: 0; background: transparent; display: grid; place-items: center; color: var(--pv-ink); }
.pv-header-search button svg { width: 18px; height: 18px; }
.pv-search-icon-btn { display: none; }
.pv-cart-btn { background: transparent; color: var(--pv-ink); padding: 0 8px; margin-left: 0; position: relative; }
.pv-cart-btn:hover { color: var(--pv-ink); }
.pv-cart-btn svg { width: 22px; height: 22px; }
.pv-cart-btn .pv-cart-btn__label { display: none; }
.pv-cart-count { position: absolute; top: 4px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--pv-cm-blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
@media (max-width: 1200px) { .pv-header-search { width: 180px; } }
@media (max-width: 1024px) { .pv-header-search { display: none; } .pv-search-icon-btn { display: inline-grid; } }

/* Banner: full-bleed photo slides, copy bottom-left */
.pv-banner .pv-slide { display: block; aspect-ratio: 12 / 5; color: var(--pv-white); text-decoration: none; background: #E9EDF3; }
.pv-banner .pv-slide picture, .pv-banner .pv-slide picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pv-banner .pv-slide::after { background: linear-gradient(25deg, rgba(10,20,48,.6) 0%, rgba(10,20,48,.2) 40%, rgba(10,20,48,0) 60%); }
.pv-banner .pv-slide--light { color: var(--pv-ink); }
.pv-banner .pv-slide--light::after { display: none; }
.pv-banner .pv-slide__inner { position: relative; display: flex; height: 100%; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(48px, 6vw, 88px); }
.pv-banner .pv-slide--light .pv-slide__inner { justify-content: center; padding-bottom: 0; }
.pv-banner .pv-slide__copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 620px; }
.pv-banner .pv-slide__title { display: block; margin: 0; font-size: clamp(32px, 1.6rem + 3vw, 64px); font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; white-space: pre-line; }
.pv-banner .pv-slide__text { display: block; margin: 10px 0 0; font-size: clamp(16px, 1rem + .6vw, 24px); font-weight: 500; opacity: .95; }
.pv-banner .pv-slide__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; min-height: 44px; padding: 0 22px; border-radius: var(--pv-pill); background: rgba(255,255,255,.25); border: 1px solid rgba(255,255,255,.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; transition: background .2s, color .2s; }
.pv-banner .pv-slide:hover .pv-slide__cta { background: var(--pv-white); color: var(--pv-ink); }
.pv-banner .pv-slide--light .pv-slide__cta { background: var(--pv-ink); color: #fff; border-color: var(--pv-ink); }
.pv-banner .pv-slide--light:hover .pv-slide__cta { background: var(--pv-cm-blue); border-color: var(--pv-cm-blue); color: #fff; }
.pv-banner__nav-wrap { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: flex-end; gap: 8px; pointer-events: none; }
.pv-banner .pv-banner__nav { position: static; transform: none; opacity: 1; pointer-events: auto; width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pv-banner .pv-banner__nav:hover { background: #fff; color: var(--pv-ink); }
.pv-banner__dots { bottom: 36px; }
@media (max-width: 860px) {
	.pv-banner .pv-slide { aspect-ratio: 4 / 5; }
	.pv-banner .pv-slide--light .pv-slide__inner { justify-content: flex-end; padding-bottom: 64px; }
	.pv-banner__nav-wrap { display: none; }
	.pv-banner__dots { bottom: 18px; }
}

/* Circle categories */
.pv-circles { padding: 28px 0 8px; }
.pv-circles__track { display: flex; justify-content: center; gap: clamp(16px, 2.4vw, 36px); overflow-x: auto; scrollbar-width: none; }
.pv-circles__track::-webkit-scrollbar { display: none; }
.pv-circle { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 96px; color: var(--pv-ink); font-size: 13px; font-weight: 600; text-align: center; line-height: 1.3; }
.pv-circle:hover { color: var(--pv-cm-blue); }
.pv-circle__img { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--pv-soft); box-shadow: 0 0 0 2px var(--pv-white), 0 0 0 3.5px var(--pv-cm-blue); transition: transform .25s var(--pv-ease); }
.pv-circle__img img { width: 100%; height: 100%; object-fit: cover; }
.pv-circle:hover .pv-circle__img { transform: scale(1.06); }
@media (max-width: 860px) { .pv-circles__track { justify-content: flex-start; } .pv-circle { width: 76px; } .pv-circle__img { width: 64px; height: 64px; } }

/* Section heads: big title + underline tabs + Xem tất cả */
.pv-home .pv-h2 { font-size: clamp(28px, 1.2rem + 2vw, 48px); letter-spacing: -.025em; }
.pv-section-head__left { display: flex; align-items: flex-end; gap: 12px 40px; flex-wrap: wrap; }
.pv-tabs { display: flex; gap: 4px; }
.pv-tab { position: relative; min-height: 40px; padding: 0 18px; border: 0; background: transparent; color: var(--pv-muted); font-weight: 600; font-size: 14px; }
.pv-tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transition: transform .25s var(--pv-ease); }
.pv-tab[aria-selected="true"] { color: var(--pv-ink); }
.pv-tab[aria-selected="true"]::after { transform: scaleX(1); }
.pv-tab:hover { color: var(--pv-ink); }
.pv-more { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--pv-ink); color: var(--pv-ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.pv-more:hover { color: var(--pv-cm-blue); border-color: var(--pv-cm-blue); }
.pv-more__i { transform: rotate(-45deg); }

/* Product rails with side arrows */
.pv-rail { position: relative; }
.pv-rail__btn { position: absolute; top: calc(50% - 60px); width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--pv-ink); color: #fff; display: grid; place-items: center; z-index: 3; box-shadow: var(--pv-shadow); transition: opacity .2s; }
.pv-rail__btn--prev { left: -20px; } .pv-rail__btn--next { right: -20px; }
.pv-rail__btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 860px) { .pv-rail__btn { display: none; } }
.pv-products--rail { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; }

/* Product card (Coolmate) */
.pv-card__media { border-radius: var(--pv-radius); aspect-ratio: 1 / 1; }
.pv-card__badges { left: auto; right: 10px; top: 10px; align-items: flex-end; }
.pv-card__badges .pv-badge { padding: 4px 9px; font-size: 10px; letter-spacing: .06em; background: var(--pv-cm-blue); color: #fff; }
.pv-card__badges .pv-badge--hot { background: var(--pv-ink); color: #fff; }
.pv-card__badges .pv-badge--soft { background: #fff; color: var(--pv-ink); }
.pv-card__badges .pv-badge--out { background: #E6E8EC; color: var(--pv-muted); }
.pv-card__body { padding-top: 10px; gap: 2px; }
.pv-card__title { font-size: 14px; font-weight: 500; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pv-card__stock { display: none; }
.pv-card__price { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-size: 14px; }
.pv-price__now { font-weight: 700; color: var(--pv-ink); }
.pv-price__from { font-size: 12px; color: var(--pv-muted); font-weight: 500; }
.pv-price__pct { display: inline-block; padding: 1px 7px; border-radius: var(--pv-pill); background: var(--pv-cm-blue); color: #fff; font-size: 11px; font-weight: 700; }
.pv-price__was { color: var(--pv-muted); font-size: 13px; }
.pv-card__meta { order: 3; }

/* Duo banners: edge to edge */
.pv-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-block: clamp(24px, 4vw, 56px); padding: 0; max-width: none; }
.pv-duo__item { position: relative; display: block; aspect-ratio: 8 / 7; overflow: hidden; color: #fff; isolation: isolate; }
.pv-duo__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--pv-ease); }
.pv-duo__item::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); z-index: -1; }
.pv-duo__item:hover img { transform: scale(1.04); }
.pv-duo__item:hover { color: #fff; }
.pv-duo__body { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 56px); display: flex; flex-direction: column; gap: 10px; }
.pv-duo__title { font-size: clamp(28px, 1.2rem + 2vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.pv-duo__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; border-bottom: 1px solid #fff; padding-bottom: 4px; align-self: flex-start; }
@media (max-width: 860px) { .pv-duo { grid-template-columns: minmax(0, 1fr); } .pv-duo__item { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   Motion layer — hover & scroll effects (premium Shopify pickleball style)
   ========================================================================== */

/* Smart sticky header: hides on scroll down, returns on scroll up */
.pv-header { transition: transform .4s var(--pv-ease), box-shadow .3s, background .3s; will-change: transform; }
.pv-header.is-hidden { transform: translateY(-100%); }
.pv-header.is-scrolled { box-shadow: 0 6px 24px rgba(10,20,48,.08); }

/* Card: image swap + zoom, side actions slide in, add-to-cart slides up */
.pv-card__media img:first-child { transition: transform 1s var(--pv-ease), opacity .5s var(--pv-ease); }
.pv-card:hover .pv-card__media img:first-child { transform: scale(1.08); }
.pv-card:hover .pv-card__media img.pv-card__img--alt ~ img, .pv-card__media img.pv-card__img--alt { transition: opacity .5s var(--pv-ease), transform 1.2s var(--pv-ease); transform: scale(1.08); }
.pv-card:hover .pv-card__media img.pv-card__img--alt { opacity: 1; transform: scale(1); }
.pv-card:hover .pv-card__media:has(.pv-card__img--alt) img:first-child { opacity: 0; }
.pv-card__actions { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.pv-card__action {
	position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
	background: var(--pv-white); color: var(--pv-ink); box-shadow: 0 4px 14px rgba(10,20,48,.12);
	opacity: 0; transform: translateX(-14px); transition: opacity .3s var(--pv-ease), transform .4s var(--pv-ease), background .2s, color .2s;
}
.pv-card__action:nth-child(2) { transition-delay: .06s; }
.pv-card:hover .pv-card__action, .pv-card:focus-within .pv-card__action { opacity: 1; transform: none; }
.pv-card__action:hover { background: var(--pv-cm-blue); color: #fff; }
.pv-card__action::after {
	content: attr(data-tip); position: absolute; left: calc(100% + 8px); top: 50%; transform: translate(-4px, -50%);
	padding: 5px 9px; border-radius: 6px; background: var(--pv-ink); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap;
	opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.pv-card__action:hover::after { opacity: 1; transform: translate(0, -50%); }
.pv-card__quick { left: 0; right: 0; bottom: 0; transform: translateY(100%); opacity: 1; transition: transform .4s var(--pv-ease); }
.pv-card:hover .pv-card__quick, .pv-card:focus-within .pv-card__quick { transform: translateY(0); }
.pv-card__quick .pv-btn, .pv-card__quick .button { border-radius: 0; min-height: 46px; background: var(--pv-ink); color: #fff; border: 0; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pv-card__quick .pv-btn:hover, .pv-card__quick .button:hover { background: var(--pv-cm-blue); color: #fff; transform: none; box-shadow: none; }
.pv-card__quick .pv-quick__label { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
.pv-card__title a { transition: color .2s; }
.pv-card:hover .pv-card__title a { color: var(--pv-cm-blue); }
@media (hover: none), (max-width: 860px) {
	.pv-card__actions { display: none; }
	.pv-card__quick { transform: none; left: auto; right: 8px; bottom: 8px; }
	.pv-card__quick .pv-btn, .pv-card__quick .button { border-radius: 50%; width: 40px; height: 40px; min-height: 40px; padding: 0; background: #fff; color: var(--pv-ink); }
	.pv-card__quick .pv-quick__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Buttons: fill sweep + arrow nudge */
.pv-btn { position: relative; overflow: hidden; isolation: isolate; }
.pv-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pv-cm-blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--pv-ease); }
.pv-btn:hover::before { transform: scaleX(1); transform-origin: left; }
.pv-btn:hover { --_fg: #fff; border-color: var(--pv-cm-blue); }
.pv-btn svg, .pv-more svg, .pv-slide__cta svg, .pv-duo__cta svg { transition: transform .3s var(--pv-ease); }
.pv-btn:hover svg, .pv-more:hover svg, .pv-slide:hover .pv-slide__cta svg, .pv-duo__item:hover .pv-duo__cta svg { transform: translateX(4px); }
.pv-more:hover .pv-more__i { transform: rotate(0deg) translateX(3px); }

/* Banner: Ken Burns on the active slide + copy rises in */
.pv-banner .pv-slide picture img { transform: scale(1.08); transition: transform 7s linear; }
.pv-banner .pv-slide.is-active picture img { transform: scale(1); }
.pv-banner .pv-slide__copy > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--pv-ease), transform .8s var(--pv-ease); }
.pv-banner .pv-slide.is-active .pv-slide__copy > * { opacity: 1; transform: none; }
.pv-banner .pv-slide.is-active .pv-slide__copy > :nth-child(2) { transition-delay: .12s; }
.pv-banner .pv-slide.is-active .pv-slide__copy > :nth-child(3) { transition-delay: .24s; }

/* Scroll reveal with stagger */
.pv-reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--pv-ease), transform .9s var(--pv-ease); transition-delay: calc(var(--pv-i, 0) * 80ms); }
.pv-reveal.is-in { opacity: 1; transform: none; }

/* Duo / circles hover */
.pv-duo__item img { transition: transform 1.4s var(--pv-ease); }
.pv-duo__item:hover img { transform: scale(1.06); }
.pv-circle__img { transition: transform .35s var(--pv-ease), box-shadow .35s; }
.pv-circle:hover .pv-circle__img { transform: translateY(-4px) scale(1.04); box-shadow: 0 0 0 2px var(--pv-white), 0 0 0 3.5px var(--pv-ink), 0 10px 20px rgba(10,20,48,.15); }

/* Marquee strip */
.pv-marquee { overflow: hidden; background: var(--pv-ink); color: #fff; padding-block: 18px; }
.pv-marquee__track { display: flex; width: max-content; gap: 48px; animation: pv-marquee 30s linear infinite; }
.pv-marquee:hover .pv-marquee__track { animation-play-state: paused; }
.pv-marquee__item { display: inline-flex; align-items: center; gap: 48px; font-size: clamp(18px, 1rem + .8vw, 28px); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.pv-marquee__item::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--pv-lime); }
.pv-marquee--outline .pv-marquee__item { color: transparent; -webkit-text-stroke: 1px #fff; }

/* Back to top */
.pv-totop { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pv-ink); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--pv-ease); }
.pv-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.pv-totop svg { transform: rotate(-90deg); }

@media (prefers-reduced-motion: reduce) {
	.pv-header, .pv-card__media img, .pv-banner .pv-slide picture img, .pv-banner .pv-slide__copy > *, .pv-reveal, .pv-marquee__track { transition: none !important; animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* ==========================================================================
   Typography & alignment pass
   ========================================================================== */
body { font-feature-settings: "cv11", "ss01"; letter-spacing: -.005em; }
h1, h2, h3, .pv-display, .pv-h2, .pv-h3, .pv-slide__title, .pv-duo__title, .product_title, .pv-drawer__title { font-family: var(--pv-font-display); }
.pv-home .pv-h2, .pv-display { letter-spacing: -.02em; line-height: 1.15; }
/* Buttons / pills: optical centring */
.pv-btn, .button, .pv-pill, .pv-tab, .pv-cart-btn, .pv-badge, .pv-price__pct { line-height: 1; }
.pv-btn, .button { padding-top: 1px; }
.pv-badge { padding: 5px 9px 4px; }
/* Nav: uniform height & baseline */
.pv-nav > ul { align-items: center; gap: 8px; }
.pv-nav > ul > li > a { line-height: 1; height: 44px; padding: 0 12px; font-family: var(--pv-font-display); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.pv-header__inner { min-height: 72px; }
/* Circles: one-line labels so the row stays level */
.pv-circle { width: auto; min-width: 88px; }
.pv-circle__label { white-space: nowrap; font-size: 13px; font-weight: 600; }
/* Section head: title and tabs share a baseline */
.pv-section-head { align-items: center; }
.pv-section-head__left { align-items: center; }
.pv-tab { font-family: var(--pv-font-display); font-weight: 700; font-size: 14px; padding-bottom: 2px; }
/* Product card text rhythm */
.pv-card__title { font-size: 14px; font-weight: 500; min-height: calc(1.4em * 2); }
.pv-card__price { min-height: 24px; }
.pv-price__now { font-size: 15px; }
/* Badges visible on white packshots */
.pv-card__badges .pv-badge--soft { background: var(--pv-ink); color: #fff; }
/* Header search pill */
.pv-header-search input[type="search"] { font-family: var(--pv-font-body); }

/* Mega menu (desktop): full-width panel, category cards with images */
@media (min-width: 1025px) {
	.pv-header { position: sticky; }
	.pv-nav > ul > li { position: static; }
	.pv-nav > ul > li > .sub-menu {
		left: 0; right: 0; top: 100%; min-width: 0; border-radius: 0; padding: 28px max(var(--pv-gutter), calc((100vw - var(--pv-max)) / 2 + var(--pv-gutter)));
		display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px;
		border-top: 1px solid var(--pv-line); box-shadow: 0 24px 40px rgba(10,20,48,.10);
		transform: translateY(-8px);
	}
	.pv-nav > ul > li > .sub-menu::before { inset: -12px 0 auto; height: 12px; }
	.pv-nav .sub-menu > li > a { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; background: transparent !important; font-weight: 600; font-size: 14px; }
	.pv-nav .sub-menu .pv-mega__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--pv-radius); background: var(--pv-soft); transition: transform .5s var(--pv-ease); }
	.pv-nav .sub-menu > li > a:hover .pv-mega__img { transform: translateY(-4px); }
	.pv-nav .sub-menu > li > a:hover .pv-mega__label { color: var(--pv-cm-blue); }
	.pv-nav .sub-menu > li > a:not(:has(img)) { padding: 10px 0; }
}

/* Fix: circle rings were clipped by the scroll container */
.pv-circles__track { padding: 8px 6px 6px; }
.pv-circle__img { box-shadow: 0 0 0 2px var(--pv-white), 0 0 0 3.5px var(--pv-line-strong); }
.pv-circle:hover .pv-circle__img { box-shadow: 0 0 0 2px var(--pv-white), 0 0 0 3.5px var(--pv-cm-blue); }

/* Uniform image frames: white- and grey-background packshots blend into one #F5F6F8 tile */
.pv-card__media, .pv-circle__img, .pv-nav .sub-menu .pv-mega__img, .pv-chip__img { background: var(--pv-soft); }
.pv-card__media img:first-child,
.pv-circle__img img,
.pv-nav .sub-menu .pv-mega__img { mix-blend-mode: multiply; object-fit: contain; }
.pv-card__media img:first-child { padding: 6%; }
.pv-circle__img img { padding: 10%; }
.pv-nav .sub-menu .pv-mega__img { padding: 8%; }
.pv-card__media img.pv-card__img--alt { mix-blend-mode: normal; object-fit: cover; padding: 0; }
/* Packshots fill the tile edge to edge (multiply keeps white backgrounds on the tile colour) */
.pv-card__media img:first-child, .pv-circle__img img, .pv-nav .sub-menu .pv-mega__img { object-fit: cover; padding: 0; }

/* Floating contact v2 — official-style Zalo / Messenger / Call */
.pv-float { right: max(14px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); gap: 12px; }
.pv-float .pv-float__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; position: relative; box-shadow: 0 6px 18px rgba(10,20,48,.22); font-size: 0; }
.pv-float__zalo { background: #0068FF; }
.pv-float__mess { background: radial-gradient(circle at 20% 110%, #FFC300 0%, #FF5280 35%, #A033FF 62%, #0099FF 100%); }
.pv-float__call { background: #23B33A; color: #fff !important; }
.pv-float__call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: pv-ring 1.8s infinite; box-shadow: 0 0 0 0 rgba(35,179,58,.55); }
.pv-float__call svg { animation: pv-shake 1.8s infinite; transform-origin: 50% 50%; }
@keyframes pv-ring { 70% { box-shadow: 0 0 0 14px rgba(35,179,58,0); } 100% { box-shadow: 0 0 0 0 rgba(35,179,58,0); } }
@keyframes pv-shake { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
.pv-float .pv-float__tip { position: absolute; right: 62px; top: 50%; transform: translateY(-50%); background: var(--pv-ink); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.pv-float .pv-float__btn:hover .pv-float__tip, .pv-float .pv-float__btn:focus-visible .pv-float__tip { opacity: 1; }
@media (max-width: 860px) { .pv-float .pv-float__btn { width: 48px; height: 48px; } .pv-totop { display: none; } }
@media (prefers-reduced-motion: reduce) { .pv-float__call::before, .pv-float__call svg { animation: none; } }

/* Fix: mobile quick-add icon was hidden by a later rule */
@media (hover: none), (max-width: 860px) {
	.pv-card__quick .pv-quick__icon { display: inline-flex; color: var(--pv-ink); }
	.pv-card__quick .pv-btn, .pv-card__quick .button { border: 1px solid var(--pv-line); background: #fff; }
	.pv-card__quick .pv-btn::before { display: none; }
	.pv-card__meta { display: none; }
}

/* Fix: rail column widths per breakpoint (desktop rule was overriding mobile) */
@media (max-width: 1024px) { .pv-products--rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (max-width: 860px) { .pv-products--rail { grid-auto-columns: 46%; gap: 12px; } .pv-card__badges .pv-badge { white-space: nowrap; } }
/* Keep floating contact above the sticky add-to-cart bar */
body.pv-sticky-atc-on .pv-float { bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 84px); }

/* Fix: horizontal scrollers must never capture vertical wheel scrolling */
.pv-products--rail, .pv-circles__track, .pv-banner__track, .pv-chips { overflow-y: hidden; overscroll-behavior-x: contain; }
.pv-products--rail { padding-block: 0; }
.pv-products--rail > .pv-reveal { transform: none; }

/* ==========================================================================
   Icon size pass — larger, easier to tap/see
   ========================================================================== */
.pv-icon-btn { width: 46px; height: 46px; }
.pv-icon-btn svg, .pv-cart-btn svg { width: 24px !important; height: 24px !important; }
.pv-header-search button svg { width: 20px; height: 20px; }
.pv-card__action { width: 44px; height: 44px; }
.pv-card__action svg { width: 20px; height: 20px; }
.pv-card__quick svg { width: 20px; height: 20px; }
@media (hover: none), (max-width: 860px) { .pv-card__quick .pv-btn, .pv-card__quick .button { width: 44px; height: 44px; min-height: 44px; } }
.pv-rail__btn, .pv-banner .pv-banner__nav { width: 46px; height: 46px; }
.pv-rail__btn svg, .pv-banner__nav svg { width: 22px; height: 22px; }
.pv-more svg { width: 18px; height: 18px; }
.pv-trust__item svg { width: 48px; height: 48px; padding: 11px; }
.pv-footer__contact svg { width: 20px; height: 20px; }
.pv-socials a { width: 44px; height: 44px; }
.pv-socials svg { width: 22px; height: 22px; }
.pv-mobile-nav .pv-sub-toggle svg { width: 24px; height: 24px; }
.pv-drawer__head .pv-icon-btn svg { width: 26px !important; height: 26px !important; }
.pv-slide__cta svg, .pv-duo__cta svg { width: 18px; height: 18px; }
.pv-totop { width: 48px; height: 48px; }
.pv-totop svg { width: 22px; height: 22px; }
/* Floating contact: bigger buttons and glyphs */
.pv-float .pv-float__btn { width: 58px; height: 58px; }
.pv-float__zalo svg { width: 40px; height: 40px; }
.pv-float__mess svg { width: 32px; height: 32px; }
.pv-float__call svg { width: 28px; height: 28px; }
@media (max-width: 860px) { .pv-float .pv-float__btn { width: 52px; height: 52px; } .pv-float__zalo svg { width: 36px; height: 36px; } }

/* ==========================================================================
   Logo lockup v2 — "VIỆT NAM" tag with flag mark
   ========================================================================== */
.pv-lockup { gap: .5em; }
.pv-lockup__suffix {
	gap: .42em; padding: .34em .7em .3em .38em; border-radius: 999px;
	background: linear-gradient(100deg, #1B3A8C 0%, #1F6FE0 55%, #2AA4E0 100%);
	color: #fff; font-family: var(--pv-font-display); font-weight: 800; font-style: italic;
	font-size: .44em; letter-spacing: .14em; line-height: 1; box-shadow: 0 4px 12px rgba(31,111,224,.28);
	transform: translateY(.04em) skewX(-6deg);
}
.pv-lockup__suffix::before {
	content: ""; flex: none; width: 1.55em; height: 1.55em; border-radius: 50%; opacity: 1;
	background: #DA251D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFDD00' d='m12 4.6 2.06 6.34h6.67l-5.4 3.92 2.07 6.34L12 17.28l-5.4 3.92 2.07-6.34-5.4-3.92h6.67z'/%3E%3C/svg%3E") center / 76% no-repeat;
	box-shadow: 0 0 0 .12em rgba(255,255,255,.85);
	transform: skewX(6deg);
}
.pv-footer .pv-lockup { color: #fff; }
.pv-footer .pv-lockup__suffix { box-shadow: none; }

/* ===== Size pass 2: floating contact + cart (user: "hơi bé") ===== */
.pv-float { gap: 14px; }
.pv-float .pv-float__btn { width: 64px; height: 64px; box-shadow: 0 8px 22px rgba(10,20,48,.26); }
.pv-float__zalo svg { width: 50px !important; height: 50px !important; }
.pv-float__mess svg { width: 38px !important; height: 38px !important; }
.pv-float__call svg { width: 33px !important; height: 33px !important; }
.pv-float .pv-float__tip { right: 76px; font-size: 13px; padding: 7px 12px; }
@media (max-width: 860px) {
	.pv-float { gap: 12px; }
	.pv-float .pv-float__btn { width: 58px; height: 58px; }
	.pv-float__zalo svg { width: 46px !important; height: 46px !important; }
	.pv-float__mess svg { width: 34px !important; height: 34px !important; }
	.pv-float__call svg { width: 30px !important; height: 30px !important; }
}
body.pv-sticky-atc-on .pv-float { bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 88px); }

.pv-cart-btn { min-width: 50px; height: 50px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; }
.pv-cart-btn svg { width: 28px !important; height: 28px !important; }
.pv-icon-btn svg { width: 26px !important; height: 26px !important; }
.pv-cart-btn .pv-cart-count { min-width: 20px; height: 20px; padding: 0 5px; font-size: 11.5px; font-weight: 700; line-height: 20px; top: 4px; right: 2px; }
@media (max-width: 860px) {
	.pv-cart-btn { min-width: 46px; height: 46px; padding: 0 8px; }
	.pv-cart-btn svg { width: 27px !important; height: 27px !important; }
}

/* ===== UX pass: faster, subtler reveal so fast scrolling never shows blank areas ===== */
.pv-reveal { transform: translateY(18px); transition: opacity .55s var(--pv-ease), transform .55s var(--pv-ease); transition-delay: calc(min(var(--pv-i, 0), 4) * 60ms); }
/* Banner arrows sat under the floating Zalo/Mess/Call stack: flank the dots in the centre instead */
.pv-banner__nav-wrap { justify-content: center; gap: 132px; }
/* Back-to-top covered the sticky add-to-cart thumbnail */
body.pv-sticky-atc-on .pv-totop { bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 88px); }
/* Newsletter: honeypot + result message */
.pv-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pv-newsletter form { position: relative; flex-wrap: wrap; }
.pv-newsletter__msg { flex-basis: 100%; margin: 10px 0 0; color: var(--pv-lime); font-size: 14px; font-weight: 600; }
/* Leave room under the copyright/payments row for the floating buttons and back-to-top */
.pv-footer__bottom { padding-bottom: 88px; }
