:root {
  --burgundy: #7a1428;
  --burgundy-dark: #5c0f1e;
  --ink: #14110f;
  --text: #2a2624;
  --muted: #6b6560;
  --bg: #f4f1ee;
  --surface: #ffffff;
  --tile-bg: #ece8e4;
  --line: rgba(20, 17, 15, 0.08);
  --error: #b32d2e;
  --shadow: 0 18px 40px rgba(20, 17, 15, 0.08);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

a {
  color: var(--burgundy);
  text-decoration: none;
}

a:hover {
  color: var(--burgundy-dark);
}

.wrap {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.impersonation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--burgundy);
  color: #fff;
  padding: 0.7rem 1.25rem;
}

.impersonation-bar p {
  margin: 0;
}

.impersonation-bar button {
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  color: var(--burgundy);
  border: 0;
  box-shadow: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.topbar-inner {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar a {
  color: inherit;
}

.topbar a:hover {
  color: #fff;
}

.store-header {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.header-bar {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1.75rem;
  min-height: 4.5rem;
}

.logo img {
  display: block;
  height: 42px;
  width: auto;
}

.header-links,
.header-actions {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
}

.header-actions {
  align-items: center;
}

.nav-link {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--burgundy);
}

.header-logout {
  display: flex;
  align-items: center;
  margin: 0;
}

.header-actions button.nav-link,
.header-logout button {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-width: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0;
  min-width: 0;
  color: var(--ink) !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: inherit;
}

.header-actions button.nav-link:hover,
.header-logout button:hover {
  color: var(--burgundy) !important;
  background: transparent !important;
}

.nav-item {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.shop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.65rem;
  z-index: 30;
}

.shop-menu-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 240px;
  padding: 0.55rem;
  box-shadow: var(--shadow);
  max-height: 70vh;
  overflow: auto;
}

.shop-menu a {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--ink);
  font-size: 0.9rem;
  border-radius: 8px;
}

.shop-menu a:hover {
  background: var(--bg);
  color: var(--burgundy);
}

.has-menu:hover .shop-menu,
.has-menu:focus-within .shop-menu {
  display: block;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 520px;
  width: 100%;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.15rem 0.9rem;
}

.header-search:focus-within {
  border-color: rgba(122, 20, 40, 0.28);
  background: var(--surface);
}

.header-search svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}

.header-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.7rem 0;
  font: inherit;
  min-width: 0;
}

.header-search input:focus {
  outline: none;
}

.cart-btn,
a.cart-btn,
a.cart-btn:link,
a.cart-btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ink);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.cart-btn svg {
  width: 18px;
  height: 18px;
}

.cart-btn:hover {
  background: var(--burgundy);
  color: #fff;
}

.cart-badge {
  background: var(--burgundy);
  color: #fff;
  border-radius: 999px;
  min-width: 1.15rem;
  height: 1.15rem;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
}

.site-main {
  flex: 1;
  padding: 0 0 4.5rem;
}

.hero-video {
  position: relative;
  min-height: min(68vh, 640px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
}

.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-video h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
}

.hero-copy {
  max-width: 38rem;
  font-size: 1.1rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero-sound {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-sound:hover {
  background: #fff;
}

.hero-sound svg {
  width: 20px;
  height: 20px;
}

.hero-sound .icon-on {
  display: none;
}

.hero-sound.is-on .icon-on {
  display: block;
}

.hero-sound.is-on .icon-muted {
  display: none;
}

.section-head,
.page-head {
  margin-bottom: 1.75rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.shop-toolbar input[type="search"] {
  flex: 1;
  min-width: 12rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--bg);
}

.shop-intro {
  margin: 0 0 1rem;
}

.section-head h2,
.page-head h1,
.store-page h1,
.empty-state h1 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.dept-section {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.dept-tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tile-bg);
  color: inherit;
  box-shadow: 0 10px 28px rgba(20, 17, 15, 0.16);
}

.dept-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.dept-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 0.8rem 0.85rem;
  background: linear-gradient(transparent, rgba(16, 12, 11, 0.78));
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}

.dept-tile:hover {
  color: inherit;
}

.dept-tile:hover img {
  transform: scale(1.06);
}

.store-page {
  padding-top: 2.5rem;
}

.store-page h1 {
  text-align: left;
}

.crumbs {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0 0 1.25rem;
}

.crumbs span {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-image {
  background: var(--tile-bg);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.product-image img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.product-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.product-card h2 {
  font-size: 0.98rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.sku {
  color: var(--muted);
  font-size: 0.75rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0.45rem 0 0.8rem;
  color: var(--ink);
}

.muted {
  color: var(--muted);
  margin: 0;
}

.btn,
a.btn,
a.btn:link,
a.btn:visited,
button.btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff !important;
  padding: 0.7rem 1.15rem;
  border: 0;
  box-shadow: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  margin-top: auto;
  text-decoration: none;
}

.btn:hover,
a.btn:hover,
a.btn:focus {
  background: var(--burgundy);
  color: #fff !important;
}

.btn-secondary,
a.btn-secondary,
a.btn-secondary:link,
a.btn-secondary:visited,
button.btn-secondary {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}

.btn-secondary:hover,
a.btn-secondary:hover,
a.btn-secondary:focus,
button.btn-secondary:hover,
button.btn-secondary:focus {
  background: var(--bg);
  color: var(--ink) !important;
}

.btn-danger {
  background: var(--error);
  color: #fff;
}

.btn-danger:hover {
  background: #8e2425;
  color: #fff;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  align-items: center;
}

.panel,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.25rem;
}

.panel.wrap,
.form-card.wrap {
  margin-top: 2.25rem;
}

.empty-state {
  max-width: 36rem;
  margin: 2rem auto 0;
  text-align: center;
}

.form-card {
  max-width: 28rem;
  margin: 1rem auto 0;
}

.form-card form p {
  margin: 0 0 1rem;
}

.form-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-control,
.form-card input[type="email"],
.form-card input[type="password"],
.form-card input[type="text"],
.form-card input[type="search"],
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--bg);
}

.staff-2fa-resend {
  margin-top: 1rem;
}

.errorlist {
  color: var(--error);
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.messages {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.messages li {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #e8f1ea;
}

.messages li.error {
  background: #fbeaea;
  color: var(--error);
}

.dl-grid {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.55rem 1rem;
}

.logout-form {
  display: inline;
  margin: 0;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
  font-size: 0.92rem;
}

.footer-inner {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.site-footer a {
  color: #fff;
}

.content-page {
  padding: 2.5rem 0 4rem;
}

.content-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.content-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.content-page .lede,
.content-page > p,
.content-page li {
  max-width: 46rem;
}

.content-page ol,
.content-list {
  max-width: 46rem;
  padding-left: 1.25rem;
}

.content-page li + li {
  margin-top: 0.35rem;
}

.footer-social {
  margin: 0.85rem 0 0;
}

.content-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin: 0 0 0.75rem;
}

.content-card p {
  margin: 0 0 0.5rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .content-cards {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.muted-footer {
  max-width: 18rem;
  margin: 0;
}

.made-in-usa {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.made-in-usa img {
  height: 14px;
  width: auto;
}

.tracker-page {
  --tracker-line: var(--ink);
  --tracker-lip: var(--burgundy-dark);
  --tracker-active: var(--burgundy);
  background: var(--bg);
  padding: 3.25rem 0 5rem;
  min-height: 28rem;
}

.poc-note {
  margin: 0 0 2rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.order-tracker {
  --tracker-line: var(--ink);
  --tracker-lip: var(--burgundy-dark);
  --tracker-active: var(--burgundy);
  list-style: none;
  display: flex;
  align-items: stretch;
  margin: 0 0 2.5rem;
  padding: 0;
  height: 6.1rem;
  border: 5px solid var(--tracker-line);
  border-radius: 999px;
  background: var(--tracker-line);
  box-shadow: 0 14px 32px rgba(20, 17, 15, 0.12);
}

.order-tracker li {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  z-index: 1;
}

.order-tracker li:first-child {
  border-radius: 999px 0 0 999px;
}

.order-tracker li:last-child {
  border-radius: 0 999px 999px 0;
}

.order-tracker li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -8px;
  bottom: -8px;
  right: -18px;
  width: 36px;
  background: inherit;
  transform: skewX(-18deg);
  z-index: 2;
  box-shadow: 4px 0 0 var(--tracker-line);
  pointer-events: none;
}

.order-tracker li.done {
  background: #efe4e6;
}

.order-tracker li.done:nth-child(even) {
  background: #d4a8b0;
}

.order-tracker li.todo {
  background: #fff;
}

.order-tracker li.current {
  z-index: 4;
  flex: 1.18 1 0;
  margin: -0.7rem 0.15rem -0.95rem;
  border-radius: 1.35rem;
  background: var(--tracker-active);
  color: #fff;
  box-shadow:
    0 0.85rem 0 var(--tracker-lip),
    0 1.15rem 1.4rem rgba(122, 20, 40, 0.22);
}

.order-tracker li.current::after,
.order-tracker li:has(+ .current)::after {
  display: none;
}

.order-tracker li.current:first-child {
  margin-left: -5px;
}

.order-tracker li.current:last-child {
  margin-right: -5px;
}

.order-tracker a {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.35rem 0.9rem 0.2rem;
  color: inherit;
  text-align: center;
}

.order-tracker a:hover {
  color: inherit;
}

.order-tracker .step-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.35rem 0.9rem 0.2rem;
  text-align: center;
}

.order-tracker.is-compact {
  height: 4.4rem;
  margin: 0.85rem 0 0;
  border-width: 4px;
}

.order-tracker.is-compact .step-num {
  font-size: 1.15rem;
}

.order-tracker.is-compact .step-name {
  font-size: 0.62rem;
}

.order-tracker.is-compact li.current {
  margin: -0.35rem 0.1rem -0.5rem;
}

.step-num {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step-name {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tracker-page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.tracker-page .muted code {
  font-size: 0.88em;
}

.history-page {
  padding: 1.75rem 0 3rem;
}

.history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.history-head h1 {
  margin: 0;
  font-size: 2rem;
}

.history-csv,
.history-btn,
a.history-csv,
a.history-csv:link,
a.history-csv:visited,
a.history-btn,
a.history-btn:link,
a.history-btn:visited {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--burgundy);
  color: #fff !important;
  border: 0;
  box-shadow: none;
  border-radius: 6px;
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.history-csv:hover,
.history-btn:hover {
  background: var(--burgundy-dark);
  color: #fff;
}

.history-btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.history-btn-light:hover {
  background: var(--bg);
  color: var(--ink);
}

.history-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  margin-bottom: 1.25rem;
  padding: 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.history-filters label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.history-filters select,
.history-filters input {
  font: inherit;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 8rem;
  background: var(--bg);
  color: var(--text);
}

.history-search input {
  min-width: 16rem;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.1rem;
  margin-bottom: 0.75rem;
}

.history-card:nth-child(even) {
  background: #f7f5f3;
}

.history-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1.4fr) 6.5rem 8.5rem auto;
  gap: 0.85rem;
  align-items: start;
}

.history-id span,
.history-meta span,
.history-ship span,
.history-po {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.history-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.history-thumb {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.35rem 0.5rem;
  background: var(--tile-bg);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
}

.history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.history-docs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history-docs a {
  color: var(--burgundy);
  font-weight: 600;
}

.history-forms {
  margin-top: 0.85rem;
}

.history-form-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.history-form-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 5.5rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--burgundy);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.history-form-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.history-form-icon[aria-expanded="true"] {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

.history-form-embed {
  margin-top: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.history-form-embed-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  background: var(--tile-bg);
  font-size: 0.88rem;
}

.history-form-embed-bar a {
  color: var(--burgundy);
  font-weight: 700;
}

.history-form-embed iframe {
  display: block;
  width: 100%;
  min-height: 70vh;
  border: 0;
  background: #525659;
}

.history-ship details {
  margin-top: 0.25rem;
}

.history-ship summary {
  color: var(--burgundy);
  cursor: pointer;
  font-weight: 600;
}

.history-cancelled,
.history-empty {
  color: var(--muted);
}

.history-back {
  margin: 0 0 0.75rem;
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.history-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th,
.history-table td {
  text-align: left;
  padding: 0.5rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.history-receipt-status {
  margin: 1rem 0 0;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .dept-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dept-grid.category-children .dept-tile {
    flex-basis: calc((100% - 2 * 0.85rem) / 3);
    width: calc((100% - 2 * 0.85rem) / 3);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-bar {
    grid-template-columns: auto 1fr auto;
  }

  .header-links {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .history-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .dept-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dept-grid.category-children .dept-tile {
    flex-basis: calc((100% - 0.85rem) / 2);
    width: calc((100% - 0.85rem) / 2);
  }

  .header-search {
    display: none;
  }

  .header-bar {
    grid-template-columns: auto 1fr;
  }

  .hero-video {
    min-height: 70vh;
  }

  .hero-content {
    padding: 3.5rem 0;
  }

  .order-tracker {
    height: 5.1rem;
  }

  .step-num {
    font-size: 1.35rem;
  }

  .step-name {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .order-tracker li:not(:last-child)::after {
    right: -12px;
    width: 24px;
  }

  .history-row,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .history-search input {
    min-width: 0;
    width: 100%;
  }

  .product-detail,
  .checkout-layout,
  .checkout-addresses,
  .checkout-address-row {
    grid-template-columns: 1fr;
  }
}

a.product-card {
  color: inherit;
  text-decoration: none;
}

.category-children {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.dept-grid.category-children .dept-tile {
  flex: 0 0 calc((100% - 5 * 0.85rem) / 6);
  width: calc((100% - 5 * 0.85rem) / 6);
}

.search-subhead {
  margin: 2rem 0 1rem;
  font-size: 1.15rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.product-detail > * {
  min-width: 0;
}

.product-detail-image {
  background: var(--tile-bg);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.product-detail-image img {
  width: 82%;
  height: 82%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-gallery {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.product-gallery-thumb {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tile-bg);
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.product-gallery-thumb.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}

.product-gallery-thumb:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
}

.product-detail-copy h1 {
  margin: 0.15rem 0 0.5rem;
}

.product-option-groups {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.35rem;
  max-width: 24rem;
}

.product-option-group {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.product-option-group h2 {
  margin: 0;
  font-size: 1.15rem;
}

.product-option-price {
  margin: 0.2rem 0 0.75rem;
  font-weight: 600;
}

.product-option-group .product-cart-form {
  margin-top: 0;
}

.product-cart-form {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.25rem;
  max-width: 22rem;
}

.product-cart-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

.product-cart-form select,
.product-qty {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: var(--bg);
}

.product-qty {
  max-width: 6rem;
}

.product-copy {
  color: var(--ink);
  line-height: 1.55;
}

.product-copy p {
  margin: 0 0 0.85rem;
}

.product-description {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

.checkout-contact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem 1rem;
  margin: 1.15rem 0 0;
}

.checkout-contact legend {
  font-weight: 600;
  padding: 0 0.35rem;
}

.checkout-contact .muted {
  margin: 0.15rem 0 0.35rem;
}

.checkout-form label {
  display: block;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
}

.checkout-form textarea.form-control {
  resize: vertical;
  min-height: 6rem;
}

#paypal-button-container {
  margin-top: 1rem;
  max-width: 24rem;
}

.checkout-paypal-hint,
.checkout-quote-link {
  margin: 1rem 0 0;
  max-width: 24rem;
}

.checkout-shipping {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem 1rem;
  margin: 1.15rem 0 0;
}

.checkout-shipping legend {
  font-weight: 600;
  padding: 0 0.35rem;
}

.checkout-shipping-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
  margin: 0.45rem 0 0;
}

.checkout-shipping-option span {
  flex: 1;
}

.checkout-shipping-option strong {
  font-variant-numeric: tabular-nums;
}

#paypal-messages {
  margin: 1rem 0 0;
}

.checkout-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

.checkout-addresses fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.checkout-addresses legend {
  font-size: 1rem;
  font-weight: 600;
  padding: 0;
  margin: 0 0 0.15rem;
}

.checkout-addresses h2 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.checkout-addresses p {
  margin: 0;
  color: var(--muted);
}

.checkout-addresses label {
  margin-top: 0.55rem;
}

.checkout-same-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  margin: 0.35rem 0 0.65rem;
}

.checkout-address-row {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 0.6rem;
}

.checkout-addresses .form-control:disabled {
  opacity: 0.65;
}

.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.checkout-summary h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.checkout-summary ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checkout-summary li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.cart-actions {
  margin-top: 1.25rem;
}

@media (max-width: 700px) {
  .product-detail,
  .checkout-layout,
  .checkout-addresses,
  .checkout-address-row {
    grid-template-columns: 1fr;
  }
}

.tnd-page {
  padding-bottom: 3rem;
}

.tnd-tabs {
  position: sticky;
  top: 4.5rem;
  z-index: 12;
  margin: 0 0 1.25rem;
}

body.dealer-portal .tnd-tabs {
  top: 0;
}

.tnd-tabs-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.tnd-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: var(--burgundy);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  text-align: center;
}

.tnd-tab:hover,
.tnd-tab:focus {
  background: var(--burgundy-dark);
  color: #fff;
}

.tnd-tab.is-active {
  background: var(--burgundy-dark);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.tnd-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.75rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tnd-intro h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--burgundy);
}

.tnd-intro ul {
  margin: 0 0 1rem 1.15rem;
  padding: 0;
}

.tnd-intro li {
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.tnd-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
  line-height: 1.65;
}

.tnd-intro-note {
  margin-top: 0.75rem !important;
  font-weight: 600;
  color: var(--ink) !important;
}

.tnd-intro-media {
  display: grid;
  place-items: center;
}

.tnd-intro-media img {
  width: 100%;
  max-width: 22rem;
  border-radius: 14px;
  background: var(--tile-bg);
  box-shadow: var(--shadow);
}

.tnd-group {
  margin-bottom: 2.25rem;
  scroll-margin-top: 7.5rem;
}

body.dealer-portal .tnd-group {
  scroll-margin-top: 5.5rem;
}

.tnd-group h3 {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
  color: var(--ink);
}

.tnd-note {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.tnd-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20, 17, 15, 0.05);
}

.tnd-list-head,
.tnd-row {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) minmax(7rem, 1fr) minmax(8rem, 0.9fr);
  align-items: center;
  gap: 1.25rem;
}

.tnd-list.has-options .tnd-list-head,
.tnd-list.has-options .tnd-row {
  grid-template-columns: minmax(0, 2fr) minmax(10rem, 1.3fr) minmax(7rem, 0.9fr) minmax(8rem, 0.9fr);
}

.strut-page .tnd-tabs-bar {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.tnd-select {
  width: 100%;
  max-width: 16rem;
  font: inherit;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}

.tnd-cell-option {
  display: grid;
  gap: 0.4rem;
}

.tnd-list-head {
  padding: 0.8rem 1.15rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tnd-list-head span:nth-child(2),
.tnd-list-head span:nth-child(3),
.tnd-cell-price,
.tnd-cell-qty {
  text-align: center;
}

.tnd-row {
  padding: 0.95rem 1.15rem;
  border-top: 1px solid var(--line);
}

.tnd-family {
  border-top: 1px solid var(--line);
}

.tnd-family-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 0.95rem 1.15rem 0.2rem;
}

.tnd-diameter {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.tnd-family .tnd-row {
  padding-left: calc(1.15rem + 72px + 0.9rem);
  border-top: 1px dashed var(--line);
}

.tnd-family .tnd-row:first-of-type {
  border-top: 0;
}

.tnd-row.is-selected {
  background: #f8f1f3;
  box-shadow: inset 4px 0 0 var(--burgundy);
}

.tnd-cell-product {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.tnd-thumb {
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  max-width: 72px;
  max-height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tile-bg);
  border: 1px solid var(--line);
}

.tnd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tnd-name {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

.tnd-name:hover,
.tnd-name:focus {
  color: var(--burgundy);
}

.tnd-price {
  font-weight: 700;
  color: var(--ink);
}

.tnd-field-label {
  display: none;
}

.tnd-stepper {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  width: 100%;
  max-width: 9.5rem;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.tnd-qty {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  padding: 0.6rem 0.2rem;
  -moz-appearance: textfield;
}

.tnd-qty::-webkit-outer-spin-button,
.tnd-qty::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.tnd-step {
  border: 0;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.tnd-step:hover,
.tnd-step:focus {
  background: #ece8e4;
  color: var(--burgundy);
}

.tnd-options {
  font-weight: 600;
  font-size: 0.9rem;
}

.tnd-actions {
  position: sticky;
  bottom: 0.75rem;
  z-index: 11;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.tnd-actions-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.tnd-actions-summary p {
  margin: 0;
  font-weight: 600;
}

.tnd-actions-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tnd-actions strong {
  font-size: 1.15rem;
  color: var(--ink);
}

.tnd-actions-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.tnd-actions-buttons .btn {
  margin-top: 0;
}

.tnd-add:disabled,
.tnd-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 991px) {
  .tnd-tabs-bar {
    grid-template-columns: 1fr 1fr;
  }

  .tnd-list-head {
    display: none;
  }

  .tnd-row,
  .tnd-list.has-options .tnd-row {
    grid-template-columns: minmax(0, 1fr) 9.5rem;
    gap: 0.75rem 1rem;
  }

  .tnd-family .tnd-row {
    padding-left: 1.15rem;
  }

  .tnd-cell-product,
  .tnd-cell-option {
    grid-column: 1 / -1;
  }

  .tnd-cell-price,
  .tnd-cell-qty {
    text-align: left;
  }

  .tnd-field-label {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .tnd-stepper {
    margin: 0;
    max-width: none;
  }

  .tnd-thumb {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 700px) {
  .tnd-intro {
    grid-template-columns: 1fr;
  }

  .tnd-intro-media {
    order: -1;
  }

  .tnd-row {
    grid-template-columns: 1fr;
  }

  .tnd-actions {
    position: static;
  }

  .tnd-actions-buttons,
  .tnd-add,
  .tnd-checkout {
    width: 100%;
  }
}

body.side-cart-open {
  overflow: hidden;
}

.side-cart-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.side-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 15, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 80;
}

.side-cart.is-open .side-cart-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.side-cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 81;
  display: flex;
  flex-direction: column;
  width: min(350px, 100vw);
  height: 100%;
  background: #fff;
  box-shadow: -12px 0 40px rgba(20, 17, 15, 0.18);
  transform: translateX(100%);
  transition: transform 0.32s ease;
}

.side-cart.is-open .side-cart-panel {
  transform: translateX(0);
}

#side-cart-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.side-cart-basket {
  position: absolute;
  left: -4.35rem;
  bottom: 1.35rem;
  width: 3.55rem;
  height: 3.55rem;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 17, 15, 0.28);
}

.side-cart-basket svg {
  width: 1.35rem;
  height: 1.35rem;
}

.side-cart-basket-count {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.side-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.side-cart-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.side-cart-heading h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.side-cart-bag {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.side-cart-bag svg {
  width: 1.45rem;
  height: 1.45rem;
}

.side-cart-count {
  position: absolute;
  top: -0.15rem;
  right: -0.2rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.side-cart-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.side-cart-close svg {
  width: 1.05rem;
  height: 1.05rem;
}

.side-cart-close:hover {
  background: var(--bg);
}

.side-cart-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.side-cart-empty {
  flex: 1;
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.side-cart-empty p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.side-cart-empty a.btn,
.side-cart-empty .btn {
  margin-top: 0;
}

.side-cart-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.side-cart-item {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.side-cart-thumb {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  background: var(--tile-bg);
  border-radius: 10px;
}

.side-cart-thumb.is-empty {
  display: block;
}

.side-cart-item-copy {
  min-width: 0;
}

.side-cart-item-name {
  margin: 0 0 0.2rem;
  font-weight: 650;
  font-size: 0.92rem;
  line-height: 1.3;
}

.side-cart-item-meta {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.side-cart-item-qty,
.side-cart-item-price {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
}

.side-cart-item-price {
  font-weight: 700;
  text-align: right;
}

.side-cart-item-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.side-cart-remove button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.15rem;
}

.side-cart-remove button:hover {
  color: var(--error);
}

.side-cart-footer {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.side-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.side-cart-footer a.btn,
.side-cart-footer button.btn,
.side-cart-footer .btn,
.side-cart-footer .btn-secondary {
  width: 100%;
  margin-top: 0;
  text-align: center;
  justify-content: center;
}

.side-cart-form-error {
  margin: 0 0 0.75rem;
  color: var(--error);
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 420px) {
  .side-cart.is-open .side-cart-basket {
    display: none;
  }
}
