/*
Theme Name: Marvel Decor
Theme URI: https://marveldecor.vn/
Author: Marvel Decor
Description: Giao diện bán hashtag cầm tay, khung check-in, standee và phụ kiện sự kiện; tích hợp quản lý sản phẩm, yêu cầu báo giá và liên hệ Zalo.
Version: 1.72.6
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: marvel-decor
*/

:root {
  --pink: #e83e8c;
  --pink-dark: #c92372;
  --pink-deep: #9f1655;
  --pink-soft: #fff0f6;
  --pink-pale: #fff8fb;
  --ink: #2f2430;
  --muted: #786b76;
  --line: #eedfe7;
  --white: #ffffff;
  --shadow-sm: 0 8px 30px rgba(116, 42, 77, 0.08);
  --shadow-md: 0 18px 55px rgba(116, 42, 77, 0.14);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scroll-behavior: auto;
  scroll-padding-top: 104px;
  scrollbar-gutter: stable;
}
body {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-y pinch-zoom;
}
body.no-scroll { overflow: hidden; }
main, .announcement, .site-header, .site-search, .site-footer { max-width: 100%; overflow-x: clip; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
button, input, select, textarea { font: inherit; }
input, select, textarea { min-width: 0; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.header__inner > *, .simple-header__inner > *, .hero__grid > *, .custom-order__grid > *, .footer-grid > *, .product-grid > *, .category-grid > * { min-width: 0; }
.section { padding: 92px 0; }
.section[id] { scroll-margin-top: 104px; }
.section--soft { background: linear-gradient(180deg, #fff9fc 0%, #fff 100%); }
.simple-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 1px 0 rgba(116, 42, 77, 0.025); isolation: isolate; }
.admin-bar .simple-header { top: 32px; }
.simple-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.content-page { min-height: 65vh; padding-top: 70px; padding-bottom: 70px; }
.content-card { max-width: 860px; margin: 0 auto; padding: clamp(24px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.content-card h1 { margin-top: 0; line-height: 1.15; }
.content-card__body img { max-width: 100%; height: auto; }
.policy-document { color: #554a54; }
.policy-document .policy-lead { margin: 0 0 24px; color: #4b3c47; font-size: 16px; line-height: 1.75; }
.policy-document h2 { margin: 38px 0 13px; color: var(--ink); font-size: 21px; scroll-margin-top: 105px; }
.policy-document p, .policy-document li { font-size: 14px; line-height: 1.75; }
.policy-document ul, .policy-document ol { display: grid; gap: 8px; padding-left: 23px; }
.policy-contact { display: grid; gap: 6px; margin: 24px 0; padding: 18px 20px; border: 1px solid #f2cfdf; border-radius: 14px; color: #59414e; background: linear-gradient(135deg, #fff3f8, #fff); font-size: 13px; }
.policy-contact strong { margin-bottom: 3px; color: var(--pink-deep); font-size: 15px; }
.policy-contact a { color: var(--pink); font-weight: 850; }
.policy-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; margin: 28px 0 34px; padding: 20px; border-radius: 15px; background: #faf7f9; }
.policy-toc strong { grid-column: 1 / -1; margin-bottom: 3px; color: var(--ink); }
.policy-toc a { color: #6d5764; font-size: 13px; }
.policy-toc a:hover { color: var(--pink); }
.policy-check-list { list-style: none; padding-left: 0 !important; }
.policy-check-list li { position: relative; padding-left: 29px; }
.policy-check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #2ca574; font-size: 10px; font-weight: 900; }
.policy-signature { margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 800; }
.policy-signature a { color: var(--pink); font-weight: 650; }

.announcement {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
.announcement__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.announcement a { color: #ffd7e9; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(238, 223, 231, 0.9);
  box-shadow: 0 1px 0 rgba(116, 42, 77, 0.025);
  isolation: isolate;
}
.admin-bar .site-header { top: 32px; }
.header__inner {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 15px 15px 15px 5px;
  overflow: hidden;
  color: #fff;
  background: #fff;
  box-shadow: 0 8px 22px rgba(232, 62, 140, 0.25);
  font-size: 24px;
  font-weight: 900;
  font-family: Georgia, serif;
}
.brand__mark img { width: 100%; height: 100%; padding: 2px; object-fit: contain; }
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-size: 18px; letter-spacing: -0.35px; }
.brand__text small { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: 0.85px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.main-nav > a, .mega-menu__toggle { position: relative; font-size: 14px; font-weight: 650; color: #554a54; }
.main-nav > a::after, .mega-menu__toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--pink);
  transition: right 0.2s ease;
}
.main-nav > a:hover, .mega-menu__toggle:hover { color: var(--pink); }
.main-nav > a:hover::after, .mega-menu__toggle:hover::after { right: 0; }
.mega-menu { position: static; }
.mega-menu__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.mega-menu__toggle > span { color: var(--pink); font-size: 15px; transition: transform .2s ease; }
.mega-menu.is-open .mega-menu__toggle > span { transform: rotate(180deg); }
.mega-menu__panel { position: absolute; left: 0; right: 0; top: calc(100% - 1px); z-index: 55; display: block; max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 30px 32px 34px; border: 1px solid var(--line); border-top: 3px solid var(--pink); border-radius: 0 0 22px 22px; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-12px) scale(.985); transform-origin: top center; background: rgba(255,255,255,.985); box-shadow: 0 28px 65px rgba(73,30,52,.18); transition: opacity .22s ease, transform .32s cubic-bezier(.22,1,.36,1), visibility 0s linear .32s; }
.mega-menu.is-open .mega-menu__panel { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); transition-delay: 0s; }
.mega-menu__grid { display: grid; grid-template-columns: 1.08fr 1fr 1fr; grid-template-rows: auto auto; gap: 28px 52px; }
.mega-menu__group { min-width: 0; }
.mega-menu__group:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.mega-menu__group:nth-child(2) { grid-column: 2; grid-row: 1; }
.mega-menu__group:nth-child(3) { grid-column: 3; grid-row: 1; }
.mega-menu__group:nth-child(4) { grid-column: 2; grid-row: 2; }
.mega-menu__group:nth-child(5) { grid-column: 3; grid-row: 2; }
.mega-menu__group:nth-child(6) { grid-column: 1; grid-row: 3; align-self: start; }
.mega-menu__group h3 { margin: 0 0 13px; font-size: 18px; line-height: 1.3; }
.mega-menu__group h3 a { color: var(--ink); }
.mega-menu__group h3 a:hover { color: var(--pink); }
.mega-menu__group ul { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.mega-menu__group li a { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; color: #62545e; font-size: 14px; line-height: 1.45; transition: color .2s ease, transform .25s cubic-bezier(.22,1,.36,1); }
.mega-menu__group li a > span { flex: 0 0 auto; color: var(--pink); font-size: 18px; line-height: 1.05; }
.mega-menu__group li a:hover { color: var(--pink); transform: translateX(3px); }
.header__actions { display: flex; align-items: center; gap: 9px; }
.icon-btn, .cart-btn {
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: 0.2s ease;
}
.icon-btn:hover, .cart-btn:hover { border-color: #f4b4d0; color: var(--pink); transform: translateY(-1px); }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn { min-height: 42px; padding: 0 13px; display: flex; align-items: center; gap: 7px; border-radius: 99px; font-size: 13px; font-weight: 750; }
.cart-btn svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn b { min-width: 21px; height: 21px; display: grid; place-items: center; padding: 0 5px; border-radius: 99px; background: var(--pink); color: #fff; font-size: 11px; }
.mobile-menu-btn { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.mobile-menu-btn span { display: block; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 670px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.95), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fff3f8 52%, #ffe9f3 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 54px; padding-top: 66px; padding-bottom: 74px; }
.hero__blob { position: absolute; border-radius: 50%; opacity: .85; pointer-events: none; }
.hero__blob--one { width: 300px; height: 300px; right: -80px; top: -110px; background: rgba(255, 135, 189, 0.18); }
.hero__blob--two { width: 180px; height: 180px; left: 38%; bottom: -80px; background: rgba(255, 196, 220, 0.28); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--pink); font-size: 12px; font-weight: 850; letter-spacing: 1.4px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 27px; height: 2px; background: currentColor; }
.hero h1 { max-width: 680px; margin: 15px 0 20px; font-size: clamp(46px, 5.7vw, 76px); line-height: 0.99; letter-spacing: -3px; }
.hero h1 span { color: var(--pink); }
.hero__content > p { max-width: 590px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--pink), #f65fa3); box-shadow: 0 12px 28px rgba(232, 62, 140, 0.25); }
.btn--primary:hover { box-shadow: 0 15px 32px rgba(232, 62, 140, 0.34); }
.btn--ghost { color: var(--ink); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { color: var(--pink); border-color: #f6b7d2; }
.btn--full { width: 100%; }
.marvel-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.btn--text { min-height: auto; padding: 11px 0 0; color: var(--pink); background: transparent; }
.hero__facts { display: flex; gap: 30px; margin-top: 39px; }
.hero__facts div { display: grid; }
.hero__facts strong { font-size: 16px; }
.hero__facts span { color: var(--muted); font-size: 12px; }

.hero__visual { position: relative; min-height: 500px; }
.hero__visual--uploaded { display: grid; place-items: center; overflow: visible; }
.hero__uploaded-image { position: relative; z-index: 3; width: min(var(--hero-foreground-size, 125%), 700px); max-width: none; height: auto; max-height: 560px; object-fit: contain; filter: none; }
.hero-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 24px 60px rgba(110, 35, 71, 0.2);
}
.hero-card--back {
  width: 235px;
  height: 150px;
  left: 8px;
  top: 105px;
  transform: rotate(-12deg);
  border: 9px solid #fff;
  border-radius: 38px 14px 38px 14px;
  color: #fff;
  background: linear-gradient(150deg, #6b4edc, #b77bff);
  font-size: 31px;
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -1px;
}
.hero-card--back::after { content: ""; position: absolute; width: 18px; height: 150px; background: #fff; bottom: -132px; left: 95px; border-radius: 8px; }
.hero-card--middle {
  width: 245px;
  height: 190px;
  right: 18px;
  top: 34px;
  transform: rotate(8deg);
  border: 10px solid #fff;
  border-radius: 50% 50% 42% 48%;
  color: #8d2e5a;
  background: linear-gradient(145deg, #ffd7e8, #fff3f8);
}
.hero-card--middle::after { content: ""; position: absolute; width: 18px; height: 145px; background: #fff; bottom: -126px; left: 108px; border-radius: 8px; }
.hero-card--middle small { font-size: 9px; font-weight: 900; letter-spacing: 1.5px; }
.hero-card--middle strong { margin: 6px 0; font-size: 29px; line-height: 0.95; }
.hero-card--middle em { font-family: Georgia, serif; font-size: 14px; }
.hero-card--front {
  width: 310px;
  height: 390px;
  left: 92px;
  bottom: 0;
  z-index: 4;
  justify-content: flex-start;
  padding-top: 25px;
  border: 12px solid #fff;
  border-radius: 26px;
  background: linear-gradient(160deg, #ef5b9d 0%, #e83e8c 45%, #c92873 100%);
  color: #fff;
  transform: rotate(-1deg);
}
.hero-card--front::before, .hero-card--front::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 17px; }
.hero-card--front::after { inset: 24px; border-style: dashed; opacity: 0.55; }
.mini-logo { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 50%; color: var(--pink); background: #fff; font-weight: 950; }
.hero-card--front strong { font-size: 37px; letter-spacing: -1px; z-index: 1; }
.hero-card--front small { z-index: 1; }
.hero-card__photo { width: 205px; height: 205px; display: grid; place-items: center; margin-top: 20px; border: 6px solid #fff; border-radius: 50%; background: rgba(255,255,255,.15); font-size: 11px; letter-spacing: 2px; z-index: 1; }
.hero-pill { position: absolute; right: -5px; bottom: 60px; z-index: 5; padding: 11px 17px; border-radius: 99px; background: #fff; color: var(--pink); box-shadow: var(--shadow-md); font-size: 13px; font-weight: 850; transform: rotate(6deg); }
.spark { position: absolute; color: #ff93c3; font-size: 35px; }
.spark--1 { left: 10px; top: 35px; }
.spark--2 { right: 10px; top: 260px; font-size: 23px; }

.benefits { position: relative; z-index: 5; margin-top: -1px; border-top: 1px solid rgba(238,223,231,.65); border-bottom: 1px solid var(--line); background: #fff; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefits article { min-height: 115px; display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-right: 1px solid var(--line); }
.benefits article:first-child { border-left: 1px solid var(--line); }
.benefit-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: var(--pink); background: var(--pink-soft); font-size: 20px; font-weight: 800; }
.benefits strong { display: block; font-size: 14px; }
.benefits p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 7px 0 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -1.6px; }
.section-heading p { max-width: 560px; margin: 12px auto 0; color: var(--muted); }
.section-heading--center { display: block; max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.text-link { color: var(--pink); font-size: 14px; font-weight: 800; }
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.section-heading--categories { align-items: flex-end; }
.featured-categories__hint { max-width: 560px; margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.featured-categories__heading-actions { display: flex; align-items: center; gap: 18px; }
.featured-categories__arrows { display: flex; gap: 9px; }
.featured-categories__arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(116,42,77,.07); cursor: pointer; font-size: 19px; font-weight: 900; transition: transform .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease; }
.featured-categories__arrow:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(232,62,140,.35); color: var(--pink); box-shadow: var(--shadow-sm); }
.featured-categories__arrow:focus-visible { outline: 3px solid rgba(232,62,140,.18); outline-offset: 3px; }
.featured-categories__arrow:disabled { opacity: .36; cursor: default; box-shadow: none; }
.featured-categories.is-static .category-grid { justify-content: center; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.featured-categories { position: relative; overflow: hidden; }
.featured-categories__viewport { width: 100%; overflow: hidden; padding: 8px 2px 18px; touch-action: pan-y pinch-zoom; }
.category-grid { display: flex; gap: 16px; will-change: transform; transition: transform .66s cubic-bezier(.22,1,.36,1); }
.category-card {
  --category-icon-color: #d72e7e;
  position: relative;
  isolation: isolate;
  flex: 0 0 calc((100% - 48px) / 4);
  min-height: 175px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  text-align: left;
  background: #fff0f6;
  box-shadow: 0 8px 22px rgba(83,41,62,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-card::before { content: ""; position: absolute; inset: 9px; z-index: 0; background-image: var(--category-bg-image, none); background-position: center; background-size: contain; background-repeat: no-repeat; opacity: .94; filter: saturate(1.02) contrast(1.025); transform: none; transition: opacity .3s ease, filter .3s ease; }
.category-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,.015) 0%, rgba(255,255,255,.04) 42%, rgba(31,20,27,.18) 64%, rgba(31,20,27,.66) 100%); }
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.category-card:hover::before { opacity: .99; filter: saturate(1.04) contrast(1.035); transform: none; }
.category-card__icon, .category-card__copy, .category-card__trend { position: relative; z-index: 2; }
.category-card__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: auto; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; color: var(--category-icon-color); background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,255,255,.72)); box-shadow: 0 8px 21px rgba(97,39,68,.13), inset 0 1px 0 rgba(255,255,255,.95); backdrop-filter: blur(5px); }
.category-card__icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.category-card__trend { position: absolute; top: 10px; right: 10px; min-height: 27px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; margin: 0; padding: 0 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.85); border-radius: 8px 8px 8px 2px; color: #fff; background: linear-gradient(120deg, #ff3f58 0%, #f00078 48%, #8f21d1 100%); box-shadow: 0 0 0 2px rgba(255,255,255,.38), 0 6px 13px rgba(185,14,96,.3); text-transform: uppercase; line-height: 1; }
.category-card__trend small { color: #fff9c4; font-size: 7px; font-weight: 950; letter-spacing: .65px; }
.category-card__trend strong { color: #fff; font-size: 8px; font-weight: 950; letter-spacing: .05px; }
.category-card__copy { width: calc(100% + 12px); margin: 12px -6px -6px; padding: 9px 10px 8px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(24,15,21,.34); box-shadow: 0 7px 20px rgba(18,10,15,.13); backdrop-filter: blur(4px); }
.category-card__copy > strong { max-width: 100%; color: #fff; font-size: 16px; line-height: 1.18; text-shadow: 0 2px 8px rgba(22,12,19,.82); }
.category-card__copy > small { max-width: 100%; margin-top: 3px; color: rgba(255,255,255,.94); font-size: 11px; font-weight: 700; line-height: 1.25; text-shadow: 0 2px 7px rgba(22,12,19,.76); }
.category-card--rose { background: #ffe0ed; --category-icon-color: #d92f79; }
.category-card--peach { background: #ffe9dd; --category-icon-color: #dc6b43; }
.category-card--lilac { background: #ebe5ff; --category-icon-color: #7652d6; }
.category-card--mint { background: #dff8f0; --category-icon-color: #238f72; }
.category-card--blue { background: #e1f1ff; --category-icon-color: #347fc4; }
.category-card--yellow { background: #fff3cb; --category-icon-color: #c58617; }

.section-heading--products { align-items: center; }
.product-tools { min-width: 280px; }
.search-box { min-height: 46px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.search-box svg { width: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.product-collection-tabs { width: 100%; display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 10px; margin: -9px 0 26px; padding: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.78); box-shadow: 0 8px 26px rgba(116,42,77,.045); }
.product-collection-tab { width: auto; min-width: 145px; min-height: 50px; flex: 0 1 calc((100% - 30px) / 4); display: inline-flex; align-items: center; justify-content: center; padding: 10px 12px; border: 1px solid #ead8e2; border-radius: 12px; background: #fff; color: #62535d; box-shadow: 0 3px 10px rgba(86,41,63,.045); cursor: pointer; font-size: clamp(11px, .68vw + 7px, 13.5px); font-weight: 850; line-height: 1.1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: normal; transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .25s ease, transform .25s cubic-bezier(.22,1,.36,1); }
.product-collection-tab:hover { color: var(--pink-deep); background: #fff8fb; border-color: #e9afc9; box-shadow: 0 7px 18px rgba(116,42,77,.08); transform: translateY(-1px); }
.product-collection-tab.is-active { color: #fff; border-color: var(--pink-dark); background: linear-gradient(135deg, var(--pink), var(--pink-dark)); box-shadow: 0 9px 22px rgba(232,62,140,.2); }
.product-collection-tab:focus-visible { outline: 3px solid rgba(232,62,140,.22); outline-offset: 3px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; opacity: 1; transform: translateY(0); transition: opacity .2s ease, transform .38s cubic-bezier(.22,1,.36,1); }
.product-grid.is-leaving { opacity: 0; transform: translateY(12px); }
.product-grid.is-entering { opacity: 0; transform: translateY(-10px); }
.product-pagination { min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin-top: 30px; }
.product-pagination.is-busy { opacity: .6; pointer-events: none; }
.product-pagination[hidden] { display: none; }
.product-pagination button { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 11px; border: 1px solid #ead8e2; border-radius: 11px; color: #5d4c56; background: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease; }
.product-pagination button:hover { border-color: #e83e8c; color: #e83e8c; transform: translateY(-1px); }
.product-pagination button.is-active { border-color: #e83e8c; color: #fff; background: #e83e8c; box-shadow: 0 7px 18px rgba(232,62,140,.2); }
.product-pagination button:disabled { cursor: not-allowed; opacity: .38; transform: none; }
.product-pagination__ellipsis { min-width: 22px; color: var(--muted); text-align: center; }
.product-pagination__status { margin-left: 5px; color: var(--muted); font-size: 11px; }
.product-card { overflow: hidden; contain: layout style paint; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 5px 20px rgba(86, 41, 63, 0.04); transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.product-card__visual { position: relative; height: 245px; overflow: hidden; display: grid; place-items: center; padding: 24px; background-color: var(--visual-bg, #ffe8f2); background-image: var(--product-bg-image); background-position: center; background-size: cover; }
.product-card__visual::before { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; }
.product-card__visual::after { content: ""; position: absolute; width: 240px; height: 240px; border: 1px dashed rgba(255,255,255,.55); border-radius: 50%; }
.product-card__image { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; filter: none; transition: transform .25s ease; }
.product-card:hover .product-card__image { transform: scale(1.035); }
.product-mock { position: relative; z-index: 2; display: grid; place-items: center; text-align: center; filter: none; }
.product-mock--hashtag { width: 175px; min-height: 105px; padding: 16px 14px; border: 7px solid #fff; border-radius: 28px 10px 28px 10px; background: var(--mock-color, #e83e8c); color: #fff; transform: rotate(-3deg); font-weight: 950; line-height: 1.02; font-size: 21px; }
.product-mock--hashtag::after { content: ""; position: absolute; width: 13px; height: 80px; bottom: -70px; left: calc(50% - 6px); border-radius: 6px; background: #fff; }
.product-mock--frame { width: 175px; height: 205px; padding: 16px; border: 13px solid var(--mock-color, #e83e8c); border-radius: 18px; background: rgba(255,255,255,.7); color: var(--mock-color, #e83e8c); font-weight: 900; }
.product-mock--frame span { align-self: start; font-size: 18px; }
.product-mock--frame b { align-self: end; font-size: 10px; letter-spacing: 1px; }
.product-mock--standee { width: 120px; height: 205px; padding: 20px 12px; border: 8px solid #fff; border-radius: 60px 60px 18px 18px; background: var(--mock-color, #e83e8c); color: #fff; font-size: 18px; font-weight: 950; line-height: 1.05; }
.product-mock--standee::after { content: ""; position: absolute; width: 110px; height: 9px; bottom: -13px; border-radius: 50%; background: rgba(50,30,40,.18); }
.product-badge { position: absolute; left: 14px; top: 14px; z-index: 4; padding: 6px 10px; border-radius: 99px; color: var(--pink-deep); background: rgba(255,255,255,.96); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.product-badge--sale, .woocommerce span.onsale.marvel-sale-badge {
  left: 6px;
  top: 6px;
  right: auto;
  width: auto;
  height: 27px;
  min-width: 0;
  min-height: 27px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 7px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 8px 8px 8px 2px;
  clip-path: none;
  color: #fff;
  background: linear-gradient(120deg, #ff3f58 0%, #f00078 48%, #8f21d1 100%);
  box-shadow: 0 0 0 2px rgba(255,255,255,.38), 0 6px 13px rgba(185,14,96,.3);
  filter: none;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .35px;
  text-align: center;
  transform: none;
  transform-origin: top left;
  animation: none;
}
.product-badge--sale small, .woocommerce span.onsale.marvel-sale-badge small { color: #fff9c4; font-size: 7px; font-weight: 950; letter-spacing: .65px; }
.product-badge--sale strong, .woocommerce span.onsale.marvel-sale-badge strong { margin: 0; color: #fff; font-size: 9px; font-weight: 950; letter-spacing: -.1px; }
.product-badge--sale::after, .woocommerce span.onsale.marvel-sale-badge::after { content: ""; position: absolute; inset: -10px auto -10px -18px; width: 13px; pointer-events: none; background: rgba(255,255,255,.72); display: none; filter: none; transform: skewX(-22deg); animation: none; }
@keyframes marvel-sale-float { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(0,-2px,0) scale(1.035); } }
@keyframes marvel-sale-shine { 0%, 28% { left: -20px; opacity: 0; } 43% { opacity: .9; } 62%, 100% { left: calc(100% + 8px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .category-grid { transition: none !important; }
  .featured-categories__arrow { transition: none !important; }
  .product-badge--sale, .woocommerce span.onsale.marvel-sale-badge, .product-badge--sale::after, .woocommerce span.onsale.marvel-sale-badge::after { animation: none; }
}
.product-card__body { padding: 18px; }
.product-card__category { color: var(--pink); font-size: 10px; font-weight: 850; letter-spacing: 1px; text-transform: uppercase; }
.product-card h3 { min-height: 45px; margin: 5px 0 11px; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.product-card h3 a:hover { color: var(--pink); }
.product-card__summary { min-height: 38px; display: -webkit-box; overflow: hidden; margin: -4px 0 13px; color: var(--muted); font-size: 11px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-card__category, .product-price { overflow-wrap: anywhere; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price del { display: block; margin-bottom: 1px; color: #a5939d; font-size: 10px; font-weight: 650; }
.product-price del + strong { color: #e32170; }
.product-price { display: grid; }
.product-price strong { color: var(--pink-deep); font-size: 17px; }
.product-price small { color: var(--muted); font-size: 10px; }
.add-cart-btn { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; transition: .2s; }
.add-cart-btn:hover { color: #fff; border-color: var(--pink); background: var(--pink); }
.add-cart-btn svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.empty-state { margin: 30px 0 0; padding: 30px; border: 1px dashed #e5c7d5; border-radius: 18px; text-align: center; color: var(--muted); background: #fff; }

.custom-order { overflow: hidden; background: linear-gradient(135deg, #9e1955 0%, #d52c79 58%, #e83e8c 100%); color: #fff; }
.custom-order__grid { display: grid; grid-template-columns: 1fr 0.86fr; gap: 68px; align-items: center; }
.eyebrow--light { color: #ffd0e4; }
.custom-order h2 { max-width: 640px; margin: 14px 0 18px; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -2px; }
.custom-order__content > p { max-width: 610px; color: rgba(255,255,255,.78); font-size: 17px; }
.check-list { display: grid; gap: 12px; margin: 25px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 31px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; color: var(--pink); background: #fff; font-size: 12px; font-weight: 900; }
.custom-order__contact { display: grid; margin-top: 30px; }
.custom-order__contact span { color: rgba(255,255,255,.7); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.custom-order__contact a { font-size: 28px; font-weight: 900; }
.quote-form { padding: 30px; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 25px 70px rgba(81, 10, 44, 0.3); }
.quote-form__head { display: grid; margin-bottom: 21px; }
.quote-form__head span { color: var(--pink); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 1px; }
.quote-form__head strong { font-size: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid label { display: grid; gap: 6px; }
.form-grid label > span { color: #5f535d; font-size: 12px; font-weight: 750; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: #fffafd; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form-grid input, .form-grid select { height: 46px; padding: 0 12px; }
.form-grid textarea { padding: 12px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(232,62,140,.1); }
.form-grid__full { grid-column: 1 / -1; }
.quote-form .btn { margin-top: 18px; }
.quote-form > small { display: block; margin-top: 10px; color: var(--muted); text-align: center; font-size: 10px; }

.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.process-grid::before { content: ""; position: absolute; left: 12%; right: 12%; top: 50px; border-top: 1px dashed #e7b7cd; }
.process-grid article { position: relative; z-index: 1; padding: 26px 23px; border: 1px solid var(--line); border-radius: 22px; background: #fff; text-align: center; box-shadow: var(--shadow-sm); }
.process-grid article > span { position: absolute; top: 14px; right: 16px; color: #edc5d8; font-size: 12px; font-weight: 900; }
.process-icon { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 17px; border: 8px solid #fff; border-radius: 50%; background: var(--pink-soft); color: var(--pink); box-shadow: 0 0 0 1px var(--line); font-size: 23px; }
.process-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process-icon--delivery svg { width: 34px; height: 28px; stroke-width: 1.65; }
.process-grid h3 { margin: 0 0 7px; font-size: 17px; }
.process-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.section--reviews { background: #fff8fb; }
.rating-summary { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 10px; }
.rating-summary strong { font-size: 25px; }
.rating-summary span { color: #ffb526; letter-spacing: 2px; }
.rating-summary small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; text-align: right; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-grid article { padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.review-stars { color: #ffb526; letter-spacing: 2px; font-size: 13px; }
.review-grid article > p { min-height: 88px; color: #5b4f59; font-size: 14px; }
.review-author { display: flex; align-items: center; gap: 11px; margin-top: 20px; }
.review-author > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ef6aaa, var(--pink)); font-size: 12px; font-weight: 900; }
.review-author div { display: grid; }
.review-author small { color: var(--muted); font-size: 10px; }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.faq-grid h2 { margin: 10px 0 15px; font-size: clamp(34px, 4vw, 50px); line-height: 1.1; letter-spacing: -1.5px; }
.faq-grid > div:first-child p { color: var(--muted); }
.faq-grid > div:first-child .btn { margin-top: 15px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.faq-list summary { position: relative; padding: 19px 52px 19px 20px; cursor: pointer; list-style: none; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--pink); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 13px; }

.site-footer { padding: 68px 0 22px; color: rgba(255,255,255,.78); background: #2b2029; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .8fr 1.05fr 1fr; gap: clamp(24px, 3vw, 44px); }
.footer-grid--compact { grid-template-columns: 1.2fr .8fr 1.1fr 1fr; }
.brand--footer { color: #fff; }
.brand--footer .brand__text small { color: rgba(255,255,255,.5); }
.footer-grid > div:first-child > p { max-width: 330px; }
.footer-grid h3 { margin: 3px 0 17px; color: #fff; font-size: 14px; }
.footer-grid > div:not(:first-child) > a { display: block; margin: 9px 0; font-size: 13px; }
.footer-grid a:hover { color: #ff9ac5; }
.footer-grid p { font-size: 13px; }
.footer-grid p strong { color: #fff; }
.social-row { display: flex; gap: 8px; margin-top: 20px; }
.social-row a { padding: 7px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; font-size: 11px; }
.shipping-partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.shipping-partner { min-width: 0; min-height: 34px; display: flex; align-items: center; gap: 6px; padding: 6px 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: var(--partner-color, #e83e8c); background: rgba(255,255,255,.07); line-height: 1; }
.shipping-partner span { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; border-radius: 5px; color: #fff; background: var(--partner-color, #e83e8c); font-size: 6px; font-weight: 950; letter-spacing: -.4px; }
.shipping-partner strong { min-width: 0; overflow: hidden; color: var(--partner-color, #e83e8c); font-size: 9px; font-weight: 900; letter-spacing: -.2px; text-overflow: ellipsis; white-space: nowrap; }
.shipping-partner--ahamove { --partner-color: #ef6c2f; }
.shipping-partner--be { --partner-color: #1767c8; text-transform: lowercase; }
.shipping-partner--grab { --partner-color: #00a84f; }
.shipping-partner--ghn { --partner-color: #f26a21; }
.shipping-partner--ghtk { --partner-color: #188442; }
.shipping-partner--lalamove { --partner-color: #f45d22; }
.shipping-partner--xanhsm { --partner-color: #00a486; }
.shipping-partner--xanhsm strong::after { content: "Green SM"; display: block; margin-top: 2px; color: #61c9b5; font-size: 5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.footer-certification-compact { margin-top: 24px; }
.footer-certification-compact img { width: min(100%, 260px); max-height: 82px; object-fit: contain; object-position: left center; }
.moit-placeholder { width: min(100%, 330px); min-height: 84px; display: flex; align-items: center; gap: 13px; padding: 13px 18px; border: 5px solid #1286bc; border-radius: 18px; color: #1479aa; background: #fff; font-size: 19px; font-weight: 900; line-height: 1.05; }
.moit-placeholder > b { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #168ac2; font-size: 27px; }
.moit-placeholder small { font-size: 12px; letter-spacing: .6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: 11px; }
.footer-bottom a:hover { color: #ff9ac5; }

.floating-contact { position: fixed; right: 20px; z-index: 32; width: 51px; height: 51px; display: grid; place-items: center; contain: layout paint; border-radius: 50%; color: #fff; background-clip: padding-box; box-shadow: 0 8px 22px rgba(48,31,40,.2); transform: translate3d(0,0,0); transition: transform .2s ease; }
.floating-contact:hover { transform: translateY(-3px) scale(1.04); }
.floating-contact--phone { bottom: 84px; background: #35b56b; }
.floating-contact--phone svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.floating-contact--zalo { bottom: 22px; background: #1576ef; font-size: 12px; }

.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(31,20,28,.58); }
.cart-drawer { position: fixed; top: 0; right: 0; z-index: 80; width: min(430px, 100%); max-width: 100vw; height: 100dvh; display: flex; flex-direction: column; visibility: hidden; pointer-events: none; background: #fff; box-shadow: -18px 0 60px rgba(45,21,35,.2); transform: translate3d(100%, 0, 0); transition: transform .28s ease, visibility 0s linear .28s; }
.cart-drawer.is-open { visibility: visible; pointer-events: auto; transform: translate3d(0, 0, 0); transition-delay: 0s; }
.drawer__head { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.drawer__head > div { display: grid; }
.drawer__head span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.drawer__head strong { font-size: 20px; }
.drawer__head button, .modal__close { border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 30px; line-height: 1; }
.drawer__body { overflow: auto; flex: 1; padding: 15px 20px; }
.drawer__empty { flex: 1; display: grid; place-content: center; justify-items: center; padding: 30px; text-align: center; }
.drawer__empty > div { font-size: 44px; }
.drawer__empty p { color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-item__thumb { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--item-color, var(--pink)); font-size: 10px; font-weight: 900; text-align: center; line-height: 1.1; }
.cart-item__info { display: grid; gap: 3px; }
.cart-item__info strong { font-size: 13px; line-height: 1.35; }
.cart-item__info span { color: var(--pink-deep); font-size: 13px; font-weight: 800; }
.cart-item__qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.cart-item__qty button { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer; }
.cart-item__remove { border: 0; background: transparent; color: #b7a8b0; cursor: pointer; font-size: 17px; }
.drawer__footer { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: #fff; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 13px; }
.cart-total strong { color: var(--pink-deep); font-size: 21px; }
.drawer__footer small { display: block; margin-top: 9px; color: var(--muted); text-align: center; font-size: 10px; }

.modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 22px; background: rgba(31,20,28,.66); }
.modal.is-open { display: grid; }
.modal__dialog { position: relative; width: min(900px, 100%); max-height: calc(100dvh - 44px); overflow: auto; display: grid; grid-template-columns: .92fr 1.08fr; border-radius: 26px; background: #fff; box-shadow: 0 30px 90px rgba(31,20,28,.35); }
.modal__close { position: absolute; right: 15px; top: 12px; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); }
.modal__art { min-height: 560px; display: grid; place-items: center; overflow: hidden; background-color: var(--modal-bg, #ffe5f0); background-image: var(--product-bg-image); background-position: center; background-size: cover; }
.modal__art .product-mock { transform: scale(1.35) rotate(-2deg); }
.modal-product-image { position: relative; z-index: 2; width: 84%; height: 84%; object-fit: contain; filter: none; }
.modal__content { padding: 48px 38px 38px; }
.modal__category { color: var(--pink); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: 1px; }
.modal__content h2 { margin: 7px 0 9px; font-size: 33px; line-height: 1.18; letter-spacing: -1px; }
.modal__price { color: var(--pink-deep); font-size: 24px; font-weight: 900; }
.modal__content > p { color: var(--muted); }
.modal__specs { display: grid; gap: 9px; margin: 20px 0; padding: 16px; border-radius: 15px; background: #fff7fa; }
.modal__specs div { display: flex; justify-content: space-between; gap: 15px; font-size: 12px; }
.modal__specs span { color: var(--muted); }
.modal__specs strong { text-align: right; }
.quantity-field { display: grid; gap: 7px; margin: 16px 0; }
.quantity-field > span { font-size: 12px; font-weight: 800; }
.quantity-field > div { width: 132px; height: 43px; display: grid; grid-template-columns: 38px 1fr 38px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.quantity-field button { border: 0; background: #fff7fa; cursor: pointer; font-size: 18px; }
.quantity-field input { width: 100%; border: 0; outline: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.quantity-field input::-webkit-outer-spin-button, .quantity-field input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: min(430px, calc(100% - 32px)); padding: 12px 17px; border-radius: 12px; color: #fff; background: #2f2430; box-shadow: 0 15px 40px rgba(31,20,28,.3); font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: .25s ease; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1080px) {
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 13px; }
  .category-card { flex-basis: calc((100% - 32px) / 3); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-card--front { left: 62px; }
}

@media (max-width: 860px) {
  .product-collection-tab { flex-basis: calc((100% - 20px) / 3); }
  .announcement__inner { justify-content: center; }
  .announcement__inner span { display: none; }
  .site-header { overflow: visible; }
  .header__inner { min-height: 70px; }
  .mobile-menu-btn { display: block; margin-left: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .main-nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 100; display: none; max-height: var(--mobile-menu-max-height, calc(100dvh - 100px)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; margin-left: 0; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 18px 55px rgba(73,30,52,.20); }
  .main-nav.is-open { display: block; }
  .main-nav > a, .mega-menu__toggle { min-height: 46px; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 11px 8px; border-bottom: 1px solid #f4eaf0; text-align: left; }
  .main-nav > a:last-child { border-bottom: 0; }
  .main-nav > a::after, .mega-menu__toggle::after { display: none; }
  .mega-menu { position: relative; width: 100%; }
  .mega-menu__toggle > span { flex: 0 0 auto; }
  .mega-menu__panel { position: static; left: auto; right: auto; top: auto; width: 100%; max-height: none; display: none; overflow: visible; margin: 0; padding: 10px 8px 16px; border: 0; border-bottom: 1px solid #f4eaf0; border-radius: 0; visibility: visible; opacity: 1; box-shadow: none; pointer-events: auto; transform: none; transition: none; background: #fffafc; }
  .mega-menu.is-open .mega-menu__panel { display: block; max-height: none; overflow: visible; padding: 10px 8px 16px; border-bottom-color: #f4eaf0; visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .mega-menu__grid { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; gap: 0; }
  .mega-menu__group:nth-child(n) { grid-column: 1; grid-row: auto; padding: 13px 4px; border-bottom: 1px solid #f3e6ed; }
  .mega-menu__group:last-child { border-bottom: 0; }
  .mega-menu__group h3 { margin: 0 0 7px; font-size: 16px; line-height: 1.35; }
  .mega-menu__group ul { gap: 0; }
  .mega-menu__group li a { min-height: 38px; align-items: center; padding: 7px 0; font-size: 13px; line-height: 1.35; }
  body.mobile-nav-open { overflow: hidden; }
  .header__actions .icon-btn { display: none; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; padding-top: 54px; gap: 35px; }
  .hero__content { text-align: center; }
  .hero__content .eyebrow, .hero__actions { justify-content: center; }
  .hero__content > p { margin-left: auto; margin-right: auto; }
  .hero__facts { justify-content: center; }
  .hero__visual { width: min(520px, 100%); margin: 0 auto; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits article:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .benefits article:nth-child(4) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .custom-order__grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid article > p { min-height: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .shipping-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .product-collection-tabs { gap: 7px; margin-top: -4px; margin-bottom: 20px; padding: 7px; border-radius: 15px; }
  .product-collection-tab { width: auto; min-width: 0; min-height: 44px; flex-basis: calc((100% - 7px) / 2); padding: 9px 7px; font-size: clamp(10px, 3vw, 12.5px); line-height: 1.08; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .header__inner, .simple-header__inner { gap: 10px; }
  .brand__mark { width: 39px; height: 39px; font-size: 21px; }
  .brand__text strong { font-size: 16px; }
  .brand__text small { font-size: 8px; }
  .policy-toc { grid-template-columns: 1fr; padding: 16px; }
  .policy-toc strong { grid-column: 1; }
  .simple-header .brand__text small { display: none; }
  .simple-header .btn--ghost { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .cart-btn span { display: none; }
  .hero__grid { padding-top: 42px; padding-bottom: 50px; }
  .hero h1 { font-size: 46px; letter-spacing: -2px; }
  .hero__content > p { font-size: 16px; }
  .hero__facts { gap: 15px; }
  .hero__facts strong { font-size: 13px; }
  .hero__facts span { font-size: 10px; }
  .hero__visual { min-height: 410px; transform: scale(.84); transform-origin: center top; margin-bottom: -60px; }
  .hero__visual--uploaded { min-height: 350px; margin-bottom: 0; transform: none; }
  .hero__uploaded-image { width: min(var(--hero-foreground-size, 125%), 620px); height: auto; max-height: 390px; }
  .hero-card--front { left: 50%; transform: translateX(-50%) rotate(-1deg); }
  .hero-card--back { left: -5px; }
  .hero-card--middle { right: -7px; }
  .hero-pill { right: -16px; }
  .benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits article { min-height: 108px; padding: 15px; align-items: flex-start; }
  .benefit-icon { width: 38px; height: 38px; border-radius: 11px; }
  .benefits strong { font-size: 12px; }
  .benefits p { font-size: 10px; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 14px; }
  .section-heading h2 { font-size: 35px; }
  .section-heading--categories { display: flex; align-items: flex-end; }
  .featured-categories__heading-actions { margin-top: 16px; }
  .category-grid { gap: 12px; }
  .category-card { flex-basis: calc((100% - 12px) / 2); min-height: 145px; padding: 17px; border-radius: 19px; }
  .category-card__icon { width: 42px; height: 42px; }
  .featured-categories__heading-actions { width: 100%; justify-content: space-between; }
  .featured-categories__arrow { width: 40px; height: 40px; }
  .section-heading--products { display: block; }
  .product-tools { min-width: 0; margin-top: 18px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { border-radius: 18px; }
  .product-card__visual { height: 185px; padding: 15px; }
  .product-card__visual::before { width: 145px; height: 145px; }
  .product-mock--hashtag { width: 126px; min-height: 80px; border-width: 5px; font-size: 15px; }
  .product-mock--hashtag::after { width: 9px; height: 58px; bottom: -51px; }
  .product-mock--frame { width: 125px; height: 150px; border-width: 9px; }
  .product-mock--frame span { font-size: 13px; }
  .product-mock--standee { width: 90px; height: 150px; border-width: 6px; font-size: 14px; }
  .product-badge { left: 8px; top: 8px; padding: 5px 7px; font-size: 8px; }
  .product-card__body { padding: 13px; }
  .product-card h3 { min-height: 50px; margin-bottom: 8px; font-size: 13px; }
  .product-price strong { font-size: 14px; }
  .product-price small { font-size: 8px; }
  .add-cart-btn { width: 34px; height: 34px; }
  .product-pagination { gap: 5px; margin-top: 23px; }
  .product-pagination button { min-width: 36px; height: 36px; padding: 0 9px; border-radius: 10px; font-size: 11px; }
  .product-pagination__status { width: 100%; margin: 4px 0 0; text-align: center; }
  .custom-order__grid { gap: 40px; }
  .custom-order h2 { font-size: 38px; }
  .quote-form { padding: 22px 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid__full { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { display: grid; }
  .shipping-partners { grid-template-columns: 1fr 1fr; gap: 9px; }
  .shipping-partner { min-height: 34px; padding: 6px 7px; }
  .shipping-partner span { width: 18px; height: 18px; }
  .shipping-partner strong { font-size: 9px; letter-spacing: -.2px; }
  .shipping-partner--xanhsm strong::after { font-size: 5px; }
  .modal { padding: 0; }
  .modal__dialog { width: 100%; max-width: 100vw; height: 100dvh; max-height: none; grid-template-columns: 1fr; border-radius: 0; }
  .modal__art { min-height: 310px; }
  .modal__content { padding: 28px 20px 30px; }
  .modal__content h2 { font-size: 27px; }
  .floating-contact { right: 13px; width: 47px; height: 47px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* 2026 product-gallery and content enhancements */
.site-search { position: relative; z-index: 22; padding: 12px 0; border-bottom: 1px solid var(--line); background: #fff; }
.site-search__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.site-search__box { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid #eadbe4; border-radius: 15px; background: #fff9fc; transition: border-color .2s ease, box-shadow .2s ease; }
.site-search__box:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(232,62,140,.09); }
.site-search__box svg { width: 20px; flex: 0 0 auto; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; }
.site-search__box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.site-search__box input::placeholder { color: #a08f99; }
.site-search__button { min-height: 48px; padding: 0 25px; }

.product-card { cursor: pointer; }
.product-card:focus-visible { outline: 3px solid rgba(232,62,140,.35); outline-offset: 4px; }
.product-card__gallery-label { position: absolute; right: 51px; bottom: 16px; z-index: 3; padding: 6px 9px; border-radius: 999px; color: var(--pink-deep); background: rgba(255,255,255,.9); box-shadow: 0 5px 18px rgba(80,29,55,.12); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }

.product-mock--layout-1 { transform: rotate(2.5deg); }
.product-mock--layout-2 { transform: rotate(-4deg) scale(.96); border-radius: 28px 10px 28px 10px; }
.product-mock--layout-3 { transform: rotate(1deg) scale(1.03); filter: none; }
.modal__art .product-mock--layout-1 { transform: scale(1.35) rotate(3deg); }
.modal__art .product-mock--layout-2 { transform: scale(1.28) rotate(-4deg); }
.modal__art .product-mock--layout-3 { transform: scale(1.38) rotate(1deg); }

.modal__dialog { width: min(1040px, 100%); grid-template-columns: 1.08fr .92fr; }
.modal__gallery { position: relative; min-width: 0; display: grid; grid-template-rows: minmax(390px, 1fr) auto; overflow: hidden; background: #fff8fb; }
.modal__art { min-height: 510px; transition: background .2s ease; }
.gallery-arrow { position: absolute; top: 43%; z-index: 4; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: var(--pink-deep); background: rgba(255,255,255,.92); box-shadow: 0 10px 28px rgba(76,29,52,.18); cursor: pointer; font-size: 35px; line-height: 1; transition: transform .18s ease, background .18s ease; }
.gallery-arrow:hover { transform: scale(1.07); background: #fff; }
.gallery-arrow--prev { left: 16px; }
.gallery-arrow--next { right: 16px; }
.gallery-counter { position: absolute; left: 50%; top: 17px; z-index: 4; transform: translateX(-50%); padding: 7px 12px; border-radius: 999px; color: #5d4351; background: rgba(255,255,255,.9); box-shadow: 0 8px 20px rgba(76,29,52,.1); font-size: 10px; font-weight: 850; white-space: nowrap; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.gallery-thumb { min-width: 0; padding: 3px; border: 2px solid transparent; border-radius: 13px; background: transparent; cursor: pointer; }
.gallery-thumb.is-active { border-color: var(--pink); }
.gallery-thumb span { min-height: 62px; display: grid; place-items: center; padding: 7px; border-radius: 9px; color: #fff; background: var(--thumb-bg); box-shadow: inset 0 0 0 999px color-mix(in srgb, var(--thumb-color) 80%, transparent); font-size: 8px; font-weight: 900; line-height: 1.15; text-align: center; }
.gallery-thumb__image { width: 100%; height: 62px; object-fit: contain; padding: 4px; border-radius: 9px; background-image: var(--product-bg-image); background-position: center; background-size: cover; }
.modal__content { padding: 44px 34px 32px; }
.product-detail-list { display: grid; gap: 9px; margin: 19px 0; padding: 16px; border: 1px solid #f3dce8; border-radius: 16px; background: #fff8fb; }
.product-detail-list > div { display: grid; grid-template-columns: 22px 1fr; gap: 7px; align-items: start; }
.product-detail-list > div > span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--pink); font-size: 10px; font-weight: 900; }
.product-detail-list p { margin: 0; color: #5f5059; font-size: 12px; line-height: 1.55; }
.product-detail-list strong { color: var(--ink); }
.modal-contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 5px; }
.modal-contact-row .btn--text { padding-left: 0; padding-right: 0; }

.faq-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.faq-grid > div:first-child .faq-contact-actions .btn { margin-top: 0; }
.faq-list details p, .faq-list details li { color: var(--muted); font-size: 13px; }
.faq-list details ol, .faq-list details ul { display: grid; gap: 8px; margin: 0; padding: 0 22px 20px 42px; }
.faq-list details ol strong, .faq-list details ul strong { color: var(--ink); }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { padding: 0 !important; }
.faq-answer ul { padding: 4px 0 7px 22px !important; }
.footer-message-link { display: inline-block; margin-top: 3px; color: #ff9ac5; font-weight: 800; }
.floating-contact--phone { bottom: 146px; }
.floating-contact--messenger { bottom: 84px; background: #1877f2; font-family: Georgia, serif; font-size: 27px; font-style: italic; }

/* WooCommerce */
.woocommerce-page .content-page, .woocommerce-page .woocommerce-shell { width: min(calc(100% - 40px), var(--container)); max-width: var(--container); margin: 0 auto; padding-top: 60px; padding-bottom: 80px; }
.woocommerce-page .content-card { max-width: none; }
.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: 13px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.woocommerce ul.products li.product a img, .woocommerce div.product div.images img { aspect-ratio: 1; object-fit: contain; padding: 18px; border-radius: 16px; background-color: #fff0f6; background-image: var(--product-bg-image); background-position: center; background-size: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink); font-size: 17px; line-height: 1.35; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--pink); font-weight: 850; }
.woocommerce span.onsale.marvel-sale-badge { left: 6px; top: 6px; right: auto; z-index: 8; margin: 0; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { box-sizing: border-box; min-height: 40px; display: inline-flex !important; align-items: center; justify-content: center; padding-top: 0 !important; padding-bottom: 0 !important; border-radius: 12px; color: #fff; background: var(--pink); line-height: 1.2 !important; text-align: center; vertical-align: middle; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { color: #fff; background: var(--pink-dark); }
.woocommerce .return-to-shop { text-align: center; }
.woocommerce .return-to-shop .button, .woocommerce a.wc-backward { min-height: 44px; padding-inline: 18px !important; }
.woocommerce table.shop_table { border-color: var(--line); border-radius: 14px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.woocommerce-checkout .woocommerce-shell { width: min(calc(100% - 40px), var(--container)); max-width: var(--container); margin-inline: auto; padding: 26px 0 54px; overflow: visible; }
.woocommerce-cart .woocommerce-shell, .woocommerce-account .woocommerce-shell { padding-top: 28px; padding-bottom: 56px; }
.woocommerce-flow-page > h1 { margin: 0 0 20px; color: var(--ink); font-size: clamp(27px, 3vw, 36px); }
.woocommerce-flow-page__body { min-width: 0; }
.woocommerce-cart .woocommerce-flow-page__body > .woocommerce { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .72fr); gap: 22px; align-items: start; }
.woocommerce-cart .woocommerce-flow-page__body > .woocommerce::before, .woocommerce-cart .woocommerce-flow-page__body > .woocommerce::after { display: none !important; }
.woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart .woocommerce-cart-form { grid-column: 1; min-width: 0; margin: 0; }
.woocommerce-cart .cart-collaterals { grid-column: 2; width: 100%; min-width: 0; margin: 0; position: sticky; top: 100px; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100% !important; float: none !important; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.woocommerce-cart .cart-collaterals .cart_totals > h2 { margin: 0 0 10px; font-size: 20px; }
.woocommerce-cart table.shop_table { margin: 0; border-radius: 15px; background: #fff; }
.woocommerce-cart table.shop_table th { padding: 11px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .45px; }
.woocommerce-cart table.shop_table td { padding: 11px 10px; vertical-align: middle; }
.woocommerce-cart table.shop_table img { width: 68px; height: 68px; padding: 4px; border-radius: 10px; object-fit: contain; background: #fff0f6; }
.woocommerce-cart td.product-name a { color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.35; }
.woocommerce-cart td.product-price, .woocommerce-cart td.product-subtotal { white-space: nowrap; font-size: 12px; font-weight: 750; }
.woocommerce-cart .quantity .qty { width: 58px; min-height: 38px; padding: 6px; border: 1px solid var(--line); border-radius: 9px; }
.woocommerce-cart td.actions { padding: 12px !important; }
.woocommerce-cart td.actions .coupon { float: none !important; display: inline-flex; align-items: center; gap: 7px; }
.woocommerce-cart td.actions .coupon .input-text { width: 145px !important; min-height: 38px; margin: 0 !important; }
.woocommerce-cart td.actions .button { min-height: 38px; padding: 0 13px; font-size: 11px; }
.woocommerce-cart .cart_totals table { margin: 0 0 4px; border: 0; }
.woocommerce-cart .cart_totals table th, .woocommerce-cart .cart_totals table td { padding: 11px 4px; font-size: 12px; }
.woocommerce-cart .cart_totals .order-total .amount { color: var(--pink); font-size: 18px; }
.woocommerce-cart .wc-proceed-to-checkout { display: flex; align-items: center; justify-content: flex-end; padding: 13px 0 0; text-align: right; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { width: auto !important; height: 46px; min-height: 46px; display: inline-flex !important; align-items: center !important; justify-content: center !important; float: none !important; margin: 0 !important; padding: 0 22px !important; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #7652d6, #9a63de); font-size: 12px; font-weight: 900; line-height: 1 !important; text-align: center; white-space: nowrap; box-shadow: 0 8px 20px rgba(118,82,214,.2); }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: linear-gradient(135deg, #6441c6, #854bd1); }
.wc-block-cart__submit-container { display: flex; justify-content: center; }
.wc-block-cart__submit-button, .wc-block-cart__submit-button .wc-block-components-button__text { display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; line-height: 1.2 !important; }
.woocommerce-checkout .woocommerce-form-coupon-toggle, .woocommerce-checkout form.checkout_coupon { display: none !important; }
.woocommerce-checkout .woocommerce-flow-page, .woocommerce-checkout .woocommerce-flow-page__body, .woocommerce-checkout .woocommerce-flow-page__body > .woocommerce { width: 100%; max-width: 100%; min-width: 0; margin-inline: 0; }
.marvel-checkout { width: 100%; max-width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, .76fr) minmax(0, 1.12fr); grid-template-areas: "notice notice notice" "customer delivery summary"; gap: 0 14px; align-items: start; overflow: visible; }
.marvel-checkout::before, .marvel-checkout::after { display: none !important; }
.marvel-checkout, .marvel-checkout *, .woocommerce-cart .woocommerce-flow-page__body > .woocommerce, .woocommerce-cart .woocommerce-flow-page__body > .woocommerce * { box-sizing: border-box; }
.marvel-checkout > .woocommerce-NoticeGroup-checkout { grid-area: notice; margin-bottom: 16px; }
.marvel-checkout__column { width: 100%; max-width: 100%; min-width: 0; }
.marvel-checkout__column > h2 { margin: 0 0 13px; color: var(--ink); font-size: 20px; line-height: 1.25; }
.marvel-checkout__customer { grid-area: customer; }
.marvel-checkout__delivery { grid-area: delivery; }
.marvel-checkout__summary { grid-area: summary; min-width: 0; align-self: start; margin: 0; }
.marvel-checkout__summary-card { min-width: 0; padding: 17px; border: 1px solid #e8e1e5; border-radius: 15px; background: #fafafa; }
.marvel-checkout__delivery-note { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 14px 15px; border: 1px solid #b9dfe8; border-radius: 11px; color: #174d5a; background: #e8f7fa; font-size: 15px; font-weight: 760; line-height: 1.55; }
.marvel-checkout__delivery-note span { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; color: #fff; background: #3ca6bd; font-size: 11px; font-weight: 900; }
.marvel-checkout__payment-title { margin-top: 22px !important; }
.marvel-checkout .woocommerce-billing-fields > h3, .marvel-checkout .woocommerce-additional-fields > h3 { display: none; }
.marvel-checkout .woocommerce-shipping-fields h3 { margin: 0 0 12px; font-size: 13px; }
.marvel-checkout .form-row { margin: 0 0 10px; padding: 0; }
.marvel-checkout .form-row label { display: block; margin-bottom: 4px; color: #554a54; font-size: 11px; font-weight: 750; }
.marvel-checkout .form-row input.input-text, .marvel-checkout .form-row textarea, .marvel-checkout .form-row select, .marvel-checkout .select2-container .select2-selection--single { min-height: 44px; border-color: #ded8dc; border-radius: 8px; background: #fff; box-shadow: none; font-size: 12px; }
.marvel-checkout .form-row textarea { min-height: 78px; }
.marvel-checkout .form-row .woocommerce-input-wrapper, .marvel-checkout .form-row .select2-container { width: 100% !important; }
.marvel-checkout .marvel-ward-field select:disabled + .select2-container .select2-selection--single { cursor: not-allowed; background: #f3f1f2; }
.marvel-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 42px; }
.marvel-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 42px; }
.marvel-checkout #payment { border-radius: 12px; background: transparent; }
.marvel-checkout #payment ul.payment_methods { margin: 0; padding: 0; overflow: hidden; border: 1px solid #ddd7db; border-radius: 12px; background: #fff; }
.marvel-checkout #payment ul.payment_methods::before, .marvel-checkout #payment ul.payment_methods::after { display: none; }
.marvel-checkout #payment ul.payment_methods li { margin: 0; padding: 13px 12px; border-bottom: 1px solid #e7e1e5; }
.marvel-checkout #payment ul.payment_methods li:last-child { border-bottom: 0; }
.marvel-checkout #payment ul.payment_methods li > label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; color: #40363e; font-size: 12px; font-weight: 760; overflow-wrap: anywhere; }
.marvel-checkout #payment ul.payment_methods li img { width: 78px; max-height: 28px; margin: 0 0 0 auto; object-fit: contain; }
.marvel-checkout #payment div.payment_box { margin: 10px -2px -2px; padding: 10px; border-radius: 8px; color: #4f6065; background: #edf8fb; font-size: 11px; }
.marvel-checkout #payment div.payment_box::before { border-bottom-color: #edf8fb; }
.marvel-checkout #payment .place-order { margin: 14px 0 0; padding: 0; background: transparent; }
.marvel-checkout__summary table.shop_table { width: 100%; table-layout: fixed; margin: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; }
.marvel-checkout__summary table.shop_table th, .marvel-checkout__summary table.shop_table td { min-width: 0; padding: 11px 4px; border-top: 1px solid #e8e3e6; overflow-wrap: anywhere; }
.marvel-checkout__summary table.shop_table thead th { padding-top: 4px; border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .7px; }
.marvel-checkout__summary table.shop_table .product-total { width: 28%; text-align: right; }
.marvel-checkout__summary .order-total th, .marvel-checkout__summary .order-total td { color: var(--ink); font-size: 14px; }
.marvel-checkout__summary tr.woocommerce-shipping-totals.shipping th, .marvel-checkout__summary tr.woocommerce-shipping-totals.shipping td { display: block; width: 100% !important; text-align: left; }
.marvel-checkout__summary tr.woocommerce-shipping-totals.shipping td { padding-top: 7px; color: #4f4650; font-size: 14px; font-weight: 720; line-height: 1.55; }
.marvel-checkout__summary tr.woocommerce-shipping-totals.shipping ul#shipping_method { margin: 0; text-align: left; }
.marvel-checkout__summary tr.woocommerce-shipping-totals.shipping ul#shipping_method li { margin: 0; padding: 10px 12px; border-radius: 9px; background: #eef9fb; }
.marvel-checkout__summary tr.woocommerce-shipping-totals.shipping ul#shipping_method label { display: inline; font-weight: 760; }
.marvel-checkout__summary .order-total th { width: 38%; white-space: nowrap; }
.marvel-checkout__summary .order-total td { width: 62%; text-align: right; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.marvel-checkout__summary .order-total td * { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.marvel-checkout__summary .order-total .amount { display: inline-block; max-width: 100%; color: #188ab7; font-size: clamp(16px, 1.45vw, 19px); font-weight: 900; white-space: nowrap; }
.marvel-checkout-product { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 9px; align-items: center; color: #342b32; font-size: 11px; font-weight: 760; line-height: 1.35; }
.marvel-checkout-product__image { width: 48px !important; height: 48px !important; margin: 0 !important; padding: 3px !important; border: 1px solid #e1dade; border-radius: 8px !important; object-fit: contain; background: #fff; }
.marvel-checkout-product__name { min-width: 0; overflow-wrap: anywhere; }
.marvel-checkout .product-quantity { display: inline-flex; min-width: 19px; height: 19px; align-items: center; justify-content: center; margin: 3px 0 0; padding: 0 5px; border-radius: 999px; color: #fff; background: #2c9fc2; font-size: 9px; }
.marvel-checkout__summary table.shop_table tr.marvel-checkout-coupon-row td { padding: 12px 4px 13px; border-top: 1px solid #e8e3e6; }
.marvel-checkout-coupon { margin: 0; padding: 11px; border: 1px solid #efcfdf; border-radius: 12px; background: linear-gradient(135deg, #fff 0%, #fff7fb 100%); box-shadow: 0 5px 18px rgba(116,42,77,.045); }
.marvel-checkout-coupon__heading { min-width: 0; display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.marvel-checkout-coupon__heading > span:last-child { min-width: 0; display: grid; gap: 1px; }
.marvel-checkout-coupon__heading strong { color: #453842; font-size: 11px; line-height: 1.3; }
.marvel-checkout-coupon__heading small { color: #8b7783; font-size: 9px; font-weight: 550; line-height: 1.35; }
.marvel-checkout-coupon__icon { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: linear-gradient(135deg, var(--pink), var(--pink-dark)); font-size: 11px; font-weight: 900; box-shadow: 0 5px 12px rgba(232,62,140,.2); }
.marvel-checkout-coupon__form { display: block; }
.marvel-checkout-coupon__form-inner { min-height: 0; }
.marvel-checkout-coupon__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.marvel-checkout-coupon__controls input { width: 100%; min-width: 0; height: 40px; padding: 0 11px; border: 1px solid #dcd0d7; border-radius: 9px; outline: 0; background: #fff; font-size: 11px; text-transform: uppercase; transition: border-color .2s ease, box-shadow .2s ease; }
.marvel-checkout-coupon__controls input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(232,62,140,.1); }
.marvel-checkout-coupon__controls button { min-height: 40px; padding: 0 13px; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(135deg, var(--pink), var(--pink-dark)); font-size: 10px; font-weight: 850; cursor: pointer; box-shadow: 0 6px 15px rgba(201,35,114,.18); transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.marvel-checkout-coupon__controls button:hover { transform: translateY(-1px); box-shadow: 0 8px 19px rgba(201,35,114,.24); }
.marvel-checkout-coupon__controls button:disabled { cursor: wait; opacity: .65; transform: none; }
.marvel-checkout-coupon__message { min-height: 0; margin: 6px 1px 0; color: #247351; font-size: 10px; line-height: 1.35; }
.marvel-checkout-coupon__message:empty { display: none; }
.marvel-checkout-coupon__message.is-error { color: #b42318; }
.marvel-checkout__place-order:empty { display: none; }
.marvel-checkout__place-order .place-order { margin: 14px 0 0 !important; padding: 14px 0 0 !important; border-top: 1px solid #e4dfe2; background: transparent !important; }
.marvel-checkout__place-order #place_order { width: 100%; min-height: 46px; float: none; display: flex !important; align-items: center; justify-content: center; padding: 0 16px !important; border-radius: 10px; background: linear-gradient(135deg, #e83e8c, #c92372); font-size: 12px; font-weight: 900; line-height: 1.2 !important; text-align: center; letter-spacing: .2px; box-shadow: 0 8px 20px rgba(201,35,114,.18); }
.marvel-vietqr-checkout-label { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; }
.marvel-vietqr-checkout-label img { width: 126px; max-height: 38px; object-fit: contain; }
.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout { gap: 38px; }
.wp-block-woocommerce-checkout .wc-block-components-sidebar { padding: 25px; border-left: 1px solid #e7e1e5; background: #fafafa; }
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option { margin-bottom: 8px; border: 1px solid #e2dade; border-radius: 12px; background: #fff; }
.marvel-vietqr-checkout-note { padding: 8px 0 3px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.marvel-vietqr-box { max-width: 820px; margin: 30px 0; padding: 26px; border: 1px solid #f1d3e2; border-radius: 22px; background: linear-gradient(145deg, #fff 0%, #fff7fb 100%); box-shadow: var(--shadow-sm); }
.marvel-vietqr-box__heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 22px; }
.marvel-vietqr-box__heading h2 { margin: 0 0 4px; color: var(--ink); font-size: 24px; }
.marvel-vietqr-box__heading p, .marvel-vietqr-box__note { margin: 0; color: var(--muted); line-height: 1.55; }
.marvel-vietqr-box__check { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #22a06b; font-weight: 900; }
.marvel-vietqr-box__grid { display: grid; grid-template-columns: minmax(220px, 290px) 1fr; gap: 26px; align-items: center; }
.marvel-vietqr-box__image { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.marvel-vietqr-box__details { display: grid; gap: 0; margin: 0; }
.marvel-vietqr-box__details > div { display: grid; grid-template-columns: minmax(130px, .8fr) 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f1e1e9; }
.marvel-vietqr-box__details dt { color: var(--muted); }
.marvel-vietqr-box__details dd { margin: 0; color: var(--ink); font-weight: 750; word-break: break-word; }
.marvel-vietqr-box__details .marvel-vietqr-box__amount { color: var(--pink); font-size: 19px; }
.marvel-vietqr-box__note { margin-top: 20px; padding: 12px 14px; border-radius: 12px; background: #fff1f7; font-size: 13px; }
.marvel-vietqr-box__actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #f1dbe5; }
.marvel-vietqr-box__actions .marvel-vietqr-box__continue { flex: 0 0 auto; margin: 0; padding: 11px 18px; border: 0; border-radius: 999px; color: #fff; background: var(--pink); font-weight: 850; line-height: 1.25; text-decoration: none; box-shadow: 0 8px 20px rgba(201,35,114,.18); }
.marvel-vietqr-box__actions .marvel-vietqr-box__continue:hover { color: #fff; background: var(--pink-dark); }
.marvel-vietqr-box__actions span { color: var(--muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 980px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .admin-bar .site-header,
  .admin-bar .simple-header { top: 32px; }
  .site-search { padding: 9px 0; }
  .modal__dialog { grid-template-columns: 1fr; }
  .modal__gallery { grid-template-rows: minmax(330px, 1fr) auto; }
  .modal__art { min-height: 390px; }
  .woocommerce-cart .woocommerce-flow-page__body > .woocommerce { grid-template-columns: 1fr; gap: 18px; }
  .woocommerce-cart .woocommerce-cart-form, .woocommerce-cart .cart-collaterals { grid-column: 1; }
  .woocommerce-cart .cart-collaterals { position: static; }
  .marvel-checkout { grid-template-columns: 1fr; grid-template-areas: "notice" "customer" "delivery" "summary"; gap: 22px; }
  .marvel-checkout__customer, .marvel-checkout__delivery, .marvel-checkout__summary { grid-column: 1; }
  .marvel-checkout__summary { margin: 0; }
  .marvel-checkout__summary-card { padding: 19px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header,
  .admin-bar .simple-header { top: 46px; }
}

@media (max-width: 620px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .site-search__inner { grid-template-columns: 1fr; }
  .site-search__button { display: none; }
  .site-search__box { min-height: 46px; padding: 0 13px; border-radius: 13px; }
  .site-search__box input { font-size: 13px; }
  .product-card__gallery-label { right: 47px; bottom: 10px; padding: 5px 7px; font-size: 7px; }
  .product-badge--sale, .woocommerce span.onsale.marvel-sale-badge { left: 5px; top: 5px; height: 25px; min-height: 25px; padding-inline: 6px; }
  .modal__dialog { display: block; overflow-y: auto; }
  .modal__gallery { display: block; }
  .modal__art { min-height: 335px; }
  .gallery-arrow { top: 145px; width: 40px; height: 40px; font-size: 30px; }
  .gallery-arrow--prev { left: 10px; }
  .gallery-arrow--next { right: 10px; }
  .gallery-thumbs { position: relative; max-width: 100vw; grid-template-columns: repeat(4, minmax(65px, 1fr)); overflow-x: auto; overscroll-behavior-inline: contain; padding: 9px; -webkit-overflow-scrolling: touch; }
  .gallery-thumb span { min-height: 54px; font-size: 7px; }
  .gallery-counter { top: 12px; }
  .modal__content { padding: 25px 18px 30px; }
  .modal__content h2 { padding-right: 27px; }
  .product-detail-list { padding: 13px; }
  .floating-contact--phone { bottom: 137px; }
  .floating-contact--messenger { bottom: 75px; }
  .marvel-vietqr-box { margin: 22px 0; padding: 18px 14px; border-radius: 17px; }
  .marvel-vietqr-box__heading h2 { font-size: 20px; }
  .marvel-vietqr-box__grid { grid-template-columns: 1fr; gap: 17px; }
  .marvel-vietqr-box__image { width: min(100%, 320px); margin: 0 auto; }
  .marvel-vietqr-box__details > div { grid-template-columns: 1fr; gap: 3px; }
  .marvel-vietqr-box__actions { align-items: stretch; flex-direction: column; }
  .marvel-vietqr-box__actions .marvel-vietqr-box__continue { width: 100%; text-align: center; }
  .woocommerce-checkout .woocommerce-shell, .woocommerce-cart .woocommerce-shell, .woocommerce-account .woocommerce-shell { width: min(calc(100% - 28px), var(--container)); padding-top: 22px; }
  .marvel-checkout__summary-card { padding: 20px 14px; }
  .marvel-checkout__column > h2 { font-size: 19px; }
  .marvel-checkout #payment ul.payment_methods li { padding: 13px 11px; }
  .marvel-checkout #payment ul.payment_methods li > label { font-size: 12px; }
  .marvel-checkout #payment ul.payment_methods li img { width: 72px; }
  .marvel-checkout-product { grid-template-columns: 50px minmax(0, 1fr); gap: 9px; }
  .marvel-checkout-product__image { width: 50px !important; height: 50px !important; }
  .marvel-checkout .product-quantity { margin-left: 0; }
  .woocommerce-cart table.shop_table img { width: 58px; height: 58px; }
  .woocommerce-cart .wc-proceed-to-checkout { justify-content: center; text-align: center; }
}



/* Run decorative sale motion only while a mouse user is interacting. */
@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-badge--sale,
  .woocommerce li.product:hover span.onsale.marvel-sale-badge {
    animation: marvel-sale-float 2.2s ease-in-out 1;
  }
  .product-card:hover .product-badge--sale::after,
  .woocommerce li.product:hover span.onsale.marvel-sale-badge::after {
    display: block;
    animation: marvel-sale-shine 2.2s ease-in-out 1;
  }
}

/* Touch devices benefit most from avoiding large live filters and deep shadows. */
@media (max-width: 860px), (pointer: coarse) {
  .hero__uploaded-image,
  .product-card__image,
  .product-mock,
  .product-mock--layout-3 {
    filter: none;
  }
  .product-card,
  .category-card,
  .process-grid article,
  .review-grid article {
    box-shadow: 0 3px 14px rgba(86, 41, 63, 0.055);
  }
  .floating-contact {
    box-shadow: 0 6px 18px rgba(48,31,40,.18);
  }
  .product-badge--sale::after,
  .woocommerce span.onsale.marvel-sale-badge::after {
    display: none;
  }
  .product-card:hover,
  .category-card:hover,
  .btn:hover,
  .floating-contact:hover {
    transform: none;
  }
}


/* 1.11 performance, SEO content and navigation enhancements. */
.section--answers { padding-top: 76px; padding-bottom: 76px; background: #fff; }
.answers-heading { margin-bottom: 28px; }
.answer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.answer-grid article { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff9fc; contain: layout style paint; }
.answer-grid h3 { margin: 0 0 9px; font-size: 16px; line-height: 1.35; }
.answer-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

.scroll-top-sentinel { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; }
.back-to-top { position: fixed; right: 20px; bottom: 24px; z-index: 65; width: 48px; height: 48px; display: grid; place-items: center; contain: layout paint; padding: 0; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; color: #fff; background: var(--ink); box-shadow: 0 7px 20px rgba(47,36,48,.18); cursor: pointer; opacity: 0; pointer-events: none; transform: translate3d(0,10px,0); transition: opacity .18s ease, transform .18s ease, background-color .18s ease; }
body.home .back-to-top { bottom: 209px; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translate3d(0,0,0); }
.back-to-top:hover { background: var(--pink); }
.back-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.benefits article,
.category-card,
.process-grid article,
.review-grid article { contain: layout style paint; }

@media (max-width: 860px), (pointer: coarse) {
  .hero__blob { display: none; }
  .site-header,
  .simple-header {
    position: sticky;
    top: 0;
    z-index: 72;
    box-shadow: 0 4px 18px rgba(62, 35, 50, 0.09);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
  .admin-bar .site-header,
  .admin-bar .simple-header { top: 32px; }
  .product-grid,
  .product-card,
  .category-card,
  .btn,
  .floating-contact,
  .back-to-top { transition: none; }
  .product-card__visual::after { display: none; }
  .hero-card { box-shadow: 0 10px 28px rgba(110,35,71,.12); }
}

@media (max-width: 860px) {
  .answer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .answer-grid { grid-template-columns: 1fr; gap: 11px; }
  .answer-grid article { padding: 18px; }
  .product-card__summary { min-height: 32px; margin-bottom: 10px; font-size: 9px; }
  .back-to-top { right: 13px; width: 47px; height: 47px; }
  body.home .back-to-top { bottom: 195px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}

/* Global WooCommerce mini cart drawer */
.mini-cart-fab { position: fixed; right: 20px; top: 50%; z-index: 68; width: 56px; height: 56px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #fff; background: var(--pink); box-shadow: 0 8px 24px rgba(47,36,48,.2); cursor: pointer; transform: translateY(-50%); }
.mini-cart-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini-cart-count { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: #7c2952; font-size: 10px; font-weight: 900; line-height: 1; }
.mini-cart-overlay { position: fixed; inset: 0; z-index: 89; background: rgba(31,22,29,.42); }
.mini-cart-drawer { position: fixed; top: 0; right: 0; z-index: 90; width: min(420px, 94vw); height: 100dvh; display: grid; grid-template-rows: auto minmax(0,1fr) auto; background: #fff; box-shadow: -18px 0 48px rgba(39,28,35,.22); transform: translate3d(102%,0,0); transition: transform .24s ease; visibility: hidden; }
.mini-cart-drawer.is-open { transform: translate3d(0,0,0); visibility: visible; }
.mini-cart-drawer__head { min-height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mini-cart-drawer__head div { display: grid; gap: 2px; }
.mini-cart-drawer__head small { color: var(--muted); }
.mini-cart-drawer__head strong { font-size: 20px; }
.mini-cart-drawer__head button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.mini-cart-fragment { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 12px 18px; }
.mini-cart-fragment .woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.mini-cart-fragment .woocommerce-mini-cart-item { position: relative; min-height: 82px; display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 12px 28px 12px 0; border-bottom: 1px solid var(--line); }
.mini-cart-fragment .woocommerce-mini-cart-item > a:not(.remove) { display: contents; color: var(--ink); font-weight: 750; }
.mini-cart-fragment .woocommerce-mini-cart-item img { width: 70px; height: 70px; grid-row: 1 / span 2; object-fit: cover; border-radius: 12px; background: #f8f4f6; }
.mini-cart-fragment .woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--muted); font-size: 13px; }
.mini-cart-fragment .woocommerce-mini-cart-item .remove { position: absolute; top: 13px; right: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #9b677d !important; font-size: 20px; }
.mini-cart-fragment .woocommerce-mini-cart__total { display: flex; justify-content: space-between; gap: 16px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.mini-cart-fragment .woocommerce-mini-cart__buttons { display: none; }
.mini-cart-fragment .woocommerce-mini-cart__empty-message { margin: 0; padding: 54px 15px; color: var(--muted); text-align: center; }
.mini-cart-drawer__actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 14px 18px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
body.mini-cart-open { overflow: hidden; }
@media (max-width: 767px) {
  .mini-cart-fab { right: 14px; top: auto; bottom: 18px; width: 52px; height: 52px; transform: none; }
  .mini-cart-drawer { width: min(390px, 100vw); }
  .mini-cart-drawer__actions { grid-template-columns: 1fr; }
  body.home .mini-cart-fab { bottom: 258px; }
}
@media (prefers-reduced-motion: reduce) { .mini-cart-drawer { transition: none; } }


/* v1.15 product detail, related products and gallery-hover enhancements. */
.marvel-product-specs { margin: 18px 0 22px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff8fb; }
.marvel-product-specs h2 { margin: 0 0 10px; color: var(--ink); font-size: 16px; line-height: 1.35; }
.marvel-product-specs ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.marvel-product-specs li { position: relative; margin: 0; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.marvel-product-specs li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--pink); font-weight: 900; }
.marvel-product-specs strong { color: var(--ink); }
.woocommerce div.product .related.products { clear: both; margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--line); }
.woocommerce div.product .related.products > h2 { margin: 0 0 22px; color: var(--ink); font-size: clamp(22px, 3vw, 30px); line-height: 1.25; }

.product-card__image-swap { position: relative; z-index: 2; display: block; width: 100%; height: 100%; }
.product-card__image-swap .product-card__image { position: absolute; inset: 0; z-index: auto; width: 100%; height: 100%; opacity: 0; transition: opacity .24s ease, transform .28s ease; }
.product-card__image-swap .product-card__image.is-active { opacity: 1; }

.marvel-loop-image-swap { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background-color: #fff0f6; background-image: var(--product-bg-image); background-position: center; background-size: cover; }
.woocommerce ul.products li.product a .marvel-loop-image-swap img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; object-fit: contain; padding: 18px; border-radius: 16px; background: transparent; transition: opacity .24s ease, transform .28s ease; }
.woocommerce ul.products li.product a .marvel-loop-image-swap img.is-active { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .product-card__image-swap.has-gallery:hover .product-card__image.is-active,
  .marvel-loop-image-swap.has-gallery:hover img.is-active { transform: scale(1.02); }
}

@media (max-width: 620px), (pointer: coarse) {
  .product-card__image-swap .product-card__image,
  .woocommerce ul.products li.product a .marvel-loop-image-swap img { transition: none; }
  .marvel-product-specs { padding: 15px; }
  .marvel-product-specs li { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card__image-swap .product-card__image,
  .woocommerce ul.products li.product a .marvel-loop-image-swap img { transition: none; }
}

/* 1.16.0: full-width editable homepage banner. */
.hero--has-background {
  min-height: clamp(560px, 58vw, 720px);
  background-image: var(--hero-background-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero--has-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(35, 21, 32, .78) 0%, rgba(35, 21, 32, .62) 42%, rgba(35, 21, 32, .18) 72%, rgba(35, 21, 32, .04) 100%);
  pointer-events: none;
}
.hero--has-background .hero__grid {
  position: relative;
  z-index: 1;
  min-height: inherit;
  grid-template-columns: minmax(0, 760px);
  align-content: center;
}
.hero--has-background .hero__blob { display: none; }
.hero--has-background .hero__content { max-width: 760px; }
.hero--has-background .eyebrow { color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.28); }
.hero--has-background h1 { color: #fff; text-shadow: 0 4px 28px rgba(0,0,0,.3); }
.hero--has-background h1 span { color: #ffd5e8; }
.hero--has-background .hero__content > p { color: rgba(255,255,255,.9); text-shadow: 0 2px 18px rgba(0,0,0,.22); }
.hero--has-background .hero__facts strong { color: #fff; }
.hero--has-background .hero__facts span { color: rgba(255,255,255,.78); }
.hero--has-background .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); box-shadow: none; }
.hero--has-background .btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.2); }

/* 1.16.0: add-to-cart flight + cart bounce feedback. */
.marvel-cart-flyer {
  position: fixed;
  z-index: 999999;
  width: 58px;
  height: 58px;
  margin: 0;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 18px;
  background: var(--pink-soft);
  box-shadow: 0 14px 38px rgba(47,36,48,.28);
  object-fit: cover;
  pointer-events: none;
  will-change: transform, opacity;
}
.marvel-cart-flyer--placeholder { display: grid; place-items: center; color: #fff; background: var(--pink); font-size: 25px; font-weight: 900; }
.cart-btn.is-cart-bouncing,
.mini-cart-fab.is-cart-bouncing {
  animation: marvel-cart-bounce .58s cubic-bezier(.22,1.4,.36,1);
}
.cart-btn.is-cart-bouncing b,
.mini-cart-fab.is-cart-bouncing .mini-cart-count {
  animation: marvel-cart-count-pop .58s cubic-bezier(.22,1.4,.36,1);
}
@keyframes marvel-cart-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  28% { transform: translateY(-9px) scale(1.08) rotate(-4deg); }
  56% { transform: translateY(2px) scale(.98) rotate(3deg); }
  78% { transform: translateY(-3px) scale(1.03) rotate(-1deg); }
}
@keyframes marvel-cart-count-pop {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.38); }
}
.mini-cart-fab.is-cart-bouncing { animation-name: marvel-cart-fab-bounce; }
@keyframes marvel-cart-fab-bounce {
  0%, 100% { transform: translateY(-50%) scale(1); }
  30% { transform: translateY(calc(-50% - 10px)) scale(1.12) rotate(-6deg); }
  62% { transform: translateY(calc(-50% + 2px)) scale(.98) rotate(4deg); }
}
@media (max-width: 860px) {
  .hero--has-background { min-height: 570px; background-position: center; }
  .hero--has-background::before { background: linear-gradient(90deg, rgba(35,21,32,.76), rgba(35,21,32,.48)); }
  .hero--has-background .hero__grid { min-height: 570px; padding-top: 62px; padding-bottom: 62px; }
  .mini-cart-fab.is-cart-bouncing { animation-name: marvel-cart-bounce; }
}
@media (prefers-reduced-motion: reduce) {
  .marvel-cart-flyer { display: none !important; }
  .cart-btn.is-cart-bouncing,
  .mini-cart-fab.is-cart-bouncing,
  .cart-btn.is-cart-bouncing b,
  .mini-cart-fab.is-cart-bouncing .mini-cart-count { animation: none !important; }
}

/* v1.23.0 — global add-to-cart feedback for product/archive/related pages. */
.marvel-global-cart-notice {
  position: fixed;
  right: 24px;
  bottom: 104px;
  z-index: 10030;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 14px;
  color: #fff;
  background: rgba(47, 132, 96, .95);
  box-shadow: 0 16px 38px rgba(31, 20, 28, .2);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.marvel-global-cart-notice.is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.marvel-global-cart-notice.is-error { background: rgba(182, 45, 75, .96); }
@media (max-width: 640px) {
  .marvel-global-cart-notice { right: 16px; bottom: 92px; left: 16px; max-width: none; text-align: center; }
}

/* v1.24 canonical navigation + global floating shortcuts. */
/* The three contact shortcuts are global now, so reserve the fourth slot for back-to-top on every page. */
.back-to-top { bottom: 208px; }
body.home .back-to-top { bottom: 208px; }

@media (max-width: 767px) {
  /* Keep the WooCommerce cart FAB above the full contact/back-to-top stack on every page. */
  .mini-cart-fab,
  body.home .mini-cart-fab { bottom: 250px; }
}

@media (max-width: 620px) {
  .back-to-top,
  body.home .back-to-top { bottom: 195px; }
}
.floating-contact { z-index: 66; }

/* WordPress mobile admin bar is 46px high; keep sticky headers below it. */
@media (max-width: 782px) {
  .admin-bar .site-header,
  .admin-bar .simple-header { top: 46px; }
}

/* Below 600px WordPress makes the front-end admin bar absolute, so it scrolls away. */
@media (max-width: 600px) {
  .admin-bar .site-header,
  .admin-bar .simple-header { top: 0; }
}


/* v1.50.0 - harden every product thumbnail so image pixels stay inside the thumb frame. */
.product-card__image-swap {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}
.product-card__image-swap .product-card__image {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.marvel-loop-image-swap {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 18px;
  overflow: hidden;
}
.woocommerce ul.products li.product a .marvel-loop-image-swap img {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
}

.gallery-thumb {
  height: 72px;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 4px;
  overflow: hidden;
}
.gallery-thumb > span,
.gallery-thumb__image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  border-radius: 9px;
}
.gallery-thumb > span {
  display: grid;
  place-items: center;
  padding: 7px;
}
.gallery-thumb__image {
  display: block;
  padding: 4px;
  object-fit: contain;
  object-position: center;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.woocommerce div.product div.images .flex-control-thumbs img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto;
  margin: 0 !important;
  padding: 6px;
  object-fit: contain;
  object-position: center;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
  overflow: hidden;
  border-radius: 16px;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image > a {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  border-radius: 16px;
  background-color: #fff0f6;
  background-image: var(--product-bg-image);
  background-position: center;
  background-size: cover;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image > a > img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto;
  margin: auto !important;
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.mini-cart-fragment .woocommerce-mini-cart-item img,
.marvel-checkout-product__image,
.marvel-cart-flyer {
  overflow: hidden;
  object-fit: contain;
  object-position: center;
}
.mini-cart-fragment .woocommerce-mini-cart-item img { padding: 5px; }
.marvel-cart-flyer { padding: 4px; }

@media (max-width: 620px) {
  .gallery-thumb { height: 64px; padding: 3px; }
  .gallery-thumb__image { padding: 3px; }
}


/* v1.52.0 - homepage thumbnail normalization.
   Every product card gets the same square media frame. Product pixels are
   centered inside a protected inset and are never cropped or stretched. */
.product-card__visual {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.product-card__image-swap {
  position: absolute;
  inset: 18px;
  z-index: 2;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  display: block;
  overflow: hidden;
  border-radius: 14px;
}
.product-card__image-swap .product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: 50% 50%;
  transform-origin: center center;
}
.product-card__image-swap .product-card__image[hidden] {
  display: none !important;
}
.product-card__image-swap.is-image-loading::after,
.product-card__image-swap.is-image-error::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #8a7180;
  background: rgba(255,255,255,.46);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
}
.product-card__image-swap.is-image-loading::after { content: "Đang tải ảnh"; }
.product-card__image-swap.is-image-error::after { content: "Ảnh đang cập nhật"; }

/* The same fixed media geometry is used after JS filter/pagination redraws. */
.product-grid > .product-card,
.product-card > .product-card__visual {
  min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
  .product-card__image-swap.has-gallery:hover .product-card__image.is-active {
    transform: scale(1.012);
  }
}

@media (max-width: 620px) {
  .product-card__visual {
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 0;
  }
  .product-card__image-swap { inset: 10px; border-radius: 11px; }
}

/* Never zoom the actual product bitmap inside homepage cards: even a small
   scale can clip transparent PNG handles or edge details. */
.product-card:hover .product-card__image-swap .product-card__image,
.product-card__image-swap.has-gallery:hover .product-card__image.is-active {
  transform: none;
}


/* v1.52.0 - mobile navigation anchoring + compact WooCommerce category grid. */
@media (max-width: 860px) {
  /* Keep the opened navigation attached to the currently visible sticky header,
     even after the page has already been scrolled. JS updates --mobile-menu-top
     from getBoundingClientRect() on open/scroll/resize. */
  .main-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    top: var(--mobile-menu-top, 78px);
    width: auto;
    max-height: var(--mobile-menu-max-height, calc(100dvh - 90px));
    margin: 0;
    z-index: 110;
    overscroll-behavior: contain;
  }
  .mega-menu__panel,
  .mega-menu.is-open .mega-menu__panel {
    position: static;
    width: 100%;
    max-width: 100%;
  }
}

/* Category/search/shop archives should feel like the homepage catalog on phones:
   two compact cards per row instead of one oversized product. */
@media (max-width: 620px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    min-width: 0;
    padding: 8px;
    border-radius: 14px;
  }
  .woocommerce ul.products li.product a,
  .woocommerce-page ul.products li.product a {
    min-width: 0;
  }
  .woocommerce ul.products li.product a .marvel-loop-image-swap,
  .woocommerce-page ul.products li.product a .marvel-loop-image-swap {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 8px;
    border-radius: 11px;
    overflow: hidden;
  }
  .woocommerce ul.products li.product a .marvel-loop-image-swap img,
  .woocommerce-page ul.products li.product a .marvel-loop-image-swap img,
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 9px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    min-height: 2.7em;
    margin: 7px 0 4px;
    padding: 0;
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.35;
  }
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button {
    width: 100%;
    min-height: 34px;
    margin-top: 4px;
    padding: 8px 7px;
    border-radius: 9px;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
  .woocommerce ul.products li.product span.onsale.marvel-sale-badge,
  .woocommerce-page ul.products li.product span.onsale.marvel-sale-badge {
    left: 4px;
    top: 4px;
    min-height: 22px;
    height: 22px;
    padding: 0 5px;
    font-size: 8px;
  }
}

@media (max-width: 360px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products { gap: 8px; }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product { padding: 6px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title { font-size: 11px; }
}

/* v1.53.0 - WooCommerce category archives visually match the homepage catalog. */
body.tax-product_cat .site-header--commerce,
body.post-type-archive-product .site-header--commerce,
body.search-results.woocommerce .site-header--commerce {
  position: sticky;
  top: 0;
  z-index: 72;
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 18px rgba(62,35,50,.09);
  backdrop-filter: saturate(1.15) blur(10px);
}
.admin-bar.tax-product_cat .site-header--commerce,
.admin-bar.post-type-archive-product .site-header--commerce,
.admin-bar.search-results.woocommerce .site-header--commerce { top: 32px; }

/* Archive card: same square visual language, radius and restrained spacing as home. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(86,41,63,.04);
}
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link {
  display: block;
  min-width: 0;
}
.woocommerce ul.products li.product a .marvel-loop-image-swap,
.woocommerce-page ul.products li.product a .marvel-loop-image-swap {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background-color: #fff0f6;
  background-image: var(--product-bg-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.woocommerce ul.products li.product a .marvel-loop-image-swap img,
.woocommerce-page ul.products li.product a .marvel-loop-image-swap img,
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px) !important;
  height: calc(100% - 36px) !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  opacity: 0;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  background: transparent !important;
  transform: none !important;
}
.woocommerce ul.products li.product a .marvel-loop-image-swap img.is-active,
.woocommerce-page ul.products li.product a .marvel-loop-image-swap img.is-active { opacity: 1; }

/* Keep text/body aligned to the homepage card rhythm. */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  min-height: 45px;
  margin: 0;
  padding: 16px 18px 7px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  display: block;
  min-height: 24px;
  margin: 0;
  padding: 0 18px 14px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
}
.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del { color: #9c8994; opacity: 1; font-size: .8em; }
.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  width: calc(100% - 36px);
  min-height: 40px;
  margin: 0 18px 18px;
  border-radius: 12px;
}

/* SALE badge must remain fully visible above every image layer. */
.woocommerce ul.products li.product span.onsale.marvel-sale-badge,
.woocommerce-page ul.products li.product span.onsale.marvel-sale-badge {
  position: absolute;
  left: 6px;
  top: 6px;
  right: auto;
  z-index: 20;
  width: auto;
  height: 27px;
  min-width: 0;
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin: 0;
  padding: 0 7px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 8px 8px 8px 2px;
  color: #fff;
  background: linear-gradient(120deg,#ff3f58 0%,#f00078 48%,#8f21d1 100%);
  box-shadow: 0 0 0 2px rgba(255,255,255,.38), 0 6px 13px rgba(185,14,96,.3);
  line-height: 1;
  transform: none;
}
.woocommerce ul.products li.product span.onsale.marvel-sale-badge small,
.woocommerce-page ul.products li.product span.onsale.marvel-sale-badge small {
  display: inline;
  color: #fff9c4;
  font-size: 7px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .65px;
}
.woocommerce ul.products li.product span.onsale.marvel-sale-badge strong,
.woocommerce-page ul.products li.product span.onsale.marvel-sale-badge strong {
  display: inline;
  margin: 0;
  color: #fff;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
}

@media (max-width: 620px) {
  .admin-bar.tax-product_cat .site-header--commerce,
  .admin-bar.post-type-archive-product .site-header--commerce,
  .admin-bar.search-results.woocommerce .site-header--commerce { top: 0; }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    padding: 0;
    border-radius: 16px;
  }
  .woocommerce ul.products li.product a .marvel-loop-image-swap,
  .woocommerce-page ul.products li.product a .marvel-loop-image-swap {
    padding: 10px;
  }
  .woocommerce ul.products li.product a .marvel-loop-image-swap img,
  .woocommerce-page ul.products li.product a .marvel-loop-image-swap img,
  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img {
    inset: 10px;
    width: calc(100% - 20px) !important;
    height: calc(100% - 20px) !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    min-height: 2.7em;
    padding: 9px 10px 4px;
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price {
    min-height: 20px;
    padding: 0 10px 7px;
    font-size: 12px;
  }
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button {
    width: calc(100% - 20px);
    min-height: 34px;
    margin: 0 10px 10px;
    padding-inline: 6px !important;
    border-radius: 9px;
    font-size: 10px;
    white-space: normal;
  }
  .woocommerce ul.products li.product span.onsale.marvel-sale-badge,
  .woocommerce-page ul.products li.product span.onsale.marvel-sale-badge {
    left: 5px;
    top: 5px;
    height: 23px;
    min-height: 23px;
    padding: 0 5px;
  }
}


/* v1.54.0 - uncropped archive thumbnails + fully pinned mobile navigation. */
/*
 * Category/shop cards now receive WooCommerce's uncropped single-product image
 * source. This CSS mirrors the homepage rule: the bitmap is centered inside a
 * protected square frame and never uses cover/cropping.
 */
.woocommerce ul.products li.product a .marvel-loop-image-swap,
.woocommerce-page ul.products li.product a .marvel-loop-image-swap {
  --marvel-loop-inset: 18px;
  --marvel-loop-offset: 36px;
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #fff0f6;
  background-image: var(--product-bg-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.woocommerce ul.products li.product a .marvel-loop-image-swap > img.marvel-loop-image,
.woocommerce-page ul.products li.product a .marvel-loop-image-swap > img.marvel-loop-image {
  position: absolute !important;
  inset: var(--marvel-loop-inset) !important;
  width: calc(100% - var(--marvel-loop-offset)) !important;
  height: calc(100% - var(--marvel-loop-offset)) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  transform: none !important;
  transform-origin: 50% 50% !important;
  clip-path: none !important;
}
.woocommerce ul.products li.product a .marvel-loop-image-swap > img.marvel-loop-image:not(.is-active),
.woocommerce-page ul.products li.product a .marvel-loop-image-swap > img.marvel-loop-image:not(.is-active) {
  opacity: 0 !important;
  visibility: hidden;
}
.woocommerce ul.products li.product a .marvel-loop-image-swap > img.marvel-loop-image.is-active,
.woocommerce-page ul.products li.product a .marvel-loop-image-swap > img.marvel-loop-image.is-active {
  opacity: 1 !important;
  visibility: visible;
}

@media (max-width: 620px) {
  .woocommerce ul.products li.product a .marvel-loop-image-swap,
  .woocommerce-page ul.products li.product a .marvel-loop-image-swap {
    --marvel-loop-inset: 10px;
    --marvel-loop-offset: 20px;
  }
}

/* v1.55.0 - mobile menu stays attached to sticky header while page scrolling remains enabled. */
@media (max-width: 860px) {
  /* v54 froze the document while navigation was open. Restore normal page
     scrolling; the menu itself may still scroll when its content is taller
     than the visible viewport. */
  html.mobile-nav-locked {
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
  }
  body.mobile-nav-open {
    overflow-x: clip !important;
    overflow-y: visible !important;
    overscroll-behavior-y: auto !important;
  }

  /* Keep the header in its normal sticky flow. This supersedes the v54 fixed
     lock and means the page can move underneath without moving the menu away
     from its header anchor. */
  body.mobile-nav-open .site-header {
    position: sticky !important;
    left: auto !important;
    right: auto !important;
    top: 0 !important;
    width: auto !important;
    transform: translateZ(0) !important;
  }

  /* Anchor the mobile navigation to .header__inner itself instead of writing a
     viewport `top` value from JavaScript. `top: calc(100% - 1px)` removes the
     intermittent gap between the header and the menu frame while scrolling. */
  .main-nav,
  body.mobile-nav-open .main-nav {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% - 1px) !important;
    bottom: auto !important;
    width: auto !important;
    max-height: var(--mobile-menu-max-height, calc(100dvh - 72px));
    margin: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0 0 17px 17px;
    z-index: 131;
    transform: none !important;
  }

  body.mobile-nav-open .mega-menu__panel,
  body.mobile-nav-open .mega-menu.is-open .mega-menu__panel {
    overscroll-behavior-y: auto;
  }
}

/* Preserve WordPress admin-bar offsets when the mobile menu is open. */
@media (min-width: 783px) and (max-width: 860px) {
  body.admin-bar.mobile-nav-open .site-header { top: 32px !important; }
}
@media (min-width: 601px) and (max-width: 782px) {
  body.admin-bar.mobile-nav-open .site-header { top: 46px !important; }
}
@media (max-width: 600px) {
  body.admin-bar.mobile-nav-open .site-header { top: 0 !important; }
}


/* v1.56.0 - compact taxonomy-linked homepage chips with desktop arrows and mobile swipe. */
.product-collection-nav {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: -5px 0 24px;
}
.product-collection-tabs {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 4px 1px 7px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.product-collection-tabs::-webkit-scrollbar { display: none; width: 0; height: 0; }
.product-collection-tab {
  width: auto;
  min-width: max-content;
  min-height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #eadbe3;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #5d5058;
  box-shadow: 0 3px 10px rgba(86,41,63,.045);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  scroll-snap-align: start;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.product-collection-tab:hover {
  color: var(--pink-deep);
  background: #fff8fb;
  border-color: #e9afc9;
  box-shadow: 0 6px 16px rgba(116,42,77,.08);
  transform: translateY(-1px);
}
.product-collection-tab.is-active {
  color: #fff;
  border-color: var(--pink-dark);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 7px 18px rgba(232,62,140,.19);
}
.product-collection-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #eadbe3;
  border-radius: 50%;
  color: #6a5661;
  background: rgba(255,255,255,.98);
  box-shadow: 0 5px 15px rgba(86,41,63,.07);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease;
}
.product-collection-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.product-collection-arrow:hover:not(:disabled) { color: var(--pink); border-color: rgba(232,62,140,.34); box-shadow: 0 7px 18px rgba(116,42,77,.11); transform: translateY(-1px); }
.product-collection-arrow:focus-visible { outline: 3px solid rgba(232,62,140,.18); outline-offset: 2px; }
.product-collection-arrow:disabled { opacity: .28; cursor: default; box-shadow: none; transform: none; }
.product-collection-nav:not(.is-scrollable) .product-collection-arrow { opacity: 0; pointer-events: none; }

@media (max-width: 860px) {
  .product-collection-nav {
    display: block;
    margin-top: -2px;
    margin-bottom: 20px;
  }
  .product-collection-arrow { display: none; }
  .product-collection-tabs {
    gap: 7px;
    margin: 0;
    padding: 3px 1px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scroll-snap-type: x proximity;
    touch-action: pan-x pan-y;
  }
  .product-collection-tab {
    width: auto;
    min-width: max-content;
    min-height: 38px;
    flex: 0 0 auto;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
}

@media (max-width: 620px) {
  .product-collection-nav { margin-bottom: 18px; }
  .product-collection-tabs { gap: 7px; padding-bottom: 7px; }
  .product-collection-tab { min-height: 37px; padding: 0 13px; font-size: 11.5px; }
}

/* v1.57.0 - full Mega Menu chip rail + equal-height WooCommerce archive cards. */
/* The chip rail can now contain the complete Mega Menu taxonomy. Keep the rail
   compact even with dozens of category links and give remote category links a
   subtle visual state without making them look disabled. */
.product-collection-tab[data-local-filter="0"] {
  border-color: #eee3e8;
  background: rgba(255,255,255,.82);
  color: #675a62;
}
.product-collection-tab[data-local-filter="0"]::after {
  content: "↗";
  margin-left: 6px;
  color: #b98aa1;
  font-size: .78em;
  font-weight: 900;
  line-height: 1;
}
.product-collection-tab[data-local-filter="0"]:hover {
  color: var(--pink-deep);
  border-color: #e9afc9;
  background: #fff8fb;
}

/* WooCommerce loop cards: every card uses the same vertical skeleton
   (visual -> two-line title -> price zone -> action). This keeps every Add to
   cart button on the same baseline regardless of title or price length. */
.woocommerce ul.products,
.woocommerce-page ul.products {
  align-items: stretch;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link,
.woocommerce-page ul.products li.product > a.woocommerce-LoopProduct-link {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product .marvel-loop-image-swap,
.woocommerce-page ul.products li.product .marvel-loop-image-swap {
  flex: 0 0 auto;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  box-sizing: content-box;
  height: 2.8em;
  min-height: 2.8em;
  max-height: 2.8em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  box-sizing: border-box;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  margin-top: auto;
  overflow: hidden;
  display: flex !important;
  flex-wrap: wrap;
  align-content: flex-end;
  align-items: baseline;
  gap: 1px 6px;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  flex: 0 0 auto;
  margin-top: auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
/* WooCommerce may append a "View cart" link after an AJAX add. The persistent
   header cart already provides that action; hiding this duplicate prevents a
   clicked card from becoming taller than its neighbours. */
.woocommerce ul.products li.product a.added_to_cart.wc-forward,
.woocommerce-page ul.products li.product a.added_to_cart.wc-forward {
  display: none !important;
}

@media (max-width: 620px) {
  .product-collection-tab[data-local-filter="0"]::after { margin-left: 4px; }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    box-sizing: content-box;
    height: 2.7em;
    min-height: 2.7em;
    max-height: 2.7em;
  }
  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price {
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    align-content: flex-end;
    gap: 0 4px;
  }
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button {
    min-height: 34px;
    white-space: nowrap;
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .woocommerce ul.products li.product .button,
  .woocommerce-page ul.products li.product .button {
    font-size: 9px;
    letter-spacing: -.1px;
  }
}



/* v1.62 - tag-aware + voice search */
.site-search__box,
.search-box { position: relative; }
.site-search__box input,
.search-box input { min-width: 0; }
.voice-search-button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pink-deep);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.voice-search-button svg,
.site-search__box .voice-search-button svg,
.search-box .voice-search-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.voice-search-button:hover { background: var(--pink-soft); color: var(--pink); }
.voice-search-button:focus-visible { outline: 3px solid rgba(232,62,140,.22); outline-offset: 2px; }
.voice-search-button.is-listening {
  color: #fff;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(232,62,140,.12);
  animation: marvelVoicePulse 1.15s ease-in-out infinite;
}
.voice-search-button[hidden] { display: none !important; }
.voice-search-button--compact { width: 32px; height: 32px; flex-basis: 32px; }
@keyframes marvelVoicePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@media (prefers-reduced-motion: reduce) {
  .voice-search-button.is-listening { animation: none; }
}
@media (max-width: 620px) {
  .voice-search-button { width: 34px; height: 34px; flex-basis: 34px; }
  .voice-search-button--compact { width: 31px; height: 31px; flex-basis: 31px; }
  .site-search__box { padding-right: 8px; }
  .search-box { padding-right: 8px; }
}


/* v1.72.2 - calendar-aware event tabs: nearest events sit behind "Tất cả". */
.product-collection-tab__label { display: inline-flex; align-items: center; }
.product-collection-tab__event-badge {
  display: none;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: #9b4c00;
  box-shadow: inset 0 0 0 1px rgba(184,113,0,.16);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.01em;
}
.product-collection-tab.is-upcoming-event {
  position: relative;
  gap: 7px;
  border-color: #efb246;
  background: linear-gradient(135deg, #fff8df 0%, #ffe7be 50%, #fff1d9 100%);
  color: #804200;
  box-shadow: 0 8px 22px rgba(196,120,0,.15), 0 0 0 1px rgba(255,210,112,.18);
}
.product-collection-tab.is-upcoming-event::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #f09a00;
  box-shadow: 0 0 0 4px rgba(240,154,0,.12);
}
.product-collection-tab.is-upcoming-event .product-collection-tab__event-badge { display: inline-flex; }
.product-collection-tab.is-upcoming-event:hover {
  color: #703700;
  border-color: #e59a16;
  background: linear-gradient(135deg, #fff4cf, #ffdfaa);
  box-shadow: 0 10px 26px rgba(196,120,0,.2), 0 0 0 2px rgba(255,202,91,.15);
}
.product-collection-tab.is-upcoming-event.is-next-event {
  border-width: 2px;
  padding-left: 15px;
  padding-right: 15px;
  animation: marvel-event-tab-glow 1.9s ease-in-out infinite;
}
.product-collection-tab.is-upcoming-event.is-next-event::before {
  background: #ef7f00;
  box-shadow: 0 0 0 5px rgba(239,127,0,.14);
}
.product-collection-tab.is-upcoming-event.is-active {
  color: #fff;
  border-color: #d97800;
  background: linear-gradient(135deg, #f0a000, #e47700);
  box-shadow: 0 9px 24px rgba(199,105,0,.26);
}
.product-collection-tab.is-upcoming-event.is-active::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.product-collection-tab.is-upcoming-event.is-active .product-collection-tab__event-badge {
  color: #8f4700;
  background: rgba(255,255,255,.94);
}
@keyframes marvel-event-tab-glow {
  0%, 100% { box-shadow: 0 8px 22px rgba(196,120,0,.14), 0 0 0 0 rgba(240,154,0,.18); }
  50% { box-shadow: 0 10px 28px rgba(196,120,0,.24), 0 0 0 5px rgba(240,154,0,.08); }
}
@media (max-width: 620px) {
  .product-collection-tab.is-upcoming-event { gap: 6px; padding-left: 11px; padding-right: 11px; }
  .product-collection-tab.is-upcoming-event.is-next-event { padding-left: 11px; padding-right: 11px; }
  .product-collection-tab__event-badge { min-height: 20px; padding: 0 6px; font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-collection-tab.is-upcoming-event.is-next-event { animation: none; }
}


/* v1.72.4 - seasonal companion tabs: related broad categories rise behind direct events. */
.product-collection-tab__related-badge {
  display: none;
  align-items: center;
  min-height: 21px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 0 0 1px rgba(154,61,108,.12);
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.01em;
}
.product-collection-tab.is-related-event {
  position: relative;
  gap: 7px;
  border-color: #d9a7c2;
  background: linear-gradient(135deg, #fff7fb 0%, #fce8f2 100%);
  color: #8b2f5d;
  box-shadow: 0 7px 20px rgba(154,61,108,.11);
}
.product-collection-tab.is-related-event .product-collection-tab__related-badge { display: inline-flex; }
.product-collection-tab.is-related-event.is-related-primary {
  box-shadow: 0 9px 24px rgba(154,61,108,.17), 0 0 0 2px rgba(232,62,140,.06);
}
.product-collection-tab.is-related-event:hover {
  border-color: #cf7faa;
  background: linear-gradient(135deg, #fff2f8, #f9dce9);
  color: #79224e;
}
.product-collection-tab[data-related-key="patriotic"].is-related-event {
  border-color: #e8a072;
  background: linear-gradient(135deg, #fff8ed 0%, #ffe6d1 48%, #fff2e7 100%);
  color: #a22422;
  box-shadow: 0 8px 22px rgba(180,64,39,.13), 0 0 0 1px rgba(238,169,76,.12);
}
.product-collection-tab[data-related-key="patriotic"].is-related-event .product-collection-tab__related-badge {
  color: #a22422;
  box-shadow: inset 0 0 0 1px rgba(202,88,48,.16);
}
.product-collection-tab[data-related-key="patriotic"].is-related-event.is-related-primary {
  box-shadow: 0 10px 27px rgba(180,64,39,.19), 0 0 0 3px rgba(238,169,76,.08);
}
.product-collection-tab[data-related-key="school"].is-related-event {
  border-color: #a9c9ea;
  background: linear-gradient(135deg, #f5faff 0%, #e8f3ff 100%);
  color: #285f8d;
  box-shadow: 0 7px 20px rgba(51,111,164,.11);
}
.product-collection-tab[data-related-key="school"].is-related-event .product-collection-tab__related-badge {
  color: #285f8d;
  box-shadow: inset 0 0 0 1px rgba(51,111,164,.15);
}
.product-collection-tab[data-related-key="company"].is-related-event {
  border-color: #c7b8eb;
  background: linear-gradient(135deg, #fbf9ff, #f0ebff);
  color: #5d43a2;
}
.product-collection-tab[data-related-key="graduation"].is-related-event {
  border-color: #add9d3;
  background: linear-gradient(135deg, #f5fffd, #e7f8f4);
  color: #26756b;
}
.product-collection-tab.is-related-event.is-active {
  color: #fff;
  border-color: var(--pink-dark);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 9px 24px rgba(232,62,140,.22);
}
.product-collection-tab.is-related-event.is-active .product-collection-tab__related-badge {
  color: var(--pink-deep);
  background: rgba(255,255,255,.95);
}
@media (max-width: 620px) {
  .product-collection-tab.is-related-event { gap: 6px; padding-left: 11px; padding-right: 11px; }
  .product-collection-tab__related-badge { min-height: 20px; padding: 0 6px; font-size: 9px; }
}

/* v1.72.6 - independent flex tab rows + natural homepage card heights. */
.product-collection-tabs {
  display: block;
  min-width: 0;
  padding: 5px 2px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 35, 114, .24) transparent;
}
.product-collection-tabs::-webkit-scrollbar { height: 6px; }
.product-collection-tabs::-webkit-scrollbar-track { background: transparent; }
.product-collection-tabs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(201, 35, 114, .2);
}
.product-collection-tab-row {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: center;
  gap: 8px;
}
.product-collection-tab-row + .product-collection-tab-row { margin-top: 8px; }
.product-collection-tab {
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  max-width: min(340px, 78vw);
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(116, 42, 77, .07);
  white-space: nowrap;
}
.product-collection-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(116, 42, 77, .11);
}
.product-card__gallery-label {
  left: 14px;
  right: auto;
  bottom: 14px;
}

/* Homepage cards follow their own content instead of stretching short copy to
   the height of a neighbouring card with a longer title/description. */
#sanpham .product-grid { align-items: start; }
#sanpham .product-card { align-self: start; }
#sanpham .product-card h3,
#sanpham .product-card__summary { min-height: 0; }

@media (max-width: 860px) {
  .product-collection-tabs { padding: 4px 1px 8px; }
  .product-collection-tab-row { gap: 7px; }
  .product-collection-tab-row + .product-collection-tab-row { margin-top: 7px; }
  .product-collection-tab { min-height: 38px; padding: 8px 12px; }
}
@media (max-width: 620px) {
  .product-collection-tab-row { gap: 6px; }
  .product-collection-tab-row + .product-collection-tab-row { margin-top: 6px; }
  .product-collection-tab {
    min-height: 37px;
    max-width: min(300px, 82vw);
    padding: 8px 11px;
    border-radius: 12px;
  }
  .product-card__gallery-label {
    left: 9px;
    right: auto;
    bottom: 9px;
    padding: 5px 7px;
    font-size: 7px;
  }
}
