@font-face {
  font-family: 'Stitch Craft Display';
  src: url('/assets/craft/fonts/StitchCraftDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Stitch Craft Display';
  src: url('/assets/craft/fonts/StitchCraftDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
}

:root {
  --ink: #51463c;
  --ink-soft: #75685b;
  --cream: #f7f2ea;
  --paper: #fffaf4;
  --coral: #C4050E;
  --coral-dark: #b0040d;
  --sage: #a5a78f;
  --sage-dark: #777d68;
  --dusty-blue: #b8c8cf;
  --blush: #e3b8ad;
  --peach: #efd7c8;
  --lavender: #c8c1cf;
  --coffee: #3d3228;
  --coffee-light: #e1d2c3;
  --coffee-dark: #281f16;
  --grey-dark: #1F2226;
  --aged-bone: #ded6c9;
  --weathered-parchment: #d1c5b4;
  --pale-gravestone: #ccc7c2;
  --dusty-taupe: #b8ada2;
  --antique-ivory: #f7f2ea;
  --warm-charcoal: #211d1e;
  --burgundy-charcoal: #2b2023;
  --blackened-wine: #301a20;
  --line: #E5E5E5;
  --shadow: 0 18px 50px rgba(244, 214, 185, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.65;
}

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

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

.container-narrow {
  max-width: 1080px;
}

.serif {
  font-family: 'Gelasio', 'Cormorant Garamond', Georgia, serif;
}

.script {
  font-family: 'Parisienne', cursive;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--coffee-dark);
}

.btn-brand {
  background: var(--coral);
  border: 1px solid var(--coral);
  color: #fff;
  border-radius: 999px;
  padding: .8rem 1.35rem;
  font-weight: 700;
}

.btn-brand:hover {
  background: var(--coral-dark);
  color: #fff;
  border-color: var(--coral-dark);
}

.btn-soft {
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: .8rem 1.35rem;
  font-weight: 700;
}

.btn-soft:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn-coffee {
  background: var(--coffee);
  border: 1px solid var(--coffee);
  color: #fff;
  border-radius: 999px;
  padding: .8rem 1.35rem;
  font-weight: 700;
}

.btn-coffee:hover {
  background: var(--coffee-dark);
  color: #fff;
  border-color: var(--coffee-dark);
}

.topbar {
  background: var(--coral);
  color: #fff;
  text-align: center;
  padding: .48rem .8rem;
  font-size: .75rem;
  letter-spacing: .06em;
}

.navbar {
  background: var(--antique-ivory);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand-wordmark {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: 'Young Serif', 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: .07em;
  font-size: 1.45rem;
}

.brand-wordmark .needle-heart {
  font-size: 1.15rem;
}

.brand-wordmark-img {
  height: 100px;   /* adjust to fit your navbar */
  width: auto;
  display: block;
}

.nav-link {
  font-weight: 600;
  color: var(--ink) !important;
}

.nav-link:hover {
  color: var(--sage-dark) !important;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 589px;
  display: flex;
  align-items: center;
  background: url('/assets/craft/images/hero4.png') center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(51, 51, 51, .52);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 2.5rem 0;
}

.hero h1 {
  font-family: 'Young Serif', 'Cormorant Garamond', serif;
  font-size: clamp(4.0rem, 7vw, 4.0rem);
  line-height: .92;
  letter-spacing: .01em;
  margin: .35rem 0;
}

.hero .tagline {
  font-family: 'Parisienne', cursive;
  font-size: 2rem;
  color: #3e5148;
}

.hero .lead {
  font-size: 1.50rem;
  font-weight: 300;
  color: var(--cream);
}

.wave-rule {
  height: 18px;
  position: relative;
  margin: 0;
}

.wave-rule:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 2px;
  background: var(--coral);
  border-radius: 999px;
  opacity: 0.5;
}

.section {
  padding: 3rem 0;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-title {
  font-family: 'Gelasio', 'Newsreader', serif;
  font-size: clamp(2.0rem, 4vw, 2.0rem);
  line-height: 1.05;
  margin: .35rem 0 1rem;
}

.section-young {
  font-family: 'Young Serif', 'Gelasio', serif;
  font-size: clamp(2.0rem, 4vw, 2.0rem);
  line-height: 1.05;
  margin: .35rem 0 1rem;
}

.section-intro {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.watercolor-panel {
  border-radius: 32px;
  padding: 3.5rem;
  background: var(--grey-dark);
  color: var(--cream);
  box-shadow: var(--shadow);
  border: 1px solid rgba(110, 100, 85, .1);
}

.product-card {
  height: 100%;
  background: var(--antique-ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(55, 52, 44, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-image {
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  background: var(--cream);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.product-name {
  font-family: 'Gelasio', 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin: 0;
}

.product-notes {
  font-size: .85rem;
  color: var(--ink-soft);
  margin: .35rem 0 1rem;
}

.price {
  font-weight: 800;
  font-size: 1.05rem;
}

.badge-soft {
  background: var(--coffee-light);
  color: var(--coffee-dark);
  border-radius: 999px;
  padding: .35rem .6rem;
  font-size: .7rem;
  font-weight: 700;
}

.story-grid img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 1.1rem;
}

.feature-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.feature-card h3 {
  font-family: 'Gelasio', 'Cormorant Garamond', serif;
  font-size: 1.5rem;
}

.site-footer {
  background: var(--grey-dark);
  color: var(--cream);
  padding: 4rem 0 2rem;
}

.site-footer a {
  color: var(--cream);
  opacity: .82;
}

.site-footer a:hover {
  opacity: 1;
}

.footer-brand {
  font-family: 'Young Serif', 'Cormorant Garamond', serif;
  font-size: 2rem;
}

.page-hero {
  padding: 6rem 0 4rem;
  background: var(--cream);
}

.page-hero h1 {
  font-family: 'Young Serif', 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 2.0rem);
  line-height: .95;
}

.breadcrumb {
  font-size: .85rem;
  color: var(--ink-soft);
}

.info-nav .list-group-item {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  font-weight: 600;
}

.info-nav .list-group-item.active {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.form-control,
.form-select {
  border-radius: 14px;
  border: 1px solid #d4ccbe;
  padding: .8rem 1rem;
  background: var(--paper);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sage-dark);
  box-shadow: 0 0 0 .2rem rgba(104, 123, 109, .12);
}

.blog-card {
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.blog-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.4rem;
}

.blog-card h2 {
  font-family: 'Gelasio', 'Cormorant Garamond', serif;
  font-size: 1.8rem;
}

.article {
  max-width: 820px;
}

.article h2,
.article h3 {
  font-family: 'Gelasio', 'Cormorant Garamond', serif;
}

.article p {
  font-size: 1.05rem;
}

.faq-question {
  font-family: 'Gelasio', 'Cormorant Garamond', serif;
  font-size: 1.35rem;
}

.ui-accordion .ui-accordion-header {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 14px;
  margin: .65rem 0 0;
  padding: 1rem 1.2rem;
  font-family: 'Gelasio', 'Cormorant Garamond', serif;
  font-size: 1.3rem;
}

.ui-accordion .ui-accordion-content {
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--paper);
  border-radius: 0 0 14px 14px;
}

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: min(430px, 94vw);
  background: var(--paper);
  z-index: 2000;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .18);
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}

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

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 32, 28, .35);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-header {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.2rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee7dc;
}

.cart-thumb {
  width: 70px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty-controls button {
  border: 0;
  background: transparent;
  width: 30px;
  height: 28px;
}

.qty-controls span {
  font-size: .8rem;
  font-weight: 700;
  width: 26px;
  text-align: center;
}

.cart-footer {
  padding: 1.2rem;
  border-top: 1px solid var(--line);
}

.notice {
  border-radius: 16px;
  padding: 1rem 1.2rem;
  background: #e8eadf;
  color: #5f6655;
}

.newsletter {
  background: var(--dusty-blue);
  border-radius: 30px;
  padding: 3rem;
}

.mini-logo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
}

.pagination .page-link {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.pagination .active .page-link {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

@media (max-width: 991px) {
  .hero {
    min-height: 0;
    background-position: center;
  }

  .hero-content {
    padding: 2.5rem 0;
  }
}

@media (max-width: 575px) {
  .hero h1 {
    font-size: 2.0rem;
  }

  .hero .tagline {
    font-size: 1.55rem;
  }

  .watercolor-panel {
    padding: 2rem;
  }
}


/* --- Coffee shop additions --- */

.shop-toolbar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1rem 1.1rem;
}

.filter-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: .5rem .85rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}

.filter-panel {
  background: var(--peach);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.35rem;
}

.shop-card .product-image {
  position: relative;
}

.shop-card .product-image .ribbon {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
}

.product-rating {
  font-size: .78rem;
  letter-spacing: .05em;
  color: #6f775f;
}

.product-page-image {
  border-radius: 30px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.product-page-image img {
  width: 100%;
  display: block;
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.option-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: .7rem .9rem;
  font-weight: 700;
}

.option-btn.active,
.option-btn:hover {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}

.qty-lg {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.qty-lg button {
  border: 0;
  background: transparent;
  width: 44px;
  height: 48px;
  font-size: 1.15rem;
}

.qty-lg span {
  width: 42px;
  text-align: center;
  font-weight: 800;
}

.product-buybox {
  position: sticky;
  top: 105px;
}

.product-bullets li {
  margin-bottom: .65rem;
}

.bundle-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.25rem;
  height: 100%;
}

.bundle-card img {
  border-radius: 16px;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.bundle-save {
  display: inline-block;
  background: #e8eadf;
  color: #5f6655;
  border-radius: 999px;
  padding: .35rem .6rem;
  font-size: .72rem;
  font-weight: 800;
}

.search-box {
  position: relative;
}

.search-box .fa-magnifying-glass {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8b887f;
}

.search-box input {
  padding-left: 2.8rem;
}

.search-result-count {
  font-size: .85rem;
  color: var(--ink-soft);
}

.compare-strip {
  background: var(--grey-dark);
  color: #fff;
  border-radius: 26px;
  padding: 1.5rem;
}

.compare-strip .mini-product {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.compare-strip img {
  width: 58px;
  height: 68px;
  object-fit: cover;
  border-radius: 9px;
}

.tasting-meter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.tasting-meter span {
  height: 8px;
  border-radius: 99px;
  background: #ded9cf;
}

.tasting-meter span.on {
  background: var(--coral);
}

.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem;
  height: 100%;
}

.review-stars {
  letter-spacing: .12em;
}

.thankyou-art {
  max-width: 340px;
  margin: auto;
  display: block;
}

.order-number {
  font-family: 'Gelasio', 'Cormorant Garamond', serif;
  font-size: 2rem;
}

@media (max-width: 991px) {
  .product-buybox {
    position: static;
  }
}


/* Template refinements */

*,
*::before,
*::after {
  border-radius: 0 !important;
}

.page-hero {
  padding: 3rem 0 2.25rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.2vw, 2rem);
}

.shop-sidebar-layout .shop-card,
.shop-sidebar-layout .product-card {
  min-width: 0;
}

.shop-sidebar-layout .product-body {
  overflow-wrap: anywhere;
}

.journal-lead-image {
  float: left;
  width: 38%;
  max-width: 360px;
  height: auto;
  margin: 0 2rem 1.25rem 0;
}

.journal-lead-image + div::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 767.98px) {
  .journal-lead-image {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 1.5rem;
  }
}


/* Shopping Cart */

.cart-page-items {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(55, 52, 44, .06);
}

.cart-page-header,
.cart-page-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 130px;
  gap: 1.5rem;
  align-items: center;
}

.cart-page-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cart-page-items .cart-item {
  grid-template-columns: minmax(0, 1fr) 120px 130px;
  gap: 1.5rem;
  padding: 1.5rem;
}

.cart-page-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.cart-page-product .cart-thumb {
  width: 92px;
  height: 104px;
  border-radius: 14px;
}

.cart-page-price {
  font-weight: 700;
}

.cart-page-total {
  font-weight: 800;
}

.cart-summary {
  position: sticky;
  top: 6rem;
  background: var(--paper);
  border: 1px solid rgba(110, 100, 85, .1);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cart-summary .summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.cart-empty-state {
  padding: 4rem 2rem;
  text-align: center;
}

@media (max-width: 767.98px) {
  .cart-page-header {
    display: none;
  }

  .cart-page-items .cart-item {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .cart-page-product {
    grid-column: 1 / -1;
  }

  .cart-page-item-price,
  .cart-page-item-total {
    align-self: center;
  }

  .cart-page-item-price::before {
    content: "Each";
    display: block;
    color: var(--ink-soft);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: .2rem;
    text-transform: uppercase;
  }

  .cart-page-item-total::before {
    content: "Total";
    display: block;
    color: var(--ink-soft);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: .2rem;
    text-transform: uppercase;
  }

  .cart-summary {
    position: static;
  }
}


/* Error Pages */

.error-page {
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  padding: 5rem 0;
  overflow: hidden;
}

.error-copy {
  position: relative;
  z-index: 2;
}

.error-number {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 18vw, 13rem);
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: .78;
  margin-bottom: 1.5rem;
}

.error-illustration {
  position: relative;
  min-height: 390px;
}

.coffee-ring {
  position: absolute;
  width: 310px;
  height: 310px;
  border: 2px dashed rgba(112, 87, 67, .28);
  border-radius: 50%;
  right: 5%;
  top: 25px;
  transform: rotate(-12deg);
}

.coffee-cup {
  position: absolute;
  width: 190px;
  height: 145px;
  border: 8px solid var(--ink);
  border-radius: 18px 18px 55px 55px;
  background: var(--cream);
  right: 24%;
  top: 105px;
  transform: rotate(-6deg);
  box-shadow: 12px 14px 0 rgba(112, 87, 67, .08);
}

.coffee-cup::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border: 8px solid var(--ink);
  border-left: 0;
  border-radius: 0 50% 50% 0;
  right: -68px;
  top: 27px;
}

.coffee-surface {
  position: absolute;
  width: 150px;
  height: 34px;
  background: #6f503d;
  border-radius: 50%;
  left: 12px;
  top: 9px;
}

.steam {
  position: absolute;
  border-left: 3px solid rgba(112, 87, 67, .35);
  border-radius: 50%;
  width: 30px;
  height: 80px;
  top: -88px;
}

.steam-one {
  left: 35px;
  transform: rotate(12deg);
}

.steam-two {
  left: 90px;
  transform: rotate(-9deg);
}

.thread-line {
  position: absolute;
  width: 300px;
  height: 150px;
  border-top: 2px solid var(--terracotta);
  border-radius: 50%;
  left: 4%;
  bottom: 35px;
  transform: rotate(12deg);
}

.thread-line::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  right: -5px;
  top: -8px;
}

@media (max-width: 991.98px) {
  .error-page {
    min-height: auto;
    padding: 4rem 0 5rem;
  }

  .error-illustration {
    min-height: 300px;
    margin-top: 1rem;
  }
}

/* Cart Page */
      .cart-page-items {
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: 0 10px 30px rgba(55, 52, 44, .06);
      }

      .cart-page-header,
      .cart-page-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 120px 130px;
        gap: 1.5rem;
        align-items: center;
      }

      .cart-page-header {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--line);
        color: var(--ink-soft);
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
      }

      .cart-page-items .cart-item {
        grid-template-columns: minmax(0, 1fr) 120px 130px;
        gap: 1.5rem;
        padding: 1.5rem;
      }

      .cart-page-product {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 1rem;
        align-items: center;
      }

      .cart-page-product .cart-thumb {
        width: 92px;
        height: 104px;
        border-radius: 14px;
      }

      .cart-page-price {
        font-weight: 700;
      }

      .cart-page-total {
        font-weight: 800;
      }

      .cart-summary {
        position: sticky;
        top: 6rem;
        background: var(--paper);
        border: 1px solid rgba(110, 100, 85, .1);
        border-radius: 28px;
        padding: 2rem;
        box-shadow: var(--shadow);
      }

      .cart-summary .summary-line {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
      }

      .cart-empty-state {
        padding: 4rem 2rem;
        text-align: center;
      }

      @media (max-width: 767.98px) {
        .cart-page-header {
          display: none;
        }

        .cart-page-items .cart-item {
          grid-template-columns: 1fr auto;
          gap: 1rem;
        }

        .cart-page-product {
          grid-column: 1 / -1;
        }

        .cart-page-item-price,
        .cart-page-item-total {
          align-self: center;
        }

        .cart-page-item-price::before {
          content: "Each";
          display: block;
          color: var(--ink-soft);
          font-size: .7rem;
          font-weight: 700;
          letter-spacing: .08em;
          margin-bottom: .2rem;
          text-transform: uppercase;
        }

        .cart-page-item-total::before {
          content: "Total";
          display: block;
          color: var(--ink-soft);
          font-size: .7rem;
          font-weight: 700;
          letter-spacing: .08em;
          margin-bottom: .2rem;
          text-transform: uppercase;
        }

        .cart-summary {
          position: static;
        }
      }


/* Product tabs: no borders, coral underline on the active tab */
.product-tabs {
  border: 0;
  gap: 2rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--line);
}
.product-tabs .nav-item {
  margin: 0;
}
.product-tabs .nav-link {
  border: 0 !important;
  background: transparent !important;
  color: var(--ink-soft);
  font-weight: 700;
  padding: .85rem 0;
  margin-bottom: -1px;
  white-space: nowrap;
  border-bottom: 3px solid transparent !important;
}
.product-tabs .nav-link:hover {
  color: var(--ink);
}
.product-tabs .nav-link.active {
  color: var(--ink);
  border-bottom-color: var(--coral) !important;
}
.product-tabs .nav-link:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}
.product-tab-content {
  padding-top: 2rem;
}
.product-tab-content .tab-copy {
  max-width: 100%;
}
.product-tab-content h3 {
  font-family: 'Gelasio', 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin: 1.5rem 0 .5rem;
}
.product-tab-content h3:first-child {
  margin-top: 0;
}
.review-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}
.review-summary .big-rating {
  font-family: 'Gelasio', 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  line-height: 1;
}
.review-summary .review-stars {
  color: var(--coral);
  font-size: 1.1rem;
}
.rating-bars {
  flex: 1 1 260px;
  max-width: 380px;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.rating-bar-row .bar {
  flex: 1;
  height: 8px;
  background: #ded9cf;
}
.rating-bar-row .bar span {
  display: block;
  height: 100%;
  background: var(--coral);
}
.review-list .review-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.review-list .review-item:first-child {
  padding-top: 0;
}
.review-list .review-stars {
  color: var(--coral);
}
.review-list .review-meta {
  font-size: .85rem;
  color: var(--ink-soft);
}
.related-products .product-card {
  height: 100%;
}