:root {
  color-scheme: light;
  --paper: #faf7f3;
  --white: #fff;
  --ink: #25171a;
  --dim: #64565a;
  --border: #e9deda;
  --soft: #f5efeb;
  --hero: #2e0c14;
  --red: #8e2033;
  --accent: #f3d0a1;
  --rose: #fae9e9;
  --subdued: #f0dde0;
  --dark: #42121c;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.45; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.16; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden], .mobile { display: none !important; }
:focus-visible { outline: 3px solid #ba6c25; outline-offset: 3px; }
.skip { position: absolute; z-index: 3; background: var(--white); padding: 12px; transform: translateY(-110%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(1248px, calc(100% - 48px)); margin-inline: auto; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 16px; min-height: 44px; border: 1px solid transparent; border-radius: 9px;
  font-size: 14px; line-height: 1.4; font-weight: 700; text-align: center;
}
.primary { background: var(--red); color: var(--white); }
.bright { background: var(--accent); color: var(--hero); }
.dark { background: var(--dark); color: var(--white); }
.quiet { background: var(--white); color: var(--red); border-color: var(--border); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }

.header { background: var(--white); }
.topbar { background: var(--hero); color: var(--white); text-align: center; font-size: 12px; font-weight: 500; padding: 6px 16px; }
.head-row { display: grid; grid-template-columns: auto minmax(220px, 440px) auto; justify-content: space-between; align-items: center; gap: 24px; padding-block: 13px; }
.logo img { width: 174px; height: 49px; object-fit: contain; }
.head-actions { display: flex; gap: 24px; align-items: center; }
.hotline, .cart { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.hotline { color: var(--red); font-weight: 700; font-size: 14px; }
.cart { padding: 9px 0; border: 0; background: none; color: var(--ink); font-size: 13px; min-height: 44px; }
.search { display: flex; flex-direction: row-reverse; overflow: hidden; align-items: center; min-height: 44px; border: 1px solid var(--border); border-radius: 9px; background: var(--paper); }
.search:focus-within { outline: 2px solid #ba6c25; }
.search input { flex: 1; min-width: 0; padding: 10px 10px 10px 0; border: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search input:focus { outline: none; }
.search button { display: grid; place-items: center; width: 39px; min-height: 42px; padding: 0; border: 0; background: transparent; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px clamp(15px, 2.2vw, 32px); padding-bottom: 12px; font-size: 13px; font-weight: 500; }

.catalog-menu { position: relative; }
.catalog-menu > summary { gap: 10px; list-style: none; cursor: pointer; }
.catalog-menu > summary::-webkit-details-marker { display: none; }
.catalog-menu > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.catalog-menu[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.catalog-menu-links { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; width: 410px; display: grid; grid-template-columns: 1fr 1fr; padding: 8px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 18px #2e0c1417; }
.catalog-menu-links a { padding: 10px; border-radius: 5px; }
.catalog-menu-links a:first-child { grid-column: 1 / -1; color: var(--red); font-weight: 700; border-bottom: 1px solid var(--border); }
.catalog-menu-links a:hover { background: var(--paper); }
.nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.store-link { display: flex; align-items: center; gap: 6px; }
.nav .store-link { margin-left: auto; }

.content { display: grid; gap: 38px; padding-block: 18px 38px; }
.intro { display: grid; gap: 14px; }
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: 456px; background: var(--hero); color: var(--white); border-radius: 22px; }
.hero-copy { position: relative; z-index: 1; width: 54%; padding: 36px clamp(24px, 3.6vw, 52px); }
.hero-copy .brand-label { color: var(--accent); font-size: 12px; letter-spacing: .19em; font-weight: 700; }
.hero h1 { margin-block: 19px; max-width: 565px; font-size: clamp(31px, 3.5vw, 49px); }
.hero-copy p:not(.brand-label) { max-width: 490px; color: var(--subdued); font-size: 16px; }
.hero-copy .actions { margin-top: 19px; }
.hero-art { position: absolute; inset: 0 0 0 50%; }
.hero-art picture { position: absolute; display: block; pointer-events: none; }
.hero-art picture img { width: 100%; height: 100%; }
.art-halo { top: -11.4%; left: 7.05%; width: 81.73%; }
.art-outer { top: -19.3%; left: 1.28%; width: 93.27%; }
.art-inner { top: -7.24%; left: 10.1%; width: 75.64%; }
.art-shadow { top: 80.9%; left: 7.69%; width: 68.91%; }
.hero-safe { position: absolute; top: 8.1%; left: 10.1%; width: 66.66%; height: 79.82%; }
.hero-safe img { width: 100%; height: 100%; object-fit: contain; }
.hero-product {
  position: absolute; left: 60.4%; bottom: 9%; display: grid; gap: 3px; width: max-content; max-width: 39%;
  padding: 10px 12px; border-radius: 11px; background: var(--white); color: var(--ink); font-size: 16px;
}
.hero-product b, .hero-product span { color: var(--red); }
.hero-product span { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border: 1px solid var(--border); background: var(--white); border-radius: 15px; padding: 9px 18px; }
.trust a { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; padding: 8px; min-height: 44px; border-radius: 9px; }
.trust img { flex-shrink: 0; }

.section { display: grid; gap: 19px; scroll-margin-top: 18px; }
.section h2 { font-size: clamp(24px, 3vw, 34px); }
.categories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.categories a {
  display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: 15px 6px; border: 1px solid var(--border); border-radius: 14px; background: var(--white);
}
.categories img { width: 94px; height: 80px; object-fit: contain; }
.categories strong { font-size: 13px; }
.categories span { font-size: 12px; color: var(--dim); font-weight: 500; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.section-heading p { margin-top: 4px; color: var(--dim); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; border: 1px solid var(--border); background: var(--white); border-radius: 16px; overflow: hidden; }
.product-photo { display: grid; place-items: center; height: 244px; padding: 15px 12px; border-bottom: 1px solid var(--border); background: var(--white); }
.product-photo img { width: 100%; height: 212px; object-fit: contain; }
.product-data { flex: 1; display: grid; align-content: start; gap: 7px; padding: 13px 12px; }
.product-brand { text-transform: uppercase; font-size: 11px; font-weight: 700; color: var(--red); }
.product h4 { min-width: 0; font-size: 21px; overflow-wrap: anywhere; }
.product-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}

.lock-type {
  min-width: 0;
  max-width: 45%;
  overflow-wrap: break-word;
  border-radius: 6px;
  padding: 4px 6px;
  background: var(--rose);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}
.product-specs { display: grid; align-content: start; gap: 4px; color: var(--dim); font-size: 12px; }
.dimensions span { display: inline-block; white-space: nowrap; }
.price { font-size: 18px; color: var(--red); }


.budgets { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 19px 23px; background: var(--rose); border-radius: 14px; }
.budgets h2 { font-size: 23px; }
.budgets div { display: flex; flex-wrap: wrap; gap: 8px; }
.budgets a { display: inline-flex; align-items: center; min-height: 39px; padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 500; }
.support { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.support section { display: grid; align-content: start; gap: 10px; border-radius: 15px; padding: 22px; }
.support h2 { font-size: 26px; }
.support p { font-size: 14px; }
.guide { background: var(--hero); color: var(--white); }
.guide p { color: var(--subdued); }
.stores { border: 1px solid var(--border); background: var(--white); }
.stores p { color: var(--dim); }
.branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.branches a { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); font-size: 14px; font-weight: 700; }
.branches img:last-child { margin-left: auto; }
.branches img { flex-shrink: 0; }
.footer { color: var(--subdued); background: var(--hero); padding-block: 33px; }
.footer-links { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 20px; }
.footer-links div { display: grid; gap: 7px; align-content: start; }
.footer h2, .footer h3 { color: var(--white); }
.footer h2 { font-size: 20px; }
.footer h3 { font-size: 14px; }
.footer a { font-size: 13px; width: fit-content; }
.footer-commerce-seal { margin-top: 6px; }
.footer-commerce-seal img { display: block; width: 160px; max-width: 100%; height: auto; }
.copyright { font-size: 12px; margin-top: 20px; border-top: 1px solid var(--dark); padding-top: 20px; }

@media (min-width: 701px) and (max-width: 1000px) {
  .head-row { gap: 16px; grid-template-columns: auto minmax(190px, 340px) auto; }
  .head-actions { gap: 12px; }
  .hero-product { left: auto; right: 4%; max-width: 52%; }
  .categories { gap: 10px; }
  .branches { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .desktop { display: none !important; }
  .mobile { display: revert !important; }
  .wrap { width: calc(100% - 40px); }
  .head-row { position: relative; grid-template-columns: 44px 1fr 44px; gap: 8px; padding-block: 8px 12px; }
  .logo { justify-self: center; }
  .logo img { width: 148px; height: 42px; }
  .menu { position: relative; }
  .menu > summary { width: 44px; height: 44px; display: flex; align-items: center; cursor: pointer; list-style: none; }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu-panel { position: absolute; top: 44px; left: 0; z-index: 3; width: 235px; padding: 8px; border: 1px solid var(--border); background: var(--white); border-radius: 10px; box-shadow: 0 10px 20px #2e0c1426; }
  .menu-panel { max-height: calc(100dvh - 96px); overflow-y: auto; }
  .menu-panel a { display: block; padding: 10px 12px; }
  .menu-panel .store-link { display: flex; }
  .menu-panel .catalog-menu > summary { width: 100%; justify-content: space-between; }
  .menu-panel .catalog-menu-links { position: static; width: auto; grid-template-columns: 1fr; padding: 4px 0; border: 0; border-radius: 0; box-shadow: none; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .head-actions { justify-self: end; grid-row: 1; grid-column: 3; }
  .cart { justify-content: flex-end; width: 44px; }
  .content { padding-block: 10px 24px; gap: 23px; }
  .intro { gap: 10px; }
  .hero { display: block; min-height: auto; border-radius: 16px; }
  .hero-copy { width: 100%; padding: 21px 21px 0; }
  .hero-copy .brand-label { font-size: 11px; }
  .hero h1 { font-size: 27px; margin-block: 12px; max-width: 306px; }
  .hero-copy p:not(.brand-label) { font-size: 13px; }
  .hero-copy .actions { margin-top: 12px; }
  .hero-art { position: relative; inset: auto; height: clamp(225px, 66vw, 300px); margin-top: 10px; }
  .art-halo { top: -6%; left: 11%; width: 78%; }
  .art-outer { top: -14%; left: 3.4%; width: 92.3%; }
  .art-inner { top: -2%; left: 13.7%; width: 71.4%; }
  .art-shadow { top: 85%; left: 9.4%; width: 65.7%; }
  .hero-safe { top: 3%; left: 6%; width: 67.4%; height: 91%; }
  .hero-product { left: auto; right: 15px; bottom: 10%; max-width: 48%; font-size: 14px; }
  .trust { gap: 5px; border: 0; background: none; padding: 0; }
  .trust a { background: var(--white); gap: 6px; padding: 6px 7px; font-size: 11px; }
  .section { gap: 12px; }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .categories a { padding: 9px 6px; gap: 5px; }
  .categories img { width: 70px; height: 61px; }
  .product-photo { height: 196px; padding: 10px 8px; }
  .product-photo img { height: 174px; }
  .categories strong { line-height: 1.25; }
  .section-heading p { font-size: 13px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .all-products.mobile { display: inline-flex !important; }
  .budgets { padding: 14px 15px; }
  .budgets h2 { font-size: 19px; }
  .budgets div { display: grid; grid-template-columns: repeat(2, max-content); }
  .support, .branches { grid-template-columns: 1fr; gap: 12px; }
  .support h2 { font-size: 21px; }
  .footer { padding-block: 22px; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .hero-copy { padding-inline: 16px; }
  .hero h1 { font-size: 25px; }
  .hero-product { padding: 8px; right: 10px; }
  .categories strong { font-size: 12px; }
  .trust img { width: 17px; }
}

/* Shopping and buying guidance */
.product-data { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto auto; }

.lock-compare {
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--soft);
}
.comparison-grid, .guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.comparison-card, .brand-card, .guide-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--white);
}
.comparison-card, .brand-card { padding: 16px; }
.comparison-card div, .brand-card div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.comparison-card strong { font-size: 19px; }
.comparison-card span, .brand-card span { font-size: 12px; font-weight: 500; color: var(--dim); }
.comparison-card p, .brand-card p, .guide-card p { font-size: 13px; color: var(--dim); }
.comparison-card b { color: var(--red); }
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.brand-card h3 { font-size: 19px; }
.brand-card > img { justify-self: end; align-self: end; }

.branches { grid-template-columns: 1fr; }
.branches a { min-height: 55px; }
.branches span { display: grid; gap: 2px; }
.branches small { color: var(--dim); font-size: 12px; font-weight: 400; }

.guide-card { overflow: hidden; grid-template-rows: auto 1fr; gap: 0; }
.guide-image {
  display: grid;
  place-items: center;
  aspect-ratio: 2.1;
  background: var(--soft);
}
.guide-image img { width: 100%; height: 100%; max-height: 175px; object-fit: contain; }
.guide-card > div { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 16px; }
.guide-card h3 { font-size: 18px; }
.guide-card div span { display: flex; align-items: center; gap: 6px; color: var(--red); font-size: 12px; font-weight: 700; }

.faq {
  grid-template-columns: minmax(235px, 1fr) 2fr;
  align-items: start;
  padding: 23px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
}
.faq > div > p { margin-top: 6px; color: var(--dim); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--red); font-size: 19px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 4px 12px; font-size: 13px; color: var(--dim); }
.faq-list a { color: var(--red); text-decoration: underline; text-underline-offset: .18em; }

@media (max-width: 700px) {
  .product-heading { gap: 5px; min-height: 52px; }
  .product-heading h4 { font-size: clamp(13px, 4vw, 17px); }
  .lock-type { font-size: 10px; padding: 4px; text-align: left; }
  .product-specs { font-size: 11px; }
  .lock-compare, .faq { padding: 16px; }
  .comparison-grid, .guide-grid, .faq { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand-card { padding: 12px; }
  .guide-card { grid-template-columns: minmax(84px, 31%) 1fr; grid-template-rows: auto; }
  .guide-image { aspect-ratio: auto; }
  .guide-card > div { padding: 12px; }
  .guide-card h3 { font-size: 15px; }
}

/* Grouped catalogue */
#search-status { color: var(--dim); }
#search-status:empty { display: none; }
.catalog-groups { display: grid; gap: 42px; }
.catalog-category { display: grid; gap: 16px; scroll-margin-top: 18px; }
.catalog-category-heading h3 { font-size: clamp(22px, 2.7vw, 32px); }
.catalog-category-heading .catalog-count { color: var(--dim); font-size: 13px; font-weight: 700; }
.catalog-toggle { justify-self: center; gap: 10px; min-width: 240px; }
.catalog-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px);
}
.catalog-toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-1px, -1px); }
.catalog-category .product { scroll-margin-top: 16px; }

@media (max-width: 700px) {
  .catalog-groups { gap: 28px; }
  .catalog-category { gap: 11px; }
  .catalog-category-heading .catalog-count { font-size: 11px; }
  .catalog-toggle { justify-self: stretch; min-width: 0; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.categories a { grid-template-rows: auto 1fr auto; align-items: center; }
.categories img { margin-inline: auto; }

.product-offer { display: grid; align-content: end; gap: 3px; }
.previous-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 8px;
  color: var(--dim);
  font-size: 12px;
}
.previous-price span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.previous-price del { white-space: nowrap; }
.price-sample {
  background: var(--soft);
  border-radius: 4px;
  padding: 1px 4px;
  color: var(--dim);
  font-size: 9px;
  font-weight: 600;
}
.sale-price .price { font-size: clamp(18px, 2vw, 23px); }
.sold-number { min-height: 17px; font-size: 11px; font-weight: 600; color: var(--ink); }
.sold-number.sample-sold { color: var(--dim); font-weight: 400; }
.compare-trigger {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}
.compare-trigger:hover { text-decoration: underline; text-underline-offset: .2em; }
.compare-image { justify-self: center; width: 144px; height: 106px; object-fit: contain; }
.comparison-reference { border-color: var(--red); }
.compare-gap { font-weight: 600; }
.comparison-card .compare-gap { color: var(--red); }
#so-sanh-khoa:focus { outline: none; }

@media (max-width: 700px) {
  .previous-price { column-gap: 4px; font-size: 10px; }
  .sale-price .price { font-size: clamp(16px, 4.65vw, 20px); }
  .sold-number { font-size: 10px; }
}

.opening-feature {
  --frame-radius: 22px;
  --title-width: 70%;
  --stage-front-height: clamp(4px, 1vw, 14px);
  /* Leave room above the accents for the raised gold edge. */
  --crest-space: calc(var(--title-width) * 368 / 1600 * .08);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--crest-space);
  border-radius: var(--frame-radius);
  scroll-margin-top: 16px;
}
.opening-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  /* The lit front edge of the gold stage sits directly above the red panel. */
  margin-top: calc(var(--crest-space) + var(--title-width) * 368 / 1600 * 1.12 - 1px);
  z-index: -1;
  border: 2px solid #ffca16;
  border-radius: 0 0 var(--frame-radius) var(--frame-radius);
  background:
    linear-gradient(#fff2ae, #ffd565 12%, #e99121 44%, #b95c12 85%, #8d390c) center top / 100% var(--stage-front-height) no-repeat,
    linear-gradient(#510a1766, transparent) center top var(--stage-front-height) / 100% 8px no-repeat,
    linear-gradient(158deg, #aa1d30, #781123 63%, #5e1324);
  pointer-events: none;
}

.opening-header {
  display: grid;
  justify-items: center;
  gap: clamp(4px, .6vw, 9px);
  text-align: center;
}
.opening-header h2 { position: relative; isolation: isolate; width: 100%; }
.opening-header h2::before, .opening-header h2::after {
  --stage-texture: url("assets/dai-nen-gia-tot.jpg") center 23% / 100% auto no-repeat,
    linear-gradient(to bottom, #e19412 76%, #ffd144 95%, #ffbd1c);
  content: "";
  position: absolute;
  inset: -8% 0 -12%;
  z-index: -1;
  background: var(--stage-texture);
  pointer-events: none;
}
.opening-header h2::before {
  mask-image: url("assets/mep-vang-gia-tot.svg");
  mask-size: calc(var(--title-width) * 1.04) 100%;
  mask-position: center;
  mask-repeat: no-repeat;
}
.opening-header h2::after {
  /* The stage widens from its back edge toward the front face. */
  clip-path: polygon(3.6% 54%, 96.4% 54%, 100% 100%, 0 100%);
  /* Contact shadows follow the feet of the lettering and both gift boxes. */
  background:
    radial-gradient(ellipse 38% 6% at 50.7% 89%, #65280754, #65280732 58%, #65280712 83%, #65280700),
    radial-gradient(ellipse 5% 3.4% at 5.2% 95.35%, #6528075e, #6528072d 55%, #65280700),
    radial-gradient(ellipse 5% 3.4% at 94.3% 95.35%, #6528075e, #6528072d 55%, #65280700),
    var(--stage-texture);
}
.opening-header h2 img { width: var(--title-width); height: auto; margin-inline: auto; }

.opening-service {
  position: relative;
  white-space: nowrap;
  color: white;
  font-size: clamp(13px, 1.9vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  filter: drop-shadow(0 3px 2px #7d240b85);
}
.opening-service span {
  position: relative;
  z-index: 1;
  display: block;
  padding: .23em 1.15em .32em;
  border: 2px solid #ffda73;
  border-radius: 4px;
  background: linear-gradient(#ff6c15, #cf3507);
  box-shadow: inset 0 1px #ffcf91, 0 3px #9c2a08;
  text-shadow: 0 2px 1px #95320d;
}
.opening-service::before, .opening-service::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: -12%;
  width: 1.35em;
  background: linear-gradient(135deg, #ffb62b, #e24b05 45%, #a22a08);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30% 49%);
}
.opening-service::before { right: 97%; }
.opening-service::after { left: 97%; transform: scaleX(-1); }

.opening-body { padding: 17px 16px 15px; }

.opening-panel:focus-visible {
  outline-color: #ffe2a9;
}

.opening-panel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 5);
  gap: 12px;
  padding-bottom: 7px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #d78a76 #730f22;
}

.opening-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f5e2d2;
  border-radius: 13px;
  background: var(--white);
  color: var(--ink);
  scroll-snap-align: start;
}

.opening-card-photo {
  display: grid;
  place-items: center;
  height: 157px;
  padding: 10px 9px;
  border-bottom: 1px solid #f4e9df;
  background: var(--white);
}

.opening-card-photo img { width: 100%; height: 136px; object-fit: contain; }

.opening-card-content {
  display: grid;
  flex: 1;
  align-content: start;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto auto;
  gap: 7px;
  padding: 10px 10px 11px;
}

.opening-card h3 { font-size: 16px; overflow-wrap: anywhere; }

.opening-card-brand {
  color: #902a3a;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.opening-card-specs { display: grid; align-content: start; gap: 5px; }

.opening-card-lock {
  width: fit-content;
  padding: 2px 6px;
  border-radius: 5px;
  background: #fbf0e9;
  color: #50352b;
  font-size: 10px;
  font-weight: 700;
}

.opening-card-size, .opening-card-sold { color: var(--dim); font-size: 11px; }

.opening-card-price {
  color: #981d2f;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 700;
}

@media (max-width: 900px) {
  .opening-panel { grid-auto-columns: calc((100% - 24px) / 3); }
}

@media (max-width: 700px) {
  .opening-feature { --frame-radius: 15px; }
  .opening-service { font-size: clamp(10px, 2.7vw, 16px); }
  .opening-body { padding: 8px 9px 5px; }
  .opening-panel { grid-auto-columns: calc((100% - 9px) / 2); gap: 9px; }
  .opening-card-photo { height: 136px; padding: 8px 5px; }
  .opening-card-photo img { height: 119px; }
  .opening-card-content { gap: 6px; padding: 7px; }
  .opening-card h3 { font-size: 14px; }
  .opening-card-size, .opening-card-sold { font-size: 10px; }
}

/* Product campaigns pair two scenes on wide screens and swipe one at a time on mobile. */
.promo-rail { position: relative; min-width: 0; }

.promo-rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 12px) / 2);
  column-gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  border-radius: 16px;
}

.is-filtered .promo-rail { display: none; }

.promo-tile {
  --tile-ink: #fffbf5;
  --tile-accent: #f0ccac;
  --tile-wash: linear-gradient(105deg, #3b1021 7%, #551127d9 58%, #6b1c3514 100%);
  display: grid;
  grid-template-columns: 55% 45%;
  min-width: 0;
  min-height: clamp(196px, 18vw, 251px);
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px;
  background: var(--tile-wash), var(--tile-backdrop) center / cover no-repeat, #7e263b;
  color: var(--tile-ink);
  scroll-snap-align: start;
}

.promo-tile[data-tone="gold"] {
  --tile-ink: #421b12;
  --tile-accent: #6d3416;
  --tile-wash: linear-gradient(100deg, #fff0c4 7%, #ffd483e8 55%, #b9752b33 100%);
}

.promo-tile[data-tone="steel"] {
  --tile-accent: #d1e8ef;
  --tile-wash: linear-gradient(100deg, #10262f 7%, #254754ec 59%, #2a4a5426 100%);
}

.promo-tile[data-tone="stone"] {
  --tile-ink: #301b19;
  --tile-accent: #693c32;
  --tile-wash: linear-gradient(102deg, #faf0e7 8%, #ead6c5ed 59%, #7a54452b 100%);
}

.promo-tile:hover { text-decoration: none; }
.promo-tile:hover .promo-tile-cta { text-decoration: underline; text-underline-offset: .22em; }
.promo-tile:focus-visible { outline-offset: -4px; }

.promo-tile-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  min-width: 0;
  padding: 20px 7px 20px clamp(33px, 4vw, 54px);
}

.promo-tile-brand {
  color: var(--tile-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.promo-tile-title {
  font-size: clamp(21px, 2.42vw, 35px);
  font-weight: 800;
  letter-spacing: -.042em;
  line-height: 1.09;
  text-wrap: balance;
}
.promo-tile-model {
  color: var(--tile-accent);
  font-size: 11px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.promo-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff7e9;
  color: #5e2130;
  font-size: 11px;
  font-weight: 700;
}
.promo-tile-cta::after {
  content: "";
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}

.promo-tile-media {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  margin: 12px 13px 12px -1px;
  padding: 8px 10px;
  overflow: hidden;
  border-radius: 48% 12px 12px 48% / 42% 12px 12px 42%;
  background: radial-gradient(ellipse at 44% 44%, #fffdf9, #ecdfd4 83%, #d9bdab);
}

.promo-tile-media img {
  width: 100%;
  height: clamp(156px, 14.7vw, 207px);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.promo-tile--cutout .promo-tile-media {
  margin-right: 12px;
  overflow: visible;
  border-radius: 0;
  background: radial-gradient(ellipse at 50% 58%, #f8dab16b, #f5dcb420 57%, transparent 75%);
}
.promo-tile--cutout .promo-tile-media img {
  mix-blend-mode: normal;
  filter: drop-shadow(8px 9px 9px #2210166e);
}

.promo-rail-prev, .promo-rail-next {
  position: absolute;
  z-index: 2;
  inset-block-start: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 1px solid #e6c8ac;
  border-radius: 50%;
  background: #fffaf3;
  color: #542331;
  box-shadow: 0 4px 12px #38231426;
}
.promo-rail-prev { inset-inline-start: -10px; }
.promo-rail-next { inset-inline-end: -10px; }
.promo-rail-prev:hover, .promo-rail-next:hover { background: #ffeac9; }
.promo-rail-prev::before, .promo-rail-next::before {
  content: "";
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
}
.promo-rail-prev::before { transform: rotate(-135deg) translate(-1px, -1px); }
.promo-rail-next::before { transform: rotate(45deg) translate(-1px, 1px); }

.opening-feature + .promo-rail { margin-top: -15px; }

@media (max-width: 700px) {
  .promo-rail-track { grid-auto-columns: 91%; column-gap: 9px; border-radius: 12px; }
  .promo-tile { min-height: 171px; grid-template-columns: 56% 44%; border-radius: 12px; }
  .promo-tile-copy { padding: 11px 5px 11px 27px; gap: 5px; }
  .promo-tile-brand { font-size: 9px; }
  .promo-tile-title { font-size: clamp(18px, 5.3vw, 24px); }
  .promo-tile-model { font-size: 10px; }
  .promo-tile-cta { min-height: 25px; font-size: 10px; }
  .promo-tile-media { margin: 8px 8px 8px 0; padding: 5px; }
  .promo-tile--cutout .promo-tile-media { margin-right: 9px; }
  .promo-tile-media img { height: 137px; }
  .promo-rail-prev, .promo-rail-next { width: 32px; height: 32px; }
  .promo-rail-prev { inset-inline-start: -7px; }
  .promo-rail-next { inset-inline-end: -7px; }
  .opening-feature + .promo-rail { margin-top: -12px; }
}

/* The detail link covers the card, with the compare button above it. */
.product, .opening-card { position: relative; isolation: isolate; }
.product-detail:hover, .opening-card:has(.product-detail:hover) .product-detail { text-decoration: none; }
.product-detail::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
}
.product-detail:focus-visible { outline: none; }
.product-detail:focus-visible::after { outline: 3px solid #ba6c25; outline-offset: -4px; }
.product:has(.product-detail:hover) h4,
.opening-card:has(.product-detail:hover) h3 { color: var(--red); }
.product:has(.product-detail:hover),
.opening-card:has(.product-detail:hover) { border-color: #c68b79; }

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px 8px;
  min-height: 32px;
}
.product-meta .compare-trigger {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-height: 32px;
  margin-inline-start: auto;
  padding: 4px 2px 4px 5px;
  border-radius: 5px;
}
.opening-card .product-meta .compare-trigger { font-size: 11px; }
.product-meta .sold-number { min-height: 0; }

#anh-chon-ket .promo-tile-title { text-shadow: 0 1px 0 #5d233478, 0 3px 8px #2a06182e; }
#anh-chon-ket .promo-tile[data-tone="gold"] .promo-tile-title {
  paint-order: stroke fill;
  -webkit-text-stroke: 1px #ffefbc;
  text-shadow: 0 2px 0 #efa132, 0 4px 8px #a56c3b55;
}

@media (max-width: 700px) {
  .product-meta { gap: 4px; }
  .product-meta .compare-trigger { min-height: 28px; font-size: 11px; }
  .opening-card .product-meta .compare-trigger { font-size: 10px; }
}

.opening-previous { color: var(--dim); font-size: .85em; }

.footer-policies { margin-top: 20px; font-size: 13px; }
.footer-policies summary { cursor: pointer; }
.footer-policies a { display: block; padding-block: 4px; }
