:root {
  --bg: #f7fbff;
  --bg-strong: #e6f0ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-soft: #eef5ff;
  --ink: #061b44;
  --muted: #5e6f8c;
  --line: rgba(8, 61, 137, 0.16);
  --line-strong: rgba(6, 27, 68, 0.72);
  --blue: #074d9f;
  --green: #0b7a75;
  --coral: #e1251b;
  --amber: #ffcc33;
  --violet: #276ef1;
  --dark: #051532;
  --shadow: 0 26px 80px rgba(7, 77, 159, 0.16);
  --shadow-soft: 0 18px 54px rgba(7, 77, 159, 0.09);
  --shadow-hard: 8px 8px 0 rgba(225, 37, 27, 0.95);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --container: min(1260px, calc(100vw - 32px));
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Arial Black", Impact, Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 126px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(7, 77, 159, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 77, 159, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #eef6ff 52%, #fff5f5 100%);
  background-size: 46px 46px, 46px 46px, auto;
  font-family: var(--font);
  line-height: 1.45;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.is-transitioning {
  opacity: 0;
  transform: translateY(8px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.shell {
  width: var(--container);
  margin: 0 auto;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 12px;
  transform: translateZ(0);
}

.site-header {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(130%);
  box-shadow: 0 16px 50px rgba(17, 19, 26, 0.08);
}

.full-header {
  opacity: 1;
  overflow: visible;
}

.compact-header {
  display: none;
}

.header-main {
  min-height: 76px;
  display: grid;
  grid-template-columns: 150px 150px minmax(280px, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: auto;
  padding: 10px;
}

.brand img {
  width: 128px;
  height: auto;
  filter: saturate(0.8) contrast(1.05);
}

.footer-brand img {
  width: 108px;
}

.catalog-trigger,
.icon-button,
.primary-button,
.secondary-button,
.chip,
.filter-button,
.mini-button,
.guide-actions button,
.guide-choice button {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.catalog-trigger {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  border-color: var(--ink);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
}

form.search {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-solid);
}

form.search input {
  min-width: 0;
  border: 0;
  padding: 0 18px;
  background: transparent;
}

form.search input:focus {
  outline: none;
}

form.search button {
  border: 0;
  color: #fff;
  background: var(--ink);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

form.search button .ui-icon {
  transition: transform 180ms ease;
}

form.search button:hover {
  color: var(--ink);
  background: var(--amber);
}

form.search button:hover .ui-icon {
  transform: scale(1.08);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
}

.icon-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--surface-solid);
  border-color: var(--line);
}

.cart-count {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--ink);
  font-size: 13px;
}

.nav-row {
  border-top: 1px solid var(--line);
}

.nav-inner {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: auto;
  padding: 0 10px 12px;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
}

.nav-links a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.nav-links a.is-active,
.nav-links a:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--surface-solid);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-links a:hover {
  transform: translate(-2px, -2px);
}

.header-phone {
  margin-right: 18px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px dashed transparent;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-phone:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.compact-inner {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  width: auto;
  padding: 8px 10px;
}

.compact-brand img {
  width: 96px;
}

.compact-nav {
  justify-content: center;
  gap: 10px;
}

.compact-cart {
  min-height: 42px;
  padding: 0 14px;
}

.mobile-toggle {
  display: none;
}

main {
  padding-bottom: 92px;
}

.home-layout {
  width: var(--container);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
}

.side-menu {
  display: grid;
  align-content: start;
  gap: 8px;
}

.side-menu a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.side-menu a:hover,
.side-menu a.is-active {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--surface-solid);
  box-shadow: 4px 4px 0 var(--ink);
}

.side-dot {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--amber);
}

.ui-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.hero,
.page-hero,
.feature-product {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  background: var(--surface-solid);
  box-shadow: var(--shadow-hard), var(--shadow);
}

.hero img,
.page-hero img,
.category-card img,
.tour-image,
.product-media img {
  transition: transform 320ms ease;
}

.hero:hover img,
.page-hero:hover img,
.category-card:hover img,
.tour-card:hover .tour-image,
.product-card:hover .product-media img {
  transform: scale(1.03);
}

.hero {
  min-height: 470px;
  position: relative;
  transform: rotate(1deg);
}

.hero img {
  width: 100%;
  min-height: 470px;
  height: 470px;
  object-fit: cover;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 16, 15, 0.76), rgba(16, 16, 15, 0.28) 58%, transparent);
}

.hero-content,
.page-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: min(520px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 14px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(17, 19, 26, 0.26);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p,
.page-hero p {
  margin: 0 0 24px;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 900;
}

.primary-button {
  color: #fff;
  border: 2px solid var(--ink);
  background: var(--blue);
  box-shadow: var(--shadow-hard);
}

.secondary-button {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.76);
  background: rgba(17, 19, 26, 0.18);
}

.section {
  width: var(--container);
  margin: 58px auto 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.section-heading h2,
.content-block h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading p,
.content-block p,
.category-copy p,
.product-copy p,
.tour-body p,
.info-card p,
.footer-copy {
  color: var(--muted);
}

.text-link {
  font-weight: 700;
}

.category-grid,
.product-grid,
.tour-grid,
.article-grid,
.benefit-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.product-card,
.benefit-card,
.tour-card,
.info-card,
.filter-panel,
.content-block,
.feature-copy {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
}

.category-card,
.product-card,
.tour-card,
.benefit-card,
.info-card,
.delivery-step {
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.category-card:hover,
.product-card:hover,
.tour-card:hover,
.benefit-card:hover,
.info-card:hover,
.delivery-step:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--ink), var(--shadow);
}

.category-card,
.product-card,
.tour-card {
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.category-copy,
.product-copy,
.benefit-card,
.info-card,
.content-block,
.feature-copy {
  padding: 20px;
}

.category-copy h3,
.product-copy h3,
.tour-body h3,
.info-card h3 {
  margin: 0 0 8px;
}

.category-copy h3,
.delivery-step h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.category-copy h3::before,
.delivery-step h3::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--coral));
  box-shadow: 0 0 0 4px rgba(7, 77, 159, 0.08);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.article-card-image {
  display: block;
  overflow: hidden;
  margin: -20px -20px 4px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.article-card-image img,
.article-main-image {
  width: 100%;
  object-fit: cover;
}

.article-card-image img {
  height: 220px;
}

.article-main-image {
  max-height: 520px;
  margin: 18px 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
}

.comments-list {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.comment-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.72);
}

.product-card {
  display: grid;
  grid-template-rows: 168px 1fr;
  min-width: 0;
}

.product-media {
  position: relative;
  background: var(--surface-soft);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--ink);
}

.product-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
  min-height: 156px;
  grid-template-rows: minmax(0, 1fr) auto;
}

.product-main {
  min-width: 0;
}

.product-main h3 {
  font-size: 18px;
  line-height: 1.15;
}

.product-main h3 a,
.product-main p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.product-main h3 a {
  -webkit-line-clamp: 2;
}

.product-main p {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 3;
}

.product-footer {
  display: grid;
  grid-template-columns: minmax(128px, 1fr) auto 44px;
  gap: 10px;
  align-items: center;
}

.mini-button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  border-color: var(--ink);
  background: var(--surface-solid);
}

.price {
  white-space: nowrap;
  font-size: 18px;
}

.add-button {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--green);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.add-button:hover,
.mini-button:hover,
.chip:hover,
.filter-button:hover,
.icon-button:hover,
.guide-actions button:hover,
.guide-choice button:hover {
  transform: translate(-3px, -3px);
  border-color: var(--ink);
  background: var(--surface-solid);
  box-shadow: 6px 6px 0 var(--ink);
}

.add-button:hover {
  color: #fff;
  background: var(--green);
}

.promo-band {
  width: var(--container);
  margin: 58px auto 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-hard), var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.promo-band h2 {
  margin: 0 0 8px;
}

.promo-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero {
  width: var(--container);
  min-height: 320px;
  margin: 28px auto 0;
  position: relative;
  transform: rotate(-1deg);
}

.page-hero img {
  width: 100%;
  min-height: 320px;
  height: 320px;
  object-fit: cover;
}

.catalog-shell {
  width: var(--container);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

.filter-panel {
  padding: 20px;
  align-self: start;
}

.filter-panel h2 {
  margin: 0 0 18px;
}

.filter-group,
.advanced-filter-grid {
  display: grid;
  gap: 10px;
}

.filter-group {
  margin-bottom: 18px;
}

.filter-button {
  min-height: 42px;
  padding: 0 14px;
  text-align: left;
  color: var(--muted);
  background: var(--surface-soft);
}

.filter-button.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
}

.advanced-filter-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.advanced-filter-grid input,
.advanced-filter-grid select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0 12px;
}

.yilu-native-filter {
  align-content: start;
}

.filter-option-list {
  display: grid;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--ink);
}

.filter-option input {
  width: auto;
  min-height: auto;
}

.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select-trigger {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface-solid);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.custom-select-trigger:hover,
.custom-select.is-open .custom-select-trigger {
  border-color: var(--ink);
  background: var(--surface-solid);
  box-shadow: 4px 4px 0 var(--ink);
}

.custom-select.is-open .custom-select-trigger {
  transform: translate(-2px, -2px);
}

.custom-select-chevron {
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  transition: transform 180ms ease;
}

.custom-select.is-open .custom-select-chevron {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 24;
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  box-shadow: var(--shadow-hard), var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.custom-select.is-open .custom-select-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-select-option {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option.is-selected {
  color: #fff;
  border-color: var(--ink);
  background: var(--blue);
}

.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  background: var(--surface-solid);
}

.chip.is-active {
  color: #fff;
  border-color: var(--ink);
  background: var(--violet);
  box-shadow: 4px 4px 0 var(--ink);
}

.new-layout,
.content-split {
  width: var(--container);
  margin: 28px auto 0;
  display: grid;
  gap: 24px;
}

.new-layout {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
}

.content-split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

.feature-product img {
  width: 100%;
  min-height: 460px;
  height: 100%;
  object-fit: cover;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card:nth-child(1) {
  background: linear-gradient(135deg, #fff, rgba(20, 184, 111, 0.18));
}

.benefit-card:nth-child(2) {
  background: linear-gradient(135deg, #fff, rgba(255, 90, 78, 0.16));
}

.benefit-card:nth-child(3) {
  background: linear-gradient(135deg, #fff, rgba(243, 182, 60, 0.2));
}

.tour-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.tour-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.44fr) minmax(0, 1fr);
}

.tour-image {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.tour-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tour-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--muted);
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.delivery-story,
.map-block {
  width: var(--container);
  margin: 28px auto 0;
  display: grid;
  gap: 18px;
}

.delivery-story {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.delivery-step {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.delivery-step:nth-child(1) {
  background: linear-gradient(135deg, #fff, rgba(20, 184, 111, 0.18));
}

.delivery-step:nth-child(2) {
  background: linear-gradient(135deg, #fff, rgba(255, 90, 78, 0.16));
}

.delivery-step:nth-child(3) {
  background: linear-gradient(135deg, #fff, rgba(38, 92, 255, 0.16));
}

.delivery-step:nth-child(4) {
  background: linear-gradient(135deg, #fff, rgba(243, 182, 60, 0.2));
}

.delivery-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 26px;
}

.map-shell {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  background: var(--surface-solid);
  box-shadow: var(--shadow-hard), var(--shadow);
}

.map-shell iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 12px 14px;
}

.contact-form .custom-select-trigger {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 110px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.floating-guide {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--blue);
  box-shadow: var(--shadow-hard);
  animation: guide-bob 3.2s ease-in-out infinite;
}

.floating-guide .ui-icon {
  width: 28px;
  height: 28px;
}

.guide-popover {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 45;
  width: min(320px, calc(100vw - 36px));
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-solid);
  box-shadow: var(--shadow-hard), var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.guide-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.guide-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.guide-head button,
.cart-head button,
.modal-close,
.quest-tools button,
.remove-item {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.guide-actions,
.guide-choice {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.guide-actions {
  grid-template-columns: 1fr 1fr;
}

.guide-actions button,
.guide-choice button {
  min-height: 40px;
  background: var(--surface-soft);
}

.guide-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.guide-form textarea {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.quest-widget {
  position: fixed;
  right: 18px;
  bottom: 98px;
  z-index: 18;
  width: min(320px, calc(100vw - 36px));
  padding: 16px;
  border-radius: var(--radius-md);
  border: 2px solid var(--ink);
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-hard), var(--shadow);
  transition:
    width 220ms ease,
    height 220ms ease,
    padding 220ms ease,
    border-radius 220ms ease,
    transform 220ms ease;
}

.quest-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.quest-title,
.quest-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quest-tools button {
  color: #fff;
}

.quest-body {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.quest-widget.is-collapsed .quest-body {
  display: none;
}

.quest-widget.is-collapsed {
  width: 54px;
  height: 54px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.quest-widget.is-collapsed .quest-top {
  width: 100%;
  height: 100%;
  justify-content: center;
}

.quest-widget.is-collapsed .quest-title {
  display: none;
}

.quest-widget.is-collapsed .quest-tools {
  width: 100%;
  height: 100%;
  justify-content: center;
}

.quest-widget.is-collapsed [data-quest-count] {
  display: none;
}

.quest-widget.is-collapsed [data-quest-toggle] {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: inherit;
}

.quest-widget.is-collapsed .ui-icon {
  width: 24px;
  height: 24px;
}

.quest-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.quest-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.quest-items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quest-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
}

.quest-chip.is-done {
  color: var(--ink);
  background: #fff;
}

.quest-discount {
  width: 100%;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(440px, 100vw);
  height: 100vh;
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  border-left: 2px solid var(--ink);
  background: var(--surface-solid);
  transform: translateX(100%);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-head h2 {
  margin: 0;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
}

.empty-cart {
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.cart-item.is-removing {
  pointer-events: none;
  animation: cart-item-remove 260ms ease forwards;
}

.cart-item img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quantity-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.cart-summary {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-summary [hidden] {
  display: none;
}

.cart-total {
  font-size: 20px;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(16, 16, 15, 0.32);
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 45;
  display: grid;
  gap: 10px;
}

.toast {
  width: min(320px, calc(100vw - 36px));
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--coral);
  box-shadow: var(--shadow-hard), var(--shadow);
}

.toast-success {
  background: var(--green);
}

.toast-error {
  background: var(--coral);
}

.toast strong {
  display: block;
}

.confetti {
  position: fixed;
  z-index: 70;
  width: 10px;
  height: 16px;
  pointer-events: none;
  background: var(--confetti-color);
  border: 1px solid rgba(17, 19, 26, 0.32);
  animation: confetti-pop 900ms cubic-bezier(0.18, 0.72, 0.2, 1) forwards;
}

.cart-summary .primary-button.is-celebrating {
  animation: checkout-pop 520ms ease;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 16, 15, 0.4);
}

.modal-backdrop[hidden],
.cart-backdrop[hidden] {
  display: none;
}

.product-modal {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow-hard), var(--shadow);
}

.product-modal img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.product-modal-content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
}

.spark {
  position: fixed;
  z-index: 60;
  width: 10px;
  height: 10px;
  pointer-events: none;
  background: var(--blue);
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
  animation: spark-fly 650ms ease-out forwards;
}

@keyframes spark-fly {
  to {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.2) rotate(180deg);
  }
}

@keyframes cart-item-remove {
  to {
    opacity: 0;
    transform: translateX(28px) scale(0.96);
  }
}

@keyframes confetti-pop {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) rotate(var(--spin));
  }
}

@keyframes checkout-pop {
  35% {
    transform: translate(-3px, -3px) scale(1.03);
    box-shadow: 10px 10px 0 var(--ink);
  }
}

@keyframes guide-bob {
  50% {
    transform: translateY(-6px);
  }
}

.catalog-trigger:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--ink);
}

.secondary-button:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--surface-solid);
}

.nav-links a:hover,
.text-link:hover {
  color: var(--blue);
}

.feature-copy h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-copy .eyebrow,
.content-block .eyebrow {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--amber);
  box-shadow: 4px 4px 0 var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-tilt] {
  transition: transform 180ms ease;
  transform-style: preserve-3d;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .header-main {
    grid-template-columns: 1fr auto;
  }

  .catalog-trigger,
  .search,
  .header-actions {
    grid-column: 1 / -1;
  }

  .catalog-trigger,
  form.search {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-inner {
    display: block;
    min-height: auto;
    padding-bottom: 16px;
  }

  .nav-links {
    display: none;
    flex-wrap: wrap;
    padding-top: 10px;
    gap: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .home-layout,
  .catalog-shell,
  .new-layout,
  .content-split {
    grid-template-columns: 1fr;
  }

  .side-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid,
  .delivery-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1220px);
  }

  .header-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 14px;
  }

  .compact-header {
    display: none;
  }

  .header-actions {
    width: 100%;
  }

  .home-layout,
  .section,
  .page-hero,
  .promo-band,
  .catalog-shell,
  .new-layout,
  .content-split,
  .delivery-story,
  .map-block {
    margin-top: 24px;
  }

  .category-grid,
  .product-grid,
  .article-grid,
  .benefit-grid,
  .tour-grid,
  .info-grid,
  .delivery-story {
    grid-template-columns: 1fr;
  }

  .home-layout {
    display: flex;
    flex-direction: column;
  }

  .hero {
    order: -1;
  }

  .side-menu {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .side-menu a {
    flex: 0 0 auto;
    min-height: 46px;
    white-space: nowrap;
  }

  .hero,
  .hero img {
    min-height: 390px;
    height: 390px;
  }

  .hero-content,
  .page-hero-copy {
    width: calc(100% - 28px);
    padding-left: 20px;
    justify-content: flex-end;
    padding-bottom: 22px;
  }

  .page-hero,
  .page-hero img {
    min-height: 280px;
    height: 280px;
  }

  .product-footer {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "button button"
      "price add";
    row-gap: 12px;
  }

  .mini-button {
    grid-area: button;
    width: 100%;
  }

  .price {
    grid-area: price;
  }

  .add-button {
    grid-area: add;
    justify-self: end;
  }

  .product-copy {
    min-height: 190px;
  }

  .product-main h3 {
    font-size: 18px;
  }

  .product-main p {
    font-size: 15px;
  }

  .promo-band,
  .section-heading,
  .catalog-tools,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-product img {
    min-height: 320px;
  }

  .footer-inner {
    padding: 24px 0;
  }

  .floating-guide {
    right: 14px;
    bottom: 14px;
  }

  .guide-popover {
    right: 14px;
    bottom: 88px;
  }

  .quest-widget {
    right: 14px;
    bottom: 92px;
  }

  .product-modal {
    grid-template-columns: 1fr;
  }
}

/* InSales theme additions */
.yilu-template main {
  min-height: 56vh;
}

.yilu-page-search {
  width: min(440px, 100%);
}

.product-card .product-footer {
  grid-template-columns: minmax(128px, 1fr) auto 44px;
}

.yilu-card-variant {
  display: none;
}

.product-card-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.product-action,
.remove-item {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
  cursor: pointer;
}

.product-page {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.product-gallery,
.product-detail,
.cart-form,
.page-content {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.product-gallery {
  padding: 14px;
}

.product-page-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  max-height: 500px;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.product-detail {
  padding: 24px;
}

.product-detail h1,
.page-content h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-lead,
.product-description {
  color: var(--muted);
}

.product-buy-form {
  display: grid;
  gap: 16px;
  margin: 22px 0;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.variant-select,
.cart-summary label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.variant-select select,
.cart-summary input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: #fff;
}

.contact-form textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.product-user-actions,
.pagination {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cart-page .cart-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 24px;
  padding: 22px;
}

.cart-page .cart-summary {
  align-self: start;
}

.cart-page .cart-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.72);
}

.cart-page .quantity-control input,
.product-buy-form .quantity-control input {
  width: 48px;
  height: 32px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.yilu-dark-secondary {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--surface-solid);
}

.pagination {
  justify-content: center;
  margin-top: 28px;
}

.map-block {
  width: var(--container);
  margin: 58px auto 0;
}

.map-shell iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
}

.tour-collection .product-card {
  grid-template-rows: 168px 1fr;
}

@media (max-width: 1080px) {
  .product-page,
  .cart-page .cart-form {
    grid-template-columns: 1fr;
  }

  .product-page-image {
    min-height: 0;
    max-height: 380px;
  }
}

@media (max-width: 760px) {
  .product-card {
    grid-template-rows: 140px 1fr;
  }

  .product-copy {
    min-height: 0;
    gap: 10px;
    padding: 14px;
  }

  .product-main h3 {
    font-size: 17px;
  }

  .product-main p {
    -webkit-line-clamp: 2;
  }

  .product-card .product-footer {
    grid-template-columns: 1fr auto;
  }

  .tour-card-footer {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "details request"
      "price price";
    row-gap: 8px;
  }

  .tour-card-footer .mini-button {
    grid-area: details;
    width: auto;
  }

  .tour-card-footer .price {
    grid-area: price;
  }

  .tour-card-footer .tour-request-shortcut {
    grid-area: request;
  }

  .product-card-actions {
    grid-column: auto;
  }

  .product-detail,
  .cart-form,
  .page-content {
    padding: 18px;
  }

  .product-detail h1 {
    font-size: clamp(23px, 6vw, 32px);
    line-height: 1.05;
  }
}
.filter-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.primary-button:disabled,
.primary-button[disabled] {
  cursor: not-allowed;
  opacity: 0.46;
  box-shadow: none;
}

.mama-hero .hero-content {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.mama-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mascot-card img {
  object-fit: contain;
  padding: 20px;
  background: #fff;
}

.wholesale-note,
.cart-warning,
.cart-ok,
.cart-line-note,
.mini-badge {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fff;
  color: var(--muted);
}

.cart-warning {
  border-color: rgba(225, 37, 27, 0.28);
  color: #9b1c16;
  background: #fff1f0;
}

.cart-ok,
.mini-badge {
  border-color: rgba(7, 77, 159, 0.22);
  color: var(--blue);
  background: #eef6ff;
}

.cart-line-note {
  max-width: 170px;
  font-size: 13px;
}

.tour-card-footer,
.tour-application-card {
  display: grid;
  gap: 12px;
}

.tour-request-shortcut {
  width: auto;
  min-width: 84px;
  padding: 0 14px;
  font-size: 15px;
}

.tour-application-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
}

.tour-application-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tour-modal[hidden] {
  display: none;
}

body.tour-modal-open {
  overflow: hidden;
}

.tour-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.tour-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 21, 50, 0.55);
}

.tour-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.tour-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.compact-heading {
  margin-bottom: 14px;
}

.compact-heading img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.tour-request-form {
  display: grid;
  gap: 12px;
}

.tour-request-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.feedback-success {
  display: none;
  padding: 12px 14px;
  border: 1px solid rgba(23, 138, 77, 0.22);
  background: rgba(23, 138, 77, 0.08);
  color: #0b6b3c;
  font-weight: 800;
}

.feedback-success.is-show {
  display: block;
}

.feedback__field-area {
  display: grid;
  gap: 6px;
}

.agree-line {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.agree-line input {
  width: auto;
  margin-top: 3px;
}

[data-feedback-form-field-error],
.feedback__field-error {
  color: #d3202f;
  font-size: 0.86rem;
}

.tour-request-form input,
.tour-request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
}

.delivery-partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.delivery-partners article {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.delivery-partners img {
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.delivery-roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.delivery-roadmap::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 34px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--coral));
}

.delivery-roadmap .delivery-step {
  position: relative;
  background: #fff;
}

@media (max-width: 760px) {
  .mama-category-grid,
  .delivery-partners,
  .delivery-roadmap {
    grid-template-columns: 1fr;
  }

  .delivery-roadmap::before {
    display: none;
  }

  .tour-modal {
    padding: 12px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 96px;
  }

  #site-header {
    padding-top: 8px;
  }

  .site-header {
    width: calc(100vw - 16px);
    background: rgba(255, 255, 255, 0.96);
  }

  .header-main {
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px;
  }

  .brand,
  .header-actions {
    grid-column: auto;
  }

  .brand img {
    width: 78px;
  }

  .header-actions {
    width: auto;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .mobile-toggle,
  .cart-trigger {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
  }

  .cart-trigger > span:first-child {
    display: none;
  }

  .nav-row {
    border-top: 1px solid rgba(8, 61, 137, 0.12);
  }

  .nav-inner {
    padding: 0 8px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 0;
    padding-top: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease, padding 180ms ease;
  }

  .nav-links.is-open {
    display: grid;
    max-height: 220px;
    padding: 8px 0 10px;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 42px;
    display: grid;
    place-items: center;
    padding: 8px;
    text-align: center;
  }

  .tour-modal-panel {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 24px);
    padding: 16px 16px 20px;
  }

  .compact-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .compact-heading img {
    width: 64px;
    height: 64px;
  }
}

/* Release layout polish */
#site-header,
.site-header,
.header-main,
.nav-row,
.nav-inner {
  transition: max-height 260ms ease, min-height 260ms ease, padding 260ms ease, opacity 200ms ease, transform 260ms ease, border-color 200ms ease, box-shadow 220ms ease;
}

#site-header.is-collapsed .site-header {
  box-shadow: 0 12px 38px rgba(7, 77, 159, 0.12);
}

@media (min-width: 761px) {
  #site-header.is-collapsed .header-main {
    min-height: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  #site-header.is-collapsed .nav-row {
    border-top-color: transparent;
  }

  #site-header.is-collapsed .nav-inner {
    min-height: 54px;
    padding-top: 6px;
    padding-bottom: 8px;
  }
}

.home-layout {
  display: block;
  margin-top: 24px;
}

.home-layout .hero {
  width: min(1120px, 100%);
  margin: 0 auto;
  transform: none;
}

.hero,
.hero img {
  min-height: 390px;
  height: clamp(390px, calc(100vh - 250px), 540px);
}

.mama-hero .hero-content {
  left: 0;
  width: min(510px, calc(100% - 48px));
  padding-left: 38px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.mama-hero .hero-content .eyebrow {
  color: #fff;
  background: rgba(6, 27, 68, 0.34);
}

.tour-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch;
}

.product-card.tour-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 180px minmax(0, 1fr);
}

.tour-card .product-media,
.tour-card .tour-image {
  min-height: 0;
}

.tour-card .product-copy {
  min-height: 0;
  gap: 14px;
  padding: 18px;
}

.tour-card .product-main h3 {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.12;
}

.tour-card .product-main h3 a {
  -webkit-line-clamp: 2;
}

.tour-card .product-main p {
  -webkit-line-clamp: 3;
}

.tour-card-footer {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "details request"
    "price price";
  align-items: center;
}

.tour-card-footer .mini-button {
  grid-area: details;
}

.tour-card-footer .tour-request-shortcut {
  grid-area: request;
}

.tour-card-footer .price {
  grid-area: price;
  font-size: 16px;
}

.tour-card .mini-button,
.tour-card .tour-request-shortcut {
  min-height: 40px;
  justify-content: center;
  padding: 0 12px;
  white-space: nowrap;
}

.product-page {
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.product-gallery,
.product-detail {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-gallery {
  display: grid;
  align-content: start;
  padding: 0;
}

.product-detail {
  min-width: 0;
  padding: 4px 4px 4px 10px;
}

.product-page-image {
  max-height: 390px;
  border-radius: var(--radius-md);
  background: #fff;
}

.tour-product-page .product-page-image {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-detail h1 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.04;
}

.product-description.editor {
  margin-top: 18px;
}

.tour-product-page .product-description ol {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: tour-day;
}

.tour-product-page .product-description ol::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--blue), var(--coral));
}

.tour-product-page .product-description ol li {
  position: relative;
  min-height: 54px;
  margin: 0;
  padding: 14px 16px 14px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 77, 159, 0.07);
}

.tour-product-page .product-description ol li::before {
  counter-increment: tour-day;
  content: counter(tour-day);
  position: absolute;
  left: 9px;
  top: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--amber);
  font-weight: 900;
  z-index: 1;
}

.delivery-partners {
  gap: 12px;
  margin-bottom: 18px;
}

.delivery-partners article {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
}

.delivery-partners article p {
  margin: 0;
}

.delivery-partners img {
  height: 42px;
  max-width: 150px;
}

.delivery-roadmap {
  gap: 10px;
}

.delivery-roadmap::before {
  top: 26px;
}

.delivery-roadmap .delivery-step,
.delivery-step {
  padding: 14px;
  border-radius: var(--radius-md);
}

.delivery-step strong {
  margin-bottom: 6px;
  font-size: 21px;
}

.delivery-step p {
  margin: 0;
  font-size: 14px;
}

.tour-modal-panel {
  width: min(680px, 100%);
  max-height: min(780px, calc(100dvh - 32px));
  border-radius: var(--radius-lg);
}

@media (max-width: 1080px) {
  .product-page {
    grid-template-columns: 1fr;
  }

  .product-detail {
    padding: 2px;
  }

  .product-page-image {
    max-height: 360px;
  }
}

@media (max-width: 760px) {
  #site-header.is-collapsed .header-main {
    min-height: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  #site-header.is-collapsed .nav-inner {
    min-height: auto;
    padding: 6px 8px 8px;
  }

  #site-header.is-collapsed .nav-links {
    display: flex;
    max-height: none;
    gap: 8px;
    overflow-x: auto;
    opacity: 1;
    transform: none;
    padding: 0;
    scrollbar-width: none;
  }

  #site-header.is-collapsed .nav-links::-webkit-scrollbar {
    display: none;
  }

  #site-header.is-collapsed .nav-links a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .home-layout {
    margin-top: 16px;
  }

  .hero,
  .hero img {
    min-height: 430px;
    height: min(430px, calc(100vh - 120px));
  }

  .mama-hero .hero-content {
    width: calc(100% - 24px);
    padding: 18px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .hero h1 {
    font-size: clamp(34px, 13vw, 52px);
  }

  .tour-grid {
    grid-template-columns: 1fr;
  }

  .product-card.tour-card {
    grid-template-rows: 170px minmax(0, 1fr);
  }

  .tour-card-footer {
    grid-template-columns: 1fr auto;
  }

  .product-page {
    padding: 12px;
    margin-top: 16px;
  }

  .product-page-image {
    max-height: 300px;
  }

  .delivery-partners article {
    grid-template-columns: 1fr;
  }
}

/* Final release refinements */
.primary-button,
.secondary-button,
.mini-button,
.add-button,
.catalog-trigger,
.icon-button,
.promo-band .primary-button {
  text-align: center;
}

form.search button {
  position: relative;
  font-size: 0;
}

form.search button::before,
form.search button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
}

form.search button::before {
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 999px;
  transform: translate(-58%, -58%);
}

form.search button::after {
  width: 11px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(4px, 6px) rotate(45deg);
  transform-origin: left center;
}

.hero,
.hero img {
  min-height: 330px;
  height: clamp(330px, calc(100vh - 330px), 460px);
}

.button-row {
  gap: 18px;
}

.mama-hero .secondary-button {
  color: #fff;
  border-color: var(--ink);
  background: linear-gradient(135deg, var(--coral), #ff6b5f);
  box-shadow: 6px 6px 0 rgba(6, 27, 68, 0.92);
}

.mama-hero .secondary-button:hover {
  color: #fff;
  background: linear-gradient(135deg, #ff473c, var(--blue));
}

.promo-band .primary-button {
  color: var(--ink);
  border-color: #fff;
  background: #fff;
  box-shadow: 6px 6px 0 var(--coral);
}

.promo-band .primary-button:hover {
  color: #fff;
  border-color: #fff;
  background: var(--coral);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.92);
}

.category-card img {
  height: 240px;
}

.mascot-card img {
  object-fit: cover;
  padding: 0;
}

.product-page {
  display: block;
}

.product-topline {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.product-topline .product-gallery,
.product-topline .product-detail {
  min-height: 100%;
}

.product-topline .product-detail {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 6px 4px 6px 10px;
}

.product-page-image {
  height: 100%;
  max-height: 420px;
  min-height: 320px;
  object-fit: cover;
}

.product-buy-form,
.tour-application-card {
  margin-top: 0;
  align-self: stretch;
}

.product-buy-form .button-row,
.tour-application-card .primary-button {
  width: 100%;
}

.product-description-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.product-description-card > h2,
.product-description-card > h3,
.product-description-card > ol,
.product-description-card > ul,
.product-description-card > p {
  min-width: 0;
  margin: 0;
}

.product-description-card > h2,
.product-description-card > h3 {
  grid-column: 1 / -1;
}

.product-description-card > ol,
.product-description-card > ul {
  grid-column: 1 / -1;
}

.tour-product-page .product-description-card ol {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tour-day;
}

.tour-product-page .product-description-card ol::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--blue), var(--coral));
}

.tour-product-page .product-description-card ol li {
  position: relative;
  min-height: 54px;
  margin: 0;
  padding: 14px 16px 14px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 77, 159, 0.07);
}

.tour-product-page .product-description-card ol li::before {
  counter-increment: tour-day;
  content: counter(tour-day);
  position: absolute;
  left: 9px;
  top: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--amber);
  font-weight: 900;
  z-index: 1;
}

@media (max-width: 1080px) {
  .product-topline {
    grid-template-columns: 1fr;
  }

  .product-page-image {
    height: auto;
    max-height: 360px;
  }

  .product-description-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero,
  .hero img {
    min-height: 380px;
    height: min(380px, calc(100vh - 140px));
  }

  .button-row {
    gap: 12px;
  }

  .category-card img {
    height: 210px;
  }

  .product-page-image {
    min-height: 240px;
    max-height: 300px;
  }
}

/* Product page composition pass */
.product-page.shell {
  width: min(1120px, calc(100vw - 40px));
  padding: 16px;
}

.product-topline {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
}

.product-topline .product-gallery {
  align-content: stretch;
  align-items: stretch;
  min-height: 100%;
}

.product-topline .product-gallery .product-page-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}

.product-topline .product-detail {
  padding: 2px 0;
}

.product-detail .eyebrow {
  margin-bottom: 8px;
}

.product-detail h1 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.4vw, 52px);
}

.product-lead {
  margin-bottom: 4px;
  font-size: 16px;
}

.tour-application-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.tour-application-card > div {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.tour-application-card .primary-button,
.product-buy-form .primary-button {
  min-height: 48px;
  font-size: 16px;
}

.product-description-card.is-enhanced {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.64);
}

.product-info-block {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 100%;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(7, 77, 159, 0.06);
}

.product-info-block.is-route {
  grid-column: 1 / -1;
}

.product-description-card.is-enhanced .product-info-block.is-program {
  grid-column: 1;
  grid-row: 1;
}

.product-description-card.is-enhanced .product-info-block.is-request {
  grid-column: 2;
  grid-row: 1;
}

.product-description-card.is-enhanced .product-info-block.is-route {
  grid-column: 1 / -1;
  grid-row: 2;
}

.product-page:not(.tour-product-page) .product-info-block {
  grid-column: 1 / -1;
}

.product-info-block h2,
.product-info-block h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
}

.product-info-block p {
  margin: 0;
  color: var(--muted);
}

.product-info-block ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.tour-product-page .product-info-block.is-route ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tour-day;
}

.tour-product-page .product-info-block.is-route ol::before {
  display: none;
}

.tour-product-page .product-info-block.is-route ol li {
  min-height: 58px;
  padding: 15px 16px 15px 62px;
  border-color: rgba(8, 61, 137, 0.2);
  background: linear-gradient(135deg, #fff, rgba(238, 246, 255, 0.9));
}

.tour-product-page .product-info-block.is-route ol li::before {
  left: 14px;
  top: 14px;
}

.product-info-block.is-request {
  border-color: rgba(225, 37, 27, 0.2);
  background: linear-gradient(135deg, #fff, rgba(255, 245, 245, 0.92));
}

@media (max-width: 1080px) {
  .product-page.shell {
    width: min(920px, calc(100vw - 32px));
  }

  .product-topline {
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
  }

  .product-detail h1 {
    font-size: clamp(26px, 4.6vw, 42px);
  }
}

@media (max-width: 820px) {
  .product-topline,
  .product-description-card.is-enhanced,
  .tour-product-page .product-info-block.is-route ol {
    grid-template-columns: 1fr;
  }

  .product-description-card.is-enhanced .product-info-block.is-program,
  .product-description-card.is-enhanced .product-info-block.is-request,
  .product-description-card.is-enhanced .product-info-block.is-route {
    grid-column: 1;
    grid-row: auto;
  }

  .product-topline .product-gallery .product-page-image {
    height: auto;
    min-height: 240px;
    max-height: 360px;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
  .product-page.shell {
    width: min(100vw - 14px, 1120px);
    padding: 12px;
  }

  .product-info-block {
    padding: 16px;
  }
}

/* Pre-release polish: lighter motion, search layout, contacts/about */
body::before {
  display: none;
}

#site-header,
.site-header,
.full-header,
.compact-header,
.header-main,
.nav-row,
.nav-inner,
form.search,
form.search input,
form.search button {
  transition-duration: 180ms;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

form.search button {
  display: grid;
  place-items: center;
}

form.search button svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.18));
}

.search-page {
  overflow: hidden;
}

.search-page .search-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.search-page .search-page-head h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.96;
  color: var(--ink);
}

.search-page .search-page-head p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}

.search-page .yilu-page-search {
  width: 100%;
  justify-self: end;
}

.search-page form.yilu-page-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
}

.search-page .product-grid,
.search-results-grid {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

.search-page .content-block {
  grid-column: 1 / -1;
}

.tour-modal-close {
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.tour-modal-panel {
  overscroll-behavior: contain;
}

.about-section {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 255, 0.86));
  box-shadow: 12px 12px 0 var(--ink);
}

.about-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
  color: var(--ink);
}

.about-kicker {
  width: max-content;
  margin: 0;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--amber);
  font-weight: 900;
  text-transform: uppercase;
}

.about-section p:not(.about-kicker) {
  margin: 0;
  max-width: 980px;
  color: var(--muted);
}

.about-section strong {
  color: var(--ink);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
}

.contact-card h2,
.contact-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1;
  color: var(--ink);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-card a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 820px) {
  .search-page .search-page-head,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .search-page .yilu-page-search {
    justify-self: stretch;
  }

  .about-section {
    border-radius: 24px;
    box-shadow: 8px 8px 0 var(--ink);
  }
}
