:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --surface-soft: #fafbfc;
  --line: #e5e7ee;
  --text: #24324a;
  --muted: #7c879e;
  --orange: #ff6b00;
  --orange-strong: #f25b00;
  --orange-soft: #fff1e6;
  --blue-soft: #edf4ff;
  --shadow: 0 12px 30px rgba(41, 56, 90, 0.08);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%);
}

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

button,
input {
  font: inherit;
}

.page {
  width: min(1460px, calc(100% - 20px));
  margin: 24px auto;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(26, 39, 68, 0.1);
}

.sticky-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.sticky-shell.scrolled-mode .top-meta {
  display: none;
}

.sticky-shell.compact-mode {
  box-shadow: 0 10px 24px rgba(26, 39, 68, 0.08);
}

.sticky-shell.compact-mode .main-nav {
  display: none;
}

.top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 4px 6px 12px;
  border-bottom: 1px solid var(--line);
}

.top-meta-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
  color: var(--muted);
  font-size: 0.9rem;
}

.top-meta-links a {
  white-space: nowrap;
}

.top-meta-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 107, 0, 0.22);
  border-radius: 999px;
  background: #fff4ea;
  color: var(--orange);
  font-weight: 700;
}

.top-header {
  display: grid;
  grid-template-columns: 160px minmax(0, 0.86fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
}

.sticky-shell.compact-mode .top-header {
  border-bottom: none;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 72px;
}

.brand-logo-pdf {
  width: 480px;
  height: 72px;
  border: none;
  display: block;
  overflow: hidden;
  object-fit: contain;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  width: min(100%, 860px);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  margin-right: -28px;
}

.search input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 14px;
}

.search button,
.primary-button,
.sidebar-title {
  border: none;
  background: linear-gradient(135deg, var(--orange), var(--orange-strong));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.search button {
  width: 56px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
}

.search-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.search-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 7px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: center;
  border-radius: 999px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: end;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.header-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 2px;
  transition: color 160ms ease;
  white-space: nowrap;
}

.header-action-link:hover {
  color: var(--orange);
}

.header-action-dropdown {
  position: relative;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 240px;
  padding: 14px;
  border: 1px solid #dfe4ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(29, 43, 72, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 130;
}

.account-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  border-left: 1px solid #dfe4ee;
  border-top: 1px solid #dfe4ee;
}

.header-action-dropdown:hover .account-dropdown,
.header-action-dropdown:focus-within .account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.account-primary,
.account-secondary {
  width: 100%;
  border-radius: 8px;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.account-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-strong));
}

.account-secondary {
  margin-top: 12px;
  border: 1px solid #d9e0eb;
  color: #4b5871;
  background: #fff;
}

.account-panel-link {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  color: var(--orange-strong);
  font-size: 13px;
  font-weight: 700;
}

.account-user-meta {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f6;
}

.account-user-meta strong {
  font-size: 0.96rem;
}

.account-user-meta span {
  color: var(--muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.header-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.user-icon {
  width: 16px;
  height: 16px;
}

.user-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 8px;
  height: 8px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
}

.user-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: 1px;
  width: 14px;
  height: 8px;
  border: 1.8px solid currentColor;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: none;
}

.heart-icon {
  width: 16px;
  height: 15px;
  transform: rotate(-45deg);
  border-left: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  margin-top: 1px;
}

.heart-icon::before,
.heart-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 1.8px solid currentColor;
  border-radius: 50%;
  background: var(--surface);
}

.heart-icon::before {
  left: -1px;
  top: -6px;
}

.heart-icon::after {
  left: 6px;
  top: 1px;
}

.cart-icon {
  width: 16px;
  height: 12px;
  margin-top: -1px;
  border: 1.8px solid currentColor;
  border-radius: 2px 2px 4px 4px;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -5px;
  width: 10px;
  height: 6px;
  border: 1.8px solid currentColor;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.cart-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -4px;
  width: 10px;
  height: 2px;
  background: linear-gradient(90deg, currentColor 0 2px, transparent 2px 8px, currentColor 8px 10px);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  font-weight: 600;
  background: var(--surface);
}

.main-nav > a,
.nav-dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #27344d;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  padding-left: 28px;
  color: var(--orange);
}

.nav-dropdown-trigger::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 12px;
  transform: translateY(-50%);
  border-top: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
}

.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 3px;
  transform: translateY(-50%);
  background: var(--orange);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 1080px;
  max-width: min(1180px, calc(100vw - 48px));
  max-height: calc(100vh - 150px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(31, 47, 82, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 30;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ff4d2d;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  display: grid;
  grid-template-columns: 210px 1fr;
  max-height: calc(100vh - 150px);
}

.mega-menu-sidebar {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px 8px;
  background: #fff;
  border-right: 1px solid var(--line);
  overflow-y: auto;
}

.mega-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 12px;
  color: #1f2d44;
  font-size: 0.94rem;
  font-weight: 600;
}

.mega-category::after {
  content: "›";
  color: var(--orange);
  font-size: 1.2rem;
}

.mega-category.active,
.mega-category:hover {
  background: #fdf2ea;
  color: var(--orange);
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 12px 16px 14px;
  background: #fff;
  overflow-y: auto;
}

.mega-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.mega-column.expanded {
  max-height: 430px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #bfc7d8 #f3f5fa;
}

.mega-menu-sidebar,
.mega-menu-content {
  scrollbar-width: thin;
  scrollbar-color: #c4cddd #f3f5fa;
}

.mega-menu-sidebar::-webkit-scrollbar,
.mega-menu-content::-webkit-scrollbar {
  width: 10px;
}

.mega-menu-sidebar::-webkit-scrollbar-track,
.mega-menu-content::-webkit-scrollbar-track {
  background: #f3f5fa;
  border-radius: 999px;
}

.mega-menu-sidebar::-webkit-scrollbar-thumb,
.mega-menu-content::-webkit-scrollbar-thumb {
  background: #bcc5d7;
  border-radius: 999px;
  border: 2px solid #f3f5fa;
}

.mega-menu-sidebar::-webkit-scrollbar-thumb:hover,
.mega-menu-content::-webkit-scrollbar-thumb:hover {
  background: #a8b4cb;
}

.mega-column.expanded::-webkit-scrollbar {
  width: 10px;
}

.mega-column.expanded::-webkit-scrollbar-track {
  background: #f3f5fa;
  border-radius: 999px;
}

.mega-column.expanded::-webkit-scrollbar-thumb {
  background: #bcc5d7;
  border-radius: 999px;
  border: 2px solid #f3f5fa;
}

.mega-column.expanded::-webkit-scrollbar-thumb:hover {
  background: #a8b4cb;
}

.mega-group {
  display: grid;
  gap: 7px;
}

.mega-group h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 1px;
  color: var(--orange);
  font-size: 0.86rem;
}

.mega-group h4::after {
  content: "›";
  font-size: 1.1rem;
}

.mega-group a {
  color: #4c5971;
  font-size: 0.8rem;
  line-height: 1.2;
}

.mega-group a:hover {
  color: var(--orange);
}

.show-more {
  margin-top: 3px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  list-style: none;
  color: #1f2d44;
  font-size: 0.82rem;
}

.show-more::-webkit-details-marker {
  display: none;
}

.show-more::after {
  content: "⌄";
  margin-left: 6px;
  font-size: 0.85rem;
}

.mega-more[open] .show-more {
  display: none;
}

.mega-more-list {
  display: none;
  gap: 8px;
}

.mega-more[open] {
  display: grid;
  gap: 10px;
}

.mega-more[open] .mega-more-list {
  display: grid;
}

.show-less {
  display: none;
  border: none;
  padding: 0;
  background: transparent;
  color: #1f2d44;
  text-align: left;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  margin-top: 2px;
  font-size: 0.82rem;
}

.show-less::after {
  content: "⌃";
  margin-left: 6px;
  font-size: 0.85rem;
}

.mega-more[open] .show-less {
  display: inline-flex;
  align-items: center;
}

.layout {
  display: block;
  padding-top: 18px;
}

.content {
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 0.68fr;
  gap: 14px;
}

.hero-main,
.mini-promo,
.popular-card,
.offer-banner,
.store-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-main {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  min-height: 270px;
  padding: 24px;
  background:
    radial-gradient(circle at right, rgba(255, 138, 51, 0.26), transparent 38%),
    linear-gradient(135deg, #fff7ef, #fff2e8);
  transition: background 320ms ease;
  background-size: cover;
  background-position: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-main h1,
.section-head h2,
.offer-banner h3 {
  margin: 0 0 10px;
}

.hero-main p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy h1,
.hero-copy p,
.hero-copy .eyebrow,
.mini-promo span,
.mini-promo strong,
.mini-promo small,
.hero-person,
.bag {
  transition: all 280ms ease;
}

.hero-banner-meta,
.promo-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-banner-logo,
.promo-logo {
  display: none;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.24);
}

.hero-banner-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.promo-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.34);
}

.hero-banner-date,
.promo-date {
  display: none;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-size: 0.76rem;
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
}

.hero-art {
  position: relative;
  min-height: 220px;
}

.hero-person {
  position: absolute;
  bottom: 8px;
  width: 78px;
  border-radius: 40px;
  background: linear-gradient(180deg, #ff8e36, #f15b00);
}

.hero-person::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffc39b;
}

.hero-person.left {
  left: 48px;
  height: 152px;
}

.hero-person.right {
  right: 50px;
  height: 162px;
  background: linear-gradient(180deg, #ffb85c, #ff8f2d);
}

.bag {
  position: absolute;
  bottom: 24px;
  width: 44px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffd36a, #ff9933);
}

.bag::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10px;
  width: 22px;
  height: 16px;
  border: 3px solid #f08c1b;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}

.bag-one {
  left: 22px;
}

.bag-two {
  left: 118px;
  background: linear-gradient(180deg, #ffaf72, #ff7e36);
}

.bag-three {
  right: 8px;
  bottom: 18px;
  background: linear-gradient(180deg, #ffcf9f, #ff9958);
}

.hero-side {
  display: grid;
  gap: 14px;
}

.hero-side.hero-side-only {
  grid-template-columns: 1fr;
}

.mini-promo {
  padding: 18px;
  min-height: 128px;
  color: #fff;
}

.mini-promo span,
.mini-promo small {
  display: block;
}

.mini-promo strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.1rem;
}

.promo-food {
  background: linear-gradient(135deg, #ff8a33, #ff5c00);
}

.promo-beauty {
  background: linear-gradient(135deg, #ff7198, #ff8c56);
}

.section {
  margin-top: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-head a {
  color: var(--muted);
  font-size: 0.9rem;
}

.popular-showcase {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ff970f 0%, #ffd59f 100%);
  box-shadow: 0 16px 34px rgba(255, 131, 24, 0.18);
}

.popular-head {
  margin-bottom: 14px;
}

.popular-head h2,
.popular-head a {
  color: #fff;
}

.popular-head a {
  font-weight: 700;
}

.popular-arrow {
  position: absolute;
  top: 43%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 250, 245, 0.72);
  color: rgba(39, 52, 77, 0.82);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 6px 16px rgba(31, 47, 82, 0.08);
  transition: color 160ms ease, transform 160ms ease;
  z-index: 3;
}

.popular-arrow:hover {
  color: var(--orange);
}

.popular-arrow-left {
  left: -34px;
}

.popular-arrow-right {
  right: -34px;
}

.popular-arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.popular-stage {
  position: relative;
}

.popular-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 290px);
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.popular-scroll-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 20px;
}

.popular-grid::-webkit-scrollbar,
.popular-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.popular-card {
  overflow: hidden;
  background: #fff;
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 18px;
}

.popular-cover {
  height: 86px;
  background: var(--cover-gradient);
  position: relative;
}

.popular-cover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 236, 245, 0.95));
  border: 3px solid #fff;
  box-shadow: 0 8px 18px rgba(31, 47, 82, 0.12);
}

.popular-body {
  padding: 34px 10px 12px;
  text-align: center;
}

.popular-body h3,
.store-body h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}

.rating {
  color: #f2b01e;
  font-size: 0.82rem;
  font-weight: 700;
}

.muted {
  color: var(--muted);
  font-size: 0.82rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 12px;
}

.offer-banner {
  min-height: 148px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.offer-left {
  background: linear-gradient(135deg, #ff7b57, #ffb14b);
}

.offer-center {
  background: linear-gradient(135deg, #ff7e1d, #ff5a00);
  justify-content: center;
  text-align: center;
}

.offer-right {
  background: linear-gradient(135deg, #ff5b7e, #ffa14e);
}

.offer-banner span {
  font-size: 0.92rem;
}

.offer-link {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tag-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #44628d;
  font-size: 0.88rem;
  font-weight: 600;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-product-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.84;
  background: #f7f8fb;
}

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

.home-product-body {
  padding: 12px;
}

.home-product-body h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.home-product-store {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.home-product-price strong {
  color: var(--orange);
  font-size: 1rem;
}

.home-product-price span {
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: line-through;
}

.store-load-sentinel {
  width: 100%;
  height: 10px;
}

.store-card {
  overflow: hidden;
}

.store-card.is-new {
  animation: storeReveal 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.store-grid.is-updating .store-card {
  transition: transform 220ms ease, opacity 220ms ease;
}

.store-grid.batch-enter {
  animation: storeBatchPulse 280ms ease;
  transform-origin: top center;
}

.store-image {
  height: 140px;
  position: relative;
  overflow: hidden;
}

.store-image::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
  z-index: 1;
}

.store-image-art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@keyframes storeReveal {
  from {
    opacity: 0;
    transform: translateX(42px) translateY(20px) scale(0.94);
    filter: saturate(0.7);
    box-shadow: 0 0 0 rgba(255, 107, 0, 0);
  }
  55% {
    opacity: 1;
    transform: translateX(-6px) translateY(-4px) scale(1.015);
    filter: saturate(1.05);
    box-shadow: 0 18px 34px rgba(255, 107, 0, 0.12);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: saturate(1);
  }
}

@keyframes storeBatchPulse {
  0% {
    transform: translateY(8px);
    filter: brightness(0.99);
  }
  60% {
    transform: translateY(0);
    filter: brightness(1.01);
  }
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }
}

.store-body {
  padding: 12px;
}

.badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.category-badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
  padding: 18px 6px 6px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-page-shell,
.detail-page-shell {
  padding: 20px;
}

.catalog-topbar {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.catalog-brand {
  display: flex;
  align-items: center;
}

.catalog-search-wrap {
  position: relative;
  min-width: 0;
}

.catalog-search {
  justify-self: stretch;
  width: 100%;
  margin-right: 0;
}

.catalog-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(26, 39, 68, 0.12);
  overflow: hidden;
  z-index: 20;
}

.catalog-suggestion-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.catalog-suggestion-item:last-child {
  border-bottom: none;
}

.catalog-suggestion-item img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #f7f8fb;
}

.catalog-suggestion-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.catalog-suggestion-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.catalog-actions,
.detail-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-actions {
  justify-self: end;
  white-space: nowrap;
}

.product-topbar-actions {
  justify-content: flex-end;
}

.detail-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  color: var(--text);
}

.detail-cart-link:hover {
  color: var(--orange);
}

.detail-cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(255, 107, 0, 0.18);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.catalog-sidebar,
.catalog-hero,
.catalog-filter-card,
.catalog-filter-group,
.product-card-page,
.product-detail-gallery,
.product-detail-info,
.detail-meta-card,
.product-detail-main-image,
.product-thumb {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.catalog-filter-card,
.catalog-filter-group,
.catalog-hero,
.product-card-content,
.product-detail-info,
.detail-meta-card {
  padding: 18px;
}

.catalog-filter-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-filter-card h2,
.catalog-filter-group h3,
.catalog-hero h1,
.detail-meta-card h3,
.detail-specs h3 {
  margin: 0 0 10px;
}

.catalog-filter-text,
.catalog-hero p,
.detail-description,
.detail-meta-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.catalog-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  border: none;
  box-shadow: none;
  background: transparent;
}

.catalog-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-chip,
.catalog-view-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.catalog-chip.is-active,
.catalog-view-button.is-active {
  border-color: rgba(255, 107, 0, 0.2);
  background: var(--orange-soft);
  color: var(--orange);
}

.catalog-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
}

.catalog-content {
  min-width: 0;
}

.catalog-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff7ef, #fff2e8);
}

.catalog-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 12px;
}

.catalog-hero-stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.catalog-hero-stats strong {
  display: block;
  font-size: 1.6rem;
}

.catalog-hero-stats span,
.catalog-toolbar-note {
  color: var(--muted);
}

.catalog-store-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-strong);
  font-weight: 700;
}

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

.catalog-toolbar-group {
  display: flex;
  gap: 10px;
}

.product-grid-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card-page {
  overflow: hidden;
}

.product-card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.82;
  background: #f7f8fb;
}

.product-card-media img,
.product-detail-main-image img,
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-store {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.product-card-title {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.product-card-description {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.product-price-row,
.detail-price-row,
.detail-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-price-row strong,
.detail-price-row strong {
  color: var(--orange);
  font-size: 1.08rem;
}

.product-price-row span,
.detail-price-row span {
  color: var(--muted);
  text-decoration: line-through;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 22px;
  margin-top: 20px;
}

.product-detail-gallery,
.product-detail-info {
  padding: 18px;
}

.product-detail-main-image {
  overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 1 / 0.74;
  padding: 0;
}

.product-detail-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-thumb {
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.product-thumb.is-active {
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.12);
}

.product-detail-info h1 {
  margin: 0 0 12px;
  font-size: 2.3rem;
  line-height: 1.08;
}

.detail-price-row {
  margin: 16px 0;
}

.detail-price-row strong {
  font-size: 1.8rem;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}

.detail-secondary-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.detail-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}

.detail-specs ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-related-section {
  margin-top: 22px;
}

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

.cart-page-shell {
  padding: 20px;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  margin-top: 20px;
}

.cart-progress {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff8f1, #fff);
  box-shadow: var(--shadow);
}

.cart-progress-step {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.cart-progress-link {
  text-decoration: none;
  color: inherit;
}

.cart-progress-link:hover strong,
.cart-progress-link:hover p {
  color: var(--orange);
}

.cart-progress-step span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}

.cart-progress-step strong,
.cart-progress-step p {
  display: block;
  margin: 0;
}

.cart-progress-step p {
  font-size: 0.82rem;
}

.cart-progress-step.is-active {
  color: var(--text);
}

.cart-progress-step.is-active span {
  background: linear-gradient(135deg, var(--orange), var(--orange-strong));
  border-color: transparent;
  color: #fff;
}

.cart-progress-line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.4), rgba(255, 107, 0, 0.1));
}

.cart-items-panel,
.cart-summary-card,
.checkout-form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.cart-info-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff1e6, #fff7f1);
  color: #7a5225;
  font-size: 0.9rem;
}

.cart-item-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.cart-item-media {
  border-radius: 16px;
  overflow: hidden;
  background: #f7f8fb;
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cart-item-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-content h3 {
  margin: 6px 0;
  font-size: 1.08rem;
}

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

.cart-item-unit-price {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.cart-item-controls {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity-stepper button,
.cart-remove-button {
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  color: var(--text);
}

.cart-remove-button {
  color: #d44d3f;
  font-weight: 700;
}

.cart-summary-card h3,
.checkout-form-panel h2 {
  margin: 0 0 14px;
}

.cart-summary-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 8px;
}

.cart-summary-promo input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.cart-summary-promo button {
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  background: #24324a;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cart-summary-row,
.checkout-line-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.cart-summary-row.total {
  font-size: 1.05rem;
  font-weight: 800;
}

.cart-checkout-button,
.checkout-submit {
  width: 100%;
  margin-top: 18px;
}

.cart-clear-button {
  width: 100%;
  margin-top: 10px;
}

.cart-support-note {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f9fd;
}

.cart-support-note strong,
.cart-support-note p {
  margin: 0;
}

.cart-support-note p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.is-hidden {
  display: none !important;
}

.cart-empty {
  padding: 28px 8px 10px;
  text-align: center;
}

.cart-empty h3 {
  margin: 0 0 10px;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

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

.checkout-user-box {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}

.checkout-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-user-row span {
  color: var(--muted);
}

.checkout-form label {
  display: grid;
  gap: 8px;
}

.checkout-form span {
  font-size: 0.92rem;
  font-weight: 700;
}

.checkout-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

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

.confirmation-panel h2 {
  margin: 12px 0 8px;
}

.confirmation-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-strong);
  font-weight: 800;
}

.confirmation-copy {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.confirmation-alert {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f6f7fb;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.confirmation-alert.is-success {
  background: #eaf8f0;
  border-color: #bfe8cf;
  color: #228a47;
}

.confirmation-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.confirmation-meta-card,
.confirmation-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.confirmation-meta-card {
  padding: 14px 16px;
}

.confirmation-meta-card span,
.confirmation-customer-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.confirmation-block {
  padding: 16px;
}

.confirmation-customer {
  display: grid;
  gap: 12px;
}

.confirmation-customer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.confirmation-customer-row strong {
  text-align: right;
}

.confirmation-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.confirmation-recommendations {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  box-shadow: var(--shadow);
  padding: 22px;
}

.confirmation-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.confirmation-product-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(26, 39, 68, 0.06);
}

.confirmation-product-media {
  display: block;
  aspect-ratio: 1 / 0.8;
  background: #f7f8fb;
}

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

.confirmation-product-copy {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.confirmation-product-copy h3,
.confirmation-product-copy p {
  margin: 0;
}

.confirmation-product-copy h3 {
  font-size: 1rem;
}

.confirmation-product-copy p {
  color: var(--muted);
  font-size: 0.92rem;
}

.confirmation-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.confirmation-product-bottom a {
  color: var(--orange);
  font-weight: 700;
}

@media (max-width: 1050px) {
  .store-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .product-grid-page,
  .compact-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-layout,
  .catalog-layout,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 16px, 1180px);
    padding: 10px;
  }

  .sticky-shell {
    position: static;
  }

  .top-header,
  .hero,
  .hero-main,
  .offer-grid,
  .footer,
  .catalog-topbar {
    grid-template-columns: 1fr;
  }

  .catalog-search-suggestions {
    left: 0;
    right: 0;
  }

  .top-header,
  .top-meta,
  .main-nav,
  .section-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions,
  .top-meta-links,
  .tag-row {
    flex-wrap: wrap;
  }

  .header-actions,
  .top-meta-links {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .product-grid-page,
  .compact-products,
  .detail-meta-grid,
  .catalog-hero-stats,
  .checkout-grid,
  .cart-item-card {
    grid-template-columns: 1fr;
  }

  .cart-progress {
    grid-template-columns: 1fr;
  }

  .cart-progress-line {
    display: none;
  }

  .cart-summary-promo {
    grid-template-columns: 1fr;
  }

  .detail-actions,
  .catalog-toolbar,
  .catalog-toolbar-group {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown {
    width: 100%;
  }

  .main-nav {
    gap: 16px;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 100%;
    max-width: 100%;
    max-height: none;
    margin-top: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    border-radius: 14px;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid;
  }

  .mega-menu,
  .mega-menu-content {
    grid-template-columns: 1fr;
  }

  .mega-menu,
  .mega-menu-sidebar,
  .mega-menu-content {
    max-height: none;
    overflow: visible;
  }

  .mega-menu-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .hero-art {
    min-height: 200px;
  }
}
