@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --ink: #123c62;
  --muted: #56718a;
  --accent: #e5682d;
  --ice: #edf6fc;
  --line: #d7e5ef;
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 16px 50px #274c7010;
  --radius: 24px;
  color-scheme: light;
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #f6fafe;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
h1,
h2,
h3,
h4 {
  font-family: Manrope, sans-serif;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  line-height: 1.17;
}
h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.3rem);
  font-weight: 600;
}
h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
  font-weight: 600;
}
h3 {
  font-size: 1.2rem;
}
p {
  line-height: 1.7;
}
small {
  font-size: 0.8rem;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #e5682d;
  outline-offset: 4px;
}
button {
  border: 0;
}
::selection {
  background: #bee4f9;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.announcement {
  min-height: 32px;
  background: #123c62;
  color: #ecf7ff;
  text-align: center;
  font-size: 0.8rem;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(5vw, 22px);
  gap: 25px;
  background: #f6fafecc;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid #ffffff;
}
.brand {
  min-width: 160px;
  max-width: 230px;
}
.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
.desktop-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
.desktop-nav a:after {
  content: "";
  height: 2px;
  background: var(--accent);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.desktop-nav a:hover:after {
  transform: scaleX(1);
}
.tiny-tag {
  font-size: 0.63rem;
  padding: 3px 5px;
  color: #397b6d;
  background: #dff2eb;
  border-radius: 5px;
  margin-left: 4px;
}
.header-actions {
  gap: 10px;
}
.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.icon-btn:hover {
  background: #deedf8;
}
.bag {
  position: relative;
}
.bag b {
  position: absolute;
  right: -2px;
  top: -1px;
  background: var(--accent);
  color: white;
  border-radius: 20px;
  min-width: 17px;
  height: 17px;
  font-size: 10px;
  display: grid;
  place-items: center;
}
.container {
  width: min(1240px, 90vw);
  margin: auto;
}
.page {
  padding: 38px 0 70px;
  min-height: 60vh;
  animation: enter 0.35s ease both;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.eyebrow:before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--accent);
}
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  border-radius: 32px;
  min-height: 480px;
  display: flex;
  align-items: center;
  border: 1px solid white;
  background: #e7f1f9;
  box-shadow: var(--shadow);
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 52%;
  padding: 45px 50px;
  background: linear-gradient(90deg, #edf6fcab, transparent);
}
.hero-copy p {
  font-size: 1rem;
  max-width: 345px;
  color: var(--muted);
  margin: 24px 0;
}
.hero-copy h1 {
  max-width: 470px;
}
.hero-stamp {
  position: absolute;
  right: 25px;
  bottom: 24px;
  padding: 10px 15px;
  font-size: 0.8rem;
  border: 1px solid #ffffff;
  background: #ffffffaa;
  backdrop-filter: blur(15px);
  border-radius: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 14px;
  padding: 13px 23px;
  background: var(--ink);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px #123c6220;
}
.btn.light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.accent {
  background: var(--accent);
}
.btn.small {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 0.8rem;
}
.btn.danger {
  background: #b83241;
}
.btn.full {
  width: 100%;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.benefits {
  display: flex;
  justify-content: space-around;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.benefits span {
  display: flex;
  gap: 12px;
  align-items: center;
}
.section {
  padding: 50px 0 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 0;
}
.link {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.chips {
  display: flex;
  gap: 10px;
  overflow: auto;
  scrollbar-width: none;
  padding: 4px 0 15px;
}
.chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: #fff9;
  color: var(--muted);
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
}
.chip.active,
.chip:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.card {
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid white;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px #244d7020;
}
.product-image {
  aspect-ratio: 1.15;
  background: #e7f2fa;
  position: relative;
  display: block;
  overflow: hidden;
}
.product-image > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: right;
  transition: transform 0.4s;
}
.card:hover .product-image > img {
  transform: scale(1.05);
}
.product-image .save {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #ffffffc9;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.badge {
  display: inline-block;
  border-radius: 7px;
  padding: 5px 9px;
  background: #ffffffde;
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.01em;
}
.product-image > .badge {
  position: absolute;
  left: 12px;
  top: 14px;
}
.badge.renew {
  background: #e3f2ee;
  color: #347568;
}
.product-copy {
  padding: 18px;
}
.product-copy .meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.product-copy h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.5;
  min-height: 48px;
  margin: 0 0 16px;
}
.price-row {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.price-row strong {
  font-size: 1.05rem;
}
.price-row del {
  font-size: 0.75rem;
  color: #5f7890;
}
.price-row .add {
  margin-left: auto;
  background: #e8f2f8;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: var(--ink);
  font-size: 1.3rem;
}
.sample-note {
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
}
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  padding: 30px;
  border: 1px solid white;
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: var(--shadow);
}
.sell-banner {
  background: linear-gradient(120deg, #153e60, #2e6284);
  color: white;
  padding: 38px;
  border-radius: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.sell-banner p {
  color: #c1d9eb;
  margin-bottom: 0;
}
.sell-banner .eyebrow {
  color: #c5e6fa;
}
.sell-banner h2 {
  max-width: 430px;
}
.sell-banner .big-symbol {
  font-size: 100px;
  color: #8bbbd5;
}
.newsletter {
  background: #e5f3fa;
}
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 25px;
}
.toolbar {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 24px;
}
.search {
  flex: 1;
  position: relative;
}
.search input {
  padding-left: 45px;
}
.search > svg {
  position: absolute;
  left: 14px;
  top: 15px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px;
  background: #fffc;
  color: var(--ink);
  border-radius: 13px;
  min-height: 48px;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
label {
  font-size: 0.85rem;
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}
label > input,
label > select,
label > textarea {
  margin-top: 8px;
}
select {
  min-width: 0;
}
.toolbar select {
  max-width: 185px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .span2 {
  grid-column: 1/-1;
}
.field {
  margin-bottom: 18px;
}
.filters {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 22px 0;
}
.filters p {
  font-size: 0.85rem;
  color: var(--muted);
}
.empty,
.loading {
  text-align: center;
  padding: 80px 25px;
  color: var(--muted);
}
.empty h2 {
  color: var(--ink);
}
.empty .btn {
  margin-top: 15px;
}
.notice {
  border: 1px solid #c9e1ef;
  background: #e9f5fc;
  padding: 15px 18px;
  border-radius: 14px;
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 15px 0;
}
.notice.warning {
  background: #fff3e8;
  border-color: #f4cfae;
}
.error {
  color: #b13143;
  background: #ffedf0;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 15px 0;
  font-size: 0.9rem;
}
.muted {
  color: var(--muted);
}
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 55px;
}
.detail-image {
  position: sticky;
  top: 130px;
  align-self: start;
  border-radius: 28px;
  overflow: hidden;
  background: #e4f1f8;
}
.detail-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: right;
}
.detail-copy h1 {
  font-size: 2.5rem;
}
.detail-copy .price-row {
  margin: 22px 0;
}
.detail-copy .price-row strong {
  font-size: 2rem;
}
.detail-copy .price-row del {
  font-size: 1rem;
}
.detail-copy .actions {
  margin: 22px 0;
}
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}
.specs div {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.specs dt {
  color: var(--muted);
  margin-bottom: 7px;
}
.specs dd {
  margin: 0;
}
.summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr);
  gap: 30px;
  align-items: start;
}
.summary {
  position: sticky;
  top: 110px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  font-size: 0.9rem;
}
.summary-line.total {
  font-weight: 700;
  font-size: 1.2rem;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}
.cart-item {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item > img {
  width: 110px;
  height: 100px;
  object-fit: cover;
  object-position: right;
  border-radius: 16px;
}
.cart-info {
  flex: 1;
}
.cart-info h3 {
  font-size: 1rem;
  margin: 0 0 7px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: max-content;
  margin-top: 12px;
}
.quantity button {
  background: none;
  color: var(--ink);
  width: 32px;
  height: 30px;
}
.quantity span {
  font-size: 0.9rem;
}
.text-button {
  background: none;
  color: var(--muted);
  text-decoration: underline;
  padding: 6px 0;
  font-size: 0.8rem;
}
.account-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 30px;
}
.account-nav a {
  background: white;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
}
.order-row {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff9;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.order-row p {
  margin: 5px 0;
  font-size: 0.85rem;
}
.status {
  text-transform: capitalize;
  font-size: 0.75rem;
  background: #dfedf6;
  padding: 6px 10px;
  border-radius: 7px;
  display: inline-block;
}
.timeline {
  border-left: 2px solid #bcd9ea;
  padding-left: 25px;
  margin: 30px 0;
}
.timeline > div {
  position: relative;
  padding-bottom: 25px;
}
.timeline > div:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  position: absolute;
  left: -31px;
  top: 3px;
}
.timeline p {
  margin: 5px 0;
  font-size: 0.9rem;
}
.timeline small {
  color: var(--muted);
}
.thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.thumbs img {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
}
.auth-box {
  max-width: 470px;
  margin: 0 auto;
}
.auth-box h1 {
  font-size: 2.2rem;
}
.auth-box form {
  margin-top: 22px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 23px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.phone-field {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: white;
}
.phone-field span {
  padding: 14px;
  background: #eaf3f9;
  border-right: 1px solid var(--line);
}
.phone-field input {
  border: 0;
  border-radius: 0;
}
.otp-input {
  letter-spacing: 0.5em;
  text-align: center;
  font-size: 1.5rem;
}
.otp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.messages {
  max-height: 500px;
  overflow: auto;
  margin-bottom: 20px;
}
.message {
  background: #edf6fc;
  margin: 12px 0;
  padding: 15px;
  border-radius: 14px;
}
.message.staff {
  background: #e1eee9;
}
.message p {
  white-space: pre-wrap;
  margin: 8px 0;
}
.message small {
  color: var(--muted);
}
.policy {
  white-space: pre-wrap;
  line-height: 1.9;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
}
footer {
  width: min(1240px, 90vw);
  margin: 60px auto 0;
  border-top: 1px solid var(--line);
  padding: 40px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
footer p {
  color: var(--muted);
  font-size: 0.85rem;
}
footer small {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.7rem;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.85rem;
}
.mobile-nav {
  display: none;
}
#toast {
  position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: white;
  border-radius: 14px;
  padding: 14px 22px;
  box-shadow: 0 15px 40px #123c6240;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: 90vw;
  width: max-content;
  font-size: 0.9rem;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid white;
  border-radius: 25px;
  box-shadow: 0 20px 80px #183b6340;
  padding: 35px;
  width: min(550px, 92vw);
  color: var(--ink);
  background: #f5faff;
  max-height: 90vh;
}
dialog::backdrop {
  background: #16344955;
  backdrop-filter: blur(5px);
}
dialog .close {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 1.8rem;
}
dialog h2 {
  font-size: 1.5rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .hero {
    min-height: 520px;
  }
}
@media (max-width: 1050px) {
  .desktop-nav {
    gap: 18px;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-copy {
    padding: 35px;
    width: 58%;
  }
  .hero {
    min-height: 440px;
  }
  .product-detail {
    gap: 30px;
  }
  .brand {
    max-width: 195px;
  }
  .site-header {
    gap: 15px;
  }
  .desktop-nav a {
    font-size: 0.8rem;
  }
  .tiny-tag {
    display: none;
  }
  .product-detail h1 {
    font-size: 2rem;
  }
}
@media (max-width: 760px) {
  .announcement {
    font-size: 0.68rem;
  }
  .site-header {
    padding: 13px 5vw;
    gap: 10px;
  }
  .brand {
    max-width: 190px;
  }
  .desktop-nav {
    display: none;
  }
  .header-actions .icon-btn:not(.bag):not(.notification-link) {
    display: none;
  }
  .container {
    width: 90vw;
  }
  .page {
    padding-top: 24px;
  }
  .hero {
    margin-top: 18px;
    min-height: 565px;
    align-items: flex-start;
    border-radius: 25px;
  }
  .hero > img {
    height: 70%;
    top: 30%;
    object-position: 65% center;
  }
  .hero-copy {
    width: 100%;
    padding: 28px;
    background: linear-gradient(180deg, #eaf4fc 72%, #eaf4fc00);
  }
  .hero-copy h1 {
    font-size: 2.7rem;
    max-width: 330px;
    margin-bottom: 14px;
  }
  .hero-copy p {
    margin: 14px 0 20px;
    max-width: 280px;
    font-size: 0.9rem;
  }
  .hero-copy .eyebrow {
    font-size: 0.65rem;
  }
  .hero-stamp {
    font-size: 0.68rem;
    bottom: 14px;
    right: 14px;
  }
  .hero .btn {
    min-height: 42px;
    padding: 11px 18px;
  }
  .benefits {
    gap: 15px;
    justify-content: flex-start;
    overflow: auto;
    white-space: nowrap;
    font-size: 0.72rem;
    padding: 20px 0;
  }
  .benefits svg {
    width: 18px;
    height: 18px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .card {
    border-radius: 20px;
  }
  .product-copy {
    padding: 13px;
  }
  .product-copy h3 {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
  .product-copy .meta {
    font-size: 0.7rem;
  }
  .price-row strong {
    font-size: 0.95rem;
  }
  .price-row del {
    font-size: 0.65rem;
  }
  .price-row {
    gap: 5px;
  }
  .price-row .add {
    width: 30px;
    height: 30px;
    margin-left: 0;
  }
  .product-image .badge {
    font-size: 0.6rem;
    left: 8px;
    top: 10px;
    padding: 4px 6px;
  }
  .product-image .save {
    width: 30px;
    height: 30px;
    top: 8px;
    right: 8px;
  }
  .product-image .save svg {
    width: 16px;
    height: 16px;
  }
  .section {
    padding-top: 35px;
  }
  .section-head h2 {
    font-size: 1.55rem;
  }
  .section-head .link {
    font-size: 0.75rem;
  }
  .dual {
    grid-template-columns: 1fr;
  }
  .sell-banner {
    padding: 28px;
    display: block;
  }
  .sell-banner .big-symbol {
    display: none;
  }
  .sell-banner .btn {
    margin-top: 20px;
  }
  .summary-layout,
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-image {
    position: static;
  }
  .detail-image img {
    aspect-ratio: 1.2;
  }
  .detail-copy h1 {
    font-size: 2rem;
  }
  .summary {
    position: static;
  }
  .toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .toolbar .search {
    flex-basis: 100%;
  }
  .toolbar select {
    max-width: none;
    flex: 1;
    min-width: 0;
    font-size: 0.85rem;
  }
  .filters {
    margin: 10px 0;
  }
  .filters p {
    font-size: 0.75rem;
  }
  .filters .chips {
    max-width: 100%;
  }
  .panel {
    padding: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .span2 {
    grid-column: auto;
  }
  .cart-item {
    gap: 13px;
  }
  .cart-item > img {
    width: 75px;
    height: 90px;
  }
  .cart-item h3 {
    font-size: 0.9rem;
  }
  .order-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    padding: 10px 8px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid #ffffff;
    background: #f5faffdf;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 40;
    box-shadow: 0 -5px 30px #153e6010;
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    color: var(--muted);
    width: 19%;
    padding: 4px;
    border-radius: 13px;
  }
  .mobile-nav a.active {
    color: var(--ink);
    background: #dfedf8;
  }
  .mobile-nav a.active svg {
    stroke-width: 2.1;
  }
  footer {
    grid-template-columns: 1fr;
    padding-bottom: 120px;
    margin-top: 30px;
  }
  #toast {
    bottom: 90px;
  }
  .cart-info small {
    font-size: 0.7rem;
  }
  .auth-box {
    padding: 23px;
  }
  .section-head {
    gap: 10px;
  }
  .hero-copy h1 {
    line-height: 1.13;
  }
  .sample-note {
    font-size: 0.63rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .card:hover,
  .btn:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .announcement,
  .mobile-nav,
  footer,
  .btn,
  #toast {
    display: none !important;
  }
  .container {
    width: 100%;
  }
  .page {
    padding: 0;
  }
  .panel {
    border: 0;
    box-shadow: none;
  }
  body {
    background: white;
  }
}

.notification-link {
  position: relative;
}
#notification-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: 700 10px/18px system-ui;
  text-align: center;
  border: 1px solid #fff;
}
#notification-count[hidden] {
  display: none;
}

.referral-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(120deg, #e3f1ff, #ffffffd9, #fff0e3);
  margin: 24px 0;
}
.referral-code {
  font:
    700 clamp(20px, 4vw, 30px)/1.2 ui-monospace,
    monospace;
  letter-spacing: 2px;
  color: var(--ink);
}
.referral-orb {
  border: 1px solid white;
  background: #ffffff99;
  box-shadow: 0 20px 55px #7badd335;
  border-radius: 50%;
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  font-size: 75px;
  color: var(--accent);
  flex-shrink: 0;
}
.reward-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 22px 0;
}
.reward-metrics strong {
  display: block;
  font-size: clamp(18px, 2.2vw, 28px);
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.reward-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.reward-row p {
  margin: 8px 0;
}
.referral-input {
  margin: 20px 0;
}
.referral-input input {
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .reward-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .referral-orb {
    display: none;
  }
  .referral-hero {
    padding: 24px;
  }
}

/* Media galleries and feature visibility */
[hidden] {
  display: none !important;
}
.category-chip {
  flex-direction: column;
  min-width: 100px;
  gap: 9px;
  padding: 12px 18px;
}
.category-chip img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 14px;
}
.category-chip svg {
  width: 42px;
  height: 42px;
}
.gallery-stage {
  aspect-ratio: 1;
  background: #e9f2f8;
  border-radius: 25px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.gallery-stage video,
.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 650px;
}
.gallery-zoom {
  border: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  padding: 0;
}
.gallery-thumbs {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 14px 2px;
  scroll-snap-type: x proximity;
}
.gallery-thumb {
  flex: 0 0 70px;
  height: 70px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  padding: 3px;
  scroll-snap-align: start;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.gallery-thumb.selected {
  border-color: var(--ink);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
}
.gallery-thumb span {
  font-size: 22px;
}
.gallery-thumb small {
  font-size: 10px;
}
.gallery-caption {
  font-size: 12px;
  color: var(--muted);
}
.zoom-photo {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.gallery-thumb:focus-visible,
.gallery-zoom:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
