:root {
  --ink: #302d2b;
  --muted: #817a76;
  --line: #e8e3df;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
b,
strong {
  font-weight: 600;
}

.topline,
.brandmark,
.brand small,
.cartbutton,
.nav a,
.eyebrow,
.primary,
.badge,
.price,
.add,
.outline,
.product-title,
.product-category,
header .support a {
  font-weight: 600;
}

.nav a {
  transition: color 180ms ease;
}

.sectiontitle h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.35px;
}

.subtitle {
  font-weight: 400;
  letter-spacing: 0.01em;
}

.card {
  border-color: #e5e0dc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(50, 38, 29, 0.035);
  transition:
    transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #d9d0ca;
  box-shadow: 0 9px 22px rgba(50, 38, 29, 0.09);
}

.product-image-button {
  overflow: hidden;
}

.productimg {
  height: 174px;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card:hover .productimg {
  transform: scale(1.035);
}

.badge {
  top: 12px;
  padding: 5px 10px;
  font-size: 11px;
}

.badge-discount {
  top: 10px;
  left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0 999px 999px 0;
  background: linear-gradient(115deg, #ffb52d 0%, #ff7620 52%, #ed342c 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(110, 30, 0, 0.25);
  box-shadow: 0 4px 12px rgba(232, 89, 30, 0.25);
}

.badge-bestseller {
  top: 10px;
  right: 10px;
  left: auto;
  max-width: calc(100% - 80px);
  border: 1px solid rgba(255, 233, 196, 0.8);
  border-radius: 999px;
  background: linear-gradient(115deg, #ff7418 0%, #f23a20 55%, #cf1728 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(100, 15, 0, 0.28);
  box-shadow: 0 5px 14px rgba(219, 34, 33, 0.28);
  animation: bestseller-glow 2s ease-in-out infinite;
}

@keyframes bestseller-glow {
  0%,
  100% {
    box-shadow: 0 4px 11px rgba(219, 34, 33, 0.22);
  }

  50% {
    box-shadow: 0 5px 16px rgba(255, 91, 25, 0.4);
  }
}

.cardbody {
  padding: 13px 12px 15px;
}

.card h3 {
  min-height: 42px;
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.product-title {
  font-weight: 600;
  line-height: inherit;
}

.price {
  font-size: 15px;
  font-weight: 600;
}

.old {
  color: #a7a19c;
  font-weight: 400;
}

.details {
  color: #817a76;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: color 180ms ease;
}

.details:hover,
.buy:hover {
  color: var(--red);
}

.cardbody .add {
  margin-top: 10px;
  padding: 8px 21px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.cardbody .add:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(183, 41, 49, 0.18);
}

.buy {
  margin-top: 8px;
  color: #77716d;
  font-size: 13px;
  font-weight: 400;
  transition: color 180ms ease;
}

.outline {
  border-color: #ded7d1;
  border-radius: 8px;
  font-weight: 500;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.outline:hover {
  border-color: #cfc3bb;
  background: #fcfaf8;
}

.deal-arrow {
  width: 36px;
  height: 36px;
  background: #77736f;
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.deal-arrow:hover {
  transform: scale(1.04);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(183, 41, 49, 0.28);
  outline-offset: 3px;
}

@media (max-width: 750px) {
  .sectiontitle h2 {
    font-size: 15px;
  }

  .productimg {
    height: 145px;
  }

  .cardbody {
    padding: 11px 9px 13px;
  }

  .card h3 {
    min-height: 40px;
    font-size: 14px;
  }

  .price {
    font-size: 14px;
  }

  .cardbody .add {
    padding: 7px 15px;
    font-size: 12px;
  }

  .badge-discount {
    left: 8px;
  }

  .badge-bestseller {
    right: 8px;
    max-width: calc(100% - 74px);
    font-size: 9px;
  }
}

@media (max-width: 440px) {
  .productimg {
    height: 128px;
  }

  .badge-discount {
    top: 8px;
    left: 6px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .badge-bestseller {
    top: 8px;
    right: 6px;
    max-width: calc(100% - 62px);
    padding: 4px 6px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .productimg,
  .nav a,
  .cardbody .add,
  .outline,
  .deal-arrow {
    transition: none;
  }

  .badge-bestseller {
    animation: none;
  }

  .card:hover,
  .card:hover .productimg,
  .deal-arrow:hover,
  .cardbody .add:hover {
    transform: none;
  }
}

.news-section {
  padding: 48px 0 56px;
  background: #fbf8f5;
}

.news-section[hidden] {
  display: none;
}

.news-section .subtitle {
  margin: 10px 0 25px;
}

.news-carousel {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 13px;
}

.news-viewport {
  min-width: 0;
  overflow: hidden;
  border-radius: 11px;
  outline-offset: 4px;
}

.news-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.news-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #e6d9cf;
  border-radius: 50%;
  background: #fff;
  color: #8e2c20;
  box-shadow: 0 4px 12px rgba(59, 37, 25, 0.09);
  font-size: 24px;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}

.news-arrow:hover:not(:disabled) {
  transform: scale(1.07);
  background: #fff8f2;
}

.news-arrow:disabled {
  cursor: default;
  opacity: 0.45;
}

.news-arrow[hidden] {
  display: none;
}

.news-pagination {
  display: flex;
  min-height: 10px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 17px 0 0;
}

.news-pagination:empty {
  display: none;
}

.news-pagination button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #d9c8bb;
  transition: width 180ms ease, background 180ms ease;
}

.news-pagination button[aria-current="true"] {
  width: 22px;
  background: #8e2c20;
}

.news-card {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ebe2dc;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(59, 37, 25, 0.045);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: #ddcabc;
  box-shadow: 0 11px 25px rgba(59, 37, 25, 0.1);
}

.news-image {
  display: block;
  height: 205px;
  overflow: hidden;
  background: #f1e9e1;
}

.news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.news-card:hover .news-image img {
  transform: scale(1.04);
}

.news-body {
  padding: 18px 18px 20px;
}

.news-category {
  color: #9a4435;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.news-body h3 {
  margin: 8px 0 8px;
  color: #372821;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.news-body p {
  min-height: 58px;
  margin: 0;
  color: #817770;
  font-size: 13px;
  line-height: 1.55;
}

.news-date {
  display: block;
  margin-top: 11px;
  color: #958a83;
  font-size: 12px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: #8e2c20;
  font-size: 13px;
  font-weight: 600;
}

.news-link span {
  transition: transform 180ms ease;
}

.news-link:hover span {
  transform: translateX(3px);
}

@media (max-width: 850px) {
  .news-track {
    gap: 15px;
  }

  .news-card {
    flex-basis: calc((100% - 15px) / 2);
  }

  .news-image {
    height: 175px;
  }

  .news-body {
    padding: 15px 13px 17px;
  }

  .news-body h3 {
    font-size: 15px;
  }
}

@media (max-width: 650px) {
  .news-section {
    padding: 38px 0 42px;
  }

  .news-carousel {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .news-arrow {
    width: 34px;
    height: 34px;
  }

  .news-track {
    gap: 14px;
  }

  .news-card {
    flex-basis: 100%;
  }

  .news-card {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    align-items: stretch;
  }

  .news-image {
    height: 100%;
    min-height: 188px;
  }

  .news-body p {
    min-height: 0;
  }

  .news-link {
    margin-top: 10px;
  }
}

@media (max-width: 440px) {
  .news-card {
    display: block;
  }

  .news-image {
    height: 180px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-track,
  .news-arrow,
  .news-image img,
  .news-link span,
  .news-pagination button {
    transition: none;
  }

  .news-card:hover,
  .news-card:hover .news-image img {
    transform: none;
  }
}

.why-section {
  overflow: hidden;
  padding: 50px 0 32px;
  border-top: 1px solid #f0e5dc;
  background: linear-gradient(180deg, #fff 0%, #fcf8f4 100%);
}

.why-section .sectiontitle h2 {
  max-width: 560px;
  white-space: normal;
  line-height: 1.35;
}

.why-section .subtitle {
  margin: 10px 0 23px;
}

.why-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
}

.why-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.why-viewport::-webkit-scrollbar {
  display: none;
}

.why-track {
  display: flex;
  width: 100%;
  min-width: 100%;
  gap: 16px;
  padding: 4px 1px 12px;
}

.why-card {
  flex: 0 0 calc((100% - 48px) / 4);
  overflow: hidden;
  border: 1px solid #ead4c5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(83, 51, 34, 0.055);
  scroll-snap-align: start;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: #dfc1ac;
  box-shadow: 0 11px 24px rgba(83, 51, 34, 0.11);
}

.why-illustration {
  height: 150px;
  overflow: hidden;
  background: #f4e9dd;
}

.why-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.why-card:hover .why-illustration img {
  transform: scale(1.045);
}

.why-copy {
  min-height: 92px;
  padding: 13px 14px 15px;
  text-align: center;
}

.why-copy h3 {
  margin: 0 0 5px;
  color: #3c2a22;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.why-copy p {
  margin: 0;
  color: #857b74;
  font-size: 13px;
  line-height: 1.45;
}

.why-arrow {
  display: grid;
  flex: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #77736f;
  color: white;
  font-size: 27px;
  line-height: 1;
  transition: background-color 180ms ease, transform 180ms ease;
}

.why-arrow:hover {
  transform: scale(1.05);
  background: #8e2c20;
}

.why-pagination {
  display: flex;
  min-height: 18px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 5px;
}

.why-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #d4c8bc;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.why-dot[aria-current="true"] {
  width: 18px;
  background: #9a3225;
}

@media (max-width: 900px) {
  .why-card {
    flex-basis: calc((100% - 32px) / 3);
  }
}

@media (max-width: 750px) {
  .why-section {
    padding: 38px 0 25px;
  }

  .why-carousel {
    gap: 8px;
  }

  .why-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .why-illustration {
    height: 138px;
  }

  .why-arrow {
    width: 30px;
    height: 30px;
    font-size: 23px;
  }
}

@media (max-width: 520px) {
  .why-section .sectiontitle {
    gap: 8px;
  }

  .why-section .sectiontitle h2 {
    font-size: 14px;
    max-width: 210px;
  }

  .why-section .subtitle {
    max-width: 310px;
    margin: 9px auto 18px;
    font-size: 13px;
  }

  .why-carousel {
    gap: 7px;
  }

  .why-card {
    flex-basis: 84%;
  }

  .why-illustration {
    height: 142px;
  }

  .why-copy {
    min-height: 85px;
    padding: 11px 12px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-viewport {
    scroll-behavior: auto;
  }

  .why-card,
  .why-illustration img,
  .why-arrow,
  .why-dot {
    transition: none;
  }

  .why-card:hover,
  .why-card:hover .why-illustration img,
  .why-arrow:hover {
    transform: none;
  }
}


/* Hover and tap category menu */
.category-menu {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.category-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  color: var(--red);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
}

.category-menu-trigger::-webkit-details-marker { display: none; }
.category-menu-trigger::marker { content: ""; }
.category-menu-chevron {
  margin-left: 1px;
  color: #8c766b;
  font-size: 13px;
  transition: transform 160ms ease;
}

.category-menu[open] .category-menu-chevron { transform: rotate(180deg); }
.category-menu-panel {
  position: absolute;
  z-index: 40;
  top: 100%;
  left: -10px;
  display: grid;
  min-width: 232px;
  padding: 8px;
  border: 1px solid #eee3dc;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(48, 29, 18, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.category-menu:hover > .category-menu-panel,
.category-menu[data-open="true"] > .category-menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.category-menu-panel a {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 0 11px;
  border-radius: 8px;
  color: #51433b;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease;
}

.category-menu-panel a:hover,
.category-menu-panel a:focus-visible {
  background: #fbf3ed;
  color: #8e2c20;
}

@media (max-width: 750px) {
  header .nav { position: relative; flex-wrap: wrap; overflow: visible; }
  header .category-menu-panel { left: 0; }
  header .search { order: 1; flex: 1 1 100%; width: 100%; min-width: 0; margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .category-menu-chevron,
  .category-menu-panel,
  .category-menu-panel a { transition: none; }
}

/* Add-to-cart feedback */
header .cartbutton {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

header .cartbutton.cart-highlight {
  border-color: #efc0ae;
  background: #fff3ec;
  box-shadow: 0 0 0 4px rgba(183, 41, 49, 0.09);
  animation: cart-attention 760ms cubic-bezier(.2,.75,.3,1);
}

header .cartbutton.cart-highlight svg { color: #b72931; }
header .cartbutton.cart-highlight #count {
  background: linear-gradient(135deg, #d43e32, #a91f2b);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(183, 41, 49, 0.13);
  animation: cart-count-pop 600ms cubic-bezier(.2,.75,.3,1);
}

@keyframes cart-attention {
  0%, 100% { transform: scale(1); }
  32% { transform: scale(1.07); }
  62% { transform: scale(.985); }
}

@keyframes cart-count-pop {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.22); }
  68% { transform: scale(.94); }
}

#toast.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  left: 50%;
  right: auto;
  bottom: 24px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 12px 17px 12px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: #34231d;
  color: #fff;
  box-shadow: 0 14px 34px rgba(35,19,13,.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 14px) scale(.97);
  transition: opacity 200ms ease, visibility 200ms ease, transform 240ms cubic-bezier(.2,.75,.3,1);
}

#toast.toast::before {
  content: "✓";
  display: grid;
  width: 27px;
  height: 27px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #e3f3e6;
  color: #26723b;
  font-size: 16px;
  font-weight: 700;
}

#toast.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

@media (max-width: 520px) {
  #toast.toast { bottom: 16px; padding: 11px 14px 11px 11px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  header .cartbutton,
  #toast.toast { transition: none; }
  header .cartbutton.cart-highlight,
  header .cartbutton.cart-highlight #count { animation: none; }
}

/* Category dropdown: hover on desktop, tap on touch screens */
.category-menu-trigger {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #ead8ce;
  border-radius: 10px;
  background: linear-gradient(135deg, #fffaf6, #f8e9e2);
  box-shadow: 0 3px 10px rgba(95, 38, 26, .06);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.category-menu-trigger:hover,
.category-menu[data-open="true"] .category-menu-trigger,
.category-menu:focus-within .category-menu-trigger {
  border-color: #d7a899;
  background: linear-gradient(135deg, #fff3eb, #f2d9ce);
  color: #6d1f15;
  box-shadow: 0 7px 18px rgba(95, 38, 26, .13);
  transform: translateY(-1px);
}
.category-menu-chevron { transition: transform 180ms ease; }
.category-menu:hover .category-menu-chevron,
.category-menu[data-open="true"] .category-menu-chevron { transform: rotate(180deg); }
.category-menu-panel {
  top: calc(100% - 1px);
  left: 0;
  min-width: 250px;
  padding: 11px;
  border-color: #ead8ce;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(155deg, #fff 55%, #fff8f2);
  box-shadow: 0 18px 36px rgba(48, 29, 18, .17);
  transform: translateY(9px) scale(.985);
  transform-origin: top left;
  transition: opacity 200ms ease, transform 220ms cubic-bezier(.2,.75,.2,1), visibility 200ms ease;
}
.category-menu:hover > .category-menu-panel,
.category-menu[data-open="true"] > .category-menu-panel {
  transform: translateY(0) scale(1);
}
.category-menu-panel a {
  min-height: 43px;
  gap: 10px;
  padding-inline: 12px;
  border-radius: 10px;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}
.category-menu-panel a::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #c8876d;
  content: "";
  transition: transform 160ms ease, background-color 160ms ease;
}
.category-menu-panel a::after {
  margin-left: auto;
  color: #b99a8b;
  content: "›";
  font-size: 18px;
  line-height: 1;
}
.category-menu-panel a:hover,
.category-menu-panel a:focus-visible {
  background: #f9e9e0;
  transform: translateX(2px);
}
.category-menu-panel a:hover::before,
.category-menu-panel a:focus-visible::before { background: #8e2c20; transform: scale(1.25); }
@media (hover: none) {
  .category-menu:focus-within > .category-menu-panel {
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(9px) scale(.985);
  }
  .category-menu[data-open="true"] > .category-menu-panel {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .category-menu-trigger, .category-menu-chevron, .category-menu-panel, .category-menu-panel a, .category-menu-panel a::before { transition: none; }
}

/* One SpoonStone story and shopping CTA section with gentle nut particles */
.story-experience {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  overflow: hidden;
  margin: 64px 0 0;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid #eee5d9;
  border-radius: 24px;
  background: radial-gradient(ellipse at 82% 18%, rgba(230, 201, 157, .26), transparent 31%), linear-gradient(125deg, #f8f8f1, #fff9f2 76%, #f4e6d6);
  box-shadow: 0 18px 48px rgba(72, 45, 29, .075);
}
.story-experience::before,
.story-experience::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.story-experience::before {
  top: -120px;
  right: 17%;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, .44);
  filter: blur(2px);
}
.story-experience::after {
  right: -95px;
  bottom: -150px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(151, 97, 57, .13);
  box-shadow: 0 0 0 24px rgba(151, 97, 57, .035), 0 0 0 52px rgba(151, 97, 57, .025);
}
.story-copy,
.story-action { position: relative; z-index: 1; }
.story-copy .eyebrow,
.story-kicker {
  display: inline-block;
  color: #8e3b2b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
}
.story-copy h2 {
  margin: 12px 0 14px;
  color: #38281f;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.22;
}
.story-copy p,
.story-action p {
  max-width: 650px;
  margin: 0;
  color: #746b63;
  font-size: 15px;
  line-height: 1.8;
}
.story-action {
  padding: 8px 0 8px clamp(24px, 4vw, 50px);
  border-left: 1px solid rgba(146, 91, 57, .2);
}
.story-action p { margin: 11px 0 22px; }
.story-action .primary {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #9a3424, #782218);
  box-shadow: 0 8px 20px rgba(120, 34, 24, .2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.story-action .primary:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(120, 34, 24, .27); }
.story-action .primary span { font-size: 18px; line-height: 1; }
.nut-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.nut-particle {
  position: absolute;
  display: block;
  width: 30px;
  height: 19px;
  border: 1px solid rgba(104, 58, 32, .22);
  border-radius: 60% 42% 58% 44%;
  background: repeating-linear-gradient(135deg, #d5a46d 0 4px, #bd8755 4px 6px, #e2bd89 6px 9px);
  box-shadow: 0 4px 9px rgba(90, 53, 30, .12);
  opacity: .68;
  animation: spoonstone-nut-drift 8s ease-in-out infinite;
}
.nut-particle::after {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 50%;
  width: 1px;
  background: rgba(100, 57, 32, .32);
  content: "";
  transform: rotate(18deg);
}
.nut-particle-1 { top: 16%; left: 7%; animation-duration: 9s; }
.nut-particle-2 { top: 70%; left: 11%; width: 23px; height: 15px; animation-delay: -2s; animation-duration: 7s; }
.nut-particle-3 { top: 25%; left: 43%; width: 21px; height: 14px; animation-delay: -4s; animation-duration: 10s; }
.nut-particle-4 { top: 76%; left: 48%; width: 34px; height: 22px; animation-delay: -1s; animation-duration: 8s; }
.nut-particle-5 { top: 17%; right: 7%; width: 25px; height: 17px; animation-delay: -3s; animation-duration: 9s; }
.nut-particle-6 { top: 64%; right: 5%; animation-delay: -5s; animation-duration: 11s; }
.nut-particle-7 { top: 44%; left: 3%; width: 18px; height: 12px; animation-delay: -6s; animation-duration: 7.5s; }
.nut-particle-8 { top: 84%; right: 25%; width: 22px; height: 15px; animation-delay: -2.5s; animation-duration: 9.5s; }
.nut-particle-9 { top: 7%; right: 35%; width: 18px; height: 12px; animation-delay: -4.5s; animation-duration: 8.5s; }
.nut-particle-10 { top: 47%; right: 19%; width: 28px; height: 18px; animation-delay: -1.5s; animation-duration: 10.5s; }
@keyframes spoonstone-nut-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-14deg); }
  28% { transform: translate3d(9px, -13px, 0) rotate(8deg); }
  62% { transform: translate3d(-6px, -23px, 0) rotate(24deg); }
}
@media (max-width: 760px) {
  .story-experience { grid-template-columns: 1fr; gap: 24px; margin-top: 42px; border-radius: 18px; }
  .story-action { padding: 21px 0 0; border-top: 1px solid rgba(146, 91, 57, .2); border-left: 0; }
  .story-copy p, .story-action p { font-size: 14px; }
  .nut-particle { opacity: .38; }
  .nut-particle-3, .nut-particle-7, .nut-particle-9 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nut-particle { animation: none; }
  .story-action .primary { transition: none; }
  .story-action .primary:hover { transform: none; }
}

/* Order summary and final order review */
.modal.checkout-modal {
  width: min(760px, 100%);
  max-height: 90vh;
  padding: 28px;
  border: 1px solid #eee5dc;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(36, 23, 16, .24);
}
.checkout-modal > h2 { margin: 0 44px 7px 0; color: #382a23; font-size: 25px; font-weight: 500; }
.checkout-modal > .note { margin: 0 0 18px; }
.order-summary {
  margin: 0 0 20px;
  padding: 16px 18px 13px;
  border: 1px solid #eee3da;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffdf9, #faf5ef);
}
.order-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.order-summary-heading h3,
.order-review-contact h3 { margin: 0; color: #43342c; font-size: 15px; font-weight: 600; }
.order-summary-heading > span { color: #887b72; font-size: 12px; }
.order-summary-items { display: grid; }
.order-summary-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #eee8e1;
}
.order-summary-item:last-child { border-bottom: 0; }
.order-summary-item img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; background: #f2ece5; }
.summary-product { display: grid; gap: 4px; min-width: 0; }
.summary-product strong { overflow: hidden; color: #40342e; font-size: 13px; font-weight: 500; text-overflow: ellipsis; }
.summary-product small { color: #887d75; font-size: 12px; }
.summary-line-total { color: #8d3024; font-size: 13px; font-weight: 600; white-space: nowrap; }
.order-summary-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; color: #4d4038; font-size: 14px; }
.order-summary-total strong { color: #8d3024; font-size: 18px; font-weight: 700; }
.order-shipping-note { margin: 7px 0 0; color: #897f78; font-size: 11px; line-height: 1.5; }
.checkout-modal .formgrid { gap: 11px; }
.checkout-modal .formgrid input,
.checkout-modal .formgrid textarea { border-color: #e5ded8; border-radius: 9px; font: inherit; font-size: 14px; }
.checkout-modal .formgrid input:focus,
.checkout-modal .formgrid textarea:focus { border-color: #bd7864; outline: 3px solid rgba(189, 120, 100, .13); }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 2px; }
.order-actions .primary,
.order-actions .outline { min-height: 44px; padding: 10px 19px; border-radius: 999px; font-size: 14px; }
.order-actions .primary { box-shadow: 0 6px 15px rgba(130, 39, 28, .16); }
.order-actions .primary:disabled { opacity: .65; cursor: wait; }
.order-review-contact {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: 15px 17px;
  border: 1px solid #eee3da;
  border-radius: 13px;
  background: #fffdf9;
}
.order-review-contact h3 { margin-bottom: 2px; }
.order-review-contact > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; font-size: 13px; line-height: 1.5; }
.order-review-contact > div span { color: #867970; }
.order-review-contact > div strong { color: #3d332d; font-weight: 500; overflow-wrap: anywhere; }
.review-step { display: block; margin-bottom: 7px; color: #8d3024; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.review-actions { justify-content: flex-end; margin-top: 15px; }
.review-actions .primary { min-width: 155px; }
@media (max-width: 600px) {
  .modal.checkout-modal { width: 100%; max-height: 92vh; padding: 21px 17px; border-radius: 16px; }
  .checkout-modal > h2 { font-size: 21px; }
  .order-summary { padding: 13px 12px 11px; }
  .order-summary-item { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 9px; }
  .order-summary-item img { width: 42px; height: 42px; }
  .summary-product strong { font-size: 12px; }
  .summary-line-total { font-size: 12px; }
  .order-review-contact > div { grid-template-columns: 88px minmax(0, 1fr); gap: 8px; }
  .review-actions { flex-direction: column-reverse; align-items: stretch; }
  .review-actions .primary,
  .review-actions .outline { width: 100%; }
}

/* Keep checkout above the sticky site header and identify required fields */
#overlay.overlay { z-index: 1000; }
.modal.checkout-modal { max-height: calc(100dvh - 32px); }
.checkout-modal .checkout-field {
  display: grid;
  align-content: start;
  gap: 6px;
  color: #55473f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.checkout-modal .required-star { color: #d42b32; font-size: 16px; font-weight: 700; vertical-align: -1px; }
.checkout-modal .optional-label { display: inline; margin-left: 5px; color: #a0968f; font-size: 11px; font-weight: 400; }
.checkout-modal .checkout-field input,
.checkout-modal .checkout-field textarea { margin-top: 1px; }
@media (max-width: 600px) {
  .modal.checkout-modal { max-height: calc(100dvh - 24px); }
}
.checkout-modal .formgrid .order-actions { justify-content: space-between; }
@media (max-width: 600px) {
  .checkout-modal .formgrid .order-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .checkout-modal .formgrid .order-actions .primary,
  .checkout-modal .formgrid .order-actions .outline { width: 100%; padding-inline: 8px; font-size: 12px; white-space: nowrap; }
}

/* Compact SpoonStone header: logo left, menu and controls grouped on the right */
header .header {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 126px;
  padding: 12px 20px;
  transition: min-height 260ms ease, padding 260ms ease;
}
header .brand { justify-self: start; }
header .brand-logo {
  width: 270px;
  max-height: 96px;
  transform: scale(1.06);
  transform-origin: left center;
  transition: width 280ms cubic-bezier(.2,.75,.3,1), max-height 280ms ease, transform 280ms cubic-bezier(.2,.75,.3,1);
}
.header-right {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 50px 46px;
  align-content: center;
  gap: 0;
  transition: grid-template-rows 280ms cubic-bezier(.2,.75,.3,1);
}
.header-upper { display: flex; min-width: 0; grid-column: 2; grid-row: 1; align-items: center; justify-content: flex-end; gap: 14px; }
header .headright { flex: none; gap: 16px; }
header .support a { gap: 7px; white-space: nowrap; }
header .search { flex: 0 1 248px; width: 248px; min-width: 205px; margin: 0; }
header .navborder { grid-column: 1 / -1; grid-row: 2; border: 0; }
header .nav { width: 100%; min-height: 46px; justify-content: flex-start; gap: clamp(14px, 1.6vw, 21px); transition: min-height 260ms ease, gap 260ms ease; }
header .nav > a { white-space: nowrap; }
header .nav .search { margin-left: auto; }
header .nav .search input { padding-block: 8px; font-size: 14px; transition: font-size 240ms ease, padding 240ms ease; }
header.is-scrolled .header { min-height: 78px; padding-block: 5px; }
header.is-scrolled .brand-logo { width: 178px; max-height: 58px; transform: scale(1); }
header.is-scrolled .nav { min-height: 40px; }

.contact-dock {
  position: fixed;
  z-index: 8;
  right: 22px;
  bottom: 24px;
  display: grid;
  gap: 12px;
}
.contact-button {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid #f5d9a8;
  border-radius: 19px;
  background: linear-gradient(145deg, #8e2c20, #58150b);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(88, 21, 11, .27), 0 0 0 3px rgba(239, 198, 121, .22);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: contact-float 3.2s ease-in-out infinite;
}
.contact-button:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 27px rgba(88,21,11,.34), 0 0 0 4px rgba(239,198,121,.28); }
.contact-button svg { width: 25px; height: 25px; }
.contact-button > span { font-size: 13px; font-weight: 700; letter-spacing: -.35px; }
.contact-button small {
  position: absolute;
  right: calc(100% + 10px);
  padding: 7px 10px;
  border-radius: 8px;
  background: #30231f;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.contact-button:hover small, .contact-button:focus-visible small { opacity: 1; transform: translateX(0); }
.contact-zalo { background: linear-gradient(145deg, #642018, #3f110b); animation-delay: -.7s; }
.contact-phone { background: linear-gradient(145deg, #c94b35, #8e2c20); }
@keyframes contact-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -4px; } }

@media (max-width: 900px) {
  header .header { grid-template-columns: minmax(185px, 220px) minmax(0,1fr); gap: 14px; min-height: 112px; }
  header .brand-logo { width: 220px; }
  header .headright { gap: 10px; }
  header .support { display: block; }
  header .support a { gap: 5px; font-size: 13px; }
  header .search { flex-basis: 215px; width: 215px; min-width: 185px; }
  header .nav { gap: 14px; }
}
@media (max-width: 680px) {
  header .header { grid-template-columns: minmax(128px, 35%) minmax(0,1fr); gap: 9px 12px; min-height: 0; padding: 9px 14px 5px; }
  header .brand { grid-column: 1; grid-row: 1; }
  header .brand-logo { width: min(100%, 190px); max-height: 64px; transform: none; }
  .header-right { display: contents; }
  .header-upper { display: contents; }
  header .headright { grid-column: 2; grid-row: 1; justify-content: flex-end; gap: 8px; }
  header .support a { font-size: 12px; }
  header .support svg { width: 18px; height: 18px; }
  header .cartbutton { gap: 5px; font-size: 12px; }
  header .cartbutton svg { width: 20px; height: 20px; }
  header .cartbutton #count { min-width: 25px; height: 25px; }
  header .navborder { grid-column: 1 / -1; grid-row: 2; }
  header .nav { min-height: 42px; justify-content: flex-start; flex-wrap: wrap; gap: 7px 15px; padding-block: 4px 7px; }
  header .nav .search { order: 9; flex: 1 0 100%; width: 100%; min-width: 0; max-width: none; margin: 2px 0 0; }
  header .nav > a { font-size: 13px; }
  header.is-scrolled .header { min-height: 0; padding-block: 5px 2px; }
  header.is-scrolled .brand-logo { width: min(100%, 145px); max-height: 48px; }
  header.is-scrolled .nav { min-height: 36px; }
  .contact-dock { right: 12px; bottom: 16px; gap: 9px; }
  .contact-button { width: 52px; height: 52px; border-radius: 17px; }
}
@media (max-width: 390px) {
  header .header { grid-template-columns: minmax(105px, 31%) minmax(0,1fr); column-gap: 8px; padding-inline: 12px; }
  header .brand-logo { width: 150px; }
  header .support a { font-size: 11px; }
  header .headright { gap: 5px; }
  header .cartbutton .cart-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-button { animation: none; transition: none; }
  header .header, header .brand-logo { transition: none; }
}

/* Scrolled desktop header: animate the menu into the same compact row as the logo. */
@media (min-width: 681px) {
  header.is-scrolled .header {
    grid-template-columns: minmax(150px, 178px) minmax(0, 1fr);
    gap: 16px;
    min-height: 68px;
    padding-block: 4px;
  }
  header.is-scrolled .brand-logo { width: 178px; max-height: 58px; transform: scale(1); }
  header.is-scrolled .header-right {
    grid-template-rows: 58px 0px;
    align-content: center;
  }
  header.is-scrolled .navborder { grid-column: 1; grid-row: 1; min-width: 0; }
  header.is-scrolled .header-upper { grid-column: 2; grid-row: 1; }
  header.is-scrolled .nav { min-height: 58px; flex-wrap: nowrap; justify-content: flex-start; gap: 16.5px; }
  header.is-scrolled .nav > a { font-size: 13px; transition: font-size 240ms ease, color 180ms ease; }
  header.is-scrolled .nav .category-menu-trigger { min-height: 36px; padding: 6px 10px; font-size: 13px; }
  header.is-scrolled .nav .search { flex: 0 1 180px; width: 180px; min-width: 145px; height: 38px; transition: width 260ms ease, flex-basis 260ms ease; }
  header.is-scrolled .nav .search input { padding-block: 6px; font-size: 12px; }
  header.is-scrolled .headright { gap: 10px; }
  header.is-scrolled .cartbutton { gap: 5px; font-size: 13px; }
}
@media (min-width: 681px) and (max-width: 900px) {
  header.is-scrolled .header { grid-template-columns: minmax(135px, 150px) minmax(0,1fr); gap: 10px; min-height: 62px; }
  header.is-scrolled .brand-logo { width: 150px; max-height: 50px; }
  header.is-scrolled .nav { gap: 10.5px; }
  header.is-scrolled .nav .category-menu-trigger { padding-inline: 7px; font-size: 12px; }
  header.is-scrolled .nav .search { display: none; }
  header.is-scrolled .support span,
  header.is-scrolled .cartbutton .cart-label { display: none; }
  header.is-scrolled .headright { gap: 5px; }
}
@media (max-width: 680px) {
  header.is-scrolled .nav { gap: 6px 15px; }
  header.is-scrolled .nav > a { font-size: 11px; }
  header.is-scrolled .nav .category-menu-trigger { min-height: 33px; padding: 5px 8px; font-size: 11px; }
}

/* Mobile navigation and persistent cart action. */
.nav-links {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(14px, 1.6vw, 21px);
}
.mobile-cart { display: none; }

@media (max-width: 680px) {
  main.wrap { padding-inline: 12px; }
  main.wrap .hero.banner-carousel { width: calc(100% + 24px); margin: 0 -12px; border-radius: 0; }
  header .header {
    grid-template-columns: minmax(112px, 1fr) auto;
    gap: 5px 10px;
    min-height: 0;
    padding: 7px 12px 8px;
  }
  header .brand-logo { width: min(100%, 150px); max-height: 50px; }
  header .headright { gap: 7px; }
  header .support a { gap: 4px; font-size: 11px; }
  header .support svg { width: 17px; height: 17px; }
  header .cartbutton { gap: 3px; font-size: 11px; }
  header .cartbutton svg { width: 19px; height: 19px; }
  header .cartbutton #count { width: 23px; height: 23px; font-size: 11px; }
  header .navborder { grid-column: 1 / -1; grid-row: 2; }
  header .nav {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 1px 0 0;
  }
  header .nav-links {
    width: 100%;
    flex: none;
    justify-content: space-between;
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }
  header .nav-links::-webkit-scrollbar { display: none; }
  header .category-menu-panel { position: fixed; z-index: 52; top: 92px; left: 12px; }
  header .nav-links > a { flex: none; font-size: 11.5px; }
  header .category-menu-trigger { min-height: 34px; gap: 5px; padding: 5px 8px; font-size: 11.5px; }
  header .nav .search {
    order: 0;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    height: 37px;
    margin: 0;
  }
  header .search input { font-size: 13px; }
  header.is-scrolled .header { min-height: 0; padding-block: 4px 6px; }
  header.is-scrolled .brand-logo { width: min(100%, 130px); max-height: 44px; }
  header.is-scrolled .nav { min-height: 0; gap: 5px; }
  header.is-scrolled .nav-links { gap: 5px; }
  header.is-scrolled .category-menu-panel { top: 85px; }
  header.is-scrolled .nav-links > a { font-size: 10.5px; }
  header.is-scrolled .nav .category-menu-trigger { min-height: 31px; padding: 4px 7px; font-size: 10.5px; }
  header.is-scrolled .nav .search { width: 100%; min-width: 0; height: 34px; }
  header.is-scrolled .search input { padding-block: 5px; font-size: 11px; }

  .mobile-cart {
    position: fixed;
    z-index: 32;
    left: 12px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    display: inline-flex;
    width: min(210px, calc(100vw - 96px));
    min-height: 48px;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid #ddc9b5;
    border-radius: 999px;
    background: linear-gradient(135deg, #fffdf8, #f5efe4);
    color: #75291f;
    font: inherit;
    text-align: left;
    box-shadow: 0 5px 18px rgba(54, 31, 20, .17);
    cursor: pointer;
  }
  .mobile-cart svg { width: 20px; height: 20px; flex: none; }
  .mobile-cart-label { display: flex; flex-direction: column; color: #46332b; font-size: 12px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
  .mobile-cart-label small { margin-top: 2px; color: #81736b; font-size: 10px; font-weight: 500; }
  .mobile-cart strong { margin-left: auto; padding-left: 8px; border-left: 1px solid #e5d9cd; color: #542017; font-size: 11px; white-space: nowrap; }
  .contact-dock { right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); gap: 8px; }
  .contact-button { width: 48px; height: 48px; border-radius: 16px; }
  .contact-button small { display: none; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

@media (max-width: 390px) {
  header .header { grid-template-columns: minmax(98px, 1fr) auto; column-gap: 6px; padding-inline: 10px; }
  header .brand-logo { width: min(100%, 136px); }
  header .support a { font-size: 10px; }
  header .headright { gap: 5px; }
  header .cartbutton .cart-label { display: none; }
  header .nav-links { gap: 3px; }
  header .nav-links > a { font-size: 10.5px; }
  header .category-menu-trigger { gap: 4px; padding-inline: 6px; font-size: 10.5px; }
  header.is-scrolled .brand-logo { width: min(100%, 122px); }
  header.is-scrolled .nav-links > a,
  header.is-scrolled .nav .category-menu-trigger { font-size: 10px; }
  .mobile-cart { width: min(194px, calc(100vw - 90px)); padding-inline: 10px; }
}

@media (max-width: 600px) {
  #uudai.section,
  #bohat.section { padding: 27px 0 8px; }
  #uudai .sectiontitle,
  #bohat .sectiontitle { gap: 8px; }
  #uudai .sectiontitle h2,
  #bohat .sectiontitle h2 { font-size: 15px; letter-spacing: .25px; }
  #uudai .subtitle,
  #bohat .subtitle { margin: 8px 0 16px; font-size: 13px; line-height: 1.45; }

  .deals-carousel { gap: 0; }
  .deal-arrow { display: none; }
  .deals-window { width: 100%; flex: 1 1 100%; overflow-x: auto; scroll-padding-inline: 2px; }
  .deals-track { width: 100%; min-width: 100%; gap: 10px; padding: 2px 1px 7px; }
  .deals-track .card {
    flex: 0 0 44%;
    max-width: 44%;
    border-radius: 7px;
    text-align: left;
    scroll-snap-align: start;
  }
  .deals-track .productimg { height: 100px; }
  .deals-track .cardbody {
    display: flex;
    min-height: 142px;
    flex-direction: column;
    align-items: stretch;
    padding: 9px 10px 10px;
    text-align: left;
  }
  .deals-track .card h3 {
    display: -webkit-box;
    min-height: 36px;
    max-height: 36px;
    overflow: hidden;
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .deals-track .price { min-height: 19px; font-size: 13px; text-align: left; white-space: nowrap; }
  .deals-track .old { font-size: 10px; }
  .deals-track .details { display: none; }
  .deals-track .cardbody .add {
    width: calc(100% - 4px);
    min-height: 28px;
    margin: 7px auto 0;
    padding: 5px 7px;
    font-size: 11px;
    line-height: 1.2;
  }
  .deals-track .buy { margin: 5px auto 0; font-size: 11px; line-height: 1.3; }
  .badge-discount { top: 8px; left: 0; padding: 4px 8px; border-radius: 0 15px 15px 0; font-size: 10px; }
  .badge-bestseller { top: 8px; right: 5px; max-width: calc(100% - 54px); padding: 4px 5px; font-size: 8px; }
  #uudai .center,
  #bohat .center { margin: 12px 0 4px; }
  #uudai .center .outline,
  #bohat .center .outline { display: block; width: 100%; min-height: 42px; padding: 10px 14px; }

  #toast.toast { z-index: 70; bottom: calc(74px + env(safe-area-inset-bottom)); }
  .mobile-cart.cart-pulse { animation: mobile-cart-glow 950ms ease-in-out; border-color: #b66b22; }
  @keyframes mobile-cart-glow {
    0%, 100% { box-shadow: 0 5px 18px rgba(54, 31, 20, .17); }
    28% { box-shadow: 0 0 0 5px rgba(239, 198, 121, .48), 0 0 26px rgba(183, 41, 49, .34); }
    62% { box-shadow: 0 0 0 2px rgba(239, 198, 121, .28), 0 0 16px rgba(183, 41, 49, .21); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cart.cart-pulse { animation: none; }
}

/* Temporarily hide the floating Zalo contact shortcut while retaining Hotline. */
.contact-zalo { display: none; }
