@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Jost:wght@400;500;600;700&family=Unbounded:wght@400;500;600;700;800;900&family=Yantramanav:wght@300;400;500;700&display=swap");

/* Theme */
:root {
  --ink: #161a1d;
  --muted: #59616a;
  --line: #d8dde0;
  --paper: #fbfbf8;
  --white: #ffffff;
  --pine: #1f6b5a;
  --coral: #c65a43;
  --indigo: #263b73;
  --gold: #c39a3b;
  --shadow: 0 18px 50px rgba(22, 26, 29, 0.15);
}

.live-chat {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  pointer-events: none;
  --chat-color: var(--pine);
  --chat-accent: var(--indigo);
  --chat-time-color: var(--muted);
}

.live-chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--chat-color);
  box-shadow: var(--shadow);
  cursor: pointer;
  pointer-events: auto;
}

.live-chat-button i {
  font-size: 1.08rem;
}

.live-chat-panel {
  position: fixed;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  width: min(420px, 100vw);
  height: 100dvh;
  padding: 22px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(251, 251, 248, 0.97);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(22, 26, 29, 0.18);
  transform: translateX(104%);
  transition: transform 0.24s ease;
  pointer-events: auto;
}

.live-chat.open .live-chat-panel {
  transform: translateX(0);
}

.live-chat.open .live-chat-button {
  opacity: 0;
  pointer-events: none;
}

.live-chat-head,
.chat-admin-toolbar,
.chat-thread-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.live-chat-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
}

.live-chat-logo {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.live-chat-head h2,
.chat-admin-toolbar h2,
.chat-thread-head h3 {
  margin: 0;
}

.live-chat-status {
  margin: 12px 0;
  padding: 9px 12px;
  border: 1px solid rgba(198, 90, 67, 0.24);
  border-radius: 8px;
  color: #8d3b2c;
  background: rgba(198, 90, 67, 0.08);
  font-size: 0.82rem;
}

.live-chat-status.ok {
  border-color: rgba(31, 107, 90, 0.24);
  color: var(--chat-color);
  background: rgba(31, 107, 90, 0.08);
}

.live-chat-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.live-chat-profile label,
.chat-token-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.live-chat-profile input,
.chat-token-field input,
.live-chat-form textarea,
.chat-reply-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  resize: vertical;
}

.live-chat-messages,
.chat-thread-messages {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 12px 2px;
}

.live-chat-message,
.chat-thread-message {
  max-width: 86%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.9rem;
}

.live-chat-message small,
.chat-thread-message small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.72rem;
}

.live-chat-message.from-admin,
.chat-thread-message.from-admin {
  align-self: flex-start;
  border-color: rgba(38, 59, 115, 0.18);
  background: color-mix(in srgb, var(--chat-accent) 10%, white);
}

.live-chat-message.from-customer,
.chat-thread-message.from-customer {
  align-self: flex-end;
  border-color: rgba(31, 107, 90, 0.2);
  background: color-mix(in srgb, var(--chat-color) 12%, white);
}

.live-chat-form,
.chat-reply-form {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.live-chat-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.live-chat-tools .icon-button {
  display: inline-flex;
  width: auto;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--white);
}

.live-chat-file-button span {
  font-size: 0.78rem;
  font-weight: 800;
}

.live-chat-tools .icon-button:hover {
  color: var(--white);
  background: var(--chat-color, var(--pine));
}

.live-chat-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.chat-attachment-chip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  max-width: 100%;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.78rem;
}

.chat-attachment-name,
.chat-attachment-chip span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-attachment-chip button {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(22, 26, 29, 0.06);
  cursor: pointer;
}

.chat-attachment {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin-top: 8px;
  color: inherit;
  text-decoration: none;
}

.chat-attachment.image-file img {
  width: min(220px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

.chat-attachment.file-message {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.live-chat-empty,
.chat-empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
}

.chat-admin-shell {
  display: grid;
  gap: 18px;
}

.chat-admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.65fr);
  gap: 18px;
  min-height: 620px;
}

.chat-conversation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  padding-right: 14px;
}

.chat-conversation-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px 10px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.chat-avatar {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--chat-color, var(--pine));
  font-size: 0.78rem;
  font-weight: 800;
}

.chat-conversation-card.active {
  border-color: rgba(31, 107, 90, 0.48);
  background: rgba(31, 107, 90, 0.08);
}

.chat-conversation-card strong,
.chat-conversation-card small,
.chat-conversation-card em,
.chat-conversation-card time {
  display: block;
}

.chat-conversation-card small,
.chat-conversation-card em,
.chat-conversation-card time {
  color: var(--muted);
  font-size: 0.76rem;
}

.chat-conversation-card em {
  grid-column: 2 / -1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
}

.chat-settings-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.chat-settings-panel[hidden] {
  display: none;
}

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

.chat-settings-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.chat-settings-panel input[type="text"],
.chat-settings-panel input:not([type]) {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}

.chat-logo-row {
  display: flex;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
}

.chat-logo-row img {
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.chat-conversation-card b {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--coral);
  font-size: 0.72rem;
}

.chat-thread {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
}

.chat-thread-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.chat-thread-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

@media (max-width: 780px) {
  .live-chat {
    right: 12px;
    bottom: 12px;
  }

  .live-chat-button {
    min-width: 52px;
    padding: 0;
  }

  .live-chat-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .live-chat-panel {
    width: 100vw;
    padding: 18px 14px max(18px, env(safe-area-inset-bottom));
  }

  .chat-admin-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .chat-conversation-list {
    max-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 14px;
  }

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

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Unbounded", Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.cart-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 32px;
  color: var(--white);
  background: rgba(22, 26, 29, 0.58);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  font-weight: 750;
}

.brand-mark {
  display: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.nav-group-button,
.nav-subgroup-button {
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-group-button:hover,
.nav-group-button:focus-visible,
.nav-subgroup-button:hover,
.nav-subgroup-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.nav-group,
.nav-subgroup {
  position: relative;
}

.nav-group-button,
.nav-subgroup-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-subgroup-button {
  width: 100%;
  justify-content: space-between;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.nav-group-button i,
.nav-subgroup-button i {
  font-size: 0.72rem;
}

.nav-dropdown,
.nav-submenu {
  position: absolute;
  z-index: 30;
  display: grid;
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 8px;
  color: var(--ink);
  background: rgba(251, 251, 248, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.nav-dropdown {
  top: calc(100% + 8px);
  left: 0;
}

.nav-submenu {
  top: 0;
  left: calc(100% + 8px);
}

.nav-dropdown a,
.nav-submenu a {
  color: var(--ink);
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: var(--white);
  background: var(--pine);
}

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

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

.site-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.top-actions {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
}

.account-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 8px 13px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 760;
}

.account-pill:hover,
.account-pill:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.account-pill.as-button {
  font: inherit;
}

.account-pill.cart-icon-link {
  position: relative;
  min-width: 42px;
  padding-inline: 10px;
}

.login-link[hidden],
.cabinet-link[hidden],
.admin-link[hidden],
.logout-button[hidden] {
  display: none;
}

.icon-button {
  position: relative;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: currentColor;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

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

.icon-button i,
.account-pill i {
  font-size: 1.02rem;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -2px;
  display: grid;
  min-width: 20px;
  height: 20px;
  max-width: 24px;
  place-items: center;
  overflow: hidden;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--white);
  background: var(--coral);
  font-size: 0.74rem;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: 76vh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/embroidered-collection.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  background: rgba(8, 13, 17, 0.42);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 128px 0 76px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: 4.2rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 0;
  font-size: 2.3rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 760;
}

.button.primary {
  color: var(--white);
  background: var(--pine);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #175447;
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.button.ghost.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button.ghost.dark:hover,
.button.ghost.dark:focus-visible {
  border-color: var(--pine);
  color: var(--pine);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.button.wide {
  width: 100%;
}

.button.icon-only {
  padding-inline: 14px;
}

.button.icon-only i {
  font-size: 1.12rem;
}

.breadcrumbs {
  width: min(1180px, 100%);
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.breadcrumbs li:not(:last-child)::after {
  color: rgba(89, 97, 106, 0.62);
  content: "/";
}

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

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--pine);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
}

.shop-band,
.custom-band,
.order-band,
.business-band {
  padding: 72px 32px;
}

.shop-band {
  padding-inline: 0;
  padding-bottom: 0;
}

.shop-band,
.order-band {
  background: var(--paper);
}

.custom-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: start;
}

.custom-band {
  background: #f1f6f4;
}

.business-inner {
  display: grid;
  width: min(1180px, 100%);
  margin-inline: auto;
  gap: 28px;
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.seo-link-card {
  display: grid;
  gap: 9px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
}

.seo-link-card:hover,
.seo-link-card:focus-visible {
  border-color: rgba(31, 107, 90, 0.36);
  background: #f7fbf8;
}

.seo-link-card strong {
  font-size: 1.02rem;
}

.seo-link-card span {
  color: var(--muted);
  line-height: 1.45;
}

.business-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8f5ef;
}

.business-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.section-head,
.catalog-sections,
.catalog-view,
.category-hero,
.category-catalog,
.custom-inner,
.order-inner,
.home-link-inner,
.business-inner {
  width: min(1180px, 100%);
  margin-inline: auto;
}

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

.shop-band .section-head {
  width: min(1180px, calc(100% - 64px));
}

.section-copy {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.filter {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  padding: 8px 13px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.filter.active,
.filter:hover,
.filter:focus-visible {
  color: var(--white);
  background: var(--indigo);
}

.catalog-sections {
  display: grid;
  width: 100%;
  max-width: none;
  gap: 0;
  margin-inline: 0;
}

.catalog-section-card {
  --category-bg: linear-gradient(135deg, #f7f8f5 0%, #e4eee8 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-height: clamp(320px, 38vw, 520px);
  overflow: hidden;
  border: 0;
  border-top: 1px solid rgba(22, 26, 29, 0.14);
  border-radius: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  background: var(--category-bg);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.catalog-section-card.reverse {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-section-card.reverse .catalog-section-photo {
  grid-column: 2;
  grid-row: 1;
}

.catalog-section-card.reverse .catalog-section-content {
  grid-column: 1;
  grid-row: 1;
}

.catalog-section-card[data-category="outerwear"] {
  --category-bg: linear-gradient(135deg, #e9f0ea 0%, #f6eee1 100%);
}

.catalog-section-card[data-category="tops"] {
  --category-bg: linear-gradient(135deg, #edf1f7 0%, #f7f0eb 100%);
}

.catalog-section-card[data-category="accessories"] {
  --category-bg: linear-gradient(135deg, #f4efe7 0%, #e8f2ef 100%);
}

.catalog-section-card:hover,
.catalog-section-card:focus-visible,
.catalog-section-card.active {
  box-shadow: inset 0 0 0 1px rgba(31, 107, 90, 0.28);
  outline: none;
}

.catalog-section-card:last-child {
  border-bottom: 1px solid rgba(22, 26, 29, 0.14);
}

.catalog-section-photo {
  min-height: inherit;
  background-image: var(--category-image, url("assets/embroidered-collection.png"));
  background-position: var(--focus, center);
  background-repeat: no-repeat;
  background-size: cover;
}

.catalog-section-content {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  min-height: inherit;
  padding: clamp(28px, 5vw, 76px);
}

.catalog-section-kicker {
  color: var(--pine);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-section-title {
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.94;
  overflow-wrap: anywhere;
}

.catalog-section-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.catalog-section-action {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.catalog-view {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.seo-page {
  display: grid;
  gap: 0;
  padding-top: 74px;
  background: var(--paper);
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  min-height: clamp(480px, 58vw, 690px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f6f7f2 0%, #e9eef4 100%);
}

.seo-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(34px, 6vw, 86px);
}

.seo-hero-copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 6rem);
  line-height: 0.92;
}

.seo-hero-copy p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.seo-hero-media {
  min-height: 100%;
  background-image: linear-gradient(120deg, rgba(31, 107, 90, 0.12), rgba(38, 59, 115, 0.12)), url("assets/embroidered-collection.png");
  background-position: center;
  background-size: cover;
}

.seo-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.seo-split p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--white);
}

.faq-item summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 820;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.location-section {
  display: grid;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 5vw, 72px) clamp(18px, 5vw, 72px);
}

.location-section > .section-head {
  margin: 0;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.location-product-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  background: var(--white);
}

.location-product-card strong {
  font-size: 1.05rem;
}

.location-product-card p {
  margin: 0;
  color: var(--muted);
}

.location-product-card {
  grid-template-rows: 180px auto auto auto;
}

.location-product-photo {
  min-height: 180px;
  border-radius: 8px;
  background-image: var(--product-image, url("assets/tshirt.webp"));
  background-position: var(--focus, center);
  background-size: cover;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 32px;
  background: #161a1d;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 0.75fr));
  gap: 24px;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer-brand {
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer-brand p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.footer-links {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links strong {
  margin-bottom: 4px;
  color: var(--white);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.catalog-view-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.catalog-view-head h3,
.catalog-view-head p {
  margin: 0;
}

.catalog-view-head h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.catalog-view-head p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 8px;
  color: var(--muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.category-page {
  display: grid;
  gap: 34px;
  padding: 116px 32px 72px;
}

.category-hero {
  display: block;
  padding: clamp(28px, 6vw, 72px) 0 clamp(16px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.category-hero-content {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 820px;
  padding-left: clamp(18px, 3vw, 42px);
  border-left: 2px solid rgba(31, 107, 90, 0.32);
}

.category-hero-content h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.category-hero-content p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.category-catalog {
  display: grid;
  gap: 18px;
}

.category-catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.category-catalog-head h2,
.category-catalog-head p {
  margin: 0;
}

.category-catalog-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.catalog-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(22, 26, 29, 0.06);
}

.catalog-empty h3,
.catalog-empty p {
  margin: 0;
}

.catalog-empty p {
  color: var(--muted);
}

.product-card {
  display: grid;
  grid-template-rows: 238px 1fr;
  width: 100%;
  min-width: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(22, 26, 29, 0.06);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(31, 107, 90, 0.42);
  box-shadow: 0 14px 34px rgba(22, 26, 29, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.product-image {
  position: relative;
  min-height: 238px;
  border-radius: 7px 7px 0 0;
  background-image: var(--product-image, url("assets/tshirt.webp"));
  background-position: var(--focus, center);
  background-repeat: no-repeat;
  background-size: cover;
}

.product-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(22, 26, 29, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  min-width: 0;
  padding: 22px;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.product-card-footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.rating-stars {
  color: var(--gold);
  letter-spacing: 0;
}

.stock-pill {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--pine);
  background: #edf7f1;
  font-size: 0.86rem;
  font-weight: 820;
}

.stock-pill.low {
  color: #8a5a00;
  background: #fff4d7;
}

.stock-pill.out {
  color: #9f2d2d;
  background: #fde7e7;
}

.stock-pill.loading {
  color: var(--muted);
  background: #f7f8f7;
}

.quantity-selector {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.quantity-selector label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.quantity-selector input {
  width: 64px;
  min-height: 42px;
  text-align: center;
  font-weight: 820;
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.quantity-selector .icon-button {
  border-color: var(--line);
  border-radius: 0;
  border-width: 0 1px 0 0;
  color: var(--ink);
  background: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
}

.quantity-stepper .icon-button:last-child {
  border-width: 0 0 0 1px;
}

.quantity-stepper input {
  border: 0;
  border-radius: 0;
}

.quantity-selector .icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.product-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-meta h3 {
  min-width: 0;
  margin: 0;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.price {
  flex: 0 0 auto;
  font-size: 1.12rem;
  font-weight: 850;
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-self: start;
  padding-bottom: 2px;
}

.size-pill {
  min-width: 36px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 9px;
  background: #f7f8f7;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.product-card .button {
  min-height: 42px;
}

.custom-copy,
.order-copy {
  max-width: 620px;
}

.custom-copy {
  display: grid;
  justify-items: start;
}

.custom-copy::after {
  content: "";
  display: block;
  width: min(400px, 100%);
  aspect-ratio: 400 / 267;
  margin-top: 30px;
  background: url("assets/custom-order-cap.png") center / contain no-repeat;
  pointer-events: none;
}

.custom-copy p,
.order-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.custom-panel,
.order-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 10px 28px rgba(22, 26, 29, 0.07);
}

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

fieldset {
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
}

.iti {
  width: 100%;
}

label.phone-error input[type="tel"] {
  border-color: var(--coral);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 107, 90, 0.18);
  border-color: var(--pine);
}

.upload-field {
  gap: 10px;
}

.upload-box {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 14px;
  border: 1px dashed #aeb8ba;
  border-radius: 8px;
  padding: 15px;
  background: #f8faf8;
  cursor: pointer;
}

.upload-box:hover,
.upload-box:focus-within,
.upload-box.drag-over {
  border-color: var(--pine);
  background: #f0f7f4;
}

.upload-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--indigo);
}

.upload-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.upload-box strong,
.upload-box small {
  display: block;
}

.upload-box small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.file-preview {
  display: grid;
  gap: 8px;
}

.quote-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quote-steps span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--muted);
  background: #fbfbf8;
  font-size: 0.82rem;
  font-weight: 780;
  text-align: center;
}

.bulk-link {
  width: fit-content;
  color: var(--pine);
  font-weight: 820;
}

.file-chip {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: var(--white);
}

.file-thumb {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  color: var(--white);
  background: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
}

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

.file-chip span {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-chip small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.order-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: start;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--pine);
  font-weight: 760;
}

.form-note.error {
  color: var(--coral);
}

.form-note.success {
  color: var(--pine);
}

.checkout-topbar {
  color: var(--white);
  background: rgba(22, 26, 29, 0.58);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.checkout-topbar .brand-mark,
.checkout-topbar .icon-button,
.checkout-topbar .account-pill {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.checkout-topbar .account-pill:hover,
.checkout-topbar .account-pill:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.checkout-topbar .nav-links a {
  color: rgba(255, 255, 255, 0.86);
}

.checkout-topbar .nav-links a:hover,
.checkout-topbar .nav-links a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.checkout-page {
  padding: 116px 32px 72px;
}

.checkout-hero,
.checkout-layout {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.checkout-hero {
  margin-bottom: 34px;
}

.checkout-hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: 3.2rem;
  color: var(--ink);
}

.checkout-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 24px;
  align-items: start;
}

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

.account-inline,
.account-guest,
.account-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-inline {
  border: 1px solid #c8d5d0;
  border-radius: 8px;
  padding: 14px 16px;
  background: #f4f9f7;
}

.account-guest,
.account-user {
  width: 100%;
}

.account-inline[hidden],
.account-guest[hidden],
.account-user[hidden] {
  display: none;
}

.account-inline span,
.account-inline small {
  color: var(--muted);
  font-size: 0.92rem;
}

.account-inline a {
  flex: 0 0 auto;
  color: var(--pine);
  font-weight: 800;
}

.account-user > span:nth-child(2) {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  gap: 3px;
}

.account-user strong {
  color: var(--ink);
}

.account-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--white) !important;
  background: var(--pine);
  font-size: 0.9rem !important;
  font-weight: 850;
}

.checkout-panel,
.summary-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 10px 28px rgba(22, 26, 29, 0.07);
}

.checkout-panel h2,
.summary-panel h2 {
  margin-bottom: 18px;
  font-size: 1.38rem;
}

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

.form-grid > label,
.form-grid > div {
  min-width: 0;
}

.span-2 {
  grid-column: span 2;
}

.delivery-options,
.payment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.payment-options {
  grid-template-columns: 1fr;
}

.option-tile {
  display: flex;
  min-height: 82px;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #f8faf8;
  cursor: pointer;
}

.option-tile:has(input:checked) {
  border-color: var(--pine);
  box-shadow: inset 0 0 0 1px var(--pine);
  background: #f0f7f4;
}

.option-tile input {
  width: auto;
  margin-top: 3px;
}

.option-tile strong,
.option-tile small {
  display: block;
}

.option-tile small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.bank-payment-box {
  border: 1px solid #c8d5d0;
  border-radius: 8px;
  padding: 16px;
  background: #f4f9f7;
}

.bank-payment-box p {
  margin: 6px 0 0;
  color: var(--muted);
}

.summary-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
}

.summary-items {
  display: grid;
  gap: 10px;
}

.summary-item,
.summary-row,
.summary-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.summary-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf8;
}

.summary-item span,
.summary-empty {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-item > div:last-child {
  flex: 0 0 auto;
  text-align: right;
}

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

.summary-row.discount-row {
  color: var(--pine);
}

.summary-total {
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 1.15rem;
}

.auth-layout,
.account-layout {
  display: grid;
  width: min(1180px, 100%);
  margin-inline: auto;
  gap: 24px;
  align-items: start;
}

.auth-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
}

.account-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
}

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

.account-form input:disabled {
  color: var(--muted);
  background: #f3f5f4;
}

.profile-actions {
  display: grid;
  gap: 12px;
}

.edit-confirm {
  display: grid;
  gap: 10px;
  border: 1px solid #c8d5d0;
  border-radius: 8px;
  padding: 15px;
  background: #f4f9f7;
}

.edit-confirm[hidden],
#saveProfileButton[hidden],
#editProfileButton[hidden] {
  display: none;
}

.edit-confirm p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.orders-list {
  display: grid;
  gap: 10px;
}

.order-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
  background: #f8faf8;
}

.order-card span,
.order-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-drawer {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  width: min(430px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding: 22px 22px max(22px, env(safe-area-inset-bottom));
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

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

.cart-drawer .icon-button {
  color: var(--ink);
  border-color: var(--line);
  background: #f7f8f7;
}

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

.cart-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  font-size: 1.5rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 0;
}

.cart-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.cart-item > div:first-child {
  min-width: 0;
}

.cart-item strong {
  display: block;
  overflow-wrap: anywhere;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.quantity {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.quantity button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f7f8f7;
  cursor: pointer;
}

.quantity button i {
  font-size: 0.78rem;
}

.cart-empty {
  display: none;
  place-items: center;
  color: var(--muted);
}

.cart-empty.visible {
  display: grid;
}

.free-delivery-notice {
  border: 1px solid #d9c88f;
  border-radius: 8px;
  padding: 12px;
  color: #6d5410;
  background: #fff8df;
  font-size: 0.88rem;
  font-weight: 700;
}

.free-delivery-notice.success {
  border-color: #b6d2c8;
  color: var(--pine);
  background: #edf8f4;
}

.free-delivery-notice[hidden] {
  display: none;
}

.cart-total {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 1.12rem;
}

.cart-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 10px;
  background: var(--white);
}

.cart-actions .button {
  min-height: 54px;
}

.scrim {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: rgba(22, 26, 29, 0.36);
}

.modal-scrim {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 26, 29, 0.46);
}

.modal-scrim[hidden] {
  display: none;
}

.thank-you-dialog {
  position: relative;
  display: grid;
  width: min(620px, 100%);
  gap: 18px;
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.thank-you-dialog .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--ink);
  border-color: var(--line);
  background: #f7f8f7;
}

.thank-you-dialog h2 {
  margin: 0;
}

.thanks-copy {
  margin: 0;
  color: var(--muted);
}

.thanks-details {
  display: grid;
  gap: 10px;
}

.thanks-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf8;
}

.thanks-details span {
  color: var(--muted);
  font-size: 0.86rem;
}

.thanks-details strong {
  text-align: right;
}

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

.option-group {
  gap: 10px;
}

.choice-row,
.color-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-pill,
.color-choice {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #f8faf8;
  cursor: pointer;
  color: var(--ink);
  font-weight: 760;
}

.choice-pill.active,
.color-choice.active {
  border-color: var(--pine);
  box-shadow: inset 0 0 0 1px var(--pine);
  background: #eef7f3;
}

.color-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.color-choice span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(22, 26, 29, 0.22);
  border-radius: 50%;
  background: var(--choice-color);
}

.reviews-block {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.reviews-block h3 {
  margin: 0;
}

.reviews-list {
  display: grid;
  gap: 10px;
}

.review-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf8;
}

.review-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-card span {
  color: var(--gold);
  font-size: 0.9rem;
}

.review-card p,
.review-empty,
.review-auth-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.review-auth-note a {
  color: var(--pine);
  font-weight: 800;
}

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

.review-form[hidden],
.review-auth-note[hidden] {
  display: none;
}

.payment-note[hidden] {
  display: none;
}

.admin-page {
  gap: 28px;
}

.admin-page .form-note {
  position: fixed;
  z-index: 90;
  top: 50%;
  left: 50%;
  max-width: min(420px, calc(100vw - 32px));
  min-height: 0;
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(31, 107, 90, 0.75);
  box-shadow: 0 16px 40px rgba(22, 26, 29, 0.22);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: opacity 0.18s ease;
}

.admin-page .form-note:not(:empty) {
  opacity: 1;
}

.admin-page .form-note.success,
.admin-page .form-note.error {
  opacity: 1;
}

.admin-page .form-note.error {
  color: var(--white);
  background: rgba(198, 90, 67, 0.75);
}

.admin-page .form-note.success {
  color: var(--white);
}

.admin-locked {
  width: min(760px, 100%);
  margin-inline: auto;
}

.admin-dashboard {
  display: grid;
  gap: 18px;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.inventory-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(22, 26, 29, 0.06);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.stat-card strong {
  font-size: 2rem;
}

.inventory-panel {
  gap: 18px;
}

.inventory-head,
.inventory-row,
.inventory-actions {
  display: flex;
  align-items: center;
}

.inventory-head {
  justify-content: space-between;
  gap: 16px;
}

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

.inventory-head p,
.inventory-row small,
.inventory-product span {
  color: var(--muted);
  font-size: 0.88rem;
}

.inventory-list {
  display: grid;
  gap: 10px;
}

.inventory-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(120px, 0.35fr) auto;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf8;
}

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

.inventory-input {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.inventory-input input {
  min-height: 42px;
}

.inventory-actions {
  gap: 8px;
  justify-content: flex-end;
}

.inventory-actions .icon-button {
  border-color: var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: 1.2rem;
  font-weight: 900;
}

.inventory-row small {
  grid-column: 1 / -1;
}

.admin-reviews-panel {
  gap: 18px;
}

.admin-catalog-panel {
  gap: 18px;
}

.admin-catalog-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-catalog-shortcut h2,
.admin-catalog-shortcut p {
  margin: 0;
}

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

.admin-orders-dashboard {
  width: min(1240px, 100%);
}

.admin-orders-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.admin-hero-copy {
  min-width: 0;
}

.admin-date-filter {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.admin-date-filter label {
  display: grid;
  gap: 6px;
  min-width: 144px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-date-filter input {
  min-height: 42px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.admin-date-clear {
  width: 42px;
  height: 42px;
  border-color: rgba(27, 34, 31, 0.14);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
}

.admin-date-clear:hover {
  color: var(--ink);
  background: #fff;
}

.admin-orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-orders-toolbar h2,
.admin-orders-toolbar p {
  margin: 0;
}

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

.admin-orders-list {
  display: grid;
  gap: 16px;
}

.admin-order-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  overflow: hidden;
}

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

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

.admin-order-head p,
.admin-order-kicker,
.admin-label-empty,
.admin-order-grid span {
  color: var(--muted);
}

.admin-order-head h2 {
  margin-top: 4px;
  font-size: 1.35rem;
}

.admin-order-kicker {
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-order-status {
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 760;
}

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

.admin-shipping-payment-block {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.admin-order-grid > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf8;
}

.admin-order-grid span {
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-order-grid strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.94rem;
  line-height: 1.35;
}

.admin-order-label {
  display: grid;
  gap: 12px;
}

.admin-label-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-label-tools.compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfcfb;
}

.admin-label-meta {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-label-meta strong,
.admin-label-meta small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-label-meta small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.admin-label-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.admin-label-icon {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-color: var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.admin-label-icon.print {
  color: var(--pine);
}

.admin-label-icon:hover,
.admin-label-icon:focus-visible {
  border-color: rgba(31, 107, 90, 0.42);
  background: #eef7f3;
}

.admin-label-empty {
  justify-content: space-between;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcfb;
}

.admin-label-empty small {
  flex-basis: 100%;
  color: #a64e3d;
  overflow-wrap: anywhere;
}

.admin-label-preview {
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-empty-state {
  color: var(--muted);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

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

.admin-categories-list {
  display: grid;
  gap: 16px;
}

.admin-category-form {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.admin-category-preview {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.72)),
    var(--category-image, url("assets/embroidered-collection.png")) center / cover no-repeat,
    var(--category-bg, #f8faf8);
  background-position: center, var(--focus, center), center;
}

.admin-category-preview span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-category-preview strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 0.98;
}

.admin-category-fields {
  display: grid;
  gap: 12px;
}

.danger-button {
  border-color: rgba(166, 78, 61, 0.28);
  color: #a64e3d;
}

.danger-button:hover,
.danger-button:focus-visible {
  border-color: #a64e3d;
  color: #fff;
  background: #a64e3d;
}

.admin-product-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.admin-product-tile {
  display: grid;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  color: inherit;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.admin-product-tile:hover,
.admin-product-tile:focus-visible,
.admin-product-tile.active {
  border-color: var(--pine);
  outline: 0;
  box-shadow: 0 12px 28px rgba(20, 47, 39, 0.12);
}

.admin-product-tile-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 7px;
  background-color: #f8faf8;
  background-image: var(--product-image, url("assets/tshirt.webp"));
  background-position: var(--focus, center);
  background-repeat: no-repeat;
  background-size: cover;
}

.admin-product-tile-photo .product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.admin-product-tile-body {
  display: grid;
  gap: 7px;
}

.admin-product-tile-body small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-product-form {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.admin-product-preview {
  aspect-ratio: 4 / 5;
  min-height: 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background-image: var(--product-image, url("assets/tshirt.webp"));
  background-position: var(--focus, center);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #f8faf8;
}

.admin-blog-list {
  gap: 18px;
}

.admin-blog-form {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
}

.admin-blog-page-form {
  grid-template-columns: 1fr;
  gap: 18px;
}

.admin-blog-editor-panel {
  display: grid;
  gap: 14px;
}

.admin-blog-preview {
  aspect-ratio: 16 / 11;
  min-height: 280px;
}

.admin-blog-fields textarea[name="body"] {
  min-height: 320px;
  line-height: 1.6;
}

.admin-blog-fields textarea[name="excerpt"] {
  min-height: 112px;
}

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

.admin-blog-page-builder {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.admin-blog-builder-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.admin-blog-page-builder .admin-blog-builder-head {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #f8faf8;
}

.admin-blog-builder-head > div:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-blog-builder-head strong {
  color: var(--ink);
  font-size: 1rem;
}

.admin-blog-builder-head small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.admin-builder-adds,
.admin-builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-builder-adds .button {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.74rem;
}

.admin-builder-list {
  display: grid;
  gap: 12px;
}

.admin-builder-block {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.admin-builder-block-head {
  display: grid;
  grid-template-columns: 36px minmax(130px, 0.5fr) minmax(130px, 0.5fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-builder-order {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--pine);
  background: #eef7f3;
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-builder-block label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
}

.admin-builder-text textarea {
  min-height: 104px;
  line-height: 1.55;
}

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

.admin-builder-image-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfb;
}

.admin-builder-image-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 6px;
  background-color: #e9e5d7;
  background-image: var(--product-image, url("assets/embroidered-collection.png"));
  background-position: var(--focus, center);
  background-repeat: no-repeat;
  background-size: cover;
}

.admin-builder-upload {
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
}

.admin-builder-block[data-block-type="paragraph"] .admin-builder-images,
.admin-builder-block[data-block-type="heading2"] .admin-builder-images,
.admin-builder-block[data-block-type="heading3"] .admin-builder-images,
.admin-builder-block[data-block-type="divider"] .admin-builder-images,
.admin-builder-block[data-block-type="divider"] .admin-builder-text,
.admin-builder-block[data-block-type="image"] .admin-builder-image-slot-1,
.admin-builder-block[data-block-type="image"] .admin-builder-text,
.admin-builder-block[data-block-type="imagePair"] .admin-builder-text {
  display: none;
}

.admin-blog-live-page {
  background: #ffffff;
}

.admin-blog-live-page .blog-single-page {
  width: min(1300px, calc(100% - 52px));
  padding: 52px 0 68px;
}

.admin-blog-live-page .blog-sidebar a,
.admin-blog-live-page .blog-tags a,
.admin-blog-live-page .blog-share a,
.admin-blog-live-page .blog-author-links a,
.admin-blog-live-page .blog-author h4 a {
  pointer-events: none;
}

.admin-page-meta input,
.admin-page-title-input {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
}

.admin-page-meta input {
  width: auto;
  max-width: 220px;
  min-height: 24px;
  border-bottom: 1px solid rgba(5, 5, 5, 0.22);
  padding: 0 0 4px;
}

.admin-page-title-input {
  display: block;
  width: min(620px, 100%);
  min-height: 98px;
  resize: vertical;
  outline: 1px solid transparent;
}

.admin-page-title-input:focus,
.admin-page-block [contenteditable="true"]:focus {
  outline: 1px dashed #b59b52;
  outline-offset: 6px;
  background: #fffdf5;
}

.admin-editor-gallery {
  outline: 1px dashed rgba(181, 155, 82, 0.45);
  outline-offset: -10px;
}

.admin-editor-gallery-note {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  min-height: 30px;
  border: 1px solid rgba(5, 5, 5, 0.15);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.78);
  color: #050505;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.admin-page-block {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px dashed transparent;
  padding: 8px;
  margin: -8px;
  transition: border-color 0.22s ease, background-color 0.22s ease, opacity 0.22s ease;
}

.admin-page-block:hover,
.admin-page-block:focus-within {
  border-color: rgba(181, 155, 82, 0.58);
  background: rgba(233, 229, 215, 0.16);
}

.admin-page-block.is-dragging {
  opacity: 0.36;
}

.admin-page-block-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(20, 47, 39, 0.08);
}

.admin-page-block-toolbar label {
  display: grid;
  gap: 4px;
  min-width: 132px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-page-block-toolbar select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.admin-drag-handle {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--pine);
  background: #ffffff;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.admin-drag-handle:active {
  cursor: grabbing;
}

.admin-page-block-content {
  min-width: 0;
}

.admin-page-block-content .admin-builder-images {
  margin-top: 12px;
}

.admin-html-source {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-html-source textarea {
  min-height: 180px;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.admin-page-block[data-block-type="paragraph"] .admin-builder-images,
.admin-page-block[data-block-type="heading2"] .admin-builder-images,
.admin-page-block[data-block-type="heading3"] .admin-builder-images,
.admin-page-block[data-block-type="divider"] .admin-builder-images,
.admin-page-block[data-block-type="html"] .admin-builder-images,
.admin-page-block[data-block-type="image"] [data-block-text],
.admin-page-block[data-block-type="imagePair"] [data-block-text] {
  display: none;
}

.admin-blog-live-page .blog-sidebar-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  border: 1px solid #050505;
  padding: 0 14px;
  color: #050505;
  background: #ffffff;
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.admin-blog-comments-list {
  display: grid;
  gap: 14px;
}

.admin-comment-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-comment-summary span,
.admin-comment-status {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  background: #f8faf8;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-comment-card {
  display: grid;
  gap: 14px;
  margin-left: calc(var(--comment-depth, 0) * 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.admin-comment-card.status-pending {
  border-color: rgba(181, 155, 82, 0.55);
  background: #fffdf5;
}

.admin-comment-card.status-rejected {
  border-color: rgba(166, 78, 61, 0.34);
  background: #fff8f6;
}

.admin-comment-card > p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

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

.admin-comment-head > div,
.admin-comment-post {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.admin-comment-head small,
.admin-comment-post small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.admin-comment-actions,
.admin-comment-reply {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.admin-comment-reply textarea {
  flex: 1 1 260px;
  min-height: 76px;
}

.admin-product-fields {
  display: grid;
  gap: 12px;
}

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

.admin-product-title span {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.admin-photo-header {
  display: grid;
  gap: 3px;
}

.admin-photo-header span,
.admin-size-picker > div:first-child span,
.admin-focus-picker > div:first-child span,
.admin-shipping-fields .admin-inline-head strong {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 760;
}

.admin-photo-header small,
.admin-size-picker small,
.admin-focus-picker small,
.admin-shipping-fields small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
}

.admin-photo-tile {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
  color: var(--muted);
  background: #f8faf8;
}

.admin-photo-cover {
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.admin-photo-tile.active {
  border-color: var(--pine);
  box-shadow: inset 0 0 0 1px var(--pine);
  color: var(--pine);
  background: #eef7f3;
}

.admin-photo-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background-image: var(--product-image, url("assets/tshirt.webp"));
  background-position: var(--focus, center);
  background-repeat: no-repeat;
  background-size: cover;
}

.admin-photo-tile small {
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-photo-tile-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 6px;
  align-items: center;
}

.admin-photo-tile-actions .button {
  min-height: 30px;
  padding: 0 8px;
  font-size: 0.66rem;
}

.admin-photo-delete {
  width: 30px;
  height: 30px;
  min-height: 30px;
  border-color: rgba(22, 26, 29, 0.14);
  color: var(--coral);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(22, 26, 29, 0.14);
}

.admin-photo-delete:hover,
.admin-photo-delete:focus-visible {
  color: var(--white);
  background: var(--coral);
}

.admin-photo-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-photo-actions small {
  color: var(--muted);
}

.admin-product-stock,
.admin-product-reviews {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8faf8;
}

.admin-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-inline-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-inline-head small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.admin-stock-controls {
  display: inline-grid;
  grid-template-columns: 42px minmax(70px, 96px) 42px minmax(130px, auto);
  align-items: center;
  justify-content: start;
  gap: 0;
}

.admin-stock-controls .icon-button {
  border-color: var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
}

.admin-stock-controls .icon-button:first-child {
  border-radius: 8px 0 0 8px;
}

.admin-stock-controls .icon-button:nth-child(3) {
  border-radius: 0 8px 8px 0;
}

.admin-stock-controls input {
  min-height: 42px;
  border-inline: 0;
  border-radius: 0;
  text-align: center;
}

.admin-stock-controls .button {
  margin-left: 8px;
}

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

.admin-product-empty {
  min-height: auto;
  padding: 12px;
}

.admin-size-picker,
.admin-focus-picker,
.admin-shipping-fields {
  display: grid;
  gap: 10px;
}

.admin-shipping-fields {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8faf8;
}

.admin-size-options,
.admin-focus-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-size-button,
.admin-focus-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  background: #f8faf8;
  cursor: pointer;
  font-weight: 800;
}

.admin-size-button.active,
.admin-focus-button.active {
  border-color: var(--pine);
  color: var(--pine);
  background: #edf8f4;
}

.admin-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-product-fields > .button,
.admin-editor-actions .button {
  justify-self: end;
  min-width: 170px;
}

.full-span {
  grid-column: 1 / -1;
}

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

.admin-review-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8faf8;
}

.admin-review-card div,
.admin-review-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-review-card div span {
  color: var(--gold);
  font-size: 0.9rem;
}

.admin-review-card p,
.admin-review-card footer span {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-page {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 116px 32px 72px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--pine);
  font-weight: 800;
}

.product-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: 34px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}

.product-photo-main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: #f8faf8;
  background-image: url("assets/embroidered-collection.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: zoom-in;
}

.product-photo-main.zoomed {
  background-size: 330%;
  cursor: crosshair;
}

.product-photo-main span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--white);
  background: rgba(22, 26, 29, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
}

.carousel-controls {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.carousel-controls .icon-button {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
  pointer-events: auto;
}

.thumbnail-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.thumbnail {
  flex: 0 0 112px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 750;
  text-align: left;
}

.thumbnail-image {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background-image: var(--product-image, url("assets/tshirt.webp"));
  background-position: var(--focus, center);
  background-repeat: no-repeat;
  background-size: cover;
}

.thumbnail.active {
  border-color: var(--pine);
  color: var(--pine);
  box-shadow: inset 0 0 0 1px var(--pine);
}

.product-page-info {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(22, 26, 29, 0.07);
}

.product-page-info h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 3rem;
}

.product-page-info p {
  margin: 0;
  color: var(--muted);
}

.product-page-price {
  font-size: 1.35rem;
}

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

.product-go-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.reviews-section {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.reviews-section h2 {
  margin: 0;
}

@media (max-width: 920px) {
  .topbar {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
  }

  .site-menu-toggle {
    display: grid;
  }

  .topbar.site-menu-open .nav-links {
    position: fixed;
    top: 72px;
    left: 14px;
    right: 14px;
    z-index: 35;
    display: grid;
    gap: 8px;
    justify-content: stretch;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 12px;
    color: var(--ink);
    background: rgba(251, 251, 248, 0.98);
    box-shadow: var(--shadow);
  }

  .topbar.site-menu-open .nav-links a,
  .topbar.site-menu-open .nav-group-button,
  .topbar.site-menu-open .nav-subgroup-button {
    width: 100%;
    justify-content: space-between;
    color: var(--ink);
  }

  .topbar.site-menu-open .nav-links a:hover,
  .topbar.site-menu-open .nav-links a:focus-visible,
  .topbar.site-menu-open .nav-group-button:hover,
  .topbar.site-menu-open .nav-group-button:focus-visible,
  .topbar.site-menu-open .nav-subgroup-button:hover,
  .topbar.site-menu-open .nav-subgroup-button:focus-visible {
    color: var(--white);
    background: var(--pine);
  }

  .topbar.site-menu-open .nav-dropdown,
  .topbar.site-menu-open .nav-submenu {
    position: static;
    display: none;
    min-width: 0;
    margin-top: 4px;
    border-color: var(--line);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .topbar.site-menu-open .nav-group.open .nav-dropdown {
    display: grid;
  }

  .topbar.site-menu-open .nav-subgroup.open .nav-submenu {
    display: grid;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section-head,
  .custom-inner,
  .order-inner,
  .checkout-layout,
  .auth-layout,
  .account-layout,
  .seo-hero,
  .business-inner,
  .seo-split,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
  }

  .delivery-options,
  .payment-options {
    grid-template-columns: 1fr;
  }

  .inventory-stats,
  .inventory-row,
  .admin-order-grid,
  .admin-category-form,
  .admin-product-form {
    grid-template-columns: 1fr;
  }

  .inventory-actions,
  .inventory-head,
  .admin-order-head,
  .admin-orders-hero,
  .admin-orders-toolbar,
  .admin-catalog-shortcut,
  .admin-inline-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-order-status,
  .admin-orders-toolbar .button {
    width: 100%;
  }

  .admin-date-filter {
    width: 100%;
    justify-content: stretch;
    margin-left: 0;
  }

  .admin-date-filter label {
    flex: 1 1 140px;
    min-width: 0;
  }

  .admin-review-card div,
  .admin-review-card footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-stock-controls {
    grid-template-columns: auto minmax(80px, 1fr) auto;
  }

  .admin-blog-builder-head {
    display: grid;
  }

  .admin-builder-block-head,
  .admin-builder-images {
    grid-template-columns: 1fr;
  }

  .admin-builder-adds,
  .admin-builder-actions {
    justify-content: flex-start;
  }

  .admin-stock-controls .button {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0;
  }

  .account-inline,
  .account-guest,
  .account-user {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .product-gallery {
    position: static;
  }

  .seo-hero-media {
    min-height: 280px;
    grid-row: 1;
  }

  .business-actions {
    justify-content: flex-start;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

  .catalog-view-head,
  .category-catalog-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-view-head .button,
  .category-catalog-head .button {
    width: 100%;
  }

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

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

  .product-image {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .brand {
    max-width: 100%;
  }

  .brand span:last-child {
    max-width: min(92px, 30vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-actions {
    gap: 6px;
    justify-self: end;
    max-width: calc(100vw - 132px);
  }

  .account-pill {
    width: 38px;
    min-height: 38px;
    min-width: 38px;
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .account-pill.cart-icon-link {
    min-width: 38px;
    padding-inline: 10px;
  }

  .account-pill .action-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .account-pill i {
    font-size: 1rem;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 44px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .filters {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-band,
  .custom-band,
  .order-band,
  .business-band,
  .checkout-page,
  .category-page,
  .product-page {
    padding: 54px 16px;
  }

  .shop-band {
    padding-inline: 0;
    padding-bottom: 0;
  }

  .shop-band .section-head {
    width: calc(100% - 32px);
  }

  .checkout-page,
  .category-page,
  .product-page {
    padding-top: 96px;
  }

  .checkout-hero h1 {
    font-size: 2.35rem;
  }

  .auth-layout {
    display: flex;
    flex-direction: column;
  }

  #loginForm {
    order: 1;
  }

  #registerForm {
    order: 2;
  }

  .breadcrumbs {
    margin-bottom: 16px;
    font-size: 0.72rem;
  }

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

  .span-2 {
    grid-column: auto;
  }

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

  .quote-steps,
  .home-link-grid,
  .seo-link-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 34px 18px;
  }

  .catalog-section-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: clamp(220px, 72vw, 320px);
  }

  .catalog-section-card.reverse .catalog-section-photo {
    grid-column: 2;
    grid-row: 1;
  }

  .catalog-section-card.reverse .catalog-section-content {
    grid-column: 1;
    grid-row: 1;
  }

  .catalog-section-photo {
    min-height: inherit;
  }

  .catalog-section-content {
    gap: 8px;
    padding: clamp(14px, 4vw, 22px);
  }

  .catalog-section-kicker {
    font-size: 0.62rem;
  }

  .catalog-section-copy {
    font-size: 0.74rem;
    line-height: 1.42;
  }

  .catalog-section-title {
    font-size: clamp(1.25rem, 6.2vw, 2rem);
  }

  .category-hero-content {
    gap: 14px;
    padding-left: 18px;
  }

  .category-hero-content h1 {
    font-size: 2.6rem;
  }

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

  .product-image {
    min-height: 240px;
  }

  .cart-drawer {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: 18px 14px max(18px, env(safe-area-inset-bottom));
  }

  .admin-order-card {
    padding: 16px;
  }

  .admin-label-preview {
    min-height: 280px;
  }

  .admin-label-tools.compact {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-label-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .cart-item {
    gap: 10px;
    padding: 10px;
  }

  .quantity {
    gap: 6px;
  }

  .quantity button {
    width: 28px;
    height: 28px;
  }

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

  .product-page-info {
    padding: 20px;
  }

  .product-page-info h1 {
    font-size: 2.15rem;
  }

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

  .thumbnail {
    flex-basis: 96px;
  }
}

/* Rubi-inspired editorial storefront */
:root {
  --ink: #050505;
  --muted: #626262;
  --line: #dfddd3;
  --paper: #ffffff;
  --white: #ffffff;
  --pine: #111111;
  --coral: #c65a43;
  --indigo: #050505;
  --gold: #a99255;
  --rubi-cream: #e9e5d7;
  --rubi-smoke: #f7f6f1;
  --shadow: 0 20px 45px rgba(5, 5, 5, 0.1);
}

body {
  background: #ffffff;
  color: var(--ink);
  font-family: "Jost", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

h1,
h2,
h3,
.brand,
.site-footer .brand,
.catalog-section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

.topbar {
  position: absolute;
  min-height: 92px;
  padding: 28px 5.2vw;
  border: 0;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

.checkout-topbar,
.category-page .topbar {
  position: fixed;
  background: #ffffff;
  color: #050505;
  border-bottom: 1px solid var(--line);
}

.brand {
  gap: 0;
  font-size: 1.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-mark {
  display: none;
}

.nav-links {
  gap: clamp(22px, 3.3vw, 52px);
}

.nav-links a,
.nav-group-button,
.nav-subgroup-button {
  padding: 0 0 4px;
  border-radius: 0;
  color: currentColor;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-group-button:hover,
.nav-group-button:focus-visible,
.nav-subgroup-button:hover,
.nav-subgroup-button:focus-visible {
  color: currentColor;
  background: transparent;
  box-shadow: inset 0 -1px 0 currentColor;
}

.shop-mega-menu {
  position: static;
}

.shop-mega-menu::after {
  content: "";
  position: fixed;
  top: 58px;
  left: 0;
  z-index: 44;
  display: none;
  width: 100vw;
  height: 34px;
}

.shop-mega-menu:hover::after,
.shop-mega-menu:focus-within::after,
.shop-mega-menu.open::after {
  display: block;
}

.shop-mega-menu.is-closing::after {
  display: none;
}

.nav-shop-trigger {
  height: auto;
  font-family: "Yantramanav", Arial, sans-serif;
}

.shop-mega-panel {
  position: fixed;
  top: 92px;
  left: 0;
  z-index: 45;
  width: 100vw;
  height: 0;
  overflow: hidden;
  color: #353535;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, height 0.2s ease;
}

.shop-mega-menu:hover .shop-mega-panel,
.shop-mega-menu:focus-within .shop-mega-panel,
.shop-mega-menu.open .shop-mega-panel {
  height: auto;
  opacity: 1;
  overflow: visible;
  visibility: visible;
  transform: translateY(0);
}

.shop-mega-menu.is-closing .shop-mega-panel {
  height: auto;
  opacity: 0;
  overflow: visible;
  visibility: visible;
  transform: translateY(-4px);
  pointer-events: none;
}

.shop-mega-inner {
  width: min(86%, 1300px);
  margin: 0 auto;
}

.shop-mega-grid {
  display: flex;
  margin: 0 -15px;
  padding: 45px 0 38px;
}

.shop-mega-column {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 15px;
}

.shop-mega-column h3 {
  margin: 0;
  color: #000000;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 24.96px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.shop-mega-column h3 a {
  display: inline;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
}

.shop-mega-column h3 a:hover,
.shop-mega-column h3 a:focus-visible {
  box-shadow: inset 0 -1px 0 currentColor;
}

.shop-mega-column ul {
  display: block;
  margin: 0;
  padding: 9px 0 0;
  list-style: none;
}

.shop-mega-column li {
  margin: 0;
  padding: 0;
}

.shop-mega-column li a {
  display: flex;
  width: fit-content;
  padding: 4px 0;
  color: #353535;
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 22.95px;
  letter-spacing: 0;
  text-transform: none;
}

.shop-mega-column li a:hover,
.shop-mega-column li a:focus-visible {
  color: #000000;
  background: transparent;
  box-shadow: inset 0 -1px 0 currentColor;
}

.shop-mega-feature .shop-mega-image {
  display: block;
  width: 300px;
  margin-top: 28px;
  padding: 0;
  overflow: hidden;
}

.shop-mega-feature img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: 193px;
  object-fit: cover;
  object-position: 35% 52%;
}

.checkout-topbar .nav-links > a,
.checkout-topbar .nav-group-button,
.checkout-topbar .nav-subgroup-button {
  color: #050505;
}

.checkout-topbar .nav-links > a:hover,
.checkout-topbar .nav-links > a:focus-visible,
.checkout-topbar .nav-group-button:hover,
.checkout-topbar .nav-group-button:focus-visible,
.checkout-topbar .nav-subgroup-button:hover,
.checkout-topbar .nav-subgroup-button:focus-visible {
  color: #050505;
  background: transparent;
  box-shadow: inset 0 -1px 0 currentColor;
}

.checkout-topbar .shop-mega-panel {
  color: #353535;
  background: #ffffff;
}

.checkout-topbar .shop-mega-column h3,
.checkout-topbar .shop-mega-column h3 a {
  color: #000000;
}

.checkout-topbar .shop-mega-column li a {
  color: #353535;
}

.checkout-topbar .shop-mega-column li a:hover,
.checkout-topbar .shop-mega-column li a:focus-visible {
  color: #000000;
  background: transparent;
}

@media (max-width: 920px) {
  .shop-mega-menu {
    display: grid;
    width: 100%;
  }

  .shop-mega-menu::after {
    display: none;
  }

  .shop-mega-panel {
    position: static;
    width: 100%;
    height: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .shop-mega-menu.open .shop-mega-panel,
  .shop-mega-menu:focus-within .shop-mega-panel {
    height: auto;
    overflow: visible;
    opacity: 1;
    visibility: visible;
  }

  .shop-mega-menu.is-closing .shop-mega-panel {
    height: auto;
    overflow: visible;
    opacity: 0;
    visibility: visible;
    transform: none;
    pointer-events: none;
  }

  .shop-mega-inner {
    width: 100%;
  }

  .shop-mega-grid {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 15px 4px 8px;
  }

  .shop-mega-column {
    padding: 0;
  }

  .shop-mega-column h3 {
    font-size: 22px;
    line-height: 23px;
  }

  .shop-mega-column li a {
    width: 100%;
    padding: 5px 0;
  }

  .shop-mega-feature .shop-mega-image {
    width: min(300px, 100%);
  }
}

.top-actions {
  gap: 16px;
}

.account-pill,
.icon-button {
  border-color: currentColor;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  box-shadow: none;
}

.account-pill {
  min-height: 34px;
  padding: 4px 0;
  border: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
}

.cart-count {
  top: 0;
  right: -3px;
  min-width: 18px;
  height: 18px;
  color: #ffffff;
  background: #050505;
  font-family: "Jost", Arial, sans-serif;
  font-size: 0.68rem;
}

.hero {
  min-height: 580px;
  height: min(760px, 78vh);
  isolation: isolate;
  color: #ffffff;
  background: #111111;
}

.hero-media {
  background-image: url("assets/embroidered-collection.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.72);
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.1) 42%, rgba(0, 0, 0, 0.34)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 28%, rgba(0, 0, 0, 0.24));
}

.hero-content {
  display: grid;
  width: min(1040px, calc(100% - 48px));
  min-height: 100%;
  place-items: center;
  margin: 0 auto;
  padding: 134px 0 74px;
  text-align: center;
}

.hero .eyebrow {
  display: none;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(4.6rem, 8vw, 8.6rem);
  font-weight: 500;
  line-height: 0.82;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-copy {
  max-width: 520px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.hero-actions {
  justify-content: center;
  margin-top: 24px;
}

.button {
  min-height: 44px;
  border-radius: 0;
  padding: 12px 22px;
  font-family: "Jost", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button.primary {
  color: #ffffff;
  background: #050505;
  border-color: #050505;
}

.button.primary:hover,
.button.primary:focus-visible {
  color: #050505;
  background: #ffffff;
}

.button.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.88);
  background: transparent;
}

.button.ghost:hover,
.button.ghost:focus-visible {
  color: #050505;
  background: #ffffff;
}

.button.ghost.dark {
  color: #050505;
  border-color: #050505;
  background: transparent;
}

.button.ghost.dark:hover,
.button.ghost.dark:focus-visible {
  color: #ffffff;
  border-color: #050505;
  background: #050505;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.shop-band {
  padding: clamp(86px, 9vw, 150px) 5.2vw clamp(92px, 11vw, 170px);
  background: #ffffff;
}

.shop-band .section-head {
  display: block;
  width: min(1320px, 100%);
  margin-bottom: clamp(44px, 6vw, 88px);
}

.shop-band .section-head h2,
.home-link-inner h2,
.business-inner h2,
.custom-copy h2,
.order-copy h2 {
  font-size: clamp(3rem, 6vw, 6.6rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.section-copy {
  max-width: 560px;
  color: #303030;
  font-size: 1rem;
}

.catalog-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 76px);
  width: min(1320px, 100%);
  margin: 0 auto;
}

.catalog-section-card,
.catalog-section-card.reverse {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: #050505;
  text-align: center;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.catalog-section-card:hover,
.catalog-section-card:focus-visible,
.catalog-section-card.active {
  transform: translateY(-6px);
  box-shadow: none;
}

.catalog-section-card.reverse .catalog-section-photo,
.catalog-section-card.reverse .catalog-section-content {
  grid-column: auto;
  grid-row: auto;
}

.catalog-section-photo {
  min-height: clamp(320px, 33vw, 460px);
  background-color: #ffffff;
  background-position: var(--focus, center);
  background-repeat: no-repeat;
  background-size: contain;
}

.catalog-section-content {
  display: grid;
  gap: 12px;
  max-width: 360px;
  min-height: 0;
  place-content: start center;
  margin: 0 auto;
  padding: 22px 0 0;
}

.catalog-section-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.catalog-section-title {
  color: #050505;
  font-size: clamp(2.3rem, 3.6vw, 4.4rem);
  font-weight: 500;
  line-height: 0.88;
  text-transform: uppercase;
}

.catalog-section-copy {
  color: #303030;
}

.catalog-section-action {
  justify-self: center;
  border-bottom: 1px solid currentColor;
  color: #050505;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-grid {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: clamp(48px, 6vw, 96px) clamp(30px, 4vw, 70px);
}

.product-card {
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-6px);
}

.product-image {
  min-height: 310px;
  border-radius: 0;
  background-color: #ffffff;
  background-size: contain;
}

.product-badge,
.product-body p,
.product-card-footer {
  display: none;
}

.product-body {
  display: block;
  padding: 22px 0 0;
}

.product-meta {
  display: grid;
  justify-content: center;
  gap: 10px;
}

.product-meta h3 {
  max-width: 220px;
  margin: 0 auto;
  color: #050505;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 2vw, 2.25rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.price,
.product-page-price {
  color: #182333;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.custom-band,
.order-band,
.business-band {
  padding: clamp(82px, 8vw, 138px) 5.2vw;
}

.custom-band,
.business-band {
  background: var(--rubi-cream);
}

.order-band {
  background: #ffffff;
}

.custom-inner,
.order-inner,
.business-inner {
  width: min(1180px, 100%);
  gap: clamp(42px, 6vw, 88px);
}

.custom-panel,
.order-form,
.checkout-panel,
.summary-panel,
.product-page-info,
.seo-link-card {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

label,
fieldset,
legend {
  color: #050505;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
select,
textarea {
  border-width: 0 0 1px;
  border-color: #9c9a91;
  border-radius: 0;
  padding: 13px 0;
  background: transparent;
  color: #050505;
  font-family: "Jost", Arial, sans-serif;
  letter-spacing: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #050505;
  outline: 0;
  background: transparent;
}

.upload-icon,
.file-thumb,
.cart-drawer,
.cart-item,
.free-delivery-notice,
.thank-you-dialog,
.option-tile,
.summary-item,
.choice-pill,
.color-choice,
.review-card,
.order-card,
.live-chat-panel,
.live-chat-button,
.live-chat-message,
.chat-thread-message {
  border-radius: 0;
}

.upload-box {
  border-color: #9c9a91;
  border-radius: 0;
  background: transparent;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 130px) 5.2vw 40px;
  background: #050505;
  color: #ffffff;
}

.site-footer-inner {
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(130px, 0.75fr));
  gap: clamp(34px, 5vw, 80px);
}

.site-footer .brand {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  text-transform: uppercase;
}

.footer-links strong {
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.footer-links a {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cart-head h2,
.checkout-hero h1,
.product-page-info h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  text-transform: uppercase;
}

.product-page,
.checkout-page,
.auth-layout,
.account-layout,
.admin-page,
.category-page {
  background: #ffffff;
  font-family: "Jost", Arial, sans-serif;
}

.product-photo-main,
.thumbnail-image,
.admin-product-tile-photo,
.admin-product-preview {
  border-radius: 0;
  background-size: contain;
}

@media (max-width: 1100px) {
  .catalog-sections,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}

@media (max-width: 920px) {
  .topbar {
    position: static;
    min-height: 76px;
    padding: 18px 24px;
    background: #ffffff;
    color: #050505;
  }

  .checkout-topbar,
  .category-page .topbar {
    position: fixed;
  }

  .nav-links {
    display: none;
  }

  .brand {
    font-size: 1.45rem;
  }

  .hero {
    height: 560px;
    min-height: 560px;
    margin-top: 0;
  }

  .hero-content {
    width: min(680px, calc(100% - 32px));
    padding: 60px 0 54px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 14vw, 5.4rem);
  }

  .custom-inner,
  .order-inner,
  .business-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    display: flex;
    min-height: 70px;
    padding: 16px 20px;
  }

  .brand span:last-child {
    max-width: none;
  }

  .top-actions {
    max-width: none;
  }

  .account-pill:not(.logout-button):not(.cart-icon-link),
  .logout-button {
    display: none !important;
  }

  .hero {
    height: 382px;
    min-height: 382px;
  }

  .hero-media {
    background-position: 38% center;
  }

  .hero-content {
    padding: 42px 0 38px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-copy,
  .hero-actions {
    display: none;
  }

  .shop-band,
  .custom-band,
  .order-band,
  .business-band {
    padding: 72px 20px;
  }

  .catalog-sections,
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .catalog-section-photo,
  .product-image {
    min-height: 280px;
  }

  .shop-band .section-head h2,
  .home-link-inner h2,
  .business-inner h2,
  .custom-copy h2,
  .order-copy h2 {
    font-size: 3rem;
  }
}

/* Final Rubi viewport and catalog cascade */
:root {
  --viewport-height: 100svh;
}

@supports (height: 100dvh) {
  :root {
    --viewport-height: 100dvh;
  }
}

.topbar:not(.checkout-topbar) {
  position: absolute;
  background: transparent;
  color: #ffffff;
}

.hero {
  height: var(--viewport-height);
  min-height: var(--viewport-height);
  max-height: none;
}

.hero-media {
  background-position: center;
}

.hero-content {
  min-height: var(--viewport-height);
  padding: 104px 0 58px;
}

.hero h1 {
  max-width: 1040px;
  font-size: 7.7rem;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.hero-copy,
.hero-actions {
  display: none;
}

.shop-band {
  padding: 124px 0 148px;
}

.shop-band .section-head {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.rubi-catalog-layout {
  display: grid;
  grid-template-columns: 25.25% 74.75%;
  align-items: start;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}

.catalog-sidebar {
  position: sticky;
  top: 116px;
  align-self: start;
}

.catalog-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  width: 100%;
  margin: 0;
  padding: 18px clamp(18px, 3vw, 54px) 0 clamp(24px, 5vw, 72px);
}

.catalog-section-card,
.catalog-section-card.reverse,
.catalog-section-card.catalog-section-all {
  display: block;
  min-height: 0;
  border: 0;
  padding: 0;
  color: #050505;
  text-align: left;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.catalog-section-card:hover,
.catalog-section-card:focus-visible,
.catalog-section-card.active {
  transform: none;
  box-shadow: none;
  outline: none;
}

.catalog-section-content {
  display: grid;
  gap: 15px;
  max-width: none;
  margin: 0;
  padding: 0;
  place-content: initial;
}

.catalog-section-title {
  color: #050505;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.78rem, 2.35vw, 2.52rem);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.catalog-section-card.active .catalog-section-title,
.catalog-section-card:hover .catalog-section-title,
.catalog-section-card:focus-visible .catalog-section-title {
  font-style: italic;
}

.catalog-section-kicker {
  color: #a99255;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.catalog-section-copy {
  display: grid;
  gap: 9px;
  color: #050505;
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.catalog-section-copy span {
  display: block;
}

.catalog-section-action,
.catalog-section-photo {
  display: none;
}

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

.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 30px 0;
  width: 100%;
}

.product-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.product-image {
  width: calc(100% - 32px);
  height: auto;
  min-height: 0;
  margin-inline: auto;
  aspect-ratio: 254 / 296;
  border-radius: 0;
  background-color: #ffffff;
  background-position: var(--focus, center);
  background-repeat: no-repeat;
  background-size: contain;
}

.shop-band .product-badge,
.shop-band .product-body p,
.shop-band .product-card-footer {
  display: none;
}

.product-card-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  min-height: 18px;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.product-card-actions button,
.product-card-actions a {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 3px;
  color: #050505;
  background: transparent;
  font-family: "Jost", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}

.product-card-actions button:hover,
.product-card-actions button:focus-visible,
.product-card-actions a:hover,
.product-card-actions a:focus-visible {
  color: #a99255;
  outline: none;
}

.product-body {
  align-items: center;
  gap: 8px;
  padding: 15px 15px 22px;
  text-align: center;
}

.product-meta {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.product-meta h3 {
  max-width: min(100%, 220px);
  color: #050505;
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price,
.product-page-price {
  color: #303030;
  font-size: 0.98rem;
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 6rem;
  }

  .rubi-catalog-layout {
    grid-template-columns: 25.25% 74.75%;
    gap: 0;
  }

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

  .product-image {
    height: auto;
  }
}

@media (max-width: 920px) {
  .topbar:not(.checkout-topbar) {
    position: absolute;
    min-height: 76px;
    background: transparent;
    color: #ffffff;
  }

  .hero {
    height: var(--viewport-height);
    min-height: var(--viewport-height);
  }

  .hero-content {
    min-height: var(--viewport-height);
    padding: 92px 0 46px;
  }

  .hero h1 {
    font-size: 4.8rem;
  }

  .rubi-catalog-layout {
    grid-template-columns: 25.25% 74.75%;
    gap: 0;
  }

  .catalog-sidebar {
    position: sticky;
    top: 92px;
  }

  .catalog-sections {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 18px 18px 0 24px;
  }

  .catalog-section-title {
    font-size: 1.34rem;
  }

  .catalog-section-copy {
    display: grid;
  }
}

@media (max-width: 700px) {
  .shop-band {
    padding: 72px 20px 92px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .rubi-catalog-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .catalog-sidebar {
    position: static;
  }

  .catalog-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 0;
  }

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

  .product-image {
    height: auto;
  }

  .product-card-actions {
    opacity: 1;
    transform: none;
    gap: 12px;
    margin-top: 14px;
  }

  .product-card-actions button,
  .product-card-actions a {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .product-meta h3 {
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 3.35rem;
  }

  .catalog-sections,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 286px;
  }
}

/* Mobile menu account actions */
.mobile-menu-auth {
  display: none;
}

@media (max-width: 920px) {
  .top-actions .site-menu-toggle {
    display: grid;
    flex: 0 0 auto;
  }

  .topbar.site-menu-open .mobile-menu-auth {
    display: grid;
    gap: 8px;
    margin-top: 6px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

  .mobile-menu-action {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 0;
    padding: 8px 0 4px;
    color: var(--ink);
    background: transparent;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-menu-action:hover,
  .mobile-menu-action:focus-visible {
    color: var(--white);
    background: var(--pine);
    box-shadow: none;
  }

  .mobile-menu-action i {
    font-size: 0.95rem;
  }
}

@media (max-width: 620px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .top-actions {
    gap: 8px;
    max-width: none;
  }

  .top-actions .site-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .topbar.site-menu-open .mobile-menu-auth .logout-button:not([hidden]) {
    display: inline-flex !important;
  }
}

/* Preloader */
body.preloader-active {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 9vh 24px max(34px, env(safe-area-inset-bottom));
  color: #050505;
  background: #e9e5d7;
  opacity: 1;
  transition: opacity 300ms var(--motion-ease, ease), visibility 300ms var(--motion-ease, ease);
}

.site-preloader.is-complete {
  opacity: 0;
  visibility: hidden;
}

.site-preloader-logo {
  display: grid;
  justify-items: center;
}

.site-preloader-word,
.site-preloader-percent {
  font-family: "Jost", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-preloader-word {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: transparent;
  font-size: clamp(1.8rem, 7vw, 4rem);
  line-height: 1;
}

.site-preloader-word::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: #050505;
  clip-path: inset(0 100% 0 0);
  animation: preloaderWordMask 1800ms var(--motion-ease, ease) forwards;
}

.site-preloader-percent {
  align-self: end;
  font-size: clamp(0.86rem, 2.6vw, 1rem);
}

@keyframes preloaderWordMask {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* Chat, mobile catalog, and auth refinements */
.live-chat {
  right: auto;
  left: 18px;
  bottom: 18px;
}

.live-chat-button {
  width: 58px;
  min-width: 58px;
  height: 58px;
  min-height: 58px;
  border-radius: 50%;
  padding: 0;
}

.live-chat-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.live-chat-panel {
  right: auto;
  left: 0;
  border-right: 1px solid var(--line);
  border-left: 0;
  box-shadow: 20px 0 60px rgba(22, 26, 29, 0.18);
  transform: translateX(-104%);
}

.live-chat.open .live-chat-panel {
  transform: translateX(0);
}

.live-chat-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
}

@media (max-width: 780px) {
  .live-chat {
    right: auto;
    left: 12px;
    bottom: 12px;
  }

  .live-chat-button {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    border-radius: 50%;
  }

  .live-chat-panel {
    width: 100vw;
    padding-top: max(16px, env(safe-area-inset-top));
  }

  .live-chat-head {
    align-items: flex-start;
    gap: 10px;
  }

  .live-chat-brand {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    max-width: calc(100vw - 76px);
    align-items: start;
  }

  .live-chat-brand .eyebrow {
    order: 1;
    margin: 0;
  }

  .live-chat-head h2 {
    order: 2;
    max-width: 100%;
    font-size: 1.72rem;
    line-height: 1;
  }
}

@media (max-width: 700px) {
  .catalog-grid .product-image,
  .category-catalog .product-image {
    background-position: center center !important;
    background-size: contain;
  }
}

@media (max-width: 620px) {
  .topbar.site-menu-open .mobile-menu-auth .mobile-menu-action {
    justify-content: flex-start;
    gap: 10px;
  }

  .auth-page {
    padding-right: 0;
    padding-left: 0;
  }

  .auth-page .checkout-hero {
    width: calc(100% - 28px);
  }

  .auth-page .auth-layout {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .auth-page .auth-form {
    width: 100%;
    max-width: none;
    border-right: 0;
    border-left: 0;
    padding: 22px 16px;
  }

  .site-footer {
    width: 100%;
    overflow: hidden;
    padding: 48px 18px 34px;
  }

  .site-footer-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
    gap: 28px;
  }

  .site-footer-brand,
  .footer-links {
    min-width: 0;
  }

  .site-footer-brand p,
  .footer-links a,
  .footer-links strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Smooth state transitions */
:root {
  --motion-fast: 150ms;
  --motion-base: 240ms;
  --motion-slow: 420ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

:where(
  a,
  button,
  input,
  select,
  textarea,
  summary,
  label,
  [role="button"],
  [tabindex],
  .button,
  .account-pill,
  .icon-button,
  .site-menu-toggle,
  .mobile-menu-action,
  .nav-links,
  .nav-links a,
  .nav-group,
  .nav-group-button,
  .nav-dropdown,
  .nav-subgroup-button,
  .nav-submenu,
  .product-card,
  .product-image,
  .product-card-actions,
  .catalog-section-card,
  .catalog-section-title,
  .catalog-section-kicker,
  .seo-link-card,
  .checkout-panel,
  .summary-panel,
  .custom-panel,
  .order-form,
  .cart-drawer,
  .cart-item,
  .scrim,
  .choice-pill,
  .option-tile,
  .thumbnail,
  .thumbnail-image,
  .upload-box,
  .file-thumb,
  .review-card,
  .order-card,
  .admin-product-tile,
  .live-chat-button,
  .live-chat-panel,
  .live-chat-message
) {
  transition-duration: var(--motion-base);
  transition-property: background-color, border-color, box-shadow, color, opacity, filter, transform, visibility;
  transition-timing-function: var(--motion-ease);
}

:where(input, select, textarea) {
  transition-duration: var(--motion-fast);
}

:where(.cart-drawer, .live-chat-panel, .nav-dropdown, .nav-submenu, .scrim) {
  transition-duration: var(--motion-slow);
  transition-timing-function: var(--motion-ease-soft);
}

:where(a, button, .button, .account-pill, .icon-button, .site-menu-toggle, .choice-pill, .option-tile, .thumbnail):active {
  transform: translateY(1px);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

:where(.product-card, .catalog-section-card, .seo-link-card, .order-card, .review-card, .admin-product-tile):hover,
:where(.product-card, .catalog-section-card, .seo-link-card, .order-card, .review-card, .admin-product-tile):focus-within {
  transition-duration: var(--motion-base);
}

.blog-page-body {
  background: #ffffff;
  color: #353535;
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.35;
}

.blog-page-body .blog-topbar {
  position: sticky;
  top: 0;
  min-height: 70px;
  padding: 18px clamp(24px, 6.8vw, 44px);
  border: 0;
  background: #ffffff;
  color: #050505;
  box-shadow: none;
}

.blog-page-body .brand {
  font-size: 1.56rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.blog-page-body .nav-links a {
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.23em;
}

.blog-page-body .account-pill,
.blog-page-body .icon-button,
.blog-page-body .site-menu-toggle {
  color: #050505;
}

.blog-page-body .top-actions > .account-pill {
  display: none;
}

.blog-single-page {
  width: min(1300px, calc(100% - 80px));
  margin: 0 auto;
  padding: 96px 0 120px;
  min-height: 100vh;
  background: #ffffff;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(270px, 31.6%) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.blog-content-section {
  grid-column: 2;
  min-width: 0;
}

.blog-sidebar-section {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.blog-single {
  min-width: 0;
}

.blog-article {
  width: 100%;
  margin: 0;
  padding: 0;
}

.blog-gallery {
  position: relative;
  aspect-ratio: 1300 / 1683;
  width: 100%;
  overflow: hidden;
  background: #ecebe6;
}

.blog-gallery-track,
.blog-gallery-slide {
  position: absolute;
  inset: 0;
}

.blog-gallery-slide {
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.blog-gallery-slide.is-active {
  opacity: 1;
}

.blog-gallery img,
.blog-image-pair img,
.blog-image-single img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.blog-gallery img {
  filter: none;
}

.blog-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.blog-gallery-prev {
  left: 22px;
}

.blog-gallery-next {
  right: 22px;
}

.blog-gallery-arrow::before,
.blog-gallery-arrow::after {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 1px;
  background: #050505;
  content: "";
  transform-origin: left center;
}

.blog-gallery-prev::before,
.blog-gallery-prev::after {
  left: 12px;
}

.blog-gallery-prev::before {
  transform: rotate(-45deg);
}

.blog-gallery-prev::after {
  transform: rotate(45deg);
}

.blog-gallery-next::before,
.blog-gallery-next::after {
  right: 12px;
  transform-origin: right center;
}

.blog-gallery-next::before {
  transform: rotate(45deg);
}

.blog-gallery-next::after {
  transform: rotate(-45deg);
}

.blog-gallery-status {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #050505;
  background: rgba(255, 255, 255, 0.76);
  padding: 7px 10px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 34px 0 17px;
  color: #050505;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.48em;
  line-height: 1;
  text-transform: uppercase;
}

.blog-title,
.blog-content h2,
.blog-content h3,
.blog-author h4,
.blog-comments h4,
.blog-reply h4 {
  margin: 0;
  color: #050505;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-title {
  max-width: 620px;
  margin-bottom: 37px;
  font-size: 50px;
  line-height: 44px;
}

.blog-content {
  display: grid;
  gap: 30px;
}

.blog-content p,
.blog-author p,
.blog-comment p,
.blog-reply p {
  margin: 0;
  color: #353535;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}

.blog-content h2 {
  margin-top: 20px;
  font-size: 45px;
  line-height: 45px;
}

.blog-content h3 {
  margin-top: 12px;
  font-size: 40px;
  line-height: 40px;
}

.blog-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: -6px 0 2px;
}

.blog-image-pair figure {
  aspect-ratio: 741 / 1024;
  margin: 0;
  overflow: hidden;
  background: #e9e5d7;
}

.blog-image-single {
  aspect-ratio: 16 / 11;
  margin: -6px 0 2px;
  overflow: hidden;
  background: #e9e5d7;
}

.blog-divider {
  width: 100%;
  height: 1px;
  margin: 4px 0;
  background: #050505;
  opacity: 0.22;
}

.blog-divider.blog-block-style-large {
  height: 2px;
  opacity: 0.32;
}

.blog-divider.blog-block-style-quote,
.blog-divider.blog-block-style-accent {
  width: min(180px, 100%);
  margin-inline: auto;
  background: #b59b52;
  opacity: 1;
}

.blog-content p.blog-block-style-large {
  color: #050505;
  font-size: 1.18rem;
  line-height: 1.42;
}

.blog-content .blog-block-style-quote {
  border-left: 1px solid #050505;
  padding-left: 24px;
  color: #050505;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.42rem;
  line-height: 1.18;
}

.blog-content .blog-block-style-accent {
  padding: 28px 30px;
  background: #e9e5d7;
}

.blog-rich-html {
  display: grid;
  gap: 28px;
}

.blog-rich-html .blog-guide-intro,
.blog-rich-html .toc,
.blog-rich-html .callout,
.blog-rich-html .card {
  border: 1px solid #d8d6ca;
  background: #ffffff;
}

.blog-rich-html .blog-guide-intro {
  display: grid;
  gap: 16px;
  padding: 28px 30px;
  border-left: 4px solid #b59b52;
}

.blog-rich-html .blog-guide-eyebrow,
.blog-rich-html .section-label,
.blog-rich-html .blog-guide-meta,
.blog-rich-html .toc a,
.blog-rich-html .blog-guide-source-note {
  color: #6f665b;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blog-rich-html .blog-guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 2px;
}

.blog-rich-html .toc {
  display: grid;
  gap: 14px;
  padding: 26px 30px;
  border-left: 4px solid #b59b52;
}

.blog-rich-html .toc h2,
.blog-rich-html h4,
.blog-rich-html .faq-q {
  margin: 0;
  color: #050505;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-rich-html .toc ol,
.blog-rich-html ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.blog-rich-html .section {
  display: grid;
  gap: 17px;
}

.blog-rich-html .section-title {
  margin: 0;
}

.blog-rich-html .sub-title {
  margin: 10px 0 0;
}

.blog-rich-html blockquote {
  margin: 12px 0 0;
  border-left: 1px solid #050505;
  padding: 4px 0 4px 24px;
  color: #050505;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.42rem;
  font-style: italic;
  line-height: 1.2;
}

.blog-rich-html .blog-import-divider {
  display: grid;
  place-items: center;
  height: 1px;
  background: rgba(5, 5, 5, 0.18);
}

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

.blog-rich-html .card {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.blog-rich-html .warning-card {
  border-left: 4px solid #b85c5c;
}

.blog-rich-html .card-icon {
  display: none;
}

.blog-rich-html .card p,
.blog-rich-html .step-content p,
.blog-rich-html .faq-a {
  color: #6f665b;
  font-size: 0.94rem;
}

.blog-rich-html .table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d8d6ca;
  background: #ffffff;
}

.blog-rich-html table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #353535;
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 0.92rem;
}

.blog-rich-html thead {
  background: #050505;
  color: #ffffff;
}

.blog-rich-html th,
.blog-rich-html td {
  border-bottom: 1px solid #d8d6ca;
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
}

.blog-rich-html tbody tr:nth-child(even) td {
  background: #f7f4ed;
}

.blog-rich-html .callout {
  display: grid;
  gap: 8px;
  padding: 22px 26px;
  border-left: 4px solid #6b8c6e;
}

.blog-rich-html .callout strong {
  color: #4f7654;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.blog-rich-html .callout.warn {
  border-left-color: #b85c5c;
}

.blog-rich-html .callout.warn strong {
  color: #b85c5c;
}

.blog-rich-html .stabilizer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.blog-rich-html .stabilizer-card,
.blog-rich-html .brand-card {
  border: 1px solid #d8d6ca;
  background: #ffffff;
}

.blog-rich-html .stabilizer-header {
  margin: 0;
  border-bottom: 2px solid #b59b52;
  padding: 15px 18px;
  color: #050505;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-rich-html .stabilizer-header.cutaway {
  border-bottom-color: #6b8c6e;
  background: #eef5ef;
  color: #4f7654;
}

.blog-rich-html .stabilizer-header.tearaway {
  background: #f7f4ed;
  color: #8a6d2f;
}

.blog-rich-html .stabilizer-header.watersoluble {
  border-bottom-color: #6f879e;
  background: #edf2f5;
  color: #405d76;
}

.blog-rich-html .stabilizer-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.blog-rich-html .stabilizer-body p,
.blog-rich-html .stabilizer-body ul {
  margin: 0;
}

.blog-rich-html .brand-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
}

.blog-rich-html .brand-info {
  display: grid;
  gap: 6px;
}

.blog-rich-html .brand-info h4 {
  margin: 0;
}

.blog-rich-html .brand-info p,
.blog-rich-html .brand-price {
  margin: 0;
}

.blog-rich-html .brand-price {
  color: #6f665b;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.blog-rich-html .steps {
  display: grid;
  gap: 20px;
}

.blog-rich-html .step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
}

.blog-rich-html .step-num {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #b59b52;
  border-radius: 999px;
  color: #b59b52;
  font-size: 0;
}

.blog-rich-html .step:nth-child(1) .step-num::before {
  content: "1";
}

.blog-rich-html .step:nth-child(2) .step-num::before {
  content: "2";
}

.blog-rich-html .step:nth-child(3) .step-num::before {
  content: "3";
}

.blog-rich-html .step:nth-child(4) .step-num::before {
  content: "4";
}

.blog-rich-html .step:nth-child(5) .step-num::before {
  content: "5";
}

.blog-rich-html .step:nth-child(6) .step-num::before {
  content: "6";
}

.blog-rich-html .step-num::before {
  font-size: 0.9rem;
}

.blog-rich-html .faq-item {
  display: grid;
  border: 1px solid #d8d6ca;
  gap: 14px;
  padding: 28px 30px;
  background: #ffffff;
}

.blog-rich-html .blog-guide-source-note {
  margin-top: -8px;
}

.blog-image-single.blog-block-style-wide,
.blog-image-pair.blog-block-style-wide {
  width: min(100%, 760px);
}

.blog-image-single.blog-block-style-inset,
.blog-image-pair.blog-block-style-inset {
  width: min(78%, 560px);
  margin-right: auto;
  margin-left: auto;
}

.blog-post-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 8px;
  color: #050505;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.blog-tags,
.blog-share {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}

.blog-tags {
  gap: 8px;
}

.blog-share {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-share a,
.blog-author-links a,
.blog-reply-link,
.blog-post-nav-card span {
  box-shadow: inset 0 -1px 0 currentColor;
}

.blog-tags span {
  display: none;
}

.blog-tags a,
.blog-sidebar-tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid #050505;
  padding: 0 14px;
  color: #050505;
  background: #ffffff;
  box-shadow: none;
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.blog-tags a:hover,
.blog-tags a:focus-visible,
.blog-sidebar-tags a:hover,
.blog-sidebar-tags a:focus-visible {
  background: #050505;
  color: #ffffff;
}

.blog-author {
  display: grid;
  grid-template-columns: 143px minmax(0, 1fr);
  gap: 28px;
  margin-top: 76px;
  padding-top: 6px;
}

.blog-author-photo,
.blog-comment-avatar {
  display: block;
  background-image: url("/assets/embroidered-collection.png");
  background-position: 22% 50%;
  background-size: cover;
  filter: none;
}

.blog-author-photo {
  width: 143px;
  height: 150px;
}

.blog-author h4,
.blog-comments h4,
.blog-reply h4 {
  margin-bottom: 10px;
  font-size: 35px;
  line-height: 35.875px;
}

.blog-author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  color: #050505;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.blog-comments,
.blog-reply {
  margin-top: 74px;
}

.blog-comment-list,
.blog-comment-list ol {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-comment-list ol {
  margin-top: 32px;
  padding-left: 26px;
}

.blog-comment > ol {
  grid-column: 2;
  min-width: 0;
}

.blog-comment {
  display: grid;
  grid-template-columns: 77px minmax(0, 1fr);
  gap: 26px;
}

.blog-comment-avatar {
  width: 77px;
  height: 77px;
  background-position: 38% 52%;
}

.blog-comment-avatar.alt {
  background-position: 50% 52%;
}

.blog-comment-body {
  position: relative;
  min-width: 0;
  padding-right: 74px;
}

.blog-comment-body p {
  overflow-wrap: anywhere;
}

.blog-comment h6 {
  margin: 0 0 8px;
  color: #050505;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}

.blog-reply-link {
  position: absolute;
  top: 2px;
  right: 0;
  border: 0;
  padding: 0;
  color: #050505;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.blog-reply-form {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.blog-reply-target {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: #050505;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blog-reply-target[hidden] {
  display: none;
}

.blog-reply-target button {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

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

.blog-reply-form textarea,
.blog-reply-form input:not([type="checkbox"]) {
  width: 100%;
  border: 1px solid #d8d6ca;
  padding: 17px 18px;
  background: #ffffff;
  color: #353535;
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 1rem;
}

.blog-reply-form textarea::placeholder,
.blog-reply-form input::placeholder {
  color: #898989;
  opacity: 1;
}

.blog-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 14px;
  color: #353535;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.blog-submit {
  width: 202px;
  min-height: 54px;
  border: 1px solid #050505;
  background: #ffffff;
  color: #050505;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}

.blog-submit:hover,
.blog-submit:focus-visible {
  background: #050505;
  color: #ffffff;
}

.blog-submit:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.blog-sidebar {
  display: block;
  color: #050505;
}

.blog-sidebar-widget {
  display: grid;
  gap: 17px;
  margin: 0 0 42px;
}

.blog-sidebar-widget h5 {
  margin: 0 0 1px;
  color: #050505;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 300;
  line-height: 31px;
  text-transform: uppercase;
}

.blog-sidebar-hero {
  margin-bottom: 54px;
}

.blog-sidebar-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 850 / 813;
  object-fit: cover;
}

.blog-sidebar-nav ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-sidebar-nav a,
.blog-sidebar-social a,
.blog-sidebar-search input {
  color: #353535;
  font-family: "Yantramanav", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
}

.blog-sidebar-tags .tagcloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.blog-sidebar-tags a {
  width: 100%;
  min-width: 0;
}

.blog-sidebar-tags .tag-small {
  font-size: 0.72rem;
}

.blog-sidebar-tags .tag-medium {
  font-size: 0.72rem;
}

.blog-sidebar-tags .tag-large {
  font-size: 0.72rem;
}

.blog-sidebar-social {
  gap: 7px;
}

.blog-sidebar-gallery {
  margin-top: 8px;
}

.blog-sidebar-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.blog-sidebar-gallery-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e9e5d7;
}

.blog-sidebar-gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-sidebar-search {
  margin-top: 21px;
}

.blog-sidebar-search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  border-bottom: 1px solid #050505;
  padding-bottom: 8px;
}

.blog-sidebar-search input {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

.blog-sidebar-search input::placeholder {
  color: #353535;
  opacity: 1;
}

.blog-sidebar-search button {
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  color: #050505;
  background: transparent;
  cursor: pointer;
}

.blog-form-status {
  min-height: 20px;
  color: #050505;
  font-size: 0.9rem;
}

.blog-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 120px;
}

.blog-post-nav-card {
  display: grid;
  grid-template-columns: 133px auto;
  gap: 18px;
  align-items: center;
  color: #050505;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.blog-post-nav-card.next {
  grid-template-columns: auto 133px;
  justify-content: end;
  text-align: right;
}

.blog-post-nav-thumb {
  display: block;
  width: 133px;
  height: 133px;
  background: #e9e5d7 url("/assets/embroidered-collection.png") 21% 50% / cover;
  opacity: 0.5;
}

.blog-post-nav-card.next .blog-post-nav-thumb {
  background-position: 48% 50%;
}

.blog-post-nav-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.38;
  pointer-events: none;
}

.blog-post-nav-card.is-disabled span {
  box-shadow: none;
}

.blog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 52px;
  background: rgba(5, 5, 5, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.blog-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.blog-lightbox img {
  display: block;
  max-width: min(100%, 1180px);
  max-height: calc(100vh - 104px);
  object-fit: contain;
  cursor: zoom-out;
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.34);
}

.blog-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.blog-lightbox-close::before,
.blog-lightbox-close::after {
  position: absolute;
  top: 21px;
  left: 11px;
  width: 20px;
  height: 1px;
  background: #ffffff;
  content: "";
}

.blog-lightbox-close::before {
  transform: rotate(45deg);
}

.blog-lightbox-close::after {
  transform: rotate(-45deg);
}

.blog-lightbox-open {
  overflow: hidden;
}

.blog-back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 68;
  width: 40px;
  height: 40px;
  border: 0;
  background: #b59b52;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.blog-back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.blog-back-top::before {
  position: absolute;
  top: 16px;
  left: 14px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  content: "";
  transform: rotate(45deg);
}

@media (max-width: 1024px) {
  .blog-single-page {
    width: calc(100% - 64px);
    padding: 72px 0 96px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .blog-content-section,
  .blog-sidebar-section {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .blog-page-body .blog-topbar {
    min-height: 70px;
    padding: 17px 40px 17px 44px;
  }

  .blog-page-body .brand {
    font-size: 1.5rem;
  }

  .blog-single-page {
    width: calc(100% - 48px);
    padding: 58px 0 78px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .blog-content-section,
  .blog-sidebar-section {
    grid-column: 1;
    grid-row: auto;
  }

  .blog-article {
    width: 100%;
    padding-bottom: 0;
  }

  .blog-post-meta {
    gap: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.45em;
  }

  .blog-image-pair,
  .blog-post-nav,
  .blog-rich-html .card-grid,
  .blog-rich-html .stabilizer-grid,
  .blog-rich-html .brand-card {
    grid-template-columns: 1fr;
  }

  .blog-rich-html .brand-price {
    text-align: left;
  }

  .blog-image-single.blog-block-style-inset,
  .blog-image-pair.blog-block-style-inset {
    width: 100%;
  }

  .blog-post-nav-card.next {
    grid-template-columns: 133px auto;
    justify-content: start;
    text-align: left;
  }

  .blog-post-nav-card.next .blog-post-nav-thumb {
    grid-column: 1;
    grid-row: 1;
  }

  .blog-author {
    grid-template-columns: 1fr;
  }

  .blog-comment-list ol {
    padding-left: 0;
  }

  .blog-comment > ol {
    grid-column: 2;
  }

  .blog-comment {
    grid-template-columns: 77px minmax(0, 1fr);
  }

  .blog-post-footer {
    display: grid;
  }

  .blog-rich-html .blog-guide-intro,
  .blog-rich-html .toc,
  .blog-rich-html .callout,
  .blog-rich-html .card {
    padding: 22px;
  }

  .blog-sidebar-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .blog-page-body .blog-topbar {
    padding-inline: 22px;
  }

  .blog-single-page {
    width: calc(100% - 36px);
    padding-top: 42px;
  }

  .blog-article {
    width: 100%;
  }

  .blog-reply-grid {
    grid-template-columns: 1fr;
  }

  .blog-gallery-prev {
    left: 10px;
  }

  .blog-gallery-next {
    right: 10px;
  }

  .blog-comment {
    grid-template-columns: 1fr;
  }

  .blog-comment > ol {
    grid-column: 1 / -1;
  }

  .blog-comment-body {
    padding-right: 0;
  }

  .blog-reply-link {
    position: static;
    margin-bottom: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
