@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --maroon: #3e141c;
  --brown: #2a1b16;
  --gold: #c6a75e;
  --beige: #e8e0d5;
  --cream: #e8e0d5;
  --white: #ffffff;
  --ink: #2a1b16;
  --panel: linear-gradient(164deg, #f2ece3 0%, #e8e0d5 100%);
  --border: rgba(198, 167, 94, 0.28);
  --shadow: 0 16px 34px rgba(12, 7, 6, 0.32);
  --radius: 18px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 2%, rgba(198, 167, 94, 0.2), transparent 34%),
    radial-gradient(circle at 86% 8%, rgba(198, 167, 94, 0.1), transparent 40%),
    linear-gradient(145deg, #3e141c 0%, #2a1b16 58%, #35131b 100%);
  min-height: 100vh;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Cinzel", serif;
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

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

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(198, 167, 94, 0.85);
  outline-offset: 2px;
}

.main-nav a:focus-visible,
.btn:focus-visible,
.link-inline:focus-visible,
.remove-btn:focus-visible,
.qty-btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(198, 167, 94, 0.22);
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section-space {
  padding-bottom: 4.5rem;
}

.section-a,
.section-b,
.section-c {
  border-radius: clamp(16px, 2vw, 24px);
  border: 1px solid var(--border);
  margin-top: 1.6rem;
}

.section-a:not(.hero),
.section-b,
.section-c {
  padding: clamp(1.2rem, 2.6vw, 2rem);
}

.section-a {
  background: linear-gradient(140deg, #3e141c 0%, #2a1b16 58%, #35131b 100%);
}

.section-b {
  background: linear-gradient(160deg, #f0e8dd 0%, #e8e0d5 100%);
  border-color: rgba(42, 27, 22, 0.16);
  color: var(--brown);
}

.section-c {
  background: linear-gradient(150deg, #2a1b16 0%, #36231d 100%);
}

.section-a h1,
.section-a h2,
.section-a h3,
.section-c h1,
.section-c h2,
.section-c h3 {
  color: var(--white);
}

.section-b h1,
.section-b h2,
.section-b h3,
.section-b h4 {
  color: var(--brown);
}

.section-a p,
.section-c p {
  color: rgba(232, 224, 213, 0.9);
}

.section-b p {
  color: rgba(42, 27, 22, 0.9);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(9px);
  background: linear-gradient(180deg, rgba(42, 27, 22, 0.95), rgba(62, 20, 28, 0.93));
  border-bottom: 1px solid rgba(198, 167, 94, 0.52);
}

.top-banner {
  background: linear-gradient(96deg, #2a1b16 0%, #3e141c 52%, #2a1b16 100%);
  color: rgba(232, 224, 213, 0.92);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
}

.nav-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  transition: opacity var(--transition);
}

.brand:hover {
  opacity: 0.92;
}

.brand-logo {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  filter: drop-shadow(0 6px 12px rgba(59, 42, 35, 0.22));
  transition: transform var(--transition), opacity var(--transition);
}

.brand:hover .brand-logo {
  transform: translateY(-1px);
  opacity: 0.95;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-mark {
  font-family: "Cinzel", serif;
  font-size: 1.38rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(232, 224, 213, 0.76);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  transition: color var(--transition), background-color var(--transition),
    transform var(--transition);
}

.main-nav a:hover {
  background: rgba(198, 167, 94, 0.18);
  color: var(--gold);
}

.main-nav a.is-active {
  background: rgba(198, 167, 94, 0.22);
  color: var(--white);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.cart-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.cart-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.5rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.2rem;
  align-items: stretch;
  padding: clamp(1.35rem, 2.5vw, 2.4rem);
  margin-top: 2.2rem;
  box-shadow: 0 28px 46px rgba(8, 5, 4, 0.34);
}

.hero-content,
.hero-panel,
.ritual-card,
.summary-card,
.checkout-form-card,
.product-card,
.cart-item,
.product-detail-layout {
  border: 1px solid rgba(198, 167, 94, 0.2);
  box-shadow: 0 14px 30px rgba(10, 6, 5, 0.3);
}

.hero-content,
.hero-panel {
  background: linear-gradient(160deg, rgba(62, 20, 28, 0.58) 0%, rgba(42, 27, 22, 0.64) 100%);
}

.ritual-card,
.summary-card,
.checkout-form-card,
.product-card,
.cart-item,
.product-detail-layout {
  background: var(--panel);
  border-color: rgba(42, 27, 22, 0.14);
  box-shadow: 0 14px 30px rgba(20, 12, 9, 0.22);
  color: var(--brown);
}

.hero-content {
  border-radius: clamp(18px, 2.4vw, 30px);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  position: relative;
  overflow: hidden;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: auto -30px -35px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(198, 167, 94, 0.45);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: rgba(198, 167, 94, 0.85);
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}

.section-b .eyebrow {
  color: rgba(42, 27, 22, 0.64);
}

.hero-content h1 {
  font-size: clamp(1.95rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.05rem;
  padding-bottom: 0.92rem;
  position: relative;
}

.hero-content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 130px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 167, 94, 0.98), rgba(198, 167, 94, 0.08));
}

.hero-content p {
  max-width: 54ch;
  color: rgba(232, 224, 213, 0.94);
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  border-radius: clamp(18px, 2.2vw, 28px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto auto -70px -60px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(198, 167, 94, 0.3), transparent 66%);
}

.panel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(198, 167, 94, 0.9);
}

.hero-panel h2 {
  font-size: 1.45rem;
  color: var(--white);
}

.hero-panel p {
  color: rgba(232, 224, 213, 0.9);
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  background: linear-gradient(115deg, #d8bc79 0%, #c6a75e 55%, #b8944d 100%);
  color: var(--brown);
  border-color: rgba(198, 167, 94, 0.92);
}

.btn-primary:hover {
  background: linear-gradient(115deg, #c7aa66 0%, #b8964f 100%);
  box-shadow: 0 14px 28px rgba(9, 6, 5, 0.34);
}

.btn-primary.is-success {
  background: linear-gradient(115deg, #c7aa66 0%, #af8d49 100%);
  border-color: rgba(198, 167, 94, 0.92);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(198, 167, 94, 0.8);
  color: var(--gold);
}

.btn-secondary:hover {
  background: rgba(198, 167, 94, 0.14);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(8, 5, 4, 0.24);
}

.btn-block {
  width: 100%;
}

.link-inline {
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition), transform var(--transition);
}

.link-inline:hover {
  transform: translateX(3px);
  color: #dbc27d;
}

.section-b .link-inline {
  color: var(--maroon);
}

.section-b .link-inline:hover {
  color: #5f2230;
}

.ritual-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1.35rem;
}

.ritual-strip.section-b {
  background: linear-gradient(152deg, #2a1b16 0%, #3e141c 100%);
  border-color: rgba(198, 167, 94, 0.34);
}

.ritual-strip.section-b .ritual-card {
  background: linear-gradient(150deg, rgba(62, 20, 28, 0.74) 0%, rgba(42, 27, 22, 0.86) 100%);
  border-color: rgba(198, 167, 94, 0.34);
  box-shadow: 0 16px 30px rgba(7, 4, 3, 0.36);
}

.ritual-strip.section-b .ritual-card h3 {
  color: var(--white);
}

.ritual-strip.section-b .ritual-card p {
  color: rgba(232, 224, 213, 0.9);
}

.ritual-card {
  border-radius: var(--radius);
  padding: 1.2rem;
}

.ritual-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.7vw, 2rem);
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
}

.page-intro {
  padding-top: 0;
}

.page-intro h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.15rem;
}

.product-card {
  border-radius: 18px;
  overflow: hidden;
  animation: rise-in 580ms ease both;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-media {
  height: 210px;
  position: relative;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, transparent 0%, rgba(27, 22, 19, 0.34) 100%);
}

.product-meta {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-category {
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(42, 27, 22, 0.72);
}

.product-meta h3 {
  font-size: 1.06rem;
  line-height: 1.35;
  color: var(--brown);
}

.product-blurb {
  font-size: 0.93rem;
  color: rgba(42, 27, 22, 0.88);
}

.product-bottom {
  margin-top: 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.product-price {
  color: var(--maroon);
  font-size: 1.08rem;
  font-weight: 700;
}

.pill {
  border: 1px solid rgba(42, 27, 22, 0.22);
  border-radius: 999px;
  padding: 0.2rem 0.62rem;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(42, 27, 22, 0.76);
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 22px 44px rgba(15, 9, 7, 0.32);
}

.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(42, 27, 22, 0.18);
  background: rgba(255, 255, 255, 0.58);
}

.filter-field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: rgba(42, 27, 22, 0.82);
}

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

select,
input,
textarea {
  border: 1px solid rgba(59, 42, 35, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.65rem 0.74rem;
  color: var(--ink);
}

select:focus,
input:focus,
textarea:focus {
  outline: 2px solid rgba(198, 167, 94, 0.35);
  outline-offset: 1px;
}

.product-detail-layout {
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  padding: 1.25rem;
  overflow: hidden;
}

.product-visual {
  min-height: 430px;
  border-radius: 14px;
  position: relative;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(27, 22, 19, 0.24) 100%);
}

.product-detail {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 0.45rem;
}

.product-detail h2 {
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  color: var(--brown);
}

.product-detail h3,
.summary-card h2,
.checkout-form-card h2,
.cart-item-info h3,
.ritual-card h3 {
  color: var(--brown);
}

.product-detail .description {
  color: rgba(59, 42, 35, 0.9);
}

.ingredient-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.28rem;
}

.ingredient-list li::marker {
  color: var(--gold);
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(59, 42, 35, 0.25);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
}

.qty-btn {
  border: 0;
  background: transparent;
  color: var(--brown);
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.qty-btn:hover {
  background: rgba(90, 31, 43, 0.09);
}

.qty-input {
  width: 3rem;
  border: 0;
  border-left: 1px solid rgba(59, 42, 35, 0.18);
  border-right: 1px solid rgba(59, 42, 35, 0.18);
  border-radius: 0;
  text-align: center;
  background: transparent;
  padding: 0.4rem 0;
}

.qty-input:focus {
  outline: none;
}

.qty-input:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(90, 31, 43, 0.42);
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.cart-items-panel {
  display: grid;
  gap: 0.8rem;
}

.cart-item {
  border-radius: 14px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.95rem;
  padding: 0.85rem;
}

.cart-item-image {
  height: 96px;
  border-radius: 10px;
}

.cart-item-info {
  display: grid;
  gap: 0.25rem;
}

.cart-item-info h3 {
  font-size: 1.04rem;
}

.cart-item-unit {
  color: rgba(59, 42, 35, 0.76);
  font-size: 0.88rem;
}

.cart-line-price {
  margin: 0;
  font-weight: 700;
  color: var(--maroon);
  min-width: 70px;
  text-align: right;
}

.remove-btn {
  border: 0;
  background: transparent;
  color: rgba(90, 31, 43, 0.88);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  width: fit-content;
}

.remove-btn:hover {
  color: #8b3045;
}

.summary-card,
.checkout-form-card {
  border-radius: 14px;
  padding: 1.15rem;
  display: grid;
  gap: 0.85rem;
}

.summary-card h2,
.checkout-form-card h2 {
  font-size: 1.4rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.summary-total {
  border-top: 1px solid rgba(59, 42, 35, 0.18);
  margin-top: 0.3rem;
  padding-top: 0.75rem;
}

.summary-total strong {
  color: var(--maroon);
  font-size: 1.22rem;
}

[data-cart-checkout].is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.field {
  display: grid;
  gap: 0.35rem;
  color: rgba(59, 42, 35, 0.85);
  font-size: 0.9rem;
}

.auth-intro {
  margin-top: 1.8rem;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

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

.auth-card {
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid rgba(42, 27, 22, 0.14);
  box-shadow: 0 14px 30px rgba(20, 12, 9, 0.22);
  padding: 1.15rem;
  display: grid;
  gap: 0.85rem;
  color: var(--brown);
}

.auth-card h2,
.auth-aside h3 {
  color: var(--brown);
}

.auth-card form {
  display: grid;
  gap: 0.75rem;
}

.auth-alt {
  display: grid;
  gap: 0.7rem;
}

.auth-divider {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(59, 42, 35, 0.68);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid rgba(59, 42, 35, 0.2);
}

.btn-apple {
  background: linear-gradient(135deg, #1b1b1b 0%, #0f0f0f 100%);
  border-color: rgba(0, 0, 0, 0.84);
  color: #f6f1e8;
}

.btn-apple:hover {
  background: linear-gradient(135deg, #121212 0%, #000000 100%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.apple-mark {
  font-size: 1.18rem;
  line-height: 1;
}

.auth-meta {
  font-size: 0.9rem;
  color: rgba(59, 42, 35, 0.84);
}

.auth-aside {
  border-radius: 14px;
  display: grid;
  gap: 0.65rem;
  align-content: center;
}

.auth-aside h3 {
  color: var(--white);
}

.auth-aside p {
  color: rgba(232, 224, 213, 0.9);
}

.auth-status {
  margin-bottom: 0;
}

.status-card.is-error {
  background: rgba(156, 53, 74, 0.15);
  border-color: rgba(156, 53, 74, 0.5);
  color: #6d1f2f;
}

.status-card.is-success {
  background: rgba(198, 167, 94, 0.24);
  border-color: rgba(198, 167, 94, 0.78);
  color: var(--brown);
}

[data-checkout-form] {
  display: grid;
  gap: 0.75rem;
}

.security-note {
  font-size: 0.82rem;
  color: rgba(59, 42, 35, 0.72);
}

.summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.48rem;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.summary-list strong {
  color: var(--maroon);
}

.status-card {
  display: none;
  border: 1px solid rgba(198, 167, 94, 0.72);
  background: rgba(198, 167, 94, 0.22);
  border-radius: 12px;
  color: var(--brown);
  padding: 0.75rem 0.9rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.status-card.is-visible {
  display: block;
}

.empty-state {
  border: 1px dashed rgba(59, 42, 35, 0.26);
  border-radius: 14px;
  background: rgba(245, 241, 232, 0.55);
  padding: 1rem;
}

.hidden {
  display: none !important;
}

.site-footer {
  border-top: 1px solid rgba(198, 167, 94, 0.32);
  margin-top: 1.8rem;
  background: linear-gradient(180deg, #2a1b16 0%, #23150f 100%);
}

.footer-shell {
  padding: 1.35rem 0;
  display: grid;
  gap: 0.25rem;
  color: rgba(232, 224, 213, 0.74);
}

.footer-brand {
  font-family: "Cinzel", serif;
  color: var(--white);
}

.footer-email {
  margin-top: 0.18rem;
}

.footer-email a {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.footer-email a:hover {
  color: #dbc27d;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .product-detail-layout,
  .cart-layout,
  .checkout-layout,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .ritual-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.3rem;
  }

  .cart-item {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "media content"
      "qty price";
  }

  .cart-item > :first-child {
    grid-area: media;
  }

  .cart-item-info {
    grid-area: content;
  }

  .cart-item .quantity-control {
    grid-area: qty;
  }

  .cart-line-price {
    grid-area: price;
    justify-self: end;
    align-self: center;
  }
}

@media (max-width: 700px) {
  .top-banner {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  .nav-shell {
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 0;
  }

  .brand {
    max-width: 56%;
    gap: 0.56rem;
  }

  .brand-logo {
    width: 2.02rem;
    height: 2.02rem;
  }

  .brand-mark {
    font-size: 1.08rem;
    letter-spacing: 0.03em;
  }

  .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.11em;
  }

  .main-nav {
    margin-left: auto;
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.2rem;
  }

  .main-nav a {
    padding: 0.45rem 0.62rem;
    font-size: 0.82rem;
  }

  .cart-link {
    gap: 0.35rem;
  }

  .cart-count {
    min-width: 1.3rem;
    padding: 0.1rem 0.34rem;
    font-size: 0.68rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .filter-toolbar {
    flex-direction: column;
  }

  .filter-field {
    width: 100%;
  }

  .filter-field select {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand {
    max-width: 50%;
    gap: 0.45rem;
  }

  .brand-sub {
    display: none;
  }

  .brand-logo {
    width: 1.84rem;
    height: 1.84rem;
  }

  .brand-mark {
    font-size: 0.98rem;
  }

  .main-nav a {
    padding: 0.42rem 0.54rem;
    font-size: 0.79rem;
  }

  .cart-icon,
  .cart-icon svg {
    width: 0.9rem;
    height: 0.9rem;
  }
}