:root {
  --page: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.86);
  --white: #ffffff;
  --ink: #1d1d1f;
  --muted: #66666d;
  --line: #d7d7dd;
  --blue: #0067c0;
  --blue-bright: #0078d4;
  --aqua: #55e0df;
  --violet: #6554ff;
  --sun: #ffb84d;
  --pink: #ff5c93;
  --navy: #172033;
  --glass: rgba(255, 255, 255, 0.72);
  --soft-blue: #eaf4ff;
  --green: #107c41;
  --red: #c42b1c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  --soft-shadow: 0 12px 30px rgba(20, 24, 32, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 103, 192, 0.12), transparent 34rem),
    linear-gradient(180deg, #fbfbfd 0%, var(--page) 44%, #ffffff 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Display", sans-serif;
}

body.panel-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

img {
  display: block;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 0 clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(215, 215, 221, 0.76);
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: blur(20px);
}

.menu-toggle {
  display: none;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
}

.brand,
.main-nav,
.header-actions,
.hero-actions,
.product-actions,
.cart-controls {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 680;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(0, 103, 192, 0.16);
}

.brand-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #111827, #3b3b42);
  color: var(--white);
  font-weight: 720;
}

.profile-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #eef7ff);
  color: var(--blue);
  font-weight: 700;
  box-shadow: var(--soft-shadow);
}

.header-user-icon {
  display: block;
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.profile-button #profileInitial {
  display: none;
}

.cart-icon-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #f3fffe);
  color: var(--blue);
  text-decoration: none;
  box-shadow: var(--soft-shadow);
}

.cart-icon-button span:first-child {
  font-size: 1.3rem;
  font-weight: 650;
  transform: rotate(-12deg);
}

.cart-label-button {
  display: inline-flex;
  width: auto;
  min-width: 118px;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 650;
}

.cart-label-button span:first-child {
  display: none;
}

.cart-label-button > span[aria-hidden="true"] {
  display: none;
}

.cart-label-button::before {
  font-size: 1.05rem;
  content: "🛒";
}

.cart-label {
  font-size: 0.92rem;
}

.cart-label-button::before {
  content: "\1F6D2";
}

.cart-label-button::before {
  content: none;
}

.header-cart-icon {
  display: block;
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.header-actions {
  position: relative;
}

.profile-menu {
  position: absolute;
  top: 52px;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  min-width: 240px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile-menu small {
  color: var(--muted);
}

.profile-menu > strong {
  font-weight: 600;
}

.profile-stats-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.profile-stats-mini span {
  display: grid;
  gap: 3px;
  min-height: 62px;
  align-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(215, 215, 221, 0.86);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.profile-stats-mini small {
  font-size: 0.76rem;
  font-weight: 500;
}

.profile-stats-mini strong {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 560;
}

.profile-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 560;
  text-decoration: none;
}

.points-chip {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff3d9, #eaf4ff);
  color: #7a4b00;
  font-weight: 650;
}

.main-nav,
.header-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.header-search {
  flex: 1 1 280px;
  max-width: 420px;
}

.mobile-menu-filters {
  display: none;
}

.site-search-box {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(215, 215, 221, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
}

.site-search-box input {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-search-box svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.main-nav a {
  position: relative;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.main-nav a:hover {
  border-color: rgba(0, 103, 192, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.main-nav a.active {
  border-color: rgba(0, 103, 192, 0.22);
  background: linear-gradient(135deg, #ffffff, #eaf4ff);
  color: var(--blue);
  box-shadow: 0 8px 22px rgba(0, 103, 192, 0.1);
}

.home-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 28px;
  width: 100%;
  min-height: 250px;
  max-height: 250px;
  margin: 0 auto 18px;
  overflow: hidden;
  padding: 28px max(24px, calc((100vw - 1120px) / 2));
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(56, 214, 255, 0.3), transparent 26%),
    radial-gradient(circle at 52% 80%, rgba(23, 201, 169, 0.2), transparent 24%),
    linear-gradient(135deg, #e9f8ff 0%, #dff5ff 52%, #f0fffb 100%);
  box-shadow: none;
}

.home-showcase::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: linear-gradient(90deg, rgba(245, 252, 255, 0.98) 0%, rgba(245, 252, 255, 0.92) 38%, rgba(245, 252, 255, 0.38) 68%, rgba(245, 252, 255, 0.06) 100%);
  content: "";
  pointer-events: none;
}

.showcase-copy {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 10px;
  max-width: 560px;
  align-self: center;
  text-align: left;
}

.showcase-kicker {
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(0, 103, 192, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 650;
  box-shadow: var(--soft-shadow);
}

.showcase-copy h1 {
  max-width: 520px;
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
}

.showcase-copy p {
  max-width: 480px;
  margin: 0;
  color: #4b5563;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.35;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.showcase-actions .primary-action,
.showcase-actions .secondary-action {
  min-height: 40px;
  padding: 0 20px;
}

.showcase-media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: min(68%, 940px);
  height: 100%;
}

.showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.trust-strip {
  display: grid;
  width: calc(100% - clamp(36px, 10vw, 128px));
  max-width: none;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 128, 0, 0.22);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 95, 40, 0.08);
}

.trust-topline {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto;
  align-items: center;
  min-height: 42px;
  background: #087f5b;
  color: #ffffff;
}

.trust-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: #ffffff;
  text-decoration: none;
}

.trust-title strong {
  font-size: 0.95rem;
  font-weight: 700;
  margin-right: auto;
  text-align: left;
}

.trust-title > span {
  margin-left: auto;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 560;
  white-space: nowrap;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  align-items: center;
  height: 100%;
}

.trust-items article {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.trust-strip svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.trust-items strong,
.trust-items span {
  display: block;
}

.trust-items strong {
  font-size: 0.88rem;
  font-weight: 680;
}

.trust-items span {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.76rem;
}

.trust-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  color: #087f5b;
  font-size: 0.88rem;
  font-weight: 560;
}

.trust-notice svg {
  color: #087f5b;
}

.cart-badge {
  display: inline-grid;
  min-width: 20px;
  min-height: 20px;
  place-items: center;
  position: absolute;
  right: -5px;
  top: -6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--sun));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.login-button,
.primary-action,
.secondary-action,
.mini-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  font-weight: 660;
  text-decoration: none;
}

.login-button,
.secondary-action,
.mini-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.login-button,
.primary-action,
.secondary-action {
  padding: 0 18px;
}

.primary-action {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
}

.accent-action {
  border-color: transparent;
  background: linear-gradient(135deg, #0f73ff, #00c2c7);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 113, 227, 0.26);
}

.accent-action:hover {
  background: linear-gradient(135deg, #075bd0, #00aeb4);
}

.primary-action:hover {
  background: var(--blue-bright);
}

.danger-button {
  padding: 0 14px;
  border: 1px solid #f2b8b5;
  background: #fff1f0;
  color: var(--red);
}

.subtle-danger {
  background: #ffffff;
}

.button-reset {
  width: fit-content;
}

.user-pill {
  max-width: 180px;
  overflow: hidden;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: auto;
  padding: clamp(36px, 5vw, 70px) clamp(18px, 5vw, 64px) 34px;
}

.premium-hero {
  position: relative;
  overflow: hidden;
}

.lively-hero {
  border-bottom: 1px solid rgba(215, 215, 221, 0.72);
  background:
    radial-gradient(circle at 16% 18%, rgba(85, 224, 223, 0.34), transparent 24rem),
    radial-gradient(circle at 76% 22%, rgba(101, 84, 255, 0.16), transparent 22rem),
    linear-gradient(135deg, #ffffff 0%, #f6fbff 45%, #ffffff 100%);
}

.premium-hero::before {
  position: absolute;
  inset: 9% 5% auto auto;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.18), transparent 62%);
  content: "";
  pointer-events: none;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(0, 103, 192, 0.18);
  animation: softFloat 5s ease-in-out infinite;
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes mobileMenuDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleSlide {
  0%,
  18%,
  100% {
    transform: translateX(0);
  }
  48%,
  68% {
    transform: translateX(min(0px, calc(7.4rem - 100%)));
  }
}

.hero-feature-stack {
  position: relative;
  display: grid;
  min-height: 460px;
}

.feature-tile {
  position: absolute;
  display: grid;
  gap: 8px;
  overflow: hidden;
  width: min(360px, 72%);
  padding: 16px;
  border: 1px solid rgba(215, 215, 221, 0.84);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(20, 24, 32, 0.12);
  backdrop-filter: blur(20px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-tile:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 26px 58px rgba(20, 24, 32, 0.16);
}

.feature-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  object-fit: cover;
}

.feature-tile span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-tile strong {
  font-size: 1.18rem;
}

.feature-tile small {
  color: var(--muted);
  font-weight: 700;
}

.tile-1 {
  top: 0;
  left: 5%;
}

.tile-2 {
  top: 26%;
  right: 3%;
}

.tile-3 {
  bottom: 0;
  left: 16%;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.product-detail-copy h1,
.cart-page h1,
.admin-header h1,
.admin-gate h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 7rem);
  max-width: 980px;
  line-height: 0.92;
  letter-spacing: 0;
}

.admin-header h1 {
  font-size: clamp(1.9rem, 3vw, 3.15rem);
  line-height: 1;
}

.product-detail-copy h1 {
  font-size: clamp(2.15rem, 4.2vw, 4.8rem);
  line-height: 0.98;
}

.hero p,
.product-detail-copy p,
.cart-summary p,
.auth-card p,
.empty-state {
  color: var(--muted);
  line-height: 1.58;
}

.hero p {
  max-width: 620px;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hero-actions,
.product-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual,
.showcase-card,
.product-gallery,
.auth-card,
.cart-summary,
.admin-panel,
.admin-stats article,
.empty-state,
.inline-card {
  border: 1px solid rgba(215, 215, 221, 0.82);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 16px;
}

.showcase-card {
  display: grid;
  align-content: end;
  min-height: 160px;
  padding: 22px;
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.showcase-card.main {
  min-height: 250px;
  background: linear-gradient(145deg, #ffffff, #eaf4ff);
}

.showcase-card.image-card {
  grid-column: span 2;
  overflow: hidden;
  min-height: auto;
  padding: 0;
}

.showcase-card.image-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.showcase-card span,
.showcase-card small {
  color: var(--muted);
}

.showcase-card strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.96;
}

.hero-visual {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 clamp(18px, 5vw, 64px) 38px;
}

.trust-row article {
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(215, 215, 221, 0.78);
  border-radius: 18px;
  background: var(--white);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  margin-bottom: 8px;
}

.trust-row span {
  color: var(--muted);
  line-height: 1.45;
}

.products-section,
.cart-page,
.admin-gate {
  padding: 42px clamp(18px, 5vw, 64px) 64px;
}

.products-section.storefront {
  padding-top: 16px;
}

.storefront {
  min-height: calc(100vh - 64px);
  background:
    radial-gradient(circle at 12% 8%, rgba(85, 224, 223, 0.18), transparent 20rem),
    radial-gradient(circle at 88% 12%, rgba(255, 92, 147, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(246, 251, 255, 0.72));
}

.storefront-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 18px;
}

.storefront-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.section-title {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-title h2,
.section-title h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 0.98;
}

.compact-title {
  max-width: 680px;
}

.catalog-tools {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: none;
}

.search-box input {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.search-box svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.top-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}

.search-box-row {
  flex: 1 1 420px;
  max-width: 620px;
  padding: 14px;
  border: 1px solid rgba(215, 215, 221, 0.82);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.filter-row,
.catalog-select-row {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.catalog-tools > .catalog-select-row {
  align-items: center;
}

.price-filter-group {
  display: none;
  gap: 8px;
  align-items: center;
  width: 300px;
  min-height: 58px;
  padding: 0 10px;
  border: 1px solid rgba(215, 215, 221, 0.82);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.price-filter-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.price-filter-group input {
  width: 76px;
  min-height: 36px;
}

.catalog-dropdown {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid rgba(0, 103, 192, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #eaf4ff);
  color: var(--blue);
  font-weight: 600;
  box-shadow: var(--soft-shadow);
}

.catalog-dropdown {
  width: 300px;
}

.desktop-sort-control {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  width: 300px;
  padding: 0 14px;
  border: 1px solid rgba(215, 215, 221, 0.82);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.desktop-sort-control select {
  min-height: 36px;
  min-width: 168px;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 248, 252, 0.92);
  color: var(--ink);
  font-weight: 560;
}

.catalog-dropdown select {
  min-height: 36px;
  min-width: 150px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 560;
}

.mobile-catalog-tools {
  display: none;
}

.mobile-filter-row {
  display: contents;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tabs button,
.admin-menu button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-weight: 620;
}

.category-tabs button.active,
.admin-menu button.active {
  border-color: var(--blue);
  background: var(--soft-blue);
  color: var(--blue);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  overflow: hidden;
  min-height: 340px;
  border: 1px solid rgba(215, 215, 221, 0.82);
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.1);
}

.product-card::after {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--aqua), var(--violet));
  content: "";
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.product-card:nth-child(3n + 2) {
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}

.product-info {
  display: grid;
  gap: 5px;
  padding: 16px;
}

.product-info h3 {
  overflow: hidden;
  margin-bottom: 0;
  font-size: 1.22rem;
  line-height: 1.18;
  font-weight: 650;
}

.product-info h3 span {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  white-space: nowrap;
}

.product-info p {
  margin-bottom: 0;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.4em;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.price,
.cart-summary strong {
  font-size: 1.25rem;
  font-weight: 680;
}

.reward-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff3d9, #eaf4ff);
  color: #7a4b00;
  font-size: 0.84rem;
  font-weight: 650;
}

.view-detail {
  display: inline-flex;
  min-width: 70px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(0, 120, 212, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
  font-weight: 650;
  box-shadow: 0 12px 28px rgba(0, 120, 212, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
}

.view-detail svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.product-card:hover .view-detail {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(0, 120, 212, 0.46);
  color: #005fb8;
  box-shadow: 0 18px 38px rgba(0, 120, 212, 0.22);
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef8f2;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 620;
}

.stock-pill.low {
  background: #fff7dd;
  color: #8a5a00;
}

.stock-pill.empty {
  background: #fff1f0;
  color: var(--red);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(560px, 1.22fr) minmax(360px, 0.78fr);
  align-items: start;
  gap: clamp(12px, 1.7vw, 22px);
  max-width: 1680px;
  margin: 0 auto;
  padding: clamp(16px, 2.4vw, 30px) clamp(10px, 2vw, 28px);
}

.product-detail-copy {
  padding-top: 6px;
}

.price-panel {
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 16px 20px;
  border: 1px solid rgba(0, 103, 192, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #edf7ff);
  box-shadow: 0 14px 30px rgba(0, 103, 192, 0.1);
}

.price-panel strong {
  color: var(--blue);
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  line-height: 1;
}

.product-gallery {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 920px;
  padding: 10px;
  background: var(--white);
}

.carousel-stage {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  border-radius: 14px;
}

.carousel-stage img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 1.7rem;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.carousel-arrow.left {
  left: 14px;
}

.carousel-arrow.right {
  right: 14px;
}

.carousel-thumbs {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 10px;
  grid-column: 1;
  grid-row: 1;
  max-height: 100%;
  padding: 0;
  background: #ffffff;
}

.carousel-thumbs button {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  background: transparent;
}

.carousel-thumbs button.active {
  border-color: var(--blue);
}

.carousel-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.plan-picker {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.plan-picker > span {
  color: var(--muted);
  font-weight: 600;
}

.plan-picker > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.plan-picker button {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
}

.plan-picker button.active {
  border-color: var(--blue);
  background: var(--soft-blue);
  box-shadow: 0 0 0 4px rgba(0, 103, 192, 0.1);
}

.plan-picker small {
  color: var(--muted);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.feature-list li {
  width: fit-content;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 103, 192, 0.14);
  background: #ffffff;
  color: #425466;
  font-weight: 500;
}

.related-section {
  padding-top: 20px;
}

.cart-cta,
.redeem-cta {
  min-height: 54px;
  padding: 0 28px;
  min-width: 190px;
  font-size: 1.05rem;
  font-weight: 760;
}

.cart-cta {
  border-color: transparent;
  background: linear-gradient(135deg, #0078d4, #00c2c7);
  box-shadow: 0 18px 38px rgba(0, 120, 212, 0.28);
}

.redeem-cta {
  border-color: rgba(0, 103, 192, 0.24);
  background: #ffffff;
  color: var(--blue);
  box-shadow: var(--soft-shadow);
}

.detail-reward {
  background: linear-gradient(135deg, #eaf4ff, #f4efff);
  color: #4c3db7;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 18px;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.cart-item img {
  width: 120px;
  height: 120px;
  border-radius: 14px;
  object-fit: cover;
}

.cart-item p {
  color: var(--muted);
}

.cart-controls {
  flex-wrap: wrap;
  gap: 8px;
}

.mini-button {
  min-width: 36px;
  padding: 0 12px;
}

.cart-summary {
  position: sticky;
  top: 90px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.content-hero,
.contact-page {
  padding: clamp(46px, 8vw, 110px) clamp(18px, 5vw, 64px);
}

.content-hero {
  max-width: 1100px;
}

.content-hero h1,
.contact-page h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.94;
}

.content-hero p,
.contact-page p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.62;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 64px) 72px;
}

.values-grid article,
.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.values-grid span,
.contact-card span,
.contact-card small {
  color: var(--muted);
}

.values-grid strong,
.contact-card strong {
  display: block;
  margin: 12px 0;
  font-size: 1.5rem;
}

.values-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 24px;
}

.contact-card {
  display: grid;
  align-content: center;
  min-height: 260px;
  background: linear-gradient(145deg, #ffffff, #eef6ff);
}

.auth-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.auth-panel.open {
  display: block;
}

.panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 29, 31, 0.34);
  backdrop-filter: blur(10px);
}

.auth-card {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  display: grid;
  align-content: start;
  gap: 18px;
  overflow: auto;
  width: min(480px, calc(100vw - 24px));
  padding: 28px;
  background: var(--white);
}

.photo-manager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.photo-item {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfbfd;
}

.photo-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
}

.photo-item div,
.category-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.category-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfbfd;
}

.narrow-panel {
  max-width: 760px;
}

.inline-card {
  max-width: 580px;
  padding: 32px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f7fa;
}

.tab-button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 680;
}

.tab-button.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.auth-form {
  display: none;
}

.auth-form.active,
.product-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: var(--white);
  color: var(--ink);
}

textarea {
  min-height: 112px;
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 103, 192, 0.12);
}

.icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.form-message {
  min-height: 24px;
  color: var(--blue);
  font-weight: 650;
}

.admin-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 64px) 72px;
}

.admin-menu {
  position: sticky;
  top: 92px;
  display: grid;
  align-content: start;
  gap: 10px;
  height: fit-content;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.admin-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
}

.admin-menu button {
  justify-content: flex-start;
  border-radius: 12px;
}

.admin-menu a:hover {
  background: var(--soft-blue);
  color: var(--blue);
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 12px;
}

.admin-stats article {
  padding: 18px;
  background: var(--white);
}

.admin-stats span,
.admin-product-meta,
.admin-product-summary {
  color: var(--muted);
}

.admin-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: 18px;
}

.admin-panel {
  min-width: 0;
  padding: 20px;
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-line input {
  width: auto;
  min-height: auto;
}

.image-preview {
  width: 100%;
  max-height: 240px;
  border-radius: 14px;
  object-fit: cover;
}

.admin-products-list {
  display: grid;
  gap: 12px;
}

.admin-product {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfbfd;
}

.admin-product img {
  width: 86px;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
}

.user-row,
.redemption-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.user-row p,
.redemption-row p {
  margin: 6px 0 10px;
  color: var(--muted);
}

.user-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  align-items: end;
  min-width: min(420px, 100%);
}

.user-controls button {
  min-height: 38px;
}

.status-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff7dd;
  color: #8a5a00;
  font-size: 0.8rem;
  font-weight: 680;
  text-transform: uppercase;
}

.status-pill.approved {
  background: #eef8f2;
  color: var(--green);
}

.status-pill.rejected {
  background: #fff1f0;
  color: var(--red);
}

.admin-product h3 {
  margin-bottom: 5px;
}

.admin-product-summary {
  margin-bottom: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-product-meta,
.admin-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.empty-state {
  padding: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.site-footer span,
.site-footer small {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.profile-page {
  padding: 42px clamp(18px, 5vw, 64px) 72px;
}

.profile-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.profile-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.96;
}

.profile-score,
.profile-stats article {
  border: 1px solid rgba(215, 215, 221, 0.82);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.profile-score {
  min-width: 220px;
  padding: 20px;
}

.profile-score span,
.profile-stats span {
  color: var(--muted);
  font-weight: 760;
}

.profile-score strong {
  display: block;
  color: var(--blue);
  font-size: 3rem;
  line-height: 1;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.profile-stats article {
  padding: 18px;
}

.profile-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.profile-list {
  display: grid;
  gap: 10px;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfbfd;
}

.profile-row p,
.profile-row small {
  margin: 4px 0 0;
  color: var(--muted);
}

@media (max-width: 1020px) {
  .hero,
  .home-showcase,
  .trust-row,
  .products-grid,
  .product-detail,
  .cart-layout,
  .admin-shell,
  .admin-grid,
  .profile-grid,
  .profile-stats,
  .values-grid,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .home-showcase {
    grid-template-columns: minmax(0, 1fr);
    min-height: 230px;
    max-height: 230px;
    padding: 24px;
  }

  .showcase-media {
    width: 64%;
  }

  .trust-strip {
    width: calc(100% - clamp(36px, 10vw, 128px));
  }

  .products-grid {
    max-width: 720px;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-card.image-card {
    grid-column: auto;
  }

  .hero-feature-stack {
    min-height: auto;
    gap: 14px;
  }

  .feature-tile {
    position: static;
    width: 100%;
  }

  .admin-menu,
  .cart-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 6px;
    row-gap: 4px;
    padding-top: 7px;
    padding-bottom: 10px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 11px;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding-top: 8px;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 3;
    display: none;
    width: 100%;
    max-width: none;
    padding-top: 0;
    overflow: visible;
    max-height: 48px;
    opacity: 1;
    transition: max-height 180ms ease, opacity 160ms ease, padding-top 180ms ease;
  }

  .mobile-menu-filters {
    display: none;
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 4px;
  }

  .site-header.menu-open .mobile-menu-filters {
    display: grid;
    animation: mobileMenuDrop 220ms ease both;
  }

  .mobile-menu-filters label {
    display: grid;
    gap: 6px;
    padding: 9px 10px;
    border: 1px solid rgba(215, 215, 221, 0.86);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 560;
    box-shadow: 0 10px 22px rgba(20, 24, 32, 0.08);
  }

  .mobile-menu-filters input {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-radius: 10px;
    background: #f5f8fc;
    padding: 0 9px;
    color: var(--ink);
    font: inherit;
    outline: none;
  }

  .site-search-box {
    min-height: 38px;
    padding: 0 10px;
    margin-bottom: 4px;
    box-shadow: 0 10px 22px rgba(20, 24, 32, 0.08);
  }

  .site-search-box svg {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .site-header.search-hidden:not(.menu-open) .header-search {
    overflow: hidden;
    max-height: 0;
    padding-top: 0;
    opacity: 0;
  }

  .header-actions {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    width: auto;
    align-items: center;
    gap: 6px;
    padding-top: 0;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .site-header.menu-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    animation: mobileMenuDrop 220ms ease both;
  }

  .site-header.menu-open .header-search {
    display: block;
    grid-row: 3;
    padding-top: 4px;
    max-height: 44px;
    opacity: 1;
    animation: mobileMenuDrop 220ms ease both;
  }

  .main-nav a {
    width: 100%;
    justify-content: center;
  }

  .header-actions > .login-button {
    display: none !important;
  }

  .cart-label {
    display: none;
  }

  .cart-label-button {
    min-width: 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
  }

  .site-header.menu-open .profile-menu {
    flex-basis: 100%;
  }

  .header-actions .profile-button {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 38px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border-radius: 50%;
  }

  .header-actions .cart-icon-button {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 38px;
  }

  .header-actions .cart-icon-button .header-cart-icon {
    margin: 0;
  }

  .profile-menu {
    position: absolute;
    top: 52px;
    right: 0;
    width: min(280px, calc(100vw - 32px));
    box-shadow: var(--soft-shadow);
  }

  .hero,
  .home-showcase,
  .trust-strip,
  .products-section,
  .cart-page,
  .product-detail,
  .admin-shell,
  .content-hero,
  .contact-page,
  .values-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-showcase {
    width: 100%;
    min-height: 132px;
    max-height: 132px;
    margin-top: 0;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    justify-items: start;
  }

  .home-showcase::after {
    background: linear-gradient(90deg, rgba(245, 252, 255, 0.98) 0%, rgba(245, 252, 255, 0.92) 52%, rgba(245, 252, 255, 0.32) 100%);
  }

  .showcase-copy {
    gap: 5px;
    max-width: 65%;
    text-align: left;
  }

  .showcase-copy h1 {
    font-size: clamp(1.25rem, 6vw, 1.8rem);
    line-height: 1.04;
  }

  .showcase-kicker {
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  .showcase-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.76rem;
    line-height: 1.22;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .showcase-actions {
    display: flex;
    margin-top: 2px;
  }

  .showcase-actions .primary-action {
    min-height: 30px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .showcase-media {
    inset: 0 0 0 auto;
    width: 56%;
    height: 100%;
  }

  .showcase-media img {
    object-position: center right;
  }

  .trust-strip {
    display: block;
    width: calc(100vw - 24px);
    max-width: none;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
    gap: 8px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .trust-topline {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    background: transparent;
  }

  .trust-title {
    order: 2;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    justify-content: space-between;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #087f5b, #0a9367);
  }

  .trust-title::after {
    content: none;
  }

  .trust-items {
    order: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    width: 100%;
    overflow: hidden;
    border-radius: 9px 9px 0 0;
    background: rgba(255, 255, 255, 0.22);
  }

  .trust-items article {
    min-height: 62px;
    padding: 10px 12px;
    border-left: 0;
    background: linear-gradient(135deg, #087f5b, #0a9367);
  }

  .trust-items article:nth-child(3) {
    display: none;
  }

  .trust-strip svg {
    flex-basis: 21px;
    width: 21px;
    height: 21px;
  }

  .trust-title strong,
  .trust-items strong {
    font-size: 0.84rem;
  }

  .trust-items span,
  .trust-notice {
    font-size: 0.72rem;
  }

  .trust-notice {
    display: none;
  }

  .cart-item,
  .admin-product {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-item img,
  .admin-product img {
    width: 72px;
    height: 72px;
  }

  .admin-header,
  .section-heading,
  .user-row,
  .redemption-row {
    align-items: stretch;
    flex-direction: column;
  }

  .product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .cart-cta,
  .redeem-cta {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
  }

  .admin-stats,
  .form-columns,
  .user-controls,
  .search-row,
  .search-box-row {
    grid-template-columns: 1fr;
  }

  .plan-picker > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-filter-group {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 72px;
    padding: 12px;
    align-items: stretch;
  }

  .price-filter-group label {
    display: grid;
    gap: 8px;
    align-content: center;
  }

  .price-filter-group input {
    width: 100%;
    min-height: 42px;
  }

  .filter-row,
  .top-filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-tools > .catalog-select-row {
    display: flex;
    flex-direction: column;
  }

  .mobile-filter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    order: 2;
    width: 100%;
  }

  .mobile-catalog-tools {
    display: grid;
    grid-template-columns: 44px 44px;
    gap: 8px;
  }

  .desktop-sort-control {
    display: none;
  }

  .mobile-columns-control,
  .mobile-sort-control,
  .mobile-columns-toggle {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border: 1px solid rgba(215, 215, 221, 0.82);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: var(--soft-shadow);
  }

  .mobile-sort-control,
  .mobile-columns-toggle {
    overflow: hidden;
    position: relative;
  }

  .mobile-sort-control svg,
  .mobile-columns-toggle svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--blue);
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-width: 2;
  }

  .mobile-sort-control select {
    position: absolute;
    inset: 0;
    opacity: 0;
  }

  .catalog-tools > .catalog-select-row > .catalog-dropdown {
    order: initial;
  }

  .catalog-tools > .catalog-select-row > .catalog-select-row {
    order: 1;
  }

  .search-box-row {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    padding: 10px;
    border-radius: 16px;
  }

  .search-box-row input {
    min-height: 42px;
  }

  .catalog-tools {
    gap: 10px;
  }

  .catalog-dropdown,
  .price-filter-group {
    width: 100%;
  }

  .products-grid.mobile-cols-1 {
    grid-template-columns: 1fr;
  }

  .products-grid.mobile-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid.mobile-cols-2 .product-card {
    grid-template-rows: auto 1fr 4px;
    min-height: 292px;
  }

  .products-grid.mobile-cols-2 .product-info {
    align-content: start;
    min-height: 124px;
    padding: 12px;
  }

  .products-grid.mobile-cols-2 .product-info h3 {
    font-size: 0.98rem;
  }

  .products-grid.mobile-cols-2 .product-info h3 span {
    display: block;
    max-width: 100%;
    animation: none;
  }

  .products-grid.mobile-cols-2 .stock-pill,
  .products-grid.mobile-cols-2 .price-prefix {
    display: none;
  }

  .products-grid.mobile-cols-2 .product-info p {
    display: -webkit-box;
    width: 100%;
    min-height: 2.4em;
    line-height: 1.2;
    -webkit-line-clamp: 2;
  }

  .products-grid.mobile-cols-2 .price {
    font-size: 1rem;
  }

  .user-row,
  .redemption-row {
    grid-template-columns: 1fr;
  }

  .carousel-thumbs {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .carousel-stage {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-manager,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .storefront-head {
    align-items: stretch;
    flex-direction: column;
  }

.profile-hero,
  .profile-row {
    align-items: stretch;
    flex-direction: column;
  }
}

.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 14px;
  pointer-events: none;
}

.whatsapp-card,
.whatsapp-float {
  pointer-events: auto;
}

.whatsapp-card {
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(14, 122, 91, 0.14);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(7, 41, 31, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 220ms ease, transform 220ms ease;
}

.whatsapp-widget.is-open .whatsapp-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.whatsapp-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #075e54, #0a7b67);
  color: #ffffff;
}

.whatsapp-agent-avatar {
  position: relative;
  width: 52px;
  height: 52px;
}

.whatsapp-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: #ffffff;
}

.whatsapp-agent-avatar span {
  position: absolute;
  right: 2px;
  bottom: 3px;
  width: 15px;
  height: 15px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #25d366;
}

.whatsapp-card-head strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 680;
  letter-spacing: 0;
}

.whatsapp-card-head small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 500;
}

.whatsapp-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.whatsapp-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.04);
}

.whatsapp-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2.2;
}

.whatsapp-card-body {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #efe4db, #f8f4ee);
}

.whatsapp-message {
  position: relative;
  max-width: 92%;
  min-height: 142px;
  padding: 15px 16px;
  border-radius: 4px 18px 18px 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(29, 36, 44, 0.08);
}

.whatsapp-message::before {
  position: absolute;
  top: 0;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 12px solid #ffffff;
  border-left: 12px solid transparent;
  content: "";
}

.whatsapp-message small {
  display: block;
  margin-bottom: 6px;
  color: #8a8f98;
  font-size: 0.85rem;
}

.whatsapp-message p {
  min-height: 92px;
  margin: 0;
  color: #111827;
  font-size: 1rem;
  font-weight: 520;
  line-height: 1.38;
}

.whatsapp-widget.is-typing .whatsapp-message p::after {
  display: none;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: #25d366;
  vertical-align: -2px;
  animation: caretBlink 760ms steps(2, start) infinite;
  content: "";
}

.whatsapp-form {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(9, 60, 42, 0.1);
}

.whatsapp-form:focus-within {
  border-color: rgba(37, 211, 102, 0.22);
  box-shadow: 0 12px 30px rgba(9, 60, 42, 0.12), 0 0 0 4px rgba(37, 211, 102, 0.08);
}

.whatsapp-form input {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 10px;
  color: var(--ink);
  font: inherit;
  outline: none;
  box-shadow: none;
}

.whatsapp-form input:focus,
.whatsapp-form input:focus-visible {
  outline: none;
  box-shadow: none;
}

.whatsapp-form button,
.whatsapp-float {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #23d366, #12b75b);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 183, 91, 0.34);
  cursor: pointer;
}

.whatsapp-form button {
  width: 48px;
  height: 48px;
}

.whatsapp-form svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  transform: translateX(1px);
}

.whatsapp-float {
  width: 66px;
  height: 66px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 40px rgba(18, 183, 91, 0.42);
}

.whatsapp-float svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.whatsapp-float svg path + path {
  fill: currentColor;
  stroke: none;
}

@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .whatsapp-widget {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-card {
    width: min(330px, calc(100vw - 28px));
    border-radius: 20px;
  }

  .whatsapp-card-head {
    padding: 14px;
  }

  .whatsapp-card-body {
    padding: 14px;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
  }

  .whatsapp-float svg {
    width: 34px;
    height: 34px;
  }
}

.quantity-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 18px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.quantity-picker > span {
  padding-left: 8px;
  color: var(--muted);
  font-weight: 700;
}

.quantity-picker strong {
  min-width: 28px;
  text-align: center;
}

.points-note {
  max-width: 560px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #ffe2a8;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff9ea, #f1fbff);
  color: #7a4b00 !important;
  font-size: 0.95rem;
}
