:root {
  --ink: #151816;
  --paper: #f7f7f2;
  --paper-2: #ffffff;
  --sand: #ebe6dc;
  --copper: #986846;
  --copper-dark: #6f442d;
  --cypress: #08751f;
  --cypress-2: #064418;
  --ruby: #7f2638;
  --lapis: #294b7a;
  --line: rgba(21, 24, 22, 0.11);
  --shadow: 0 18px 42px rgba(18, 31, 22, 0.1);
  --radius: 8px;
  --title-page: clamp(1.55rem, 2.15vw, 2.2rem);
  --title-section: clamp(1.18rem, 1.55vw, 1.52rem);
  --title-card: clamp(1.02rem, 1.15vw, 1.22rem);
  --title-hero: clamp(1.9rem, 3.4vw, 3.15rem);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.75;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 8px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--paper-2);
  background: var(--cypress);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-weight: 900;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(23, 79, 67, 0.18);
  border-radius: 50%;
  object-fit: cover;
  background: var(--cypress);
}

.brand strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 900;
}

.brand small {
  display: block;
  color: rgba(24, 18, 15, 0.62);
  font-size: 0.72rem;
  line-height: 1.2;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 32px);
  color: rgba(24, 18, 15, 0.72);
  font-size: clamp(0.96rem, 0.9vw, 1.06rem);
  font-weight: 800;
}

.nav a {
  border-bottom: 2px solid transparent;
  padding: 10px 0;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--cypress);
  border-color: var(--cypress);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.cart-button {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.72);
}

.cart-button {
  grid-template-columns: 20px auto;
  gap: 6px;
  min-width: 64px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
}

.icon-button:hover,
.cart-button:hover {
  border-color: rgba(23, 79, 67, 0.45);
  color: var(--cypress);
}

.cart-toast {
  position: fixed;
  right: clamp(14px, 4vw, 34px);
  bottom: clamp(14px, 4vw, 34px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: min(420px, calc(100% - 28px));
  border: 1px solid rgba(23, 79, 67, 0.24);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--cypress-2);
  background: #eff8ef;
  box-shadow: 0 18px 42px rgba(18, 31, 22, 0.16);
  font-size: 0.9rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.cart-toast svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.cart-shell {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
}

.cart-shell.is-open {
  pointer-events: auto;
}

.cart-shell__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(21, 24, 22, 0.24);
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-shell.is-open .cart-shell__backdrop {
  opacity: 1;
}

.cart-drawer {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(430px, 100%);
  height: 100%;
  border: 0;
  border-right: 1px solid rgba(21, 24, 22, 0.12);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(23, 79, 67, 0.06), transparent 34%),
    var(--paper-2);
  box-shadow: 18px 0 42px rgba(18, 31, 22, 0.16);
  transform: translateX(-104%);
  transition: transform 220ms ease;
}

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

.cart-is-open {
  overflow: hidden;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.cart-drawer__head h2 {
  font-size: 1.35rem;
}

.cart-drawer__empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 280px;
  color: rgba(21, 24, 22, 0.66);
  text-align: center;
}

.cart-drawer__empty svg {
  width: 38px;
  height: 38px;
  color: var(--cypress);
}

.cart-drawer__empty strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.cart-drawer__empty p {
  width: min(270px, 100%);
  margin: 0;
  font-size: 0.86rem;
}

.cart-drawer__empty[hidden],
.cart-drawer__items[hidden],
.cart-drawer__empty.is-hidden,
.cart-drawer__items.is-hidden {
  display: none !important;
}

.cart-drawer__items {
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.74);
}

.cart-line img {
  grid-row: span 2;
  width: 76px;
  height: 90px;
  border: 1px solid rgba(21, 24, 22, 0.08);
  border-radius: 10px;
  object-fit: contain;
  background: #fbfbf8;
}

.cart-line__info {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
}

.cart-line__info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.cart-line__info span {
  color: rgba(21, 24, 22, 0.54);
  direction: ltr;
  text-align: right;
  font-size: 0.76rem;
  font-weight: 900;
}

.cart-line__info small {
  color: var(--cypress-2);
  font-size: 0.84rem;
  font-weight: 900;
}

.cart-line__controls,
.cart-line__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-line__controls button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #ffffff;
}

.cart-line__controls span {
  min-width: 22px;
  text-align: center;
  font-weight: 900;
}

.cart-line__controls svg {
  width: 15px;
  height: 15px;
}

.cart-line__actions {
  justify-content: end;
  color: rgba(21, 24, 22, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
}

.cart-line__actions a,
.cart-line__actions button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font-weight: 900;
}

.cart-line__actions button {
  color: var(--ruby);
}

.cart-drawer__footer {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  font-weight: 900;
}

.cart-total strong {
  color: var(--cypress-2);
  font-size: 1.15rem;
}

.cart-drawer__footer p {
  margin: 0 0 12px;
  color: rgba(21, 24, 22, 0.62);
  font-size: 0.8rem;
  font-weight: 800;
}

.cart-drawer__actions {
  display: grid;
  gap: 8px;
}

.cart-drawer__actions .button {
  width: 100%;
}

.site-messages {
  position: fixed;
  right: clamp(14px, 4vw, 34px);
  top: 82px;
  z-index: 58;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100% - 28px));
}

.site-message {
  margin: 0;
  border: 1px solid rgba(23, 79, 67, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--cypress-2);
  background: #eff8ef;
  box-shadow: 0 14px 32px rgba(18, 31, 22, 0.12);
  font-size: 0.86rem;
  font-weight: 900;
}

.site-message--error {
  border-color: rgba(127, 38, 56, 0.26);
  color: var(--ruby);
  background: #fff0f2;
}

.hero {
  position: relative;
  min-height: min(56vh, 520px);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 18, 15, 0.16), rgba(24, 18, 15, 0.7) 55%, rgba(24, 18, 15, 0.88)),
    linear-gradient(0deg, rgba(24, 18, 15, 0.45), rgba(24, 18, 15, 0.05) 45%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  width: min(700px, 100%);
  padding: clamp(44px, 7vw, 78px) clamp(20px, 6vw, 72px) clamp(28px, 5vw, 52px);
  color: var(--paper-2);
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow,
.hero .kicker {
  color: #d8f0c9;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0;
}

h1 {
  font-size: var(--title-page);
  font-weight: 900;
}

.hero h1 {
  font-size: var(--title-hero);
}

h2 {
  font-size: var(--title-section);
  font-weight: 900;
}

h3 {
  font-size: var(--title-card);
  font-weight: 900;
}

.hero__lead {
  width: min(690px, 100%);
  margin: 18px 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 15px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: var(--paper-2);
  background: var(--copper);
}

.button--primary:hover {
  background: var(--copper-dark);
}

.button--ghost {
  color: var(--paper-2);
  border-color: rgba(255, 250, 240, 0.42);
  background: rgba(255, 250, 240, 0.08);
}

.button--dark {
  color: var(--paper-2);
  background: var(--ink);
}

.button--line {
  color: var(--cypress);
  border-color: rgba(23, 79, 67, 0.35);
  background: transparent;
}

.button--subtle {
  min-height: 34px;
  padding: 0 12px;
  color: rgba(21, 24, 22, 0.68);
  border-color: rgba(21, 24, 22, 0.16);
  background: var(--paper-2);
  font-size: 0.78rem;
}

.page-hero {
  padding: clamp(32px, 5vw, 56px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(23, 79, 67, 0.1), transparent 42%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.page-hero p:not(.eyebrow) {
  width: min(780px, 100%);
  margin: 14px 0 0;
  color: rgba(24, 18, 15, 0.72);
  font-size: 1rem;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center p:not(.eyebrow) {
  margin-inline: auto;
}

.page-hero--dark {
  color: var(--paper-2);
  background:
    linear-gradient(90deg, rgba(170, 95, 55, 0.18), transparent 45%),
    var(--cypress-2);
}

.page-hero--dark p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.78);
}

.shop-banner {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: clamp(230px, 21vw, 360px);
  padding: 22px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(23, 79, 67, 0.08), transparent 42%),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.shop-banner__image {
  overflow: hidden;
  border: 1px solid rgba(21, 24, 22, 0.1);
  border-radius: 18px;
  background: #f8f8f4;
}

.shop-banner__image--wide {
  grid-row: 1 / -1;
}

.shop-banner__image--tall {
  grid-row: 1 / -1;
  grid-column: 3;
}

.shop-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, filter 600ms ease;
}

.shop-banner:hover .shop-banner__image img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.025);
}

.filigree-banner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 34vw, 520px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.filigree-banner__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 58%;
  filter: saturate(0.96) contrast(1.04);
  transform: scale(1.02);
}

.filigree-banner::before,
.filigree-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.filigree-banner::before {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(21, 24, 22, 0.54), rgba(21, 24, 22, 0.08) 34%, rgba(21, 24, 22, 0.16) 66%, rgba(21, 24, 22, 0.62));
}

.filigree-banner::after {
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: clamp(18px, 3vw, 38px);
}

.filigree-banner__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(21, 24, 22, 0.28), rgba(21, 24, 22, 0.1)),
    radial-gradient(circle at 50% 50%, rgba(255, 250, 240, 0.26), rgba(21, 24, 22, 0.28) 58%, rgba(21, 24, 22, 0.52));
}

.filigree-banner h1 {
  position: relative;
  color: #fffdf7;
  text-align: center;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 900;
}

.filigree-banner h1::after {
  content: "";
  display: block;
  width: min(220px, 44vw);
  height: 2px;
  margin: clamp(12px, 2vw, 22px) auto 0;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 240, 0.9), transparent);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
}

.hero__facts div {
  min-width: 108px;
  border-right: 1px solid rgba(216, 240, 201, 0.78);
  padding-right: 10px;
}

.hero__facts dt {
  font-size: 1.18rem;
  font-weight: 900;
}

.hero__facts dd {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.82rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signature-strip {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.signature-strip span {
  display: block;
  color: var(--cypress);
  font-size: 0.74rem;
  font-weight: 900;
}

.signature-strip strong {
  display: block;
  margin-top: 2px;
}

.signature-strip p {
  margin: 0;
  color: rgba(21, 24, 22, 0.68);
  font-size: 0.92rem;
}

.trust-strip article {
  min-height: 104px;
  padding: 22px clamp(18px, 3vw, 34px);
  background: var(--paper-2);
}

.trust-strip span {
  display: block;
  color: var(--ruby);
  font-size: 0.76rem;
  font-weight: 900;
}

.trust-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 0.98rem;
  line-height: 1.8;
}

.section {
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 72px);
}

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

.text-link {
  color: var(--cypress);
  border-bottom: 1px solid rgba(23, 79, 67, 0.38);
  font-weight: 900;
}

.source-badge {
  color: var(--paper-2);
  background: var(--cypress);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 900;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 420px) 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.search-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: var(--paper-2);
}

.search-field svg {
  color: var(--copper);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

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

.segmented button {
  white-space: nowrap;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(24, 18, 15, 0.72);
  background: var(--paper-2);
  font-weight: 900;
}

.segmented button.is-active {
  color: var(--paper-2);
  border-color: var(--cypress);
  background: var(--cypress);
}

.segmented--wide {
  margin-bottom: 12px;
}

.shop {
  text-align: center;
}

.home-shop-filter {
  padding-top: clamp(24px, 4vw, 42px);
  padding-bottom: clamp(24px, 4vw, 42px);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.home-shop-filter .section__head {
  width: min(1280px, 100%);
  margin-inline: auto;
}

.home-shop-filter .toolbar {
  width: min(1280px, 100%);
  margin-inline: auto;
  margin-bottom: 0;
}

.shop .section__head {
  justify-content: center;
  text-align: center;
}

.shop .toolbar {
  display: flex;
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
  overflow-x: auto;
  justify-content: center;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.shop .search-field {
  flex: 0 0 min(420px, 34vw);
  min-width: 280px;
}

.shop .segmented {
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.shop .product-card__meta {
  justify-content: center;
}

.shop .product-card {
  text-align: center;
}

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

.product-card,
.article-card,
.travel-card,
.journal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  box-shadow: 0 10px 24px rgba(21, 24, 22, 0.045);
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(23, 79, 67, 0.28);
  box-shadow: 0 18px 34px rgba(21, 24, 22, 0.08);
  transform: translateY(-3px);
}

.product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  height: auto;
  margin: 10px 10px 0;
  border: 1px solid rgba(21, 24, 22, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(23, 79, 67, 0.035), transparent 42%),
    #fbfbf8;
}

.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 32%, rgba(255, 255, 255, 0.28), transparent 68%);
  opacity: 0;
  transform: translateX(28%);
  transition:
    opacity 220ms ease,
    transform 520ms ease;
}

.product-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 12px;
}

.product-card__link:focus-visible {
  outline: 3px solid rgba(23, 79, 67, 0.28);
  outline-offset: 3px;
}

.product-card__image {
  position: absolute;
  inset: 12px;
  display: block;
  width: calc(100% - 24px) !important;
  height: calc(100% - 24px) !important;
  max-width: none;
  max-height: none;
  object-fit: contain !important;
  object-position: center center;
  transition: transform 260ms ease, filter 260ms ease;
}

.product-card__video {
  background: #fbfbf8;
}

.product-card:hover .product-card__image {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(0.985);
}

.product-card__sound {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(21, 24, 22, 0.15);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(21, 24, 22, 0.11);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.product-card__sound:hover,
.product-card__sound:focus-visible {
  color: var(--cypress);
  border-color: rgba(23, 79, 67, 0.36);
}

.product-card:hover .product-card__sound,
.product-card:focus-within .product-card__sound {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover .product-card__media::after,
.product-card:focus-visible .product-card__media::after {
  opacity: 1;
  transform: translateX(-28%);
}

@media (hover: none) {
  .product-card__sound {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card__tag {
  display: none;
}

.product-card__body,
.article-card,
.travel-card,
.journal-card {
  padding: 12px 14px 15px;
}

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

.product-card__meta,
.article-card__meta,
.travel-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
  color: rgba(24, 18, 15, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
}

.chip {
  color: var(--cypress);
  background: rgba(23, 79, 67, 0.08);
  border-radius: 999px;
  padding: 4px 9px;
}

.product-card p,
.article-card p,
.travel-card p,
.journal-card p,
.feature-article p,
.verify-panel p,
.compare p {
  margin: 7px 0 0;
  color: rgba(24, 18, 15, 0.68);
}

.product-card p {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.86rem;
  line-height: 1.65;
}

.product-card__footer {
  display: grid;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.related-link {
  display: inline-grid;
  grid-template-columns: 16px auto;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  border-top: 1px solid rgba(24, 18, 15, 0.08);
  padding-top: 9px;
  color: var(--lapis);
  font-size: 0.76rem;
  font-weight: 900;
}

.related-link svg {
  width: 15px;
  height: 15px;
}

.instagram-source {
  display: none;
}

.price {
  color: var(--ruby);
  font-size: 0.95rem;
  font-weight: 900;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(170, 95, 55, 0.24);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--copper-dark);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 900;
}

.knowledge {
  background: #f7f7f2;
}

.knowledge-search {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.55fr) minmax(180px, 0.55fr) auto;
  gap: 10px;
  align-items: end;
  width: min(1180px, 100%);
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: var(--paper-2);
  box-shadow: 0 12px 28px rgba(21, 24, 22, 0.045);
}

.select-field {
  display: grid;
  gap: 5px;
  text-align: right;
}

.select-field span {
  color: rgba(24, 18, 15, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
}

.select-field select {
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper-2);
}

.encyclopedia-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.encyclopedia-card {
  display: grid;
  gap: 10px;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-align: right;
  background: var(--paper-2);
  box-shadow: 0 10px 24px rgba(21, 24, 22, 0.045);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.encyclopedia-card:hover,
.encyclopedia-card:focus-visible {
  border-color: rgba(23, 79, 67, 0.3);
  box-shadow: 0 18px 36px rgba(21, 24, 22, 0.08);
  transform: translateY(-3px);
}

.encyclopedia-card__type {
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.encyclopedia-card h2 {
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
}

.encyclopedia-card p {
  margin: 0;
  color: rgba(24, 18, 15, 0.7);
  font-size: 0.92rem;
  line-height: 1.9;
}

.encyclopedia-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.encyclopedia-card__tags span {
  border: 1px solid rgba(23, 79, 67, 0.12);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--cypress);
  background: rgba(23, 79, 67, 0.06);
  font-size: 0.76rem;
  font-weight: 900;
}

.encyclopedia-card strong {
  color: var(--lapis);
  font-size: 0.86rem;
}

.compare {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(320px, 1.4fr);
  gap: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.4vw, 24px);
  background: var(--paper-2);
}

.comparison-list {
  display: grid;
  gap: 18px;
}

.compare__intro {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.compare-table {
  display: grid;
  gap: 8px;
}

.compare-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 12px;
  border-bottom: 1px solid rgba(24, 18, 15, 0.1);
  padding: 10px 0;
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row strong {
  color: var(--copper-dark);
}

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

.article-card {
  min-height: 190px;
}

.article-card button,
.journal-card button {
  margin-top: 14px;
}

.article-card .mini-button,
.journal-card .mini-button {
  margin-top: 14px;
}

.home-portals {
  background: var(--paper-2);
}

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

.portal-card {
  display: grid;
  gap: 10px;
  min-height: 158px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #ffffff;
}

.portal-card svg {
  color: var(--cypress);
}

.portal-card span {
  color: var(--copper-dark);
  font-weight: 900;
}

.portal-card strong {
  align-self: end;
  line-height: 1.85;
}

.journal-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
}

.feature-article {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1fr;
  gap: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

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

.feature-article div {
  align-self: center;
  padding: 28px 28px 28px 0;
}

.journal-list {
  display: grid;
  gap: 14px;
}

.travel {
  background: var(--cypress-2);
  color: var(--paper-2);
}

.travel .section__head .eyebrow,
.travel .kicker {
  color: #f5c977;
}

.travel .button--line {
  color: var(--paper-2);
  border-color: rgba(255, 250, 240, 0.34);
}

.travel-card {
  border-color: rgba(255, 250, 240, 0.18);
  background: rgba(255, 250, 240, 0.06);
}

.travel-card p,
.travel-card .travel-card__meta {
  color: rgba(255, 250, 240, 0.76);
}

.travel-card .chip {
  color: #f5c977;
  background: rgba(245, 201, 119, 0.12);
}

.verification {
  background:
    linear-gradient(90deg, rgba(170, 95, 55, 0.13), transparent 38%),
    var(--paper);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 480px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 52px;
  padding: 0;
  background: transparent;
}

.product-gallery {
  position: sticky;
  top: 86px;
  align-self: start;
}

.product-gallery__stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  max-height: min(620px, calc(100vh - 120px));
  background: #fafaf7;
}

.product-gallery__stage:has(.product-gallery__item--video.is-active) {
  width: min(100%, 427px, calc(56.25vh - 67.5px));
  max-height: min(760px, calc(100vh - 120px));
  margin-inline: auto;
  aspect-ratio: 9 / 16;
}

.product-gallery__item {
  display: none;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 14px;
}

.product-gallery__item.is-active {
  display: grid;
}

.product-gallery__item img,
.product-gallery__item video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center center;
  background: #fafaf7;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(21, 24, 22, 0.14);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(21, 24, 22, 0.08);
  transform: translateY(-50%);
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  color: var(--cypress);
  border-color: rgba(23, 79, 67, 0.35);
}

.gallery-arrow--prev {
  right: 10px;
}

.gallery-arrow--next {
  left: 10px;
}

.product-gallery__count {
  margin-top: 8px;
  color: rgba(21, 24, 22, 0.58);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.purchase-notes {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: rgba(21, 24, 22, 0.7);
  font-size: 0.82rem;
  font-weight: 800;
}

.purchase-notes div {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: start;
  border: 1px solid rgba(21, 24, 22, 0.09);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.62);
}

.purchase-notes svg {
  width: 18px;
  height: 18px;
  color: var(--cypress);
}

.product-detail__content {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper-2);
  box-shadow: 0 12px 28px rgba(21, 24, 22, 0.045);
}

.product-detail__content h1 {
  font-size: var(--title-page);
}

.product-summary {
  color: rgba(24, 18, 15, 0.72);
  font-size: 0.95rem;
  line-height: 1.9;
}

.product-quick-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.stock-pill,
.rating-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.stock-pill--available {
  color: var(--cypress);
  border-color: rgba(23, 79, 67, 0.24);
  background: rgba(23, 79, 67, 0.07);
}

.stock-pill--low {
  color: var(--copper-dark);
  border-color: rgba(152, 104, 70, 0.28);
  background: rgba(152, 104, 70, 0.09);
}

.stock-pill--unavailable {
  color: var(--ruby);
  border-color: rgba(127, 38, 56, 0.28);
  background: rgba(127, 38, 56, 0.08);
}

.rating-pill {
  gap: 7px;
  color: rgba(21, 24, 22, 0.68);
  background: #fbfbf8;
}

.rating-pill span:first-child {
  color: #b28324;
  letter-spacing: 0;
}

.purchase-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  border-top: 1px solid rgba(21, 24, 22, 0.09);
  border-bottom: 1px solid rgba(21, 24, 22, 0.09);
  margin: 18px 0;
  padding: 16px 0;
}

.product-price {
  display: grid;
  gap: 4px;
}

.product-price span {
  color: rgba(21, 24, 22, 0.58);
  font-size: 0.76rem;
  font-weight: 900;
}

.product-price strong {
  color: var(--cypress-2);
  font-size: clamp(1.35rem, 2.7vw, 2.05rem);
  line-height: 1.25;
}

.purchase-panel .button {
  min-height: 44px;
  padding-inline: 20px;
}

.product-detail .hero__actions {
  gap: 8px;
  margin-top: 20px;
}

.product-detail .button {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.84rem;
}

.variant-picker {
  margin: 16px 0 18px;
  border-top: 1px solid rgba(21, 24, 22, 0.09);
  border-bottom: 1px solid rgba(21, 24, 22, 0.09);
  padding: 16px 0;
}

.variant-picker__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.variant-picker__head h2 {
  margin: 0;
}

.variant-picker__head p {
  margin: 0;
  color: rgba(21, 24, 22, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

.variant-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
}

.variant-option {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 102px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  color: var(--ink);
  background: #fbfbf8;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.variant-option:hover,
.variant-option:focus-visible,
.variant-option.is-active {
  border-color: rgba(23, 79, 67, 0.58);
  box-shadow: 0 8px 18px rgba(21, 24, 22, 0.08);
  transform: translateY(-1px);
}

.variant-option img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}

.variant-option span {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.variant-picker__selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: rgba(21, 24, 22, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
}

.variant-picker__selection strong {
  color: var(--cypress);
}

.customer-voice {
  margin-top: 18px;
}

.customer-voice h2 {
  margin: 0 0 10px;
}

.customer-voice > p {
  margin: 0;
  color: rgba(21, 24, 22, 0.62);
  font-size: 0.86rem;
}

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

.review-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fbfbf8;
}

.review-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 900;
}

.review-card div span {
  color: #b28324;
}

.review-card p {
  margin: 8px 0 0;
  color: rgba(21, 24, 22, 0.68);
  font-size: 0.86rem;
}

.product-related-section,
.product-assurance-section,
.product-article-section {
  padding-top: 0;
}

.product-assurance-section .check-list {
  width: min(780px, 100%);
  margin: 0;
}

.product-article-section .related-panel {
  width: min(860px, 100%);
  margin: 0;
}

.account-auth,
.account-edit {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(18px, 4vw, 42px);
  width: min(1100px, calc(100% - 32px));
  margin: 34px auto 64px;
  align-items: start;
}

.account-auth--compact {
  width: min(900px, calc(100% - 32px));
}

.account-auth__art,
.account-edit aside,
.account-hero,
.account-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(23, 79, 67, 0.08), transparent 42%),
    var(--paper-2);
  box-shadow: 0 14px 34px rgba(21, 24, 22, 0.055);
}

.account-auth__art,
.account-edit aside {
  position: sticky;
  top: 88px;
  padding: clamp(20px, 3vw, 32px);
}

.account-auth__art p:not(.eyebrow),
.account-edit aside p,
.account-hero p {
  color: rgba(21, 24, 22, 0.68);
}

.account-form {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper-2);
  box-shadow: 0 14px 34px rgba(21, 24, 22, 0.055);
}

.account-form label,
.account-mini-form label {
  display: grid;
  gap: 6px;
  color: rgba(21, 24, 22, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
}

.account-form input,
.account-form textarea,
.account-form select,
.account-mini-form input,
.account-mini-form textarea,
.account-mini-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  outline: 0;
  color: var(--ink);
  background: #fbfbf8;
  font-size: 0.92rem;
  font-weight: 700;
}

.account-form input::placeholder,
.account-form textarea::placeholder,
.account-mini-form input::placeholder,
.account-mini-form textarea::placeholder {
  color: rgba(21, 24, 22, 0.42);
  font-size: 0.86rem;
  font-weight: 700;
}

.account-form input:focus,
.account-form textarea:focus,
.account-form select:focus,
.account-mini-form input:focus,
.account-mini-form textarea:focus,
.account-mini-form select:focus {
  border-color: rgba(23, 79, 67, 0.42);
  box-shadow: 0 0 0 3px rgba(23, 79, 67, 0.08);
}

.account-form small,
.form-error {
  color: var(--ruby);
  font-size: 0.76rem;
}

.form-check {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.form-check span {
  order: 2;
}

.form-check input {
  width: auto;
}

.account-edit aside img,
.account-avatar img {
  width: 112px;
  height: 112px;
  border: 1px solid rgba(21, 24, 22, 0.12);
  border-radius: 50%;
  object-fit: cover;
  background: var(--cypress);
}

.account-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 18px;
  padding: clamp(20px, 4vw, 38px);
  overflow: hidden;
}

.account-hero h1 {
  font-size: var(--title-page);
}

.account-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.account-avatar {
  display: grid;
  place-items: center;
  align-self: center;
  gap: 8px;
  margin: 0;
  color: rgba(21, 24, 22, 0.64);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 64px;
}

.account-side {
  position: sticky;
  top: 86px;
  align-self: start;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  background: var(--paper-2);
}

.account-side a {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 10px;
  color: rgba(21, 24, 22, 0.72);
  font-size: 0.84rem;
  font-weight: 900;
}

.account-side a:hover,
.account-side a:focus-visible {
  color: var(--cypress);
  background: rgba(23, 79, 67, 0.07);
}

.account-main {
  display: grid;
  gap: 14px;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.account-stats article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: var(--paper-2);
}

.account-stats span {
  color: rgba(21, 24, 22, 0.56);
  font-size: 0.76rem;
  font-weight: 900;
}

.account-stats strong {
  display: block;
  color: var(--cypress-2);
  font-size: 1.45rem;
}

.account-card {
  padding: clamp(16px, 3vw, 24px);
}

.account-card__head,
.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.account-card__head {
  margin-bottom: 14px;
}

.account-list,
.search-history,
.tracking-grid {
  display: grid;
  gap: 8px;
}

.account-row,
.search-history a,
.tracking-grid article {
  border: 1px solid rgba(21, 24, 22, 0.09);
  border-radius: 12px;
  padding: 12px;
  background: #fbfbf8;
}

.account-row span,
.search-history span,
.tracking-grid small {
  display: block;
  color: rgba(21, 24, 22, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

.account-row b {
  color: var(--cypress-2);
}

.account-order-items {
  display: block;
  margin-top: 4px;
  color: rgba(21, 24, 22, 0.56);
  font-size: 0.76rem;
  font-weight: 800;
}

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

.tracking-grid span {
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 900;
}

.tracking-grid strong {
  display: block;
  margin: 4px 0;
}

.account-empty {
  margin: 0;
  border: 1px dashed rgba(21, 24, 22, 0.18);
  border-radius: 12px;
  padding: 14px;
  color: rgba(21, 24, 22, 0.62);
  background: rgba(255, 255, 255, 0.56);
  font-weight: 800;
}

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

.product-detail h2,
.related-panel h2,
.article-reader h2 {
  margin-top: 22px;
  font-size: var(--title-section);
}

.related-panel {
  margin: 18px 0;
  border: 1px solid rgba(23, 79, 67, 0.18);
  border-radius: 14px;
  padding: 14px;
  background: rgba(23, 79, 67, 0.06);
}

.related-panel .button {
  margin-top: 12px;
}

.article-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  padding: clamp(24px, 4vw, 54px);
}

.encyclopedia-page {
  grid-template-columns: minmax(0, 820px) minmax(260px, 340px);
  justify-content: center;
  align-items: start;
}

.article-reader--page {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.article-reader h1 {
  max-width: 760px;
  font-size: var(--title-page);
  line-height: 1.52;
}

.article-lead {
  font-size: 1.02rem;
  font-weight: 700;
}

.article-page__aside {
  align-self: start;
  margin: 0;
}

.encyclopedia-aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.article-section {
  border-top: 1px solid rgba(24, 18, 15, 0.1);
  margin-top: 24px;
  padding-top: 2px;
}

.knowledge-tabs {
  margin: 26px 0;
  border: 1px solid rgba(23, 79, 67, 0.14);
  border-radius: 16px;
  padding: 12px;
  background: rgba(23, 79, 67, 0.045);
}

.knowledge-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.knowledge-tabs__nav button {
  min-height: 38px;
  border: 1px solid rgba(23, 79, 67, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--cypress);
  background: var(--paper-2);
  font-weight: 900;
}

.knowledge-tabs__nav button.is-active {
  color: var(--paper-2);
  border-color: var(--cypress);
  background: var(--cypress);
}

.knowledge-tab-panel {
  display: none;
  border: 1px solid rgba(21, 24, 22, 0.08);
  border-radius: 14px;
  padding: clamp(14px, 2vw, 22px);
  background: var(--paper-2);
}

.knowledge-tab-panel.is-active {
  display: block;
}

.related-product {
  display: grid;
  gap: 3px;
  border-top: 1px solid rgba(24, 18, 15, 0.12);
  padding: 12px 0;
}

.related-product span {
  color: rgba(24, 18, 15, 0.66);
  font-size: 0.86rem;
}

.travel--page {
  min-height: 360px;
}

.section__head--spaced {
  margin-top: 40px;
}

.verify-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(22px, 5vw, 48px) 0;
}

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

.verify-form label {
  display: grid;
  gap: 6px;
  color: rgba(24, 18, 15, 0.74);
  font-size: 0.88rem;
  font-weight: 900;
}

.verify-form input,
.verify-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper-2);
  outline: 0;
}

.verify-form textarea {
  min-height: 120px;
  resize: vertical;
}

.sources {
  background: var(--paper-2);
}

.source-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.source-list a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--lapis);
  background: #ffffff;
  direction: ltr;
  text-align: left;
  font-size: 0.86rem;
  font-weight: 800;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 250, 240, 0.82);
  background: var(--ink);
}

.footer p {
  margin: 4px 0 0;
}

.footer__links {
  display: flex;
  gap: 18px;
  font-weight: 900;
}

.modal {
  width: min(1040px, calc(100% - 28px));
  max-height: min(860px, calc(100vh - 28px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  color: var(--ink);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(24, 18, 15, 0.58);
}

.modal__close {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(255, 250, 240, 0.92);
}

.modal__body {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  min-height: 540px;
}

.modal-media {
  min-height: 100%;
  background: var(--sand);
}

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

.modal-content {
  overflow: auto;
  padding: clamp(24px, 4vw, 42px);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.spec {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.spec span {
  display: block;
  color: rgba(24, 18, 15, 0.58);
  font-size: 0.75rem;
  font-weight: 900;
}

.spec strong {
  display: block;
  margin-top: 3px;
  font-size: 0.9rem;
}

.check-list,
.source-notes {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.check-list li,
.source-notes li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
}

.check-list svg {
  color: var(--cypress);
  margin-top: 3px;
}

.video-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.video-tile {
  display: grid;
  min-height: 92px;
  border: 1px solid rgba(170, 95, 55, 0.28);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(170, 95, 55, 0.08);
}

.video-tile span {
  align-self: end;
  color: var(--copper-dark);
  font-weight: 900;
}

.article-reader {
  padding: clamp(22px, 4vw, 42px);
}

.article-reader p {
  color: rgba(24, 18, 15, 0.76);
  font-size: 0.98rem;
  line-height: 2;
}

.article-reader ul {
  padding: 0 22px 0 0;
}

.article-reader li {
  margin-bottom: 8px;
}

.article-reader a {
  color: var(--lapis);
  border-bottom: 1px solid rgba(41, 75, 122, 0.34);
  font-weight: 900;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  color: rgba(24, 18, 15, 0.68);
  background: var(--paper-2);
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .toolbar,
  .knowledge-search,
  .compare,
  .journal-layout,
  .verify-panel {
    grid-template-columns: 1fr;
  }

  .compare__intro {
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 18px;
  }

  .product-grid,
  .article-grid,
  .encyclopedia-grid,
  .travel-grid,
  .source-list,
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail,
  .article-page {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .encyclopedia-aside {
    position: static;
  }

  .account-auth,
  .account-edit,
  .account-shell {
    grid-template-columns: 1fr;
  }

  .account-auth__art,
  .account-edit aside,
  .account-side {
    position: static;
  }

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

  .account-avatar {
    justify-self: start;
  }

  .account-side {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
  }

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

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 64px;
    padding: 8px 14px;
  }

  .topbar__actions {
    gap: 6px;
  }

  .icon-button,
  .cart-button {
    min-width: 38px;
    height: 38px;
  }

  .cart-button {
    min-width: 56px;
    padding: 0 10px;
  }

  .brand small {
    display: none;
  }

  .nav {
    gap: 18px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 58vh;
  }

  .shop-banner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: 300px;
    padding: 14px;
  }

  .shop-banner__image--wide,
  .shop-banner__image--tall {
    grid-column: auto;
    grid-row: auto;
  }

  .filigree-banner {
    min-height: 210px;
  }

  .filigree-banner__image {
    object-position: 62% 52%;
  }

  .filigree-banner::after {
    margin: 12px;
  }

  .home-shop-filter {
    padding: 22px 14px;
  }

  .home-shop-filter .section__head {
    display: grid;
    gap: 10px;
    text-align: center;
    margin-bottom: 14px;
  }

  .home-shop-filter .toolbar,
  .shop .toolbar {
    justify-content: start;
    width: 100%;
  }

  .home-shop-filter .search-field,
  .shop .search-field {
    flex-basis: 300px;
  }

  .hero__content {
    padding: 46px 18px 28px;
  }

  h1 {
    font-size: var(--title-page);
  }

  .hero h1,
  .filigree-banner h1 {
    font-size: clamp(1.85rem, 8vw, 2.65rem);
  }

  .hero__facts {
    gap: 12px;
  }

  .hero__facts div {
    min-width: 96px;
  }

  .trust-strip,
  .product-grid,
  .article-grid,
  .encyclopedia-grid,
  .travel-grid,
  .source-list,
  .portal-grid,
  .feature-article,
  .modal__body,
  .spec-grid,
  .video-strip {
    grid-template-columns: 1fr;
  }

  .product-detail {
    width: 100%;
    margin: 0;
    padding: 16px;
  }

  .product-gallery__stage {
    max-height: none;
    border-radius: 14px;
  }

  .product-gallery__stage:has(.product-gallery__item--video.is-active) {
    width: min(100%, 427px, calc(56.25vh - 58.5px));
    max-height: calc(100vh - 104px);
  }

  .product-gallery__item {
    padding: 10px;
  }

  .purchase-panel {
    grid-template-columns: 1fr;
  }

  .purchase-panel .button {
    width: 100%;
  }

  .cart-drawer {
    width: 100%;
    padding: 16px;
  }

  .cart-line {
    grid-template-columns: 68px 1fr;
  }

  .cart-line img {
    width: 68px;
    height: 84px;
  }

  .account-auth,
  .account-edit,
  .account-hero,
  .account-shell {
    width: calc(100% - 28px);
    margin-left: auto;
    margin-right: auto;
  }

  .account-auth,
  .account-edit {
    margin-top: 18px;
    margin-bottom: 46px;
  }

  .account-hero {
    margin-top: 18px;
    padding: 18px;
  }

  .account-hero h1 {
    font-size: var(--title-page);
  }

  .account-hero__actions .button,
  .account-form .button,
  .account-mini-form .button {
    width: 100%;
  }

  .account-stats,
  .tracking-grid {
    grid-template-columns: 1fr;
  }

  .account-card__head,
  .account-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-row {
    gap: 8px;
  }

  .account-side {
    margin: -2px 0 2px;
    border-radius: 14px;
  }

  .account-side a {
    grid-template-columns: 18px max-content;
    white-space: nowrap;
  }

  .variant-picker__head {
    align-items: start;
    flex-direction: column;
  }

  .product-detail__content {
    padding: 16px;
  }

  .product-detail__content h1 {
    font-size: var(--title-page);
  }

  .article-page {
    padding: 16px;
  }

  .trust-strip article {
    min-height: auto;
  }

  .section {
    padding: 48px 16px;
  }

  .section__head {
    display: grid;
    align-items: start;
  }

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

  .product-card__media {
    aspect-ratio: 4 / 5;
  }

  .feature-article img,
  .modal-media img {
    min-height: 320px;
  }

  .feature-article div {
    padding: 0 18px 22px;
  }

  .footer {
    display: grid;
  }
}
