:root {
  --ink: #20201e;
  --paper: #fff;
  --yellow: #ffd155;
  --cream: #fff5d1;
  --lavender: #e4def5;
  --mint: #c9e3b4;
  --peach: #f2c3b3;
  --blue: #cee9ed;
  --muted: #68675f;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Be Vietnam Pro", sans-serif;
  /* Bo góc: 4 cấp dùng chung cho toàn site. */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  /* Cỡ chữ: không dùng cỡ nào dưới 12px. */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 17px;
  --fs-lg: 20px;
  --fs-xl: 24px;
  --fs-h2: clamp(26px, 2.65vw, 36px);
  --fs-h1: clamp(28px, 3.3vw, 44px);
  --fs-display: clamp(34px, 4vw, 54px);
  /* Lề trong chung của mọi khối (header, section, hero, footer…). */
  --inset: 64px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}
body {
  margin: 0;
  background: linear-gradient(125deg, #fff9f0 0%, #fff 30%, #fbf8ff 65%, #fff 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 900;
  /* Tiếng Việt viết hoa có dấu chồng: cần giãn chữ và dòng vừa đủ để dấu không dính nhau. */
  letter-spacing: -0.015em;
  line-height: 1.15;
}
h1 {
  text-transform: uppercase;
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  line-height: 1.45;
}
svg {
  vertical-align: middle;
  flex-shrink: 0;
}
:focus-visible {
  outline: 3px solid #bd6b1c;
  outline-offset: 4px;
}
.site-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 30px 28px;
  background: #fff;
}
.announcement {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-sm);
  padding: 7px 22px;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-align: center;
}
.site-header {
  height: 100px;
  display: grid;
  grid-template-columns: 1fr 240px 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 var(--inset);
}
.brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 64px;
  margin: auto;
}
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-right {
  justify-content: flex-end;
  gap: 21px;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > button {
  border: 0;
  background: none;
  padding: 12px 0;
  white-space: nowrap;
}
.mega-menu {
  position: absolute;
  left: 0;
  top: 42px;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--ink);
  padding: 16px;
  min-width: 290px;
  box-shadow: 5px 5px 0 var(--yellow);
  display: none;
  border-radius: var(--r-md);
}
.nav-dropdown:hover .mega-menu,
.nav-dropdown.open .mega-menu,
.nav-dropdown:focus-within .mega-menu {
  display: grid;
  gap: 10px;
}
.icon-button {
  border: 0;
  background: transparent;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.basket-icon {
  position: relative;
}
.badge-count {
  position: absolute;
  right: -3px;
  top: -3px;
  background: var(--yellow);
  border-radius: 50%;
  font-size: 11px;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
}
.menu-toggle,
.mobile-nav {
  display: none;
}
.button {
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.yellow {
  background: var(--yellow);
  box-shadow: 2px 3px 0 var(--ink);
}
.button:hover {
  transform: translateY(-2px);
}
.yellow:hover {
  box-shadow: 3px 5px 0 var(--ink);
}
.outline {
  background: #fff;
}
.round-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  margin-top: 16px;
  white-space: nowrap;
}
.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.hero {
  background: linear-gradient(125deg, var(--cream), #f3eee7 42%, var(--lavender));
  min-height: 590px;
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  padding: 55px var(--inset) 50px;
  isolation: isolate;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}
.spectrum {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: conic-gradient(from 160deg, #ff8e3b, #ffde2c, #44d5ef, #65d54c, #ff8e3b);
  filter: blur(0.4px);
  top: 70px;
}
.hero-product {
  position: relative;
  z-index: 1;
  height: 440px;
  width: 330px;
  object-fit: contain;
  transform: rotate(-10deg);
  filter: drop-shadow(18px 24px 18px #29261b30);
}
.hero-copy {
  padding: 28px 0 28px 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.hero h1 {
  font-size: var(--fs-display);
  max-width: 500px;
  margin-bottom: 37px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 30px;
}
.hero-bottom p {
  font-size: 14px;
  font-weight: 600;
  max-width: 230px;
  margin: 0;
}
.hero-scribble {
  position: absolute;
  left: -83px;
  top: 155px;
  font-size: 90px;
  transform: rotate(-25deg);
}
.orbit-label {
  position: absolute;
  left: 65px;
  bottom: 5px;
  letter-spacing: 0.18em;
  font-size: var(--fs-xs);
}
.hero-star {
  position: absolute;
  right: -12px;
  bottom: 50px;
  font-size: 100px;
  color: #ba7330;
  transform: rotate(18deg);
}
.category-strip {
  display: flex;
  overflow: auto;
  gap: 22px;
  margin: 50px -15px 25px;
  padding: 12px 15px 20px;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
}
.category-tile {
  flex: 0 0 190px;
  min-height: 200px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #fff, #fffaf7);
  box-shadow: 0 8px 35px #dfd3de35;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 15px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  scroll-snap-align: start;
}
.category-tile img {
  height: 95px;
  width: 105px;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin-bottom: 15px;
}
.section {
  padding: 75px var(--inset);
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.story h2 {
  font-size: var(--fs-h1);
  text-transform: uppercase;
  max-width: 440px;
}
.story-image {
  position: relative;
}
.story-image > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--ink);
  border-radius: var(--r-md);
}
.scribble {
  position: absolute;
  right: -38px;
  top: 45px;
  font-size: 70px;
  transform: rotate(-13deg);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 480px;
  margin-top: 35px;
  margin-bottom: 15px;
}
.pills span {
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 5px 13px;
  font-size: var(--fs-sm);
  box-shadow: 1px 2px 0 #b5aaa3;
}
.pills span:nth-child(1) {
  background: #bceff0;
}
.pills span:nth-child(2) {
  background: var(--peach);
}
.pills span:nth-child(3) {
  background: var(--mint);
}
.story .text-link {
  margin-right: 16px;
}
.centered {
  text-align: center;
}
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}
.section-title h2 {
  margin-bottom: 0;
  text-transform: uppercase;
}
.section-title.centered {
  display: block;
}
.crown {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.2;
  display: block;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.product-card {
  border: 1px solid var(--ink);
  min-width: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--mint);
}
.color-1 .product-image {
  background: var(--peach);
}
.color-2 .product-image {
  background: var(--blue);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-image:hover img {
  transform: scale(1.045);
}
.product-card-info {
  display: grid;
  align-items: center;
  gap: 6px 12px;
  padding: 18px;
  background: #fff;
  min-height: 95px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  flex: 1;
}
.product-card-info > div {
  display: contents;
}
.product-card-info > div > a {
  grid-column: 1 / -1;
  align-self: start;
}
.product-card-info h3 {
  font-size: 16px;
  margin: 0 0 4px;
  font-weight: 600;
  line-height: 1.45;
}
.product-card-info span {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.product-card-info .round-button {
  flex-shrink: 0;
}
.featured > .centered {
  margin-top: 25px;
}
.collections {
  padding-top: 15px;
}
.collection {
  margin-bottom: 85px;
}
.collection .section-title h2 {
  font-size: clamp(22px, 2.1vw, 28px);
}
.legacy-banner {
  border-top: 1px solid #ddd;
  padding: 25px 0;
}
.legacy-banner summary {
  font-family: var(--serif);
  font-size: 22px;
  cursor: pointer;
}
.legacy-banner .product-grid {
  margin-top: 20px;
}
.partners {
  padding-top: 10px;
}
.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  justify-content: center;
}
.partner-row img {
  width: 110px;
  height: 85px;
  object-fit: contain;
}
.editorial-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.editorial-feature > a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--ink);
  border-radius: var(--r-md);
}
.quote-mark {
  font-family: var(--serif);
  font-size: 90px;
  font-weight: 900;
  line-height: 1;
}
.editorial-feature h3 {
  font-size: 22px;
}
.editorial-feature p {
  font-size: var(--fs-base);
}
.gallery {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 50px;
  align-items: center;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 170px 150px;
  gap: 18px;
  align-items: stretch;
}
.mosaic a {
  border: 1px solid var(--ink);
  overflow: hidden;
  border-radius: var(--r-md);
}
.mosaic img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.mosaic a:hover img {
  transform: scale(1.04);
}
.mosaic-0 {
  grid-row: 1/3;
  grid-column: 2;
}
.mosaic-1 {
  grid-row: 1;
  grid-column: 1;
  margin-top: 30px;
}
.mosaic-2 {
  grid-row: 2;
  grid-column: 1;
}
.mosaic-3 {
  grid-row: 1;
  grid-column: 3;
  margin-top: 60px;
}
.mosaic-4 {
  grid-row: 2;
  grid-column: 3;
}
.mosaic-5 {
  display: none;
}
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 65px;
  align-items: center;
}
.newsletter h2 {
  margin: 0;
}
.search-field {
  display: flex;
  gap: 15px;
  align-items: center;
}
.search-field input {
  flex: 1;
  min-width: 0;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  margin-top: 18px;
}
.checkbox-label input {
  width: auto;
  margin: 0;
}
.bottom-banner {
  margin: 60px 0 25px;
  padding: 32px var(--inset);
  min-height: 205px;
  border-radius: var(--r-lg);
  background: linear-gradient(115deg, var(--cream), var(--lavender));
  display: grid;
  grid-template-columns: 1.3fr 0.6fr 1fr;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.bottom-banner h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  margin-bottom: 15px;
}
.bottom-banner p {
  font-size: 14px;
  max-width: 300px;
  margin-bottom: 16px;
}
.bottom-banner img {
  height: 175px;
  margin: auto;
  transform: rotate(-12deg);
  object-fit: contain;
}
.bottom-banner > div:last-child {
  text-align: right;
}
.footer {
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  padding: 60px var(--inset) 28px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.7fr);
  gap: 40px 56px;
}
.footer-top h3 {
  font-family: var(--sans);
  font-size: 15px;
  margin-bottom: 22px;
}
.footer-top a:not(.footer-brand) {
  display: block;
  margin-bottom: 10px;
  color: #e8e6e1;
}
.footer-brand img {
  width: 170px;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 10px;
  margin-bottom: 15px;
}
/* Khối thông tin doanh nghiệp: tên, tên tiếng Anh, bảng nhãn – giá trị. */
.footer-company-name {
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.4;
}
.footer-company-en {
  margin-top: 2px;
  color: #a9a7a1;
  font-size: var(--fs-xs);
}
.footer-info {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  line-height: 1.5;
}
.footer-info > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
}
.footer-info dt {
  color: #a9a7a1;
  white-space: nowrap;
}
.footer-info dd {
  margin: 0;
  color: #e8e6e1;
}
.footer-top .footer-info a {
  display: inline;
  margin: 0;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #62615b;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--fs-xs);
}
.policy-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.floating-contact {
  transition: transform 0.25s, opacity 0.25s;
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  box-shadow: 2px 3px 0 var(--ink);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  z-index: 15;
}
.reveal {
  animation: reveal 0.75s both;
}
.reveal:nth-child(2n) {
  animation-delay: 0.1s;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.toast {
  background: #fff5d6;
  border: 1px solid #dfc66c;
  border-radius: var(--r-sm);
  padding: 15px;
  margin-bottom: 20px;
}
.page-heading {
  padding: 55px var(--inset) 35px;
  background: linear-gradient(120deg, #fff7da, #e9e4f5);
  border-radius: var(--r-lg);
}
.page-heading h1 {
  font-size: var(--fs-h1);
  max-width: 950px;
  margin-bottom: 18px;
}
.page-heading p {
  margin: 0;
}
.catalogue {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 45px var(--inset);
}
.filters {
  align-self: start;
  position: sticky;
  top: 20px;
}
.filters .button {
  width: 100%;
  margin-top: 20px;
}
label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 7px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #c7c5bd;
  border-radius: var(--r-sm);
  background: #fff;
  padding: 12px 13px;
  margin-bottom: 16px;
  min-width: 0;
}
textarea {
  resize: vertical;
}
select {
  padding-right: 20px;
}
.catalogue .product-grid {
  gap: 20px;
}
.catalogue .product-card-info {
  padding: 12px;
}
.pagination {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  justify-content: center;
}
.pagination a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pagination .current {
  background: var(--yellow);
}
.breadcrumbs {
  padding: 25px var(--inset);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.product-detail {
  padding: 25px var(--inset) 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
}
.main-product-image {
  background: linear-gradient(135deg, #fff6dd, #e9e5f4);
  border: 1px solid var(--ink);
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
}
.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumbnails {
  display: flex;
  gap: 12px;
  overflow: auto;
  margin-top: 20px;
}
.thumbnail {
  border: 1px solid #ddd;
  background: white;
  flex: 0 0 80px;
  padding: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.thumbnail.selected {
  border: 2px solid var(--ink);
}
.thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.product-summary h1 {
  font-size: clamp(26px, 2.65vw, 36px);
  margin-bottom: 18px;
}
.sku {
  color: var(--muted);
  font-size: var(--fs-sm);
}
.contact-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}
.add-request {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.add-request label {
  margin: 0;
}
.add-request input {
  width: 75px;
  margin: 0;
}
.product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.product-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
  font-size: var(--fs-sm);
  border-top: 1px solid #ddd;
  padding-top: 20px;
}
.detail-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 15px;
  margin-bottom: 35px;
  font-weight: 600;
}
.rich-content {
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.rich-content h1,
.rich-content h2 {
  font-family: var(--sans);
  font-size: 24px;
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.5;
  text-transform: none;
  margin-top: 35px;
}
.rich-content h3 {
  font-size: var(--fs-lg);
}
.rich-content h4 {
  font-size: var(--fs-md);
}
.product-excerpt {
  margin-top: 14px;
  line-height: 1.7;
}
.product-excerpt p {
  margin: 0 0 10px;
}
.product-excerpt ul {
  margin: 0 0 12px;
  padding-left: 20px;
  list-style: disc;
}
.product-excerpt li {
  margin: 4px 0;
}
.rich-content img {
  max-width: 100%;
  height: auto;
  margin: 25px auto;
  border-radius: var(--r-md);
}
.rich-content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow: auto;
}
.rich-content td,
.rich-content th {
  border: 1px solid #ddd;
  padding: 12px;
}
.rich-content a {
  text-decoration: underline;
}
.rich-content p {
  margin-bottom: 18px;
}
.article-page {
  max-width: 1020px;
  margin: auto;
  padding-bottom: 60px;
}
.article-page > .rich-content {
  padding: 50px var(--inset);
}
.article-page .page-heading {
  margin: 10px 30px;
}
.article-page .page-heading h1 {
  font-size: clamp(26px, 2.8vw, 38px);
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.article-card {
  border: 1px solid var(--ink);
  padding: 25px;
  display: block;
  border-radius: var(--r-md);
}
.article-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  margin-bottom: 25px;
  border-radius: var(--r-sm);
}
.article-card h2 {
  font-size: var(--fs-lg);
  line-height: 1.4;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.article-card p {
  font-size: 14px;
}
.article-nav {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 35px;
  font-size: 14px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.contact-layout h2 {
  font-size: 26px;
  line-height: 1.2;
}
.form-panel {
  background: #fcfaf5;
  border: 1px solid #ded9ce;
  border-radius: var(--r-md);
  padding: 30px;
}
.form-panel h2 {
  font-size: 24px;
}
.form-error {
  background: #fff0ec;
  border: 1px solid #b2634b;
  padding: 15px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
}
.map {
  border: 1px solid #ddd;
  width: 100%;
  height: 350px;
  border-radius: var(--r-md);
}
.basket-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 45px;
}
.basket-row {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid #ddd;
}
.basket-row > img {
  width: 115px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.basket-row h3 {
  font-size: var(--fs-md);
}
.basket-row p {
  font-size: var(--fs-sm);
}
.basket-row form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.basket-row form label {
  margin: 0;
}
.basket-row input[type="number"] {
  width: 65px;
  margin: 0;
  padding: 7px;
}
.small-button {
  border: 1px solid #aaa;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font-size: var(--fs-sm);
}
.empty-state {
  text-align: center;
  padding: 70px 20px;
}
.empty-state h1 {
  font-size: 32px;
}
.empty-state h2 {
  font-size: 26px;
}
.empty-state p {
  color: var(--muted);
}
.success-icon {
  font-size: 60px;
  font-family: var(--serif);
  color: #48854c;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
dialog {
  width: min(650px, calc(100% - 32px));
  border: 1px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 40px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 8px 8px 0 #28251b2b;
}
dialog::backdrop {
  background: #15141188;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 26px;
}
.close-dialog {
  position: absolute;
  right: 14px;
  top: 10px;
}
.search-field input {
  margin-bottom: 0;
}
@media (min-width: 1450px) {
}
@media (max-width: 1100px) {
  :root {
    --inset: 36px;
  }
  .site-shell {
    padding: 18px 24px;
  }
  .site-header {
    padding: 0 var(--inset);
    grid-template-columns: 1fr 160px 1fr;
    gap: 10px;
  }
  .brand img {
    max-width: 150px;
    max-height: 52px;
  }
  .nav-left,
  .nav-right {
    gap: 12px;
    font-size: 13px;
  }
  .hero {
    padding: 35px var(--inset);
    min-height: 490px;
  }
  .hero-copy {
    padding-left: 20px;
  }
  .hero-product {
    height: 365px;
    width: 265px;
  }
  .hero-art {
    min-height: 370px;
  }
  .spectrum {
    width: 290px;
    height: 290px;
  }
  .hero-bottom {
    gap: 15px;
  }
  .section {
    padding: 60px var(--inset);
  }
  .story {
    gap: 55px;
  }
  .catalogue {
    grid-template-columns: 190px 1fr;
    padding: 35px var(--inset);
    gap: 25px;
  }
  .product-card-info h3 {
    font-size: 15px;
  }
  .product-detail {
    padding: 20px var(--inset) 50px;
    gap: 35px;
  }
  .gallery {
    gap: 30px;
  }
  .mosaic {
    grid-template-rows: 140px 130px;
    gap: 12px;
  }
  .footer {
    padding: 40px var(--inset);
  }
  .contact-layout {
    gap: 35px;
  }
  .bottom-banner {
    padding: 25px var(--inset);
  }
  .newsletter {
    gap: 30px;
  }
}
/* Thanh thông báo trên màn hẹp: chỉ hiện 2 ý đầu cho vừa 1 dòng. */
@media (max-width: 1000px) {
  .announcement-text {
    white-space: nowrap;
    overflow: hidden;
  }
  .announcement-text > :nth-child(n + 4) {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --r-lg: 18px;
    --inset: 16px;
  }
  /* 16px để iPhone không tự phóng to khi chạm vào ô nhập. */
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .section-title {
    flex-wrap: wrap;
  }
  .product-summary .contact-price {
    font-size: 20px;
  }
  .footer-top > :first-child {
    grid-column: 1 / -1;
  }
  .add-request .button {
    flex: 1;
  }
  /* Chừa chỗ dưới cùng cho nút Zalo để không che chân trang. */
  .site-shell {
    padding: 12px 14px 72px;
  }
  .announcement {
    padding: 8px;
    min-height: 32px;
    justify-content: center;
  }
  .announcement > span:first-child,
  .announcement > a {
    display: none;
  }
  .site-header {
    height: 68px;
    grid-template-columns: 40px 1fr auto;
    padding: 0;
    gap: 8px;
  }
  .nav-left,
  .nav-right > a:first-child,
  .nav-right > a:nth-child(2) {
    display: none;
  }
  .nav-right {
    gap: 5px;
  }
  .brand img {
    max-width: 150px;
    max-height: 48px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .mobile-nav.open {
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--ink);
    border-radius: var(--r-md);
    margin-bottom: 15px;
    background: #fffef9;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 28px var(--inset) 33px;
    min-height: 0;
  }
  .hero-art {
    grid-row: 2;
    min-height: 320px;
    margin-top: 25px;
  }
  .hero-copy {
    padding: 5px 0 0;
  }
  .hero h1 {
    font-size: 34px;
    max-width: 460px;
    margin-bottom: 23px;
  }
  .hero-bottom {
    gap: 20px;
    align-items: center;
  }
  .hero-bottom p {
    font-size: var(--fs-sm);
    max-width: 165px;
  }
  .button {
    padding: 11px 16px;
    font-size: var(--fs-sm);
    gap: 9px;
  }
  .spectrum {
    width: 265px;
    height: 265px;
    top: 28px;
  }
  .hero-product {
    height: 310px;
    width: 240px;
  }
  .hero-star {
    font-size: 65px;
    bottom: 50px;
  }
  .hero-scribble {
    left: -55px;
    top: 120px;
    font-size: 65px;
  }
  /* Đưa nhãn lên góc trên để không bị bàn tay cầm chai che mất. */
  .orbit-label {
    left: 0;
    top: 0;
    bottom: auto;
  }
  .category-strip {
    margin: 25px -14px 15px;
    padding: 12px 14px 18px;
    gap: 12px;
  }
  .category-tile {
    flex-basis: 135px;
    min-height: 165px;
    padding: 15px 12px;
    font-size: var(--fs-sm);
  }
  .category-tile img {
    height: 78px;
    width: 85px;
  }
  .section {
    padding: 40px var(--inset);
  }
  .story {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .story h2 {
    font-size: 34px;
  }
  .story-image {
    max-width: 450px;
  }
  .scribble {
    right: -15px;
    font-size: 55px;
  }
  .pills {
    margin-top: 25px;
  }
  .eyebrow {
    margin-bottom: 12px;
  }
  .section-title {
    margin-bottom: 27px;
    align-items: center;
    gap: 20px;
  }
  .section-title h2 {
    font-size: 26px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .product-card-info {
    padding: 12px;
    min-height: 96px;
    gap: 6px 8px;
  }
  .product-card-info h3 {
    font-size: 14px;
  }
  .product-card-info span {
    font-size: var(--fs-xs);
  }
  .product-card-info .round-button {
    width: 27px;
    height: 27px;
    font-size: 20px;
  }
  .collections {
    padding-top: 15px;
  }
  .collection {
    margin-bottom: 45px;
  }
  .collection .section-title h2 {
    font-size: 22px;
  }
  .text-link {
    font-size: var(--fs-sm);
    gap: 6px;
  }
  .partners {
    padding-top: 5px;
  }
  .partner-row {
    gap: 18px;
  }
  .partner-row img {
    width: 85px;
    height: 65px;
  }
  .editorial-feature {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .editorial-feature h3 {
    font-size: 19px;
  }
  .quote-mark {
    font-size: 65px;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .mosaic {
    grid-template-rows: 135px 115px;
    gap: 10px;
  }
  .newsletter {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .search-field {
    gap: 10px;
  }
  .bottom-banner {
    grid-template-columns: 1fr 90px;
    gap: 15px;
    padding: 25px var(--inset);
    margin-top: 30px;
  }
  .bottom-banner p {
    font-size: var(--fs-sm);
  }
  .bottom-banner img {
    height: 150px;
    grid-column: 2;
    grid-row: 1/3;
  }
  .bottom-banner > div:last-child {
    text-align: left;
    grid-column: 1;
  }
  .bottom-banner > div:last-child p {
    display: none;
  }
  .footer {
    padding: 35px var(--inset) 25px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .footer-brand img {
    width: 125px;
  }
  .footer-top h3 {
    margin-bottom: 15px;
  }
  .footer-top a:not(.footer-brand) {
    overflow-wrap: anywhere;
  }
  .footer-bottom {
    display: block;
  }
  .footer-info > div {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
  }
  .footer-bottom > span {
    display: block;
    margin-top: 20px;
  }
  .policy-links {
    gap: 10px;
  }
  .floating-contact {
    bottom: 12px;
    right: 12px;
    font-size: var(--fs-sm);
    padding: 8px 13px;
  }
  .page-heading {
    padding: 32px var(--inset);
  }
  .page-heading h1 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }
  .catalogue {
    display: block;
    padding: 25px var(--inset);
  }
  .filters {
    position: static;
    margin-bottom: 25px;
  }
  .filters form {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 8px 15px;
    align-items: center;
  }
  .filters label {
    font-size: var(--fs-sm);
    margin: 0;
  }
  .filters label[for="keyword"],
  .filters label[for="category"],
  .filters label[for="sort"],
  .filters label[for="limit"] {
    grid-column: 1;
  }
  .filters input,
  .filters select {
    grid-column: 2;
    margin: 0;
    padding: 10px;
  }
  .filters .button {
    margin-top: 10px;
    grid-column: 1/3;
  }
  .catalogue .product-grid {
    gap: 12px;
  }
  .catalogue .product-card-info {
    padding: 9px;
  }
  .breadcrumbs {
    padding: 18px var(--inset);
    font-size: var(--fs-xs);
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 10px var(--inset) 35px;
  }
  .product-summary h1 {
    font-size: 26px;
  }
  .product-summary p,
  .product-excerpt li {
    font-size: var(--fs-base);
  }
  .gallery-thumbnails {
    gap: 10px;
  }
  .thumbnail {
    flex-basis: 65px;
  }
  .thumbnail img {
    width: 65px;
    height: 65px;
  }
  .detail-tabs {
    font-size: 14px;
    gap: 22px;
  }
  .rich-content {
    font-size: var(--fs-base);
    line-height: 1.85;
  }
  .rich-content h1,
  .rich-content h2 {
    font-size: 21px;
  }
  .article-page .page-heading {
    margin: 5px 0;
  }
  .article-page .page-heading h1 {
    font-size: 24px;
  }
  .article-page > .rich-content {
    padding: 30px var(--inset);
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .article-card h2 {
    font-size: 18px;
  }
  .article-nav {
    gap: 15px;
    font-size: var(--fs-sm);
  }
  .contact-layout,
  .basket-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-layout h2 {
    font-size: 22px;
  }
  .form-panel {
    padding: 22px;
  }
  .map {
    height: 280px;
  }
  .basket-row {
    gap: 15px;
  }
  .basket-row > img {
    width: 80px;
  }
  .basket-row h3 {
    font-size: var(--fs-base);
  }
  .basket-row input[type="number"] {
    width: 55px;
  }
  .empty-state {
    padding: 50px 10px;
  }
  .empty-state h1 {
    font-size: 28px;
  }
  dialog {
    padding: 30px 23px;
  }
  .bottom-banner .button {
    padding: 10px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.source-banners {
  display: flex;
  gap: 20px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  margin-bottom: 40px;
}
.source-banners a {
  flex: 0 0 80%;
  scroll-snap-align: start;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid #e1ddd3;
}
.source-banners img {
  width: 100%;
  aspect-ratio: 3;
  object-fit: contain;
  background: #fffaf3;
}
@media (max-width: 760px) {
  .source-banners a {
    flex-basis: 95%;
  }
  .source-banners {
    gap: 12px;
  }
}
@media (min-width: 761px) and (max-width: 950px) {
  .hero {
    padding: 35px var(--inset);
    min-height: 480px;
  }
  .hero-copy {
    padding: 15px 10px 15px 20px;
  }
  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .hero-bottom p {
    max-width: 230px;
  }
  .hero-art {
    min-height: 370px;
  }
  .hero-product {
    height: 330px;
    width: 230px;
  }
  .spectrum {
    width: 260px;
    height: 260px;
    top: 60px;
  }
  .hero-star {
    font-size: 65px;
    bottom: 20px;
  }
  .orbit-label {
    left: 35px;
  }
  .newsletter {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
.featured .product-grid {
  display: flex;
  overflow: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.featured .product-card {
  flex: 0 0 calc((100% - 50px) / 3);
  scroll-snap-align: start;
}
.collections-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  cursor: pointer;
  padding: 15px 0;
  border-bottom: 1px solid #c9c5bb;
  list-style: none;
}
.collections-disclosure > summary::-webkit-details-marker {
  display: none;
}
.collections-disclosure > summary span {
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 400;
}
.collections-content {
  padding-top: 50px;
}
.collections {
  padding-bottom: 15px;
}
.category-tile img {
  mix-blend-mode: normal;
}
@media (max-width: 760px) {
  .featured .product-card {
    flex-basis: calc((100% - 14px) / 2);
  }
  .collections-disclosure > summary {
    font-size: 20px;
  }
  .collections-content {
    padding-top: 35px;
  }
}

/* Arrow controls stay outside the cards so product actions remain unobstructed. */
.carousel {
  min-width: 0;
  max-width: 100%;
}
.carousel-track {
  scrollbar-width: none !important;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 2px 4px;
}
.carousel-controls[hidden] {
  display: none;
}
.carousel-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 2px 2px 0 var(--ink);
  transition:
    transform 0.2s,
    background 0.2s;
}
.carousel-arrow:hover {
  background: var(--cream);
  transform: translateY(-2px);
}
.carousel-arrow:active {
  transform: translateY(1px);
  box-shadow: none;
}
.featured .carousel-track {
  padding-bottom: 4px;
}
.source-banners.carousel-track {
  margin-bottom: 0;
}
.carousel:has(> .source-banners) {
  margin-bottom: 40px;
}
.gallery-thumbnails.carousel-track {
  padding: 4px;
}
@media (max-width: 760px) {
  .carousel-controls {
    gap: 9px;
    padding-top: 10px;
  }
  .carousel-arrow {
    width: 38px;
    height: 38px;
  }
}

.article-album {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.article-album img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.embed-slider {
  display: flex;
  overflow: hidden;
  scrollbar-width: none;
}
.embed-slider::-webkit-scrollbar {
  display: none;
}

.partner-row > a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.round-button:disabled,
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.site-header .brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Categories stay fully visible; other product strips retain their carousel. */
.footer-brand img[src*="ancore-logo-white"] {
  width: 190px;
  height: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  margin-bottom: 20px;
}
@media (max-width: 760px) {
  .footer-brand img[src*="ancore-logo-white"] {
    width: 145px;
    max-width: 100%;
  }
}
.hero:has(.hero-product[src*="ancore-hand-bottle"]) {
  --hand-edge: 50px;
}
.hero-product[src*="ancore-hand-bottle"] {
  position: absolute;
  bottom: calc(-1 * var(--hand-edge));
  transform: none;
  width: auto;
  max-width: none;
  height: calc(100% + 5px);
  object-position: center bottom;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero:has(.hero-product[src*="ancore-hand-bottle"]) {
    --hand-edge: 35px;
  }
}
.bottom-banner img[src$="/ancore-bottle.webp"] {
  height: 200px;
  transform: rotate(-8deg);
}
@media (max-width: 760px) {
  .bottom-banner img[src$="/ancore-bottle.webp"] {
    height: 155px;
    width: 90px;
  }
}
.bottom-banner img[src*="ancore-hand-bottle"] {
  transform: none;
  height: 200px;
}
@media (max-width: 760px) {
  .hero:has(.hero-product[src*="ancore-hand-bottle"]) {
    --hand-edge: 33px;
  }
  .hero-product[src*="ancore-hand-bottle"] {
    width: auto;
    height: 350px;
  }
  .bottom-banner img[src*="ancore-hand-bottle"] {
    height: 155px;
    width: 90px;
  }
}
.category-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  margin: 32px 0 22px;
  padding: 0;
  scroll-snap-type: none;
}
.category-tile {
  min-width: 0;
  min-height: 148px;
  padding: 20px 10px 16px;
  gap: 12px;
  line-height: 1.5;
  border: 1px solid #eee6dc;
  box-shadow: 0 5px 20px #dfd3de20;
  justify-content: flex-start;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.category-tile:hover {
  border-color: #bd9464;
  background: #fff8ec;
}
.category-tile img {
  width: 70px;
  height: 70px;
  margin: 0;
  flex-shrink: 0;
  object-fit: contain;
}
.category-tile span {
  max-width: 100%;
  overflow-wrap: break-word;
}
#home-about {
  padding-bottom: 24px;
}
#home-about + #home-featured {
  padding-top: 24px;
}
#home-featured:has(+ #home-bottom_banner) {
  padding-bottom: 24px;
}
#home-featured + #home-bottom_banner {
  margin-top: 24px;
}
#home-partners:has(+ #home-articles) {
  padding-bottom: 28px;
}
#home-partners + #home-articles {
  padding-top: 28px;
}
#home-articles:has(+ #home-gallery) {
  padding-bottom: 28px;
}
#home-articles + #home-gallery {
  padding-top: 28px;
}
@media (max-width: 760px) {
  #home-featured:has(+ #home-bottom_banner) {
    padding-bottom: 16px;
  }
  #home-featured + #home-bottom_banner {
    margin-top: 16px;
  }
  #home-partners:has(+ #home-articles),
  #home-articles:has(+ #home-gallery) {
    padding-bottom: 20px;
  }
  #home-partners + #home-articles,
  #home-articles + #home-gallery {
    padding-top: 20px;
  }
}
@media (max-width: 760px) {
  #home-about {
    padding-bottom: 16px;
  }
  #home-about + #home-featured {
    padding-top: 16px;
  }
}
.bottom-banner {
  grid-template-columns: 1fr 0.5fr 1.6fr;
}
.bottom-banner > div.banner-message {
  text-align: left;
}
.bottom-banner .banner-message h3 {
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 14px;
}
.bottom-banner > div.banner-message p {
  display: block;
  max-width: none;
  font-size: 14px;
  line-height: 1.8;
}
@media (max-width: 760px) {
  .bottom-banner {
    grid-template-columns: 1fr 90px;
  }
  .bottom-banner .banner-message {
    grid-column: 1/-1;
  }
  .bottom-banner .banner-message h3 {
    font-size: 19px;
  }
}
.editorial-feature {
  grid-template-columns: calc((100% - 70px) / 4) minmax(0, 1fr);
  gap: 35px;
}
@media (max-width: 760px) {
  .editorial-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .editorial-feature > a {
    width: 50%;
  }
}
@media (max-width: 1000px) {
  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .category-tile {
    min-height: 132px;
  }
}
@media (max-width: 600px) {
  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 18px;
  }
  .category-tile {
    min-height: 148px;
    padding: 16px 10px;
    font-size: var(--fs-sm);
    gap: 10px;
  }
  .category-tile img {
    width: 60px;
    height: 60px;
  }
}
.floating-contact.is-hidden {
  transform: translateY(160%);
  opacity: 0;
  pointer-events: none;
}
/* Màn rất hẹp: nhãn nằm trên giá trị để email/địa chỉ không bị ngắt giữa chừng. */
@media (max-width: 400px) {
  .footer-info > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}
