:root {
  --ink: #191717;
  --muted: #6f6864;
  --line: #e8e0dc;
  --paper: #fffaf7;
  --soft: #f5ece7;
  --accent: #9c3546;
  --accent-dark: #5e1f2b;
  --green: #4d7562;
  --shadow: 0 18px 45px rgba(37, 24, 19, 0.12);
  --font-body: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: #fff;
  font-weight: 400;
  letter-spacing: 0;
}

a,
button {
  color: inherit;
}

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

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

.promo-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.promo-stack p {
  margin: 0;
  padding: 9px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a {
  position: relative;
  padding: 28px 0;
  color: var(--ink);
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.main-nav a.is-active {
  color: var(--accent);
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.header-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-icon {
  width: 42px;
}

.cart-icon span {
  position: absolute;
  right: -7px;
  bottom: 4px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.icon-button,
.cart-button,
.filter-toggle,
.text-button,
.filter-chip,
.site-footer button {
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
}

.menu-toggle {
  display: none;
}

.filter-toggle {
  display: none;
}

.cart-button,
.filter-toggle,
.button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 500;
}

.filter-toggle {
  display: none;
}

.button.dark,
.button {
  background: var(--ink);
  color: #fff;
}

.button.dark {
  border-color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  overflow: hidden;
  background: #111;
}

body.catalog-mode .hero,
body.catalog-mode .statement,
body.catalog-mode .category-grid,
body.catalog-mode .home-edit,
body.catalog-mode .theme-duo,
body.catalog-mode .feature-band,
body.catalog-mode .destination-edit,
body.catalog-mode .promise,
body.catalog-mode .sale-story,
body.catalog-mode .reviews,
body.catalog-mode .values,
body.catalog-mode .workshop-story {
  display: none !important;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 450ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.2));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 48px));
  margin: 0 0 76px 48px;
  color: #fff;
}

.hero-copy p,
.section-heading p,
.statement p,
.feature-band p,
.promise p:first-child {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 78px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-controls {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.hero-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 28px;
}

.statement,
.toolbar-section,
.feature-band,
.promise,
.reviews,
.values,
.site-footer {
  padding: 72px 48px;
}

.statement {
  max-width: 1180px;
  margin: auto;
  text-align: center;
  padding-top: 92px;
  padding-bottom: 104px;
}

.statement h2,
.section-heading h2,
.feature-band h2,
.promise h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.1vw, 58px);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: 0;
}

.statement h2 {
  max-width: 980px;
  margin: auto;
  color: #2a2727;
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 300;
  line-height: 1.28;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.category-tile {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.category-tile:hover img {
  transform: scale(1.04);
}

.category-tile span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  font-size: 24px;
  font-weight: 800;
}

.category-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.58));
}

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

.section-heading.centered {
  display: block;
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.catalog-banner {
  position: relative;
  min-height: clamp(220px, 28vw, 420px);
  margin: -72px -48px 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #d8b2a5;
}

.catalog-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.16);
}

.catalog-banner > div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 32px;
  color: #fff;
  text-align: center;
}

.catalog-banner p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-banner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 200;
  line-height: 1;
}

.home-edit,
.destination-edit,
.sale-story,
.workshop-story {
  padding: 72px 48px;
}

.home-edit {
  background: #fff;
}

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

.edit-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.edit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.edit-card:hover img {
  transform: scale(1.035);
}

.edit-card::after,
.theme-panel::after,
.sale-story::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.62));
}

.edit-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.edit-card p,
.theme-panel p,
.sale-story p,
.workshop-story p:first-child {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}

.edit-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.12;
  font-weight: 400;
}

.edit-card span,
.theme-panel span {
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.theme-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 620px;
}

.theme-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.theme-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.theme-panel:hover img {
  transform: scale(1.03);
}

.theme-panel div {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  z-index: 1;
}

.theme-panel h2 {
  max-width: 620px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1.06;
  font-weight: 300;
}

.destination-edit {
  background: #fffaf0;
}

.destination-banner {
  max-width: 1120px;
  margin: auto;
  border: 1px solid #f0db91;
  background: #f9f0d9;
}

.destination-banner h2 {
  margin: 0;
  padding: 16px;
  text-align: center;
  background: #ffe48a;
  color: #8b6723;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 400;
}

.destination-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 32px 42px 36px;
}

.destination-scenes a {
  color: #8b6723;
  text-align: center;
  text-decoration: none;
}

.destination-scenes img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
}

.destination-scenes strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
}

.sale-story {
  position: relative;
  display: grid;
  min-height: 560px;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.sale-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sale-story div {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.sale-story h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.05;
  font-weight: 300;
}

.workshop-story {
  background: var(--paper);
}

.workshop-story > div:first-child {
  max-width: 900px;
  margin-bottom: 34px;
}

.workshop-story h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 62px);
  line-height: 1.08;
  font-weight: 300;
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.workshop-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.workshop-grid article {
  background: #fff;
  border: 1px solid var(--line);
}

.workshop-grid h3,
.workshop-grid p {
  margin-left: 22px;
  margin-right: 22px;
}

.workshop-grid h3 {
  margin-top: 22px;
  font-size: 24px;
}

.workshop-grid p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.catalog-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.markdown-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.markdown-tools .button {
  width: auto;
  cursor: pointer;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.filters h3 {
  margin: 0 0 18px;
}

.filter-group {
  display: grid;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.filter-group p {
  margin: 0 0 4px;
  font-weight: 800;
}

.filter-chip {
  min-height: 36px;
  padding: 0 12px;
  text-align: left;
  border-radius: 4px;
}

.filter-chip.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff4f3;
}

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

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

.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--soft);
}

.product-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 180ms ease, transform 220ms ease;
}

.product-media:hover img {
  transform: scale(1.015);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-buy {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  min-height: 40px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.product-media:hover .quick-buy {
  opacity: 1;
  transform: translateY(0);
}

.product-card h3 {
  min-height: 44px;
  margin: 12px 0 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.product-card h3 a {
  text-decoration: none;
}

.price-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.compare {
  color: var(--muted);
  text-decoration: line-through;
}

.pdp-swatch.is-selected {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.feature-band,
.promise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  background: var(--paper);
}

.feature-band img,
.promise img {
  width: 100%;
  height: min(560px, 62vw);
  object-fit: cover;
}

.promise {
  background: #fff;
}

.promise p:last-of-type {
  color: var(--muted);
  line-height: 1.7;
}

.text-button,
.site-footer button {
  padding: 0;
  border: 0;
  text-decoration: underline;
  background: transparent;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  padding-top: 1px;
  padding-bottom: 1px;
}

.reviews article {
  padding: 52px;
  background: #fff;
}

blockquote {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.25;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.values img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.values p,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 34px;
  background: var(--ink);
  color: #fff;
}

.site-footer p,
.site-footer label {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer button,
.site-footer a {
  display: block;
  margin: 0 0 10px;
  color: #fff;
}

.contact-page {
  background: #fff;
  color: #4f4a48;
}

.contact-hero {
  display: none;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.15;
}

.contact-layout {
  max-width: 980px;
  margin: 0 auto 86px;
  padding: 36px 28px 0;
}

.contact-mode-tabs,
.account-tabs {
  display: flex;
  gap: 0;
  margin: 0 auto 38px;
}

.contact-mode-tabs {
  width: max-content;
  max-width: 100%;
  justify-content: center;
  margin: 0 auto 34px;
}

.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0 0 18px;
  border: 1px solid var(--ink);
}

.contact-mode-tabs button,
.account-tabs button,
.contact-whatsapp-link {
  min-height: 48px;
  border: 1px solid var(--ink);
  padding: 0 28px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.contact-whatsapp-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.account-tabs button {
  min-height: 46px;
  border: 0;
  padding: 0 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-tabs button + button {
  border-left: 1px solid var(--ink);
}

.contact-mode-tabs button.is-active,
.account-tabs button.is-active {
  background: var(--ink);
  color: #fff;
}

.contact-copy {
  max-width: 900px;
  margin: 0 auto 26px;
}

.contact-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 300;
  line-height: 1.2;
}

.contact-copy p {
  margin: 0 0 18px;
  color: #66615f;
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 300;
  line-height: 1.6;
}

.contact-copy a {
  color: #d66a32;
  text-underline-offset: 3px;
}

.contact-form {
  display: grid;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

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

.contact-form label {
  display: grid;
  gap: 10px;
  color: #222;
  font-size: 16px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfcaca;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
}

.contact-form input {
  min-height: 54px;
}

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

.contact-form button {
  justify-self: start;
  min-width: 118px;
  min-height: 52px;
  padding: 0 30px;
  letter-spacing: 0.12em;
  font-weight: 300;
}

.contact-form output {
  color: var(--green);
  font-weight: 700;
}

.support-auth-note,
.account-notice {
  color: var(--muted);
  font-weight: 700;
}

.support-chat-card {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  padding: 0;
  background: #fff;
  box-shadow: 0 18px 46px rgba(20, 20, 20, 0.06);
  overflow: hidden;
}

.support-chat-head {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  background: #075e54;
  color: #fff;
}

.support-chat-head strong {
  font-size: 16px;
}

.support-chat-head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.support-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  max-height: 380px;
  overflow: auto;
  padding: 18px;
  background:
    linear-gradient(rgba(236, 229, 221, 0.9), rgba(236, 229, 221, 0.9)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px);
  background-size: auto, 18px 18px;
}

.chat-bubble {
  justify-self: start;
  width: fit-content;
  max-width: min(70%, 560px);
  padding: 9px 12px;
  background: #fff;
  border: 0;
  border-radius: 12px 12px 12px 2px;
  color: #1f1b1b;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(20, 20, 20, 0.08);
}

.chat-bubble.customer {
  justify-self: end;
  background: #dcf8c6;
  color: #1f1b1b;
  border-radius: 12px 12px 2px 12px;
}

.chat-bubble small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.chat-bubble.customer small {
  color: #66756d;
}

.chat-queue-inline {
  justify-self: center;
  max-width: 76%;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.8);
  color: #6b625f;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 2px 8px rgba(20, 20, 20, 0.06);
}

.support-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  background: #f0f2f5;
}

.support-compose textarea {
  width: 100%;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: #fff;
  font: inherit;
  line-height: 1.35;
  resize: none;
  overflow: hidden;
}

.support-send-button {
  position: relative;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #00a884;
  cursor: pointer;
}

.support-send-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #fff;
  transform: translate(-42%, -50%);
}

.support-send-button:hover {
  background: #008f72;
}

.account-form {
  display: grid;
  gap: 16px;
}

.account-form [data-account-panel] {
  display: grid;
  gap: 14px;
}

.account-form [data-account-panel][hidden] {
  display: none;
}

.account-form label {
  display: grid;
  gap: 8px;
  color: #3f3a38;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 16px;
  font: inherit;
}

.account-form .button {
  min-height: 50px;
  width: 100%;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.account-helper {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.account-notice {
  margin: 0;
  border: 0;
  border-left: 3px solid #6d2234;
  padding: 9px 11px;
  background: #fbf3f4;
  color: #6d2234;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.account-notice:empty {
  display: none;
}

.account-signed {
  display: grid;
  gap: 12px;
}

.account-profile,
.customer-order,
.checkout-address {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

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

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

.customer-order p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.account-page {
  padding: 54px clamp(20px, 5vw, 72px) 80px;
  background: #f7f6f4;
}

.account-page-head {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.account-page-head p,
.member-profile-card span,
.member-stat-grid span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.account-page-head h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.92;
}

.account-page-head span {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.member-auth-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.member-auth-card h2,
.member-panel h2 {
  margin: 0;
}

.member-auth-card label {
  display: grid;
  gap: 8px;
  color: #3f3a38;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-auth-card input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  padding: 0 16px;
  font: inherit;
}

.member-shell {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.member-sidebar,
.member-content,
.member-panel {
  display: grid;
  gap: 14px;
}

.member-sidebar {
  position: sticky;
  top: 96px;
}

.member-profile-card,
.member-sidebar button,
.member-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.member-profile-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.member-profile-card strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.member-profile-card small {
  color: var(--muted);
  line-height: 1.45;
}

.member-sidebar button {
  min-height: 54px;
  padding: 0 18px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.member-sidebar button.is-active,
.member-sidebar button:hover {
  background: var(--ink);
  color: #fff;
}

.member-content {
  min-height: 420px;
  padding: 22px;
}

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

.member-stat-grid article {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf8;
}

.member-stat-grid strong {
  overflow-wrap: anywhere;
  font-size: clamp(18px, 2vw, 26px);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.payment-badges span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  font-size: 12px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.32);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: min(440px, 100vw);
  height: 100vh;
  padding: 22px;
  overflow: auto;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 240ms ease;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.cart-line,
.mini-result {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img,
.mini-result img {
  width: 76px;
  height: 96px;
  object-fit: cover;
}

.line-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.line-actions button {
  min-width: 30px;
  min-height: 30px;
}

.shipping-meter {
  padding: 12px;
  background: var(--soft);
  color: var(--accent-dark);
}

.cart-summary {
  position: sticky;
  bottom: 0;
  display: grid;
  gap: 12px;
  padding-top: 18px;
  background: #fff;
}

.cart-summary p {
  display: flex;
  justify-content: space-between;
}

dialog {
  width: min(980px, calc(100vw - 28px));
  max-height: 88vh;
  border: 0;
  padding: 0;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.35);
}

#pageDialog {
  overflow: hidden;
}

#pageDialogContent {
  max-height: 88vh;
  overflow: auto;
  padding: 42px;
  line-height: 1.7;
}

#pageDialogContent h2 {
  margin: 0 0 22px;
  padding-right: 48px;
}

#pageDialogContent p {
  margin: 0 0 16px;
  color: var(--muted);
}

#pageDialogContent h3,
#pageDialogContent h4 {
  margin: 28px 0 12px;
}

#pageDialogContent ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--muted);
}

#pageDialogContent li {
  margin: 6px 0;
}

#pageDialogContent a {
  color: var(--accent-dark);
  font-weight: 700;
}

#pageDialogContent img {
  width: min(100%, 720px);
  max-height: 520px;
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  object-fit: contain;
}

.lightbox {
  width: min(1120px, calc(100vw - 28px));
  background: #111;
}

.lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.dialog-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}

.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
}

.product-page {
  padding: 22px 64px 56px;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.product-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.product-detail {
  grid-template-columns: minmax(520px, 0.95fr) minmax(460px, 0.75fr);
  gap: 42px;
  padding: 0;
  align-items: start;
}

.pdp-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pdp-gallery img {
  width: 100%;
  object-fit: cover;
}

.thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 8px;
  scrollbar-width: thin;
}

.thumbs button {
  flex: 0 0 84px;
  width: 84px;
  height: 104px;
  padding: 0;
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fff;
  overflow: hidden;
}

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

.thumbs button.is-selected {
  border-color: var(--ink);
}

.main-pdp-image {
  width: 100%;
  height: min(68vh, 760px);
  min-height: 560px;
  object-fit: cover;
  cursor: zoom-in;
  transition: filter 180ms ease;
}

.gallery-arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 50px;
  height: 50px;
  border: 0;
  background: rgba(255, 255, 255, 0.78);
  font-size: 38px;
  cursor: pointer;
}

.gallery-prev {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

.pdp-info {
  position: sticky;
  top: 92px;
  align-self: start;
  padding-top: 2px;
}

.pdp-info h1 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  font-weight: 300;
}

.pdp-info hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

.vendor {
  color: var(--muted);
}

.pdp-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 18px;
}

.pdp-swatch {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--swatch, #ddd);
  box-shadow: 0 0 0 1px #cfc8c4;
  cursor: pointer;
}

.size-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-row.size-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(70px, 1fr));
  gap: 9px;
}

.option-row.size-options button {
  min-height: 48px;
}

.quantity-stepper {
  display: inline-grid;
  grid-template-columns: 48px 48px 48px;
  border: 1px solid var(--line);
  margin: 6px 0 20px;
}

.quantity-stepper button,
.quantity-stepper span {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 0;
  background: #fff;
}

.add-cart-button {
  width: 100%;
  min-height: 54px;
  margin-bottom: 12px;
  background: #fff;
  color: var(--ink);
}

.paypal-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 4px;
  background: #ffc439;
  color: #142c57;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.paypal-button strong {
  color: #003087;
  font-size: 22px;
}

.more-payments {
  display: block;
  width: max-content;
  margin: 10px auto 22px;
  color: var(--muted);
}

.cart-summary .paypal-button {
  min-height: 48px;
  font-size: 15px;
}

.cart-summary .paypal-button strong {
  font-size: 18px;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}

.option-row button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.option-row button.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.accordion {
  border-top: 1px solid var(--line);
  margin-top: 18px;
}

.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.product-accordion {
  margin-top: 24px;
}

.product-accordion details {
  padding: 0;
}

.product-accordion summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

.product-accordion summary::-webkit-details-marker {
  display: none;
}

.product-accordion summary::before {
  content: "▶";
  font-size: 15px;
  transition: transform 160ms ease;
}

.product-accordion details[open] summary::before {
  transform: rotate(90deg);
}

.product-details-panel {
  padding: 12px 0 34px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.product-details-panel.compact {
  max-width: 760px;
}

.description-copy,
.spec-list {
  max-width: 780px;
}

.detail-label {
  margin-top: 0;
  color: var(--ink);
  font-weight: 800;
}

.spec-list {
  margin-top: 32px;
}

.spec-list p {
  margin: 0 0 12px;
}

.spec-list ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.spec-list li {
  margin: 6px 0;
}

.spec-list a {
  color: var(--accent-dark);
  font-weight: 700;
}

.spec-list img {
  width: min(100%, 640px);
  max-height: 420px;
  margin: 14px 0;
  border: 1px solid var(--line);
  object-fit: contain;
}

.spec-list strong {
  color: var(--ink);
  font-weight: 500;
}

.destination-card {
  width: min(760px, 100%);
  margin: 40px 0 28px;
  background: #f8f1df;
  border: 1px solid #f0d886;
}

.destination-title {
  padding: 8px;
  text-align: center;
  background: #ffe486;
  color: #8b6723;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
}

.destination-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 18px 22px;
}

.destination-grid figure {
  margin: 0;
  text-align: center;
}

.destination-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.destination-grid figcaption {
  margin-top: 10px;
  color: #8b6723;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
}

.description-hero {
  width: min(760px, 100%);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.admin-body {
  background: #f5f6fa;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 28px 20px;
  background: #111827;
  color: #fff;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-decoration: none;
}

.admin-logo span {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 14px;
  background: #c69a58;
  font-size: 24px;
  font-weight: 800;
}

.admin-logo strong {
  font-size: 26px;
  line-height: 1;
}

.admin-menu-label {
  margin: 42px 12px 18px;
  color: #aeb6c4;
  font-size: 20px;
}

.admin-menu {
  display: grid;
  gap: 10px;
}

.admin-menu button {
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #cfd5df;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.admin-menu button.is-active {
  background: #3a3437;
  color: #fff;
}

.admin-content {
  min-width: 0;
  padding: 28px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-topbar p {
  margin: 0 0 6px;
  color: var(--muted);
}

.admin-topbar h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.admin-tab {
  display: none;
}

.admin-tab.is-active {
  display: block;
}

.admin-card,
.admin-stat-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.admin-card + .admin-card {
  margin-top: 18px;
}

.admin-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-section-head h2,
.admin-section-head p {
  margin: 0;
}

.admin-section-head p {
  margin-top: 6px;
  color: var(--muted);
}

.admin-product-editor-view {
  max-width: 980px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.admin-stat-grid span {
  display: block;
  color: var(--muted);
}

.admin-stat-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
}

.admin-two-column {
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.admin-form {
  display: grid;
  gap: 13px;
}

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

.admin-product {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-product img {
  width: 90px;
  height: 116px;
  object-fit: cover;
}

.admin-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-actions button {
  min-height: 34px;
}

.admin-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.admin-contact-message {
  display: grid;
  gap: 14px;
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-contact-message h3,
.admin-contact-message p {
  margin: 0;
}

.admin-contact-message > div p {
  margin-top: 6px;
  color: var(--muted);
}

.admin-contact-message > p {
  color: var(--ink);
  line-height: 1.65;
  white-space: pre-wrap;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #f6f2ef;
  color: var(--muted);
  font-weight: 800;
}

.admin-table td span {
  color: var(--muted);
}

.policy-page-table td:nth-child(4) {
  max-width: 420px;
  line-height: 1.5;
}

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

.support-record-table td:nth-child(3),
.support-record-table td:nth-child(5) {
  max-width: 360px;
  line-height: 1.5;
}

.ticket-waiting {
  background: #fff8ec;
}

.ticket-waiting td:first-child {
  box-shadow: inset 4px 0 0 #c79a58;
}

.ticket-wait-time {
  display: inline-block;
  margin-top: 4px;
  color: #9a5a00;
  font-style: normal;
  font-weight: 800;
}

.admin-chat-status {
  min-height: 34px;
}

.admin-chat-alert,
.admin-chat-ok {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.admin-chat-alert {
  background: #fff4df;
  color: #9a5a00;
}

.admin-chat-ok {
  background: #eaf8f1;
  color: var(--green);
}

.admin-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 320px;
  max-height: 52vh;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fb;
}

.admin-chat-bubble {
  position: relative;
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.admin-chat-bubble.admin {
  align-self: flex-end;
  background: var(--green);
  color: #fff;
}

.admin-chat-bubble.user {
  align-self: flex-start;
}

.admin-chat-bubble strong,
.admin-chat-bubble small {
  display: block;
  opacity: 0.72;
}

.admin-chat-bubble p {
  margin: 6px 0;
  white-space: pre-wrap;
}

.admin-chat-delete {
  margin-top: 6px;
  border: 0;
  border-radius: 6px;
  padding: 4px 8px;
  background: rgba(214, 77, 77, 0.12);
  color: #c73535;
  font-size: 12px;
  font-weight: 800;
}

.admin-chat-bubble.admin .admin-chat-delete {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.admin-chat-empty {
  color: var(--muted);
  padding: 40px 0;
  text-align: center;
}

.support-dialog {
  width: min(92vw, 1120px);
  max-height: 92vh;
  border: 0;
  border-radius: 8px;
  padding: 0;
}

.support-dialog::backdrop {
  background: rgba(20, 26, 40, 0.48);
}

.support-dialog-card {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.support-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.support-dialog-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
}

.support-dialog-card label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.support-dialog-card textarea {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  font: inherit;
  resize: vertical;
}

.support-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.policy-editor-dialog {
  width: min(980px, calc(100vw - 28px));
}

.policy-preview-dialog {
  width: min(980px, calc(100vw - 28px));
}

.policy-editor-card,
.policy-preview-card {
  display: grid;
  gap: 18px;
  max-height: 88vh;
  overflow: auto;
  padding: 28px;
  background: #fff;
}

.markdown-editor {
  display: grid;
  gap: 12px;
}

.markdown-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f4f1;
}

.markdown-editor-toolbar .button {
  width: auto;
  min-height: 38px;
  cursor: pointer;
}

.markdown-editor textarea {
  min-height: 420px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.markdown-preview {
  overflow: auto;
  max-height: 68vh;
  padding: 8px 2px;
  line-height: 1.7;
}

.markdown-preview p,
.markdown-preview ul {
  margin: 0 0 14px;
  color: var(--muted);
}

.markdown-preview img {
  width: min(100%, 620px);
  max-height: 360px;
  margin: 14px 0;
  border: 1px solid var(--line);
  object-fit: contain;
}

.admin-actions-row .sound-off {
  color: var(--muted);
}

.support-admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.4fr);
  gap: 18px;
}

.support-ticket-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.support-ticket-item {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  background: #fff;
}

.support-ticket-item.is-active {
  border-color: var(--ink);
  box-shadow: inset 4px 0 0 var(--ink);
}

.support-ticket-item p,
.support-ticket-item small {
  margin: 0;
  color: var(--muted);
}

.support-admin-chat {
  min-height: 420px;
  border: 1px solid var(--line);
  padding: 18px;
  background: #fff;
}

.support-admin-head {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.support-admin-head h3,
.support-admin-head p {
  margin: 8px 0 0;
}

@media (max-width: 980px) {
  .support-admin-grid {
    grid-template-columns: 1fr;
  }
}

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

.admin-order {
  display: grid;
  gap: 16px;
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-order-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.admin-order-head h3,
.admin-order-head p {
  margin: 6px 0 0;
}

.admin-order-total {
  text-align: right;
}

.admin-order-total strong {
  display: block;
  font-size: 24px;
}

.admin-order-total span {
  color: var(--muted);
}

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

.admin-order-meta div,
.admin-order-money div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf8;
}

.admin-order-meta dt,
.admin-order-money dt {
  color: var(--muted);
  font-size: 13px;
}

.admin-order-meta dd,
.admin-order-money dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.order-admin-actions {
  margin-top: 14px;
}

.admin-note {
  margin: 10px 0 0;
  color: var(--muted);
}

.admin-order-items {
  display: grid;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-order-item {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) minmax(120px, 1fr) minmax(100px, 1fr) minmax(80px, 0.7fr) minmax(70px, 0.5fr) minmax(90px, 0.7fr);
  gap: 10px;
  min-width: 760px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-order-item:last-child {
  border-bottom: 0;
}

.admin-order-item.header {
  background: #f5f2ee;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.admin-submodule {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf8;
}

.admin-submodule-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-submodule h3 {
  margin: 0;
}

.admin-submodule p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cms-map-grid {
  display: grid;
  grid-template-columns: 180px minmax(240px, 1fr) 90px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cms-map-grid span,
.cms-map-grid strong {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.cms-map-grid span:nth-last-child(-n + 3),
.cms-map-grid strong:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.cms-map-grid span:nth-child(3n + 1) {
  font-weight: 700;
}

.cms-map-grid span:nth-child(3n + 2) {
  color: var(--muted);
}

.cms-map-grid strong {
  color: #13795b;
  text-align: center;
}

.cms-module-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cms-module-row {
  display: grid;
  grid-template-columns: 220px minmax(280px, 1fr) 110px 90px 110px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

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

.cms-module-row.header {
  background: #f5f2ee;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cms-module-row strong {
  color: #13795b;
}

.cms-module-visible {
  color: #13795b;
  font-weight: 800;
}

.cms-module-visible.is-hidden {
  color: #b42318;
}

.cms-module-visible.is-neutral {
  color: var(--muted);
}

.cms-save-button {
  margin-top: 4px;
}

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

.cms-edit-table {
  display: grid;
  gap: 12px;
}

.cms-edit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cms-edit-row-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.cms-edit-row-hero .cms-edit-row-fields,
.cms-edit-row-themes .cms-edit-row-fields {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
}

.cms-edit-row-fields label:has([data-cms-field="title"]),
.cms-edit-row-fields label:has([data-cms-field="image"]) {
  grid-column: span 2;
}

.cms-empty-row,
.cms-readonly-note {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.color-image-editor {
  display: grid;
  gap: 12px;
}

.color-image-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(220px, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.color-picker-field {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 52px 52px;
  gap: 12px;
  align-items: end;
}

.color-picker-wide {
  grid-column: span 2;
}

.color-picker-field input[type="color"] {
  width: 100%;
  min-height: 52px;
  padding: 4px;
  cursor: pointer;
}

.color-preview-button {
  display: block;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--picked-color);
  box-shadow: inset 0 0 0 6px #fff;
  cursor: pointer;
}

.color-palette {
  position: absolute;
  z-index: 4;
  top: calc(100% + 8px);
  left: 0;
  width: min(620px, calc(100vw - 420px));
  display: grid;
  grid-template-columns: repeat(14, minmax(24px, 1fr));
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbf8;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
}

.color-palette[hidden] {
  display: none;
}

.color-palette button {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 2px;
  background: var(--palette-color);
  cursor: pointer;
}

.color-palette button.is-selected {
  outline: 3px solid #111;
  outline-offset: 2px;
}

.color-upload-panel,
.color-image-row .admin-actions-row {
  grid-column: span 2;
}

.color-upload-panel {
  display: grid;
  gap: 12px;
}

.color-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  min-height: 84px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf8;
}

.color-image-gallery p {
  margin: 0;
  color: var(--muted);
}

.color-image-gallery figure {
  position: relative;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.color-image-gallery figure.is-main {
  border-color: #111;
}

.color-image-gallery figure.is-main::after {
  content: "主图";
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
}

.color-image-gallery [data-row-image] {
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.color-image-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.color-image-gallery [data-remove-row-image] {
  position: absolute;
  right: 6px;
  top: 6px;
  min-height: 26px;
  width: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

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

.inline-check input {
  width: auto;
  min-height: auto;
}

.status-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 12px;
}

.status-pill.approved {
  background: #eaf8f1;
  color: var(--green);
}

.status-pill.warning {
  background: #fff4df;
  color: #9a5a00;
}

@media (max-width: 980px) {
  .promo-stack,
  .category-grid,
  .edit-card-grid,
  .theme-duo,
  .destination-scenes,
  .feature-band,
  .promise,
  .reviews,
  .values,
  .workshop-grid,
  .site-footer,
  .admin-shell,
  .admin-stat-grid,
  .admin-two-column,
  .color-image-row {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
  }

  .admin-section-head {
    display: grid;
  }

  .admin-order-head,
  .admin-order-meta,
  .admin-order-money {
    grid-template-columns: 1fr;
  }

  .admin-order-total {
    text-align: left;
  }

  .cms-map-grid {
    grid-template-columns: 1fr;
  }

  .cms-module-row {
    grid-template-columns: 1fr;
  }

  .cms-edit-row,
  .cms-edit-row-fields,
  .cms-edit-row-hero .cms-edit-row-fields,
  .cms-edit-row-themes .cms-edit-row-fields {
    grid-template-columns: 1fr;
  }

  .cms-edit-row-fields label:has([data-cms-field="title"]),
  .cms-edit-row-fields label:has([data-cms-field="image"]) {
    grid-column: auto;
  }

  .cms-map-grid span,
  .cms-map-grid strong {
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .color-picker-field {
    grid-template-columns: 1fr 48px 48px;
  }

  .color-palette {
    width: 100%;
    grid-template-columns: repeat(7, minmax(24px, 1fr));
  }

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

  .color-image-row label:nth-child(3),
  .color-upload-panel,
  .color-image-row .admin-actions-row {
    grid-column: auto;
  }

  .site-header {
    padding: 0 16px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    padding: 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

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

  .hero-copy {
    margin-left: 24px;
  }

  .catalog-tools,
  .catalog-layout,
  .pdp,
  .account-page-auth,
  .member-shell,
  .member-stat-grid {
    grid-template-columns: 1fr;
  }

  .member-sidebar {
    position: static;
  }

  .catalog-tools {
    display: grid;
    grid-template-columns: 1fr auto;
    margin-bottom: 24px;
  }

  .product-page {
    padding: 28px 20px 56px;
  }

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

  .pdp-info {
    position: static;
  }

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

  .filters {
    position: static;
    display: none;
  }

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

  .filters.is-open {
    display: block;
  }

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

  .statement,
  .toolbar-section,
  .home-edit,
  .destination-edit,
  .sale-story,
  .workshop-story,
  .feature-band,
  .promise,
  .reviews,
  .values,
  .site-footer {
    padding: 48px 20px;
  }

  .edit-card,
  .theme-duo {
    min-height: auto;
  }

  .edit-card {
    min-height: 420px;
  }

  .theme-panel {
    min-height: 520px;
  }

  .theme-panel div {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }

  .destination-scenes {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .promo-stack {
    font-size: 11px;
  }

  .brand {
    font-size: 12px;
  }

  .header-actions {
    gap: 10px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .header-icon {
    width: 30px;
    height: 38px;
  }

  .header-icon svg {
    width: 27px;
    height: 27px;
  }

  .hero {
    min-height: 640px;
  }

  .product-grid {
    gap: 16px;
  }

  .pdp-gallery {
    grid-template-columns: 1fr;
  }

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

  .product-details-panel {
    padding-left: 0;
  }

  .destination-title {
    font-size: 23px;
  }

  .destination-grid {
    gap: 16px;
    padding: 18px;
  }

  .option-row.size-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
