:root {
  --color-bg: #f5f0e8;
  --color-surface: #f8f5ef;
  --color-surface-alt: #eee9e1;
  --color-text: #2e261f;
  --color-muted: #6f6358;
  --color-border: #d9cfbf;
  --color-dark: #111111;
  --color-white: #ffffff;

  --topbar-height: 2.5rem;
  --header-height-mobile: 5rem;
  --header-height-desktop: 8.75rem;

  --container: 1200px;
  --container-narrow: 760px;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;

  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);

  --font-body: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Arial, sans-serif;
  --font-heading: "Cormorant Garamond", serif;
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.variant-option::before,
.variant-option::after {
  box-sizing: content-box;
}



body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
}

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


main {
  display: block;
  flex: 1 0 auto;
  padding-top: calc(var(--topbar-height) + var(--header-height-mobile));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Make page rows span full width */
.home-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Footer still constrained */
.site-footer__inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.875rem 1.25rem;
  border: 0;
  border-radius: 0.25rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn--primary {
  background: #404040;
  color: var(--color-white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-dark);
}

/* Topbar */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  min-height: var(--topbar-height);
  display: grid;
  place-items: center;
  padding-inline: 1rem;
  background: #000;
}

.topbar-message {
  margin: 0;
  color: #fff;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #fff;
  margin-top: auto;
}


#final {
  padding-bottom: 2rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.25rem;
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.95rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration: underline;
}

/* Home shared */
.home-section {
  padding-block: 3rem;
}

.home-section--intro {
  padding-block: 2rem;
}

/* Keep intro text visually centered without constraining the row */
.home-section--intro .home-shell {
  padding-inline: 1rem;
}

.home-eyebrow,
.home-section-label {
  margin: 0 0 0.5rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-hero h1,
.home-section h2,
.home-ingredient-card h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.05;
}

.home-hero h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2rem, 10vw, 3rem);
}

.home-section h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.8rem, 8vw, 2.4rem);
}

.home-lead,
.home-text-block p,
.home-section-heading p,
.home-shop-sub,
.home-review-card p,
.home-ingredient-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/*** This centers the text in the reviews section ****/
.home-review-card p {
  text-align: center;
}

/** To stop the intro sections looking centered as a block **/
@media (max-width: 767px) {
  .home-section--intro .home-shell {
    padding-inline: 1.25rem;
  }

  .home-section-heading {
    width: 100%;
    max-width: none;
  }
}

/* Hero */
/* This closes the gap between the menu and the hero section below it */
.home-hero {
  padding-top: 0;
}

.home-hero__split {
  display: grid;
  gap: 0;
  width: 100%;
  background: var(--color-surface);
  overflow: hidden;
}

.home-hero__left {
  padding: 1.5rem 1.25rem;
}

.home-hero__right {
  min-height: 18rem;
}

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

.home-btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

/* Section heading blocks */
.home-section-heading {
  width: min(100%, var(--container-narrow));
  margin-inline: auto;
  text-align: center;
}

/* Two-column content blocks */
.home-two-col {
  display: grid;
  gap: 0;
  width: 100%;
  background: transparent;
  overflow: hidden;
}

.home-text-block {
  padding: 1.5rem 1.25rem;
  background: var(--color-surface);
}

.home-image-block {
  min-height: 18rem;
  overflow: hidden;
}

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

/* Icon cards */
.home-icon-row {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.home-icon-card {
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  background: #fff;
  text-align: center;
}

/* Ingredients */
.home-section--ingredients,
.home-section--reviews {
  padding-inline: 1rem;
}

.home-ingredient-grid,
.home-review-grid {
  display: grid;
  gap: 1rem;
}

.home-ingredient-card,
.home-review-card {
  padding: 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.home-ingredient-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-ingredient-card h3 {
  margin: 0.9rem 0 0.4rem;
  font-size: 1.4rem;
}

.home-review-card {
  margin: 0;
  text-align: center;
}

.home-benefit-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-muted);
}

.home-price {
  margin: 1rem 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
}

/* SHOP SECTION */
.home-shop-card {
  overflow: hidden;
}

.home-shop-card__media {
  min-height: 18rem;
  overflow: hidden;
}

.home-shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-shop-card__copy {
  min-height: 0;
}

/**** This media query pushes the hero content downward, but it also adds the same extra padding to the bottom and sides pattern for that whole block.*/
@media (max-width: 767px) {
  .home-hero {
    padding-top: 2rem;
  }

  .home-hero__left {
    padding: 1.5rem 1.25rem;
  }
}

/*** This left aligns the text in mobile view ****************/
@media (max-width: 767px) {
  .home-hero__left,
  .home-text-block,
  .home-section-heading,
  .home-review-card,
  .home-ingredient-card {
    text-align: left;
  }

  .home-btn {
    align-self: flex-start;
  }

  .home-section-heading {
    margin-inline: 0;
  }
}

/* Tablet */
@media (min-width: 768px) {
  :root {
    --header-height-mobile: 6rem;
  }

  main {
    padding-top: calc(var(--topbar-height) + var(--header-height-mobile));
  }

  .home-section {
    padding-block: 4rem;
  }

  .home-section--intro {
    padding-block: 2.5rem;
  }

  .home-section--intro .home-shell {
    padding-inline: 1.5rem;
  }

  .home-hero__left,
  .home-text-block {
    padding: 2rem;
  }

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

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

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --header-height-mobile: var(--header-height-desktop);
  }

  main {
    padding-top: calc(var(--topbar-height) + var(--header-height-mobile));
  }

  .home-hero__split,
  .home-two-col,
  .home-shop-card {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .home-two-col--reverse {
    direction: rtl;
  }

  .home-two-col--reverse > * {
    direction: ltr;
  }

  .home-hero__right,
  .home-image-block {
    min-height: 26rem;
  }

  .home-hero__left,
  .home-text-block,
  .home-shop-card__copy {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-ingredient-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Keep the final shop row shorter than the others */
  .home-shop-card__media,
  .home-shop-card__copy {
    min-height: 18rem;
  }
}

/****** This applies to the top text on the home page **************************/
.home-hero + .home-section--intro .home-section-heading {
  margin-top: 3rem;
}

/****** The 2 rules below apply to the testimonial text on the home page **************************/
.home-section--reviews {
  padding-top: 2rem;
}

.home-section--reviews .home-section-heading {
  margin-bottom: 6rem;
}

.home-ingredient-card {
  border-radius: 0.75rem;
  overflow: hidden;
}

.home-ingredient-card img {
  border-radius: 0.75rem;
}

/* =========================================================
   CATEGORY / LIST CATEGORIES
   ========================================================= */

/*
.small-container.catalogue {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: 4rem 0 3rem;
}
*/


   /***  If you want almost edge-to-edge, use: ****/
   /*
     .small-container.catalogue {
      width: calc(100% - 0.5rem);
      max-width: 1500px;
      margin: 0 auto;
      padding: 4rem 0 3rem;
    }
   */



/** This increases the width of the container for the main products ie show all products *****/

.small-container.catalogue {
  width: min(100% - 1rem, 1400px);
  margin: 0 auto;
  padding: 4rem 0 3rem;
}


.small-container.catalogue .row.catalogue {
  display: block;
}



.small-container.catalogue .col-2 {
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.list-categories-title {
  margin: 0 0 0.5rem;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}




.list-categories-description {
  width: min(100%, 60ch);
  margin: 0 auto 1.5rem;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 60ch;
}

.row-catalogue {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.catalogue-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.col-catalogue {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.875rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalogue-item:hover .col-catalogue {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.product-media-wrap {
  position: relative;
  margin-bottom: 0.875rem;
}

.product-media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-media {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
}

.product-media img,
.col-catalogue img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.catalogue-wishlist {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.catalogue-wishlist:hover,
.catalogue-wishlist:focus-visible {
  background: #fff;
}

.catalogue-wishlist img {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  filter: grayscale(100%) brightness(0);
}

.sale-badge {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 1.75rem;
  padding: 0 0.625rem;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.col-catalogue h4 {
  margin: 0 0 0.5rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.col-catalogue h4 a {
  color: inherit;
  text-decoration: none;
}

.col-catalogue h4 a:hover,
.col-catalogue h4 a:focus-visible {
  text-decoration: underline;
}

.col-catalogue h4:first-of-type {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1em * 1.35 * 2);
}

.col-catalogue .price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  min-height: 2.25rem;
  margin: 0 0 0.75rem;
  color: var(--color-text);
  text-align: center;
}

.col-catalogue .price-now {
  font-weight: 700;
}

.col-catalogue .price-was {
  text-decoration: line-through;
  opacity: 0.7;
  font-weight: 500;
}

.col-catalogue .availability {
  margin-top: auto;
  padding-top: 0.25rem;
  text-align: center;
}

.stock-badge {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1;
}

.stock-badge.in {
  background: #e9f7ef;
  color: #1e7e34;
  border: 1px solid #c9e7d3;
}

.stock-badge.low {
  background: #fff8e1;
  color: #8a6d3b;
  border: 1px solid #ffe9a8;
}

.stock-badge.out {
  background: #fdecea;
  color: #a94442;
  border: 1px solid #f5c6cb;
}

.card-actions {
  margin-top: 0.625rem;
}

.card-actions--catalogue {
  display: flex;
  align-items: stretch;
}

.catalogue-item .btn--add {
  width: 100%;
  min-height: 2.75rem;
  justify-content: center;
  text-align: center;
}

.btn--add[aria-disabled="true"] {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.8;
}

/* Tablet */
@media (min-width: 768px) {
  .small-container.catalogue {
    padding: 4.5rem 0 3.5rem;
  }

  .row-catalogue {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .col-catalogue {
    padding: 1rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .small-container.catalogue {
    padding: 5rem 0 4rem;
  }

  .row-catalogue {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .small-container.catalogue .col-2 {
    margin-bottom: 1.75rem;
  }
}

/* =========================================================
   LAST HOME SECTION / FOOTER GAP FIX
   ========================================================= */

.home-section--shop {
  padding-top: 3rem;
  padding-bottom: 0 !important;
}

@media (min-width: 768px) {
  .home-section--shop {
    padding-top: 4rem;
    padding-bottom: 0 !important;
  }
}

@media (min-width: 1024px) {
  .home-section--shop {
    padding-top: 4rem;
    padding-bottom: 0 !important;
  }
}







/*******************************
  PRODUCT DETAIL POLISH
*******************************/

/* Page wrapper spacing */
.small-container.single-product {
  max-width: 1080px;
  margin: 20px auto 60px;
  padding: 0 16px;
}

/* Two-column layout (mobile first = stacked) */
.small-container.single-product .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

/* Main image */
.small-container.single-product #ProductImg {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Thumbnails row */
.small-img-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.small-img-col img.small-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  outline: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, outline-color 0.15s ease;
}

.small-img-col img.small-img:hover {
  transform: translateY(-2px);
  outline-color: rgba(0, 0, 0, 0.18);
}

/* Text column */
.small-container.single-product .col-2.text {
  line-height: 1.6;
}

/* Title + price */
.small-container.single-product h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}

.small-container.single-product .price,
.small-container.single-product > .row .col-2.text > p:first-of-type {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

/* Variant section */
.variant-section {
  margin: 20px 0 16px;
}

.variant-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.variant-options {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.variant-option {
  padding: 12px 24px 12px 48px;
  border: 2px solid #111;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}



/* Quantity + cart */
.qty-cart-container {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quantity-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.qty-cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.add-to-cart-form {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/** This rule reduces the height of the add to cart button on the product details page */
.add-to-cart-form .btn--add {
  flex: 0 0 auto;
  height: 43px !important;
  min-height: 43px !important;
  padding: 0 24px !important;
  line-height: 44px;
}


.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  height: 44px;
  width: 120px;
}

.qty-btn {
  width: 36px;
  height: 44px;
  border: none;
  background: #f7f7f7;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #e2e2e2;
}

.qty-input {
  width: 48px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  appearance: none;
  -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Add to Cart / Out of Stock */
.col-2 > p > .btn,
.btn.btn-noItems {
  display: inline-block;
  margin: 18px 0 10px;
  border-radius: 7px;
  padding: 10px 22px 9px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.col-2 > p > .btn {
  background: #383838;
  color: #fff;
}

.col-2 > p > .btn:hover {
  background: #563434;
}

.btn.btn-noItems {
  background: #d6d6d6;
  color: #666;
  cursor: not-allowed;
}

/* Stock badge */
.stock-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

.stock-badge.in {
  background: #e9f9ef;
  color: #18794e;
}

.stock-badge.low {
  background: #fff7e6;
  color: #9a6700;
}

.stock-badge.out {
  background: #feecec;
  color: #b42318;
}

/* Section headings */
.small-container.single-product h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 18px 0 6px;
}

.small-container.single-product p {
  margin: 0 0 8px;
}

/* Wishlist icon on main product image */
.product-detail-media-wrap {
  position: relative;
}

.product-detail-media-wrap .catalogue-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

/* Reviews block */
.product-reviews {
  margin-top: 70px;
}

.product-reviews__title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  text-align: center;
}

/* Desktop */
@media (min-width: 793px) {
  .small-container.single-product .row {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .small-img-row {
    gap: 10px;
    margin-top: 12px;
  }

  .small-container.single-product h2 {
    font-size: 28px;
  }

  .small-container.single-product .price,
  .small-container.single-product > .row .col-2.text > p:first-of-type {
    font-size: 22px;
  }
}



/* =========================================================
   RELATED / WORKS WELL WITH
   ========================================================= */

.related {
  margin-top: 3.5rem;
}

.related__inner,
.related .small-container.catalogue {
  width: min(100% - 1rem, 1400px);
  margin: 0 auto;
}

.related__inner {
  margin-bottom: 1rem;
  text-align: center;
}


.related__title {
  margin: 0 0 0.35rem;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 1.8vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}

.related__subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.related__subtitle {
  width: min(100%, 60ch);
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 60ch;
}

.related .small-container.catalogue {
  padding: 0;
}

.related .small-container.catalogue .row.catalogue {
  display: block;
}

.related .small-container.catalogue .col-2 {
  display: none;
}

.related .row-catalogue {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.related .catalogue-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.related .col-catalogue {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.875rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.related .catalogue-item:hover .col-catalogue {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.related .product-media-wrap {
  position: relative;
  margin-bottom: 0.875rem;
}

.related .product-media-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.related .product-media {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
}

.related .product-media img,
.related .col-catalogue img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.related .catalogue-wishlist {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.related .catalogue-wishlist:hover,
.related .catalogue-wishlist:focus-visible {
  background: #fff;
}

.related .catalogue-wishlist img {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  filter: grayscale(100%) brightness(0);
}

.related .sale-badge {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 1.75rem;
  padding: 0 0.625rem;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.related .col-catalogue h4 {
  margin: 0 0 0.5rem;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.related .col-catalogue h4:first-of-type {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1em * 1.35 * 2);
}

.related .price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  min-height: 2.25rem;
  margin: 0 0 0.75rem;
  color: var(--color-text);
  text-align: center;
}

.related .price-now {
  font-weight: 700;
}

.related .price-was {
  text-decoration: line-through;
  opacity: 0.7;
  font-weight: 500;
}

.related .availability {
  margin-top: auto;
  padding-top: 0.25rem;
  text-align: center;
}

.related .card-actions {
  margin-top: 0.625rem;
}

.related .card-actions--catalogue {
  display: flex;
  align-items: stretch;
}

.related .btn--add {
  width: 100%;
  min-height: 2.75rem;
  justify-content: center;
  text-align: center;
}

.related .btn--add[aria-disabled="true"] {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .related .small-container.catalogue {
    width: min(100% - 1rem, 1400px);
  }

  .related .row-catalogue {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .related .col-catalogue {
    padding: 1rem;
  }
}

@media (min-width: 1024px) {
  .related .row-catalogue {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}


/* The following 2 rules add space between the header and product details page, and the footer and the product details page */

@media (max-width: 1023px) {
  .small-container.single-product {
    margin-top: 54px;
  }

  .related .row-catalogue {
    margin-bottom: 30px;
  }
}


/* This adds spacing between the footer and the products section above it **/

@media (min-width: 1024px) {
  .related {
    margin-bottom: 50px;
  }
}


/* =========================================================
   CART + WISHLIST RESPONSIVE FINAL
   Paste at the END of storefront.css
   ========================================================= */

/* Desktop / base */
.small-container.cart-page {
  width: min(100% - 1rem, 1100px);
  margin: 2rem auto 4rem;
  padding: 0 0.5rem;
}

.small-container.cart-page h2 {
  margin: 0 0 1rem;
  text-align: center;
  font-weight: 300;
}

.small-container.cart-page .cart-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.small-container.cart-page .cart-table thead th {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
  font-weight: 600;
}

.small-container.cart-page .cart-table td {
  padding: 14px 10px;
  vertical-align: middle;
  border-bottom: 1px solid #e7ddd0;
}

.small-container.cart-page .cart-table th:nth-child(1),
.small-container.cart-page .cart-table td:nth-child(1) {
  width: 42%;
}

.small-container.cart-page .cart-table th:nth-child(2),
.small-container.cart-page .cart-table td:nth-child(2),
.small-container.cart-page .cart-table th:nth-child(3),
.small-container.cart-page .cart-table td:nth-child(3),
.small-container.cart-page .cart-table th:nth-child(4),
.small-container.cart-page .cart-table td:nth-child(4) {
  width: 14%;
  text-align: center;
}

.small-container.cart-page .cart-table th:nth-child(5),
.small-container.cart-page .cart-table td:nth-child(5) {
  width: 16%;
  text-align: right;
}

.small-container.cart-page .cart-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.small-container.cart-page .cart-info img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 78px;
}

.small-container.cart-page .cart-info p {
  margin: 0;
  min-width: 0;
}

.small-container.cart-page .cart-product-link,
.small-container.cart-page .cart-product-link:link,
.small-container.cart-page .cart-product-link:visited {
  color: inherit;
  text-decoration: none;
}

.small-container.cart-page .cart-product-link:hover,
.small-container.cart-page .cart-product-link:focus {
  text-decoration: underline;
}

.small-container.cart-page .cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.small-container.cart-page .cart-qty-btn {
  width: 28px;
  height: 40px;
  border: 0;
  background: #f7f7f7;
  color: #111;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.small-container.cart-page .cart-qty-btn:hover,
.small-container.cart-page .cart-qty-btn:focus {
  background: #e9e9e9;
  outline: none;
}

.small-container.cart-page .cart-qty-btn[disabled],
.small-container.cart-page .cart-qty-btn[aria-disabled="true"] {
  background: #eee;
  color: #999;
  cursor: not-allowed;
}

.small-container.cart-page .cart-qty-input {
  width: 48px;
  height: 40px;
  border: 0;
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  background: #fff;
  padding: 0;
}

.small-container.cart-page .cart-item-actions {
  text-align: right;
}

.small-container.cart-page .cart-item-actions__inner {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.small-container.cart-page .cart-action-btn {
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  background: #faf8f6;
  border: 0;
  padding: 7px;
  transition: background-color .2s ease, opacity .2s ease, transform .15s ease;
}

.small-container.cart-page .cart-action-btn:hover,
.small-container.cart-page .cart-action-btn:focus {
  background: #f0ece8;
  outline: none;
  transform: translateY(-1px);
}

.small-container.cart-page .cart-action-btn img {
  width: 22px;
  height: 22px;
  display: block;
  filter: grayscale(100%) brightness(0);
  margin: 0;
}

.small-container.cart-page .cart-action-btn--add {
  position: relative;
}

.small-container.cart-page .cart-action-plus {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  line-height: 14px;
  text-align: center;
  font-weight: 700;
  display: inline-block;
}

.small-container.cart-page .bill-errors,
.small-container.cart-page .bill-errors small {
  color: #c00;
}

.small-container.cart-page .low-stock td {
  color: #c00;
  font-size: 0.95rem;
  padding-top: 8px;
  padding-bottom: 12px;
}

.small-container.cart-page .total-price {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.small-container.cart-page .total-price table {
  width: 100%;
  max-width: 340px;
  border-collapse: collapse;
}

.small-container.cart-page .total-price table td {
  padding: 8px 0;
  border-bottom: 0;
}

.small-container.cart-page .total-price table td:last-child {
  text-align: right;
}

.small-container.cart-page .total-price table tr:last-child td {
  font-weight: 700;
}

.small-container.cart-page .btn-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.875rem 1.25rem;
  border: 0;
  border-radius: 0.25rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #404040;
  color: #fff;
}

.small-container.cart-page .btn-checkout:hover,
.small-container.cart-page .btn-checkout:focus-visible {
  background: #111;
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
  .small-container.cart-page {
    width: min(100% - 1rem, 1100px);
    margin: 1.5rem auto 3rem;
    padding: 0 0.25rem;
  }

  .small-container.cart-page .cart-table,
  .small-container.cart-page .cart-table tbody,
  .small-container.cart-page .cart-table tr,
  .small-container.cart-page .cart-table td {
    display: block !important;
    width: 100% !important;
  }

  .small-container.cart-page .cart-table {
    table-layout: auto !important;
    border-collapse: separate !important;
  }

  .small-container.cart-page .cart-table thead {
    display: none !important;
  }

  .small-container.cart-page .cart-table tr.cart-row,
  .small-container.cart-page .cart-table tr.wishlist-row {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 0.85rem;
    margin-bottom: 1rem;
    overflow: hidden;
  }

  .small-container.cart-page .cart-table tr.low-stock {
    display: block !important;
    margin: -0.5rem 0 1rem;
  }

  .small-container.cart-page .cart-table tr.low-stock td {
    display: block !important;
    width: 100% !important;
    padding: 0.5rem 0.75rem 0 !important;
    border: 0 !important;
    text-align: left !important;
  }

  .small-container.cart-page .cart-table tr.cart-row td,
  .small-container.cart-page .cart-table tr.wishlist-row td {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    width: 100% !important;
    padding: 0.6rem 0 !important;
    border: 0 !important;
    text-align: right !important;
  }

  .small-container.cart-page .cart-table tr.cart-row td::before,
  .small-container.cart-page .cart-table tr.wishlist-row td::before {
    content: attr(data-label);
    display: block;
    flex: 0 0 88px;
    min-width: 88px;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    line-height: 1.35;
  }

  .small-container.cart-page .cart-table td[data-label="Product"] {
    display: block !important;
    padding-top: 0 !important;
  }

  .small-container.cart-page .cart-table td[data-label="Product"]::before {
    display: none !important;
  }

  .small-container.cart-page .cart-info {
    display: flex !important;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .small-container.cart-page .cart-info img {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
  }

  .small-container.cart-page .cart-info p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .small-container.cart-page .cart-table td[data-label="Quantity"] .cart-qty-control,
  .small-container.cart-page .cart-table td[data-label="Quantity"] .bill-errors,
  .small-container.cart-page .cart-table td[data-label="Subtotal"] > *,
  .small-container.cart-page .cart-table td[data-label="Options"] .cart-item-actions__inner {
    margin-left: auto;
  }

  .small-container.cart-page .cart-table td[data-label="Options"] {
    align-items: flex-start !important;
  }

  .small-container.cart-page .cart-item-actions {
    text-align: right !important;
  }

  .small-container.cart-page .cart-item-actions__inner {
    display: inline-flex !important;
    justify-content: flex-end !important;
    gap: 8px;
  }

  .small-container.cart-page .cart-action-btn {
    width: 34px;
    height: 34px;
    padding: 6px;
  }

  .small-container.cart-page .cart-action-btn img {
    width: 20px;
    height: 20px;
  }

  /* totals block fix */
  .small-container.cart-page .total-price {
    display: block !important;
    width: 100% !important;
    margin-top: 1rem;
  }

  .small-container.cart-page .total-price table {
    display: table !important;
    width: 100% !important;
    max-width: none !important;
  }

  .small-container.cart-page .total-price table tr {
    display: table-row !important;
  }

  .small-container.cart-page .total-price table td {
    display: table-cell !important;
    width: auto !important;
    padding: 10px 0 !important;
    text-align: left !important;
  }

  .small-container.cart-page .total-price table td:last-child {
    text-align: right !important;
  }

  .small-container.cart-page .total-price .btn-checkout {
    width: 100%;
  }
}




/* =========================================================
   CART + WISHLIST MOBILE FIXES
   ========================================================= */
@media (max-width: 767px) {
  /* Bring cart/wishlist page further down below fixed header */
  .small-container.cart-page {
    margin-top: 3.5rem;
  }

  /* Add more top breathing room to the product row/card */
  .small-container.cart-page .cart-table tr.cart-row,
  .small-container.cart-page .cart-table tr.wishlist-row {
    padding-top: 1.15rem;
  }

  /* Product cell should not be stuck to the top of the image */
  .small-container.cart-page .cart-table td[data-label="Product"] {
    padding-top: 0.35rem !important;
  }

  .small-container.cart-page .cart-info {
    align-items: flex-start;
    gap: 0.9rem;
  }

  /* Product name block */
  .small-container.cart-page .cart-info p {
    margin: 0;
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
  }

  .small-container.cart-page .cart-product-link,
  .small-container.cart-page .cart-product-link:link,
  .small-container.cart-page .cart-product-link:visited {
    display: block;
    font-weight: 700;       /* bold in mobile */
    text-align: left;       /* keeps wrapped lines left aligned */
    line-height: 1.4;
    word-break: break-word;
  }

  /* If wishlist/cart product name is plain text, not a link */
  .small-container.cart-page .cart-info p:not(:has(a)) {
    font-weight: 700;
    text-align: left;
    line-height: 1.4;
    word-break: break-word;
  }

  /* Make the image/title column sit a bit lower and nicer */
  .small-container.cart-page .cart-info img {
    margin-top: 0.15rem;
  }

  /* Totals block should line up with the product cards, no extra inset */
  .small-container.cart-page .total-price {
    width: 100% !important;
    margin-top: 1rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .small-container.cart-page .total-price table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .small-container.cart-page .total-price table td {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .small-container.cart-page .total-price table td:first-child {
    text-align: left !important;
  }

  .small-container.cart-page .total-price table td:last-child {
    text-align: right !important;
  }
}


/* This moves the product name down a little towards the centre in mobile view otherwise it would be at the top of the image */

@media (max-width: 767px) {
  .small-container.cart-page .cart-info p {
    margin: 10px 0 0;
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
  }

  .small-container.cart-page .cart-product-link,
  .small-container.cart-page .cart-product-link:link,
  .small-container.cart-page .cart-product-link:visited {
    display: block;
    font-weight: 700;
    text-align: left;
    line-height: 1.4;
    word-break: break-word;
  }
}



/* =========================================================
   CHECKOUT PAGE
   ========================================================= */

.small-container.checkout {
  width: min(100% - 1rem, 1320px);
  margin: 2.5rem auto 4rem;
  padding: 0;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 2rem;
  align-items: start;
}

.checkout .col-left,
.checkout .col-right {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  min-width: 0;
}

.checkout-title {
  margin: 0 0 1rem;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}

.checkout-login-note,
.checkout-help-text {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.checkout-login-note a,
.checkout-help-text a {
  text-decoration: underline;
}

.checkout-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.checkout-checkbox input[type="checkbox"] {
  margin: 0;
  flex: 0 0 auto;
}

.checkout .field {
  margin-bottom: 1rem;
}

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

.checkout label {
  display: inline-block;
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.checkout input[type="text"],
.checkout input[type="email"],
.checkout input[type="tel"] {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 0.85rem;
  border: 1px solid #d8d8d8;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.98rem;
  color: var(--color-text);
}

.checkout input[type="text"]:focus,
.checkout input[type="email"]:focus,
.checkout input[type="tel"]:focus {
  outline: none;
  border-color: #b8b8b8;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

.checkout .input-error {
  border-color: #d44;
  background: #fff8f8;
}

.checkout-actions {
  margin-top: 1.25rem;
}

.checkout-submit {
  width: auto;
  min-width: 240px;
  justify-content: center;
}

/* Summary desktop/tablet */
.checkout-summary {
  width: 100%;
}

.checkout-summary-table-wrap {
  width: 100%;
  overflow: visible;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.summary-table th,
.summary-table td {
  padding: 0.85rem 0.5rem;
  vertical-align: middle;
  border-bottom: 1px solid #ece7de;
  font-size: 0.95rem;
}

.summary-table th:nth-child(1),
.summary-table td:nth-child(1) {
  width: 52%;
}

.summary-table th:nth-child(2),
.summary-table td:nth-child(2) {
  width: 16%;
}

.summary-table th:nth-child(3),
.summary-table td:nth-child(3) {
  width: 10%;
}

.summary-table th:nth-child(4),
.summary-table td:nth-child(4) {
  width: 22%;
}

.summary-table thead th {
  color: var(--color-text);
  font-weight: 600;
  text-align: left;
}

.summary-table tfoot td {
  border-bottom: 0;
  border-top: 1px solid #d9cfbf;
}

.summary-table .label {
  font-weight: 600;
}

.summary-table .total {
  font-weight: 700;
}

.checkout .cart-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.checkout .cart-info img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex: 0 0 72px;
}

.checkout .cart-info p {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
  line-height: 1.4;
}

.checkout .cart-product-link,
.checkout .cart-product-link:link,
.checkout .cart-product-link:visited {
  display: block;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  text-align: left;
  
}

.checkout .cart-product-link:hover,
.checkout .cart-product-link:focus {
  text-decoration: none;
  color: #333;
}

.summary-mobile-label,
.checkout-summary-mobile-totals {
  display: none;
}

.ta-center {
  text-align: center;
}

.ta-right {
  text-align: right;
}

.low-stock-msg {
  margin: 0 0 1rem;
  color: #b42318;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Tablet */
@media (max-width: 1023px) {
  .small-container.checkout {
    width: min(100% - 1rem, 980px);
    margin: 3rem auto 4rem;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .checkout .col-left,
  .checkout .col-right {
    padding: 1.25rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .small-container.checkout {
    width: calc(100% - 1rem);
    margin: 4.25rem auto 2.5rem;
  }

  .checkout .col-left,
  .checkout .col-right {
    padding: 1rem;
    border-radius: 0.65rem;
  }

  .checkout-title {
    font-size: 1.45rem;
  }

  .checkout .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .checkout-submit {
    width: 100%;
    min-width: 0;
  }

  /* Turn summary into stacked product cards */
  .checkout-summary-table-wrap {
    overflow: visible;
  }

  .summary-table {
    table-layout: auto;
  }

  .summary-table thead {
    display: none;
  }

  .summary-table tfoot {
    display: none;
  }

  .summary-table,
  .summary-table tbody,
  .summary-table tr,
  .summary-table td {
    display: block;
    width: 100%;
  }

  .summary-item-row {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 0.9rem;
    margin-bottom: 1rem;
  }

  .summary-table td {
    border: 0;
    padding: 0;
    text-align: left !important;
  }

  .summary-product-cell {
    margin-bottom: 0.85rem;
  }

  .summary-price-cell,
  .summary-qty-cell,
  .summary-subtotal-cell {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-top: 1px solid #eee7dc;
  }

  .summary-price-cell {
    border-top: 0;
  }

  .summary-mobile-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
  }

  .summary-mobile-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    text-align: right;
  }

  .checkout .cart-info {
    align-items: flex-start;
    gap: 0.8rem;
  }

  .checkout .cart-info img {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
  }

  .checkout .cart-info p {
    padding-top: 0.15rem;
  }

  .checkout .cart-product-link,
  .checkout .cart-product-link:link,
  .checkout .cart-product-link:visited {
    display: block;
    font-weight: 700;
    text-align: left;
    line-height: 1.4;
    word-break: break-word;
  }

  .checkout-summary-mobile-totals {
    display: block;
    margin-top: 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 0.9rem;
  }

  .checkout-summary-mobile-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    color: var(--color-text);
    font-size: 0.95rem;
  }

  .checkout-summary-mobile-total-row + .checkout-summary-mobile-total-row {
    border-top: 1px solid #eee7dc;
  }

  .checkout-summary-mobile-total-row--grand {
    font-weight: 700;
  }
}




@media (max-width: 767px) {
  .checkout .summary-table,
  .checkout .summary-table tbody,
  .checkout .summary-table tr,
  .checkout .summary-table td {
    display: block;
    width: 100%;
  }

  .checkout .summary-table tr {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    background: #fff;
  }

  .checkout .summary-table td {
    border: 0;
    padding: 6px 0;
    text-align: left !important;
  }

  .checkout .summary-table td:first-child {
    width: 100%;
  }

  .checkout .cart-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .checkout .cart-info img {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    object-fit: cover;
  }

  .checkout .cart-info p {
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    text-align: left;
  }

  .checkout .cart-product-link,
  .checkout .cart-product-link:link,
  .checkout .cart-product-link:visited {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    text-align: left;
    white-space: normal;
  }
}




/* =========================================================
   CART / WISHLIST EMPTY STATES
   ========================================================= */

#emptycart,
#emptywishlist {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  text-align: center;
}

#emptycart h2,
#emptywishlist h2 {
  margin: 0 0 0.75rem;
  text-align: center;
  font-weight: 300;
}

#emptycart p,
#emptywishlist p {
  margin: 0 0 1rem;
  text-align: center;
}

#emptycart .btn-checkout,
#emptywishlist .btn-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 220px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  #emptycart,
  #emptywishlist {
    width: 100%;
    padding: 1.5rem 0.5rem 2.5rem;
  }

  #emptycart .btn-checkout,
  #emptywishlist .btn-checkout {
    width: 100%;
    min-width: 0;
  }
}



#emptycart p:first-of-type,
#emptywishlist p:first-of-type {
  color: var(--color-muted);
  font-size: 1rem;
}


/** Brings the text down in mobile view so its not hidden behind the header ****/

@media (max-width: 767px) {
  #emptycart,
  #emptywishlist {
    margin-top: 3.5rem;
  }
}









/* ===================== Auth / Register / Login / Forgot / Reset ===================== */

.auth {
  padding: 0 var(--gutter) 3rem;
}

.auth__container {
  width: min(100%, 520px);
  margin: 0 auto;
}

.auth-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
  margin-bottom: 40px;
}

.auth-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: clamp(1.4rem, 3.2vw, 1.5rem);
  font-weight: 100;
  letter-spacing: .01em;
  color: #111;
}

.auth-subtitle {
  margin: 0 0 18px;
  text-align: center;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.field {
  min-width: 0;
}

.field.half {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .field {
    grid-column: 1 / -1;
  }

  .field.half {
    grid-column: auto;
  }
}

/* Labels + inputs */
.auth-form label {
  display: inline-block;
  margin: 0 0 6px;
  font-size: .95rem;
  font-weight: 300;
  color: #222;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font-size: .98rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  background: #fff;
  color: #111;
}

.auth-form input::placeholder {
  color: #9aa0a6;
}

.auth-form input:focus {
  outline: none;
  border-color: #bbb;
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

/* Helper hint */
.auth-form .hint {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: .9rem;
  line-height: 1.45;
}

/* Errors */
.auth-form .error,
.auth-form .error-message,
.auth-form .help-block {
  display: block;
  margin-top: 6px;
  color: #a94442;
  font-size: .9rem;
  line-height: 1.45;
}

.auth-form .has-error input,
.auth-form input.input-error {
  border-color: #e09a9a;
  box-shadow: 0 0 0 3px rgba(230,84,84,.12);
}

/* Submit button */
.auth-submit {
  width: 100%;
  margin-top: 10px;
  height: 44px;
  border-radius: 8px;
}

/* Bottom link */
.auth-alt {
  margin: 14px 0 0;
  text-align: center;
  font-size: .95rem;
  line-height: 1.5;
}

.auth-alt a {
  color: #111;
  text-decoration: none;
}

.auth-alt a:hover {
  text-decoration: underline;
}

/* Login page small helpers */
.auth-links {
  display: flex;
  justify-content: flex-end;
  margin: 6px 0 8px;
}

.forgot-link {
  font-size: .95rem;
  text-decoration: none;
  color: #111;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Alerts */
.alert {
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 14px;
  border: 1px solid transparent;
}

.alert-success {
  background: #e9f7ef;
  border-color: #c9e7d3;
  color: #1e7e34;
}

.alert-danger {
  background: #fdecea;
  border-color: #f5c6cb;
  color: #a94442;
}

/* Page title */
.page-title {
  text-align: center;
  margin: 10px 0 12px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 300;
  color: #111;
}

/* ===================== Desktop / tablet spacing ===================== */
@media (min-width: 768px) {
  .page-title {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }

  .auth {
    padding-top: 0.5rem;
    padding-bottom: 4rem;
  }
}

/* ===================== Mobile spacing / responsiveness ===================== */
@media (max-width: 767px) {
  .page-title {
    margin-top: 4.75rem;
    margin-bottom: 0.85rem;
    padding-inline: 1rem;
    /* text-align: left; */
  }

  .auth {
    padding: 0 1rem 2.5rem;
  }

  .auth__container {
    width: 100%;
    max-width: 100%;
  }

  .auth-card {
    padding: 1.25rem;
    margin-bottom: 2rem;
    border-radius: 10px;
  }

  .auth-title {
    font-size: 1.45rem;
    line-height: 1.2;
  }

  .auth-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .auth-form label,
  .auth-form .hint,
  .auth-form .error,
  .auth-form .error-message,
  .auth-form .help-block,
  .auth-alt,
  .forgot-link {
    font-size: 0.94rem;
  }

  .auth-form input[type="text"],
  .auth-form input[type="email"],
  .auth-form input[type="password"] {
    height: 44px;
    font-size: 1rem;
  }

  .auth-links {
    justify-content: flex-start;
    margin-top: 2px;
  }
}



/* Search results page spacing fix */
.search-page + .small-container.catalogue {
  padding-top: 0;
  margin-top: -1.5rem;
}



/* =========================================================
   CARD TOAST / ADD TO CART + WISHLIST MESSAGE OVER IMAGE
   ========================================================= */

.product-media-wrap,
.product-detail-media-wrap {
  position: relative;
}

.catalogue-card-toast {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;

  transform: translate(-50%, -50%) scale(0.96);

  background: rgba(0, 0, 0, 0.92);
  color: #fff;

  padding: 10px 14px;
  border-radius: 6px;

  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.2s ease, transform 0.2s ease;
}

.catalogue-card-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}