/* ==========================================================================
   Shop layout theme (loaded after stylesheet.css)
   Palette (Novara, 2026-12-02): four pastels used as backgrounds only, navy text, amber/teal for buttons.
     starlight blue #CBD8F7 (general, tech) · fresh mint #C7EFE5 (stock, delivery)
     dawn peach #FFDCC0 (deals) · nova lilac #E3D8F8 (featured, brands)
   The old variable names are kept (cream/sand = light starlight blue, sage = mint) so every rule follows along.
   ========================================================================== */

:root {
  --c-sky: #CBD8F7;
  --c-mint: #C7EFE5;
  --c-peach: #FFDCC0;
  --c-lilac: #E3D8F8;
  --c-sky-50: #F4F7FE;
  --c-sky-100: #E6EDFC;
  --c-mint-50: #EAF8F3;
  --c-peach-50: #FFF4EB;
  --c-lilac-50: #F6F2FD;

  --c-cream: #F4F7FE;
  --c-sand: #E6EDFC;
  --c-sage-light: #EAF8F3;
  --c-sage: #C7EFE5;
  --c-sage-dark: #8FD8C6;
  --c-tan: #ffb020;
  --c-dark: #0f1c2e;
  --c-text: #1b2434;
  --c-muted: #5d687d;
  --c-border: #dfe5ef;
  --c-link: #0b7f74;

  --bs-primary: #0f1c2e;
  --bs-primary-rgb: 15, 28, 46;
  --bs-link-color: #0b7f74;
  --bs-link-color-rgb: 11, 127, 116;
  --bs-link-hover-color: #075a52;
  --bs-link-hover-color-rgb: 7, 90, 82;
  --bs-body-color: #1b2434;
  --bs-body-color-rgb: 27, 36, 52;
}

.btn-primary {
  --bs-btn-bg: var(--c-dark);
  --bs-btn-border-color: var(--c-dark);
  --bs-btn-hover-bg: #22364f;
  --bs-btn-hover-border-color: #22364f;
  --bs-btn-active-bg: #22364f;
  --bs-btn-active-border-color: #22364f;
  --bs-btn-disabled-bg: var(--c-dark);
  --bs-btn-disabled-border-color: var(--c-dark);
}

body {
  color: var(--c-text);
  font-family: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--c-text);
}

/* --- page frame: replace the absolute-positioned footer trick ------------- */
#container {
  position: static;
  min-height: 100vh;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

#container > main {
  flex: 1 0 auto;
}

#content, #column-left, #column-right {
  padding-bottom: 40px;
}

/* inner pages get breathing room under the header; the home hero sits flush */
body:not(:has(#hero)) main {
  padding-top: 20px;
}

/* --- wide, near-full-width page container (matches the reference) ----------- */
.container {
  max-width: 1840px;
  padding-left: clamp(12px, 2.1vw, 40px);
  padding-right: clamp(12px, 2.1vw, 40px);
}

/* --- announcement bar ------------------------------------------------------ */
#announce {
  position: relative;
  background: var(--c-sand);
  color: var(--c-text);
  font-size: 12px;
  text-align: center;
  padding: 7px 0;
}

#announce .container {
  position: relative;
  padding-right: 40px;
  padding-left: 40px;
}

#announce .announce-close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: var(--c-text);
  font-size: 16px;
  line-height: 1;
  padding: 4px;
}

/* --- contact bar ------------------------------------------------------------ */
#top {
  background: #f4f6fa;
  border-bottom: 1px solid #ececec;
  margin-bottom: 0;
  padding: 0;
  font-size: 12px;
}

#top .top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 5px 0;
}

#top a {
  color: var(--c-text);
  text-decoration: none;
}

#top a:hover {
  text-decoration: underline;
}

#top .top-links .list-inline-item > a,
#top .top-links .list-inline-item .dropdown > a,
#top .top-links .list-inline-item .dropdown > span {
  font-size: 12px;
  line-height: 1.5;
  padding: 0;
  color: var(--c-muted);
  text-decoration: none;
}

#top .top-links .list-inline-item > a:hover {
  color: var(--c-link);
  text-decoration: underline;
}

#top .top-tel {
  color: #2f9e44;
  font-weight: 600;
}

#top .top-mail {
  color: #1a56c4;
  font-weight: 600;
  text-decoration: underline;
}

#top .top-links .list-inline-item:not(:last-child) {
  margin-right: 1.1rem;
}

/* --- main header row --------------------------------------------------------- */
header {
  background: #fff;
  padding: 14px 0;
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.hdr-cats { order: 1; }
#logo { order: 2; margin: 0 auto 0 0; }
.hdr-icons { order: 3; }
#cart { order: 4; }
.hdr-search { order: 5; flex: 1 1 100%; }

@media (min-width: 992px) {
  #logo { margin: 0; }
  .hdr-search { order: 3; flex: 1 1 auto; }
  .hdr-icons { order: 4; }
  #cart { order: 5; }
}

#logo img {
  max-width: 130px;
  max-height: 40px;
  width: auto;
}

#logo h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

#logo h1 a {
  color: var(--c-text);
  text-decoration: none;
}

/* categories button + panel */
#menu {
  background: none;
  border: 0;
  border-radius: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.cat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  background: var(--c-dark);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.cat-btn:hover {
  background: #333;
}

/* The outer element is see-through and reaches right up to the button, so the pointer never crosses a gap
   (a gap closes a hover menu). The visible white card is .cat-panel-inner. */
.cat-panel {
  top: 100%;
  left: 0;
  width: min(1180px, 96vw);
  margin: 0 !important;
  padding: 10px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cat-panel-inner {
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* --- desktop mega menu: two separate cards side by side -------------------------------
   The left card (main categories) is as tall as its list. The right card (sub-categories) is only as tall as
   what it is showing, so a category with a few sub-categories never leaves a big empty white block. */
.cat-mega {
  align-items: flex-start;
  gap: 12px;
}

.cat-mega-list {
  flex: 0 0 300px;
  max-height: 80vh;
  margin: 0;
  padding: 10px;
  list-style: none;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.cat-mega-item > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--c-text);
  font-size: 14.5px;
  text-decoration: none;
}

.cat-mega-item .cat-mega-name {
  flex: 1 1 auto;
  min-width: 0;
}

.cat-mega-item > a > i {
  color: var(--c-muted);
  font-size: 11px;
}

.cat-mega-item.is-active > a {
  background: var(--c-sage-light);
  font-weight: 600;
}

.cat-mega-item.is-active > a > i {
  color: var(--c-text);
}

.cat-count {
  flex: 0 0 auto;
  padding: 1px 9px;
  background: var(--c-sage);
  border-radius: 999px;
  color: var(--c-text);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.6;
}

.cat-mega-panes {
  flex: 1 1 auto;
  min-width: 0;
  max-height: 80vh;
  padding: 14px 18px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.cat-mega-pane {
  display: none;
}

.cat-mega-pane.is-active {
  display: block;
}

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

.cat-mega-child {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.12s;
}

.cat-mega-child:hover {
  background: var(--c-cream);
  color: var(--c-text);
}

.cat-mega-child .cat-mega-name {
  flex: 1 1 auto;
  min-width: 0;
}

.cat-mega-thumb {
  position: relative;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 8px;
}

.cat-mega-thumb img {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 1199.98px) {
  .cat-mega-list {
    flex-basis: 250px;
  }

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

/* phones and tablets: plain list of every category with its sub-categories */
.cat-mobile {
  max-height: 70vh;
  padding: 16px 18px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

/* categories flow into evenly filled columns (masonry-style) so the whole list fits without scrolling */
.cat-panel-grid {
  column-width: 200px;
  column-gap: 28px;
}

.cat-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  break-inside: avoid;
}

.cat-parent {
  font-weight: 600;
  font-size: 13px;
  color: var(--c-text);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--c-sage);
  margin-bottom: 4px;
}

.cat-child {
  font-size: 12.5px;
  color: var(--c-muted);
  text-decoration: none;
}

.cat-child:hover,
.cat-parent:hover {
  color: var(--c-link);
}

@media (hover: hover) and (min-width: 992px) {
  #menu:hover .dropdown-menu {
    display: block;
  }
}

/* pill search */
.pill-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  background: #fff;
  border: 2px solid var(--c-sage);
  border-radius: 999px;
}

.pill-search:focus-within {
  border-color: var(--c-sage-dark);
  box-shadow: 0 0 0 3px rgba(183, 228, 220, 0.4);
}

.pill-search i {
  color: var(--c-link);
}

.pill-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 12.5px;
  color: var(--c-text);
}

/* icon buttons with labels underneath */
.hdr-icons {
  display: flex;
  gap: 12px;
  padding: 0;
}

.hdr-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding: 2px 0;
  color: var(--c-text);
  text-decoration: none;
}

.hdr-icon i {
  font-size: 20px;
}

/* thin line icons, one consistent stroke */
.hdr-svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hdr-icon:hover .hdr-svg {
  color: var(--c-link);
}

.hdr-icon span {
  font-size: 10px;
  color: var(--c-muted);
  white-space: nowrap;
}

.hdr-icon:hover i {
  color: var(--c-link);
}

@media (max-width: 767.98px) {
  .hdr-icon span { display: none; }
  .hdr-icon { min-width: 40px; }
}

/* cart */
#cart {
  margin: 0;
}

#cart .cart-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0;
  font-size: 11px;
  color: var(--c-text);
}

#cart .cart-btn::after {
  display: none;
}

#cart .cart-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 36px;
  background: var(--c-sage);
  border-radius: 8px;
  font-size: 15px;
}

#cart .cart-btn:hover .cart-ico {
  background: var(--c-sage-dark);
}

@media (max-width: 575.98px) {
  #cart .cart-text { display: none; }
}

/* --- home: hero -------------------------------------------------------------- */
#hero {
  background: linear-gradient(180deg, #f2f7fc 0%, #e2ecf8 100%);
  padding: 34px 0 28px;
}

/* --- home: tabbed category cards --------------------------------------------- */
/* --- home: hero spotlight slider ------------------------------------------------ */
.spotlight {
  max-width: 1100px;
  margin: 0 auto;
  /* OpenCart's bundled Bootstrap frames every .carousel; the spotlight draws its own card */
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}

.spot-head {
  margin-bottom: 10px;
  text-align: center;
}

.spot-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3a4a63;
}

.spot-label i {
  color: var(--c-tan);
  margin-right: 4px;
}

.spot-card {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 40px;
  min-height: 340px;
  padding: 28px 48px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(15, 28, 46, 0.14);
}

.spot-img {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 300px;
  max-width: 42%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 45%, var(--c-sage-light) 0%, #fff 72%);
  border-radius: 16px;
}

.spot-img img {
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply; /* lets white product-photo backgrounds melt into the tinted circle */
  transition: transform 0.3s;
}

.spot-img:hover img {
  transform: scale(1.06);
}

.spot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 10px;
  background: var(--c-dark);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.spot-badge.is-sale {
  background: #c2410c;
}

.spot-info {
  flex: 1;
  min-width: 0;
  max-width: 520px;
}

.spot-info h3 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spot-info h3 a {
  color: var(--c-text);
  text-decoration: none;
}

.spot-info h3 a:hover {
  color: var(--c-link);
}

.spot-info p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--c-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spot-price strong {
  font-size: 2rem;
  font-weight: 800;
}

.spot-price s {
  margin-left: 10px;
  font-size: 1rem;
  color: var(--c-muted);
}

.spot-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.spot-add {
  padding: 12px 26px;
  background: var(--c-dark);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.spot-add:hover {
  background: #22364f;
}

.spot-view {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.spot-dots {
  position: static;
  justify-content: center;
  margin: 14px 0 0;
}

.spot-dots [data-bs-target] {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #22364f;
  opacity: 0.25;
}

.spot-dots .active {
  opacity: 0.9;
  width: 22px;
  border-radius: 999px;
}

@media (max-width: 767.98px) {
  .spot-card {
    gap: 20px;
    min-height: 0;
    padding: 20px;
  }

  .spot-img {
    flex-basis: 34%;
  }

  .spot-info h3 {
    font-size: 1.2rem;
  }

  .spot-info p {
    font-size: 12px;
  }

  .spot-price strong {
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .spot-card {
    flex-direction: column;
    text-align: center;
  }

  .spot-img {
    flex-basis: auto;
    max-width: none;
    width: 60%;
  }

  .spot-actions {
    justify-content: center;
  }
}

.home-section {
  margin: 28px 0 12px;
}

/* --- category showcase sections ------------------------------------------------- */
.cat-section {
  margin: 44px 0 0;
}

.cat-section + .home-tiles {
  margin-top: 30px;
}

.cat-banner {
  margin: 40px 0 0;
}

.cat-banner .carousel {
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(15, 28, 46, 0.12);
}

.cat-banner .carousel-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* dots sit on the artwork instead of below it */
.cat-banner .carousel-indicators {
  bottom: 10px;
  margin-bottom: 0;
}

.cat-banner .carousel-indicators [data-bs-target] {
  width: 26px;
  height: 4px;
  margin: 0 4px;
  background-color: #fff;
  border: 0;
  border-radius: 4px;
  opacity: 0.55;
}

.cat-banner .carousel-indicators .active {
  opacity: 1;
}

.cat-banner .carousel-control-prev,
.cat-banner .carousel-control-next {
  width: 56px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
}

.cat-banner .carousel:hover .carousel-control-prev,
.cat-banner .carousel:hover .carousel-control-next {
  opacity: 0.9;
}

.cat-banner .carousel-control-prev .fa-solid,
.cat-banner .carousel-control-next .fa-solid {
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  font-size: 14px;
}

.cat-banner + .cat-section {
  margin-top: 40px;
}

.cat-section.is-alt {
  padding: 32px 28px 28px;
  background: var(--c-cream);
  border: 1px solid #dfe8f4;
  border-radius: 22px;
}

@media (max-width: 767.98px) {
  .cat-section {
    margin-top: 34px;
  }

  .cat-section.is-alt {
    padding: 24px 14px 22px;
    border-radius: 18px;
  }
}

.cat-tabs-wrap {
  text-align: center;
  margin-bottom: 18px;
}

.cat-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.cat-tabs .nav-link {
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--c-text);
  font-size: 13px;
}

.cat-tabs .nav-link:hover {
  background: var(--c-cream);
}

.cat-tabs .nav-link.active {
  background: var(--c-tan);
  color: #231500;
  font-weight: 500;
}

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

@media (min-width: 1200px) {
  .cat-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.cat-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  color: var(--c-text);
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.cat-tile:hover {
  transform: translateY(-3px);
  border-color: var(--c-tan);
  box-shadow: 0 12px 26px rgba(15, 28, 46, 0.13);
  color: var(--c-text);
}

.cat-tile-img {
  position: relative;
  display: block;
  aspect-ratio: 1 / 0.85;
  background: linear-gradient(180deg, #fff 0%, var(--c-cream) 100%);
}

.cat-tile-img img {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.25s;
}

.cat-tile:hover .cat-tile-img img {
  transform: scale(1.07);
}

.cat-tile-img > i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: #c3ccdb;
}

.cat-tile-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px 14px;
  border-top: 1px solid var(--c-border);
}

.cat-tile-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.cat-tile-count {
  color: var(--c-muted);
  font-size: 12px;
}

.cat-more {
  margin-top: 16px;
  text-align: center;
}

.cat-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  color: var(--c-text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cat-more-btn i {
  color: var(--c-tan);
  transition: transform 0.15s, color 0.15s;
}

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

.cat-more-btn:hover i {
  color: #fff;
  transform: translateX(3px);
}
@media (max-width: 767.98px) {
  .cat-tabs-wrap {
    margin-right: -12px;
    margin-left: -12px;
    padding: 0 12px;
    overflow-x: auto;
  }

  .cat-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
  }

  .cat-tabs .nav-link {
    white-space: nowrap;
  }

  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
/* --- section headings (Featured etc.) ------------------------------------------ */
#common-home #content h3 {
  display: inline-block;
  margin: 18px 0 16px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

#common-home #content h3::after {
  content: " \2192";
}

/* --- product cards -------------------------------------------------------------- */
.product-thumb {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.product-thumb:hover {
  box-shadow: 0 8px 22px rgba(15, 28, 46, 0.12);
}

.product-thumb .content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-thumb .description {
  flex: 1;
  margin-bottom: 0;
  padding: 12px 14px 8px;
}

.product-thumb .description {
  text-align: center;
}

.product-thumb .description h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-thumb .description h4 a {
  color: var(--c-text);
  text-decoration: none;
}

.product-thumb .description h4 a:hover {
  color: var(--c-link);
}

.product-thumb .description p {
  margin: 0 0 6px;
  font-size: 0.74rem;
  color: var(--c-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-thumb .price {
  margin: 0 12px 10px;
  padding: 7px 8px;
  background: var(--c-sage);
  border-radius: 8px;
  text-align: center;
  color: var(--c-text);
}

.price-new {
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-text);
}

.price-old {
  font-size: 0.85rem;
  color: #c2410c;
}

.price-tax {
  font-size: 11px;
  color: #5c6146;
}

.product-thumb .button {
  position: static;
  display: flex;
  gap: 6px;
  width: auto;
  padding: 0 12px 12px;
}

.product-thumb .button button {
  width: auto;
  height: 34px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: #fff;
  color: var(--c-text);
  line-height: 1;
  font-size: 12px;
}

.product-thumb .button button + button {
  border-left: 1px solid var(--c-border);
}

.product-thumb .button .btn-add {
  flex: 1;
  font-weight: 500;
}

.product-thumb .button .btn-icon {
  width: 34px;
}

.product-thumb .button button:hover {
  background: var(--c-cream);
  border-color: var(--c-tan);
  color: var(--c-text);
}

/* 5 products per row on wide screens (the module ships with 4) */
@media (min-width: 992px) {
  #common-home .row-cols-xl-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
}

@media (min-width: 1200px) {
  #common-home .row-cols-xl-4 > * {
    width: 20%;
  }
}

/* --- promo tiles ------------------------------------------------------------------ */
.home-tiles {
  margin: 12px 0 28px;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 190px;
  padding: 24px 28px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.tile strong {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.tile .tile-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.tile .tile-link {
  margin-top: 8px;
  font-weight: 500;
  font-size: 0.85rem;
}

.tile-dark {
  background: linear-gradient(135deg, #1f3450, #0f1c2e);
  color: #fff;
}

.tile-dark {
  position: relative;
  overflow: hidden;
}

.tile-thumbs {
  position: absolute;
  top: 22px;
  right: 24px;
  display: flex;
  gap: 10px;
}

.tile-thumb {
  position: relative;
  display: block;
  width: 104px;
  height: 104px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.tile-thumb img {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
}

.tile-thumb em {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 1px 7px;
  background: var(--c-tan);
  border-radius: 999px;
  color: #231500;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  .tile-thumb:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .tile-thumb {
    width: 84px;
    height: 84px;
  }
}
.tile-tan {
  background: linear-gradient(135deg, #ffe2a0, var(--c-tan));
  color: #231500;
}

/* --- footer -------------------------------------------------------------------------- */
footer {
  position: static;
  flex-shrink: 0;
  width: 100%;
  margin-top: 0;
  padding: 44px 0 20px;
  background: #0c1626;
  border: 0;
  color: #cdd6e4;
}

footer h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-sage);
  margin-bottom: 14px;
}

footer a {
  color: #cdd6e4;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer ul li {
  margin-bottom: 6px;
  font-size: 13px;
}

footer hr {
  border-bottom-color: #22364f;
}

footer .footer-newsletter p {
  font-size: 13px;
}

footer .footer-newsletter .btn {
  background: var(--c-sage);
  border-color: var(--c-sage);
  color: var(--c-dark);
  font-weight: 700;
}

footer .footer-newsletter .btn:hover {
  background: var(--c-sage-dark);
  text-decoration: none;
  color: var(--c-dark);
}

/* --- small screens --------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  #hero { padding: 36px 0 32px; }
  .tile { min-height: 150px; padding: 20px; }
  .tile strong { font-size: 1.35rem; }
}

/* --- contact page ------------------------------------------------------------------- */
.contact-page {
  padding-bottom: 40px;
}

.contact-hero {
  max-width: 780px;
  padding: 6px 0 26px;
}

.contact-hero h1 {
  margin: 0 0 8px;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.contact-hero p {
  margin: 0;
  color: var(--c-muted);
  font-size: 1.02rem;
}

.contact-reply {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 11px;
  background: var(--c-sage-light);
  border-radius: 999px;
  color: var(--c-text);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.contact-reply i {
  margin-right: 3px;
  color: #0b7f74;
}

.contact-card {
  margin-bottom: 20px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(15, 28, 46, 0.05);
}

.contact-card h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-lead {
  margin: 0 0 18px;
  color: var(--c-muted);
  font-size: 14px;
}

.contact-card .form-label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.contact-req {
  color: #c0392b;
}

.contact-card .form-control,
.contact-card .form-select {
  padding: 10px 14px;
  border-color: #cdd6e4;
  border-radius: 10px;
  font-size: 14px;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
  border-color: var(--c-tan);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.25);
}

/* Both columns are always the same height: the form card and the last card on the right stretch to match whichever
   side is taller, and the extra height goes to the message box. */
.contact-cols > [class*="col-"] {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-cols .contact-card {
  margin-bottom: 0;
}

.contact-cols > .col-lg-7 > .contact-card,
.contact-cols > .col-lg-5 > .contact-card:last-child {
  flex: 1 1 auto;
}

.contact-form-card,
.contact-form-card form {
  display: flex;
  flex-direction: column;
}

.contact-form-card form {
  flex: 1 1 auto;
}

.contact-msg {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: 1rem;
}

.contact-msg textarea {
  flex: 1 1 auto;
  min-height: 170px;
  resize: vertical;
}

.contact-form-card .contact-actions {
  margin-top: 20px;
}

/* spam trap: invisible to people, bots fill it in */
.contact-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.contact-note {
  flex: 1 1 240px;
  margin: 0;
  color: var(--c-muted);
  font-size: 12.5px;
}

.contact-note i {
  margin-right: 4px;
  color: var(--c-tan);
}

.contact-send {
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
}

.contact-icon {
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--c-tan);
  border-radius: 14px;
  color: #231500;
  font-size: 20px;
}

.contact-icon-sm {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
  background: var(--c-sage-light);
  border-radius: 11px;
  color: var(--c-text);
  font-size: 16px;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: #fff;
}

.contact-email h2 {
  color: #fff;
}

.contact-mail {
  color: var(--c-tan);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.contact-mail:hover {
  color: #fff;
}

.contact-small {
  margin: 4px 0 0;
  font-size: 12.5px;
  opacity: 0.75;
}

.contact-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  font-size: 14px;
}

.contact-row > i {
  flex: 0 0 18px;
  padding-top: 3px;
  color: var(--c-tan);
  text-align: center;
}

.contact-row address {
  margin: 0;
}

.contact-map {
  display: inline-block;
  margin: 8px 0 0 30px;
  font-size: 13px;
  font-weight: 600;
}

.contact-help {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.contact-help li + li {
  border-top: 1px solid var(--c-border);
}

.contact-help a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: var(--c-text);
  text-decoration: none;
}

.contact-help a strong {
  display: block;
  font-size: 14px;
}

.contact-help a small {
  display: block;
  color: var(--c-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.contact-help .contact-go {
  margin-left: auto;
  color: var(--c-muted);
  font-size: 11px;
}

.contact-help a:hover strong {
  color: var(--c-link);
}

.contact-faq {
  margin-top: 30px;
}

.contact-faq h2 {
  margin-bottom: 14px;
  font-size: 1.4rem;
  font-weight: 700;
}

.contact-faq .accordion-header {
  margin: 0;
  font-size: inherit;
}

.contact-faq .accordion-item {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: 12px !important;
}

.contact-faq .accordion-button {
  background: #fff;
  box-shadow: none;
  color: var(--c-text);
  font-size: 15px;
  font-weight: 600;
}

.contact-faq .accordion-button:not(.collapsed) {
  background: var(--c-cream);
  color: var(--c-text);
}

.contact-faq .accordion-body {
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-thanks {
  max-width: 620px;
  margin: 30px auto;
  padding: 44px 30px;
  text-align: center;
}

.contact-thanks .contact-icon-lg {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  background: var(--c-sage);
  border-radius: 50%;
  font-size: 28px;
}

.contact-thanks h1 {
  font-size: 1.6rem;
  font-weight: 700;
}

.contact-thanks p {
  margin: 8px 0 22px;
  color: var(--c-muted);
}

@media (max-width: 575.98px) {
  .contact-card {
    padding: 20px 18px;
  }

  .contact-hero h1 {
    font-size: 1.7rem;
  }
}
/* --- checkout ------------------------------------------------------------------------- */
.checkout-page {
  padding-bottom: 40px;
  counter-reset: co-step;
}

.co-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin: 4px 0 24px;
}

.co-head-title h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.co-head-title p {
  margin: 4px 0 0;
  color: var(--c-muted);
}

.co-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--c-muted);
  font-size: 13px;
  font-weight: 600;
}

.co-steps li,
.co-steps li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.co-steps li a {
  color: inherit;
  text-decoration: none;
}

.co-steps li + li::before {
  width: 28px;
  height: 2px;
  margin-right: 2px;
  background: var(--c-border);
  content: "";
}

.co-steps li > span,
.co-steps li a > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: 50%;
  font-size: 12px;
}

.co-steps .is-done,
.co-steps .is-current {
  color: var(--c-text);
}

.co-steps .is-done a > span {
  background: var(--c-sage);
  border-color: var(--c-sage);
}

.co-steps .is-current > span {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: #fff;
}

.co-secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--c-sage-light);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.co-secure i {
  color: #0b7f74;
}

.co-card {
  margin-bottom: 20px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(15, 28, 46, 0.05);
}

/* every step heading gets a number, counted in page order (hidden steps are skipped) */
.checkout-page fieldset {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}

.checkout-page fieldset > legend {
  display: flex;
  float: none;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
  counter-increment: co-step;
}

.checkout-page fieldset > legend::before {
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--c-dark);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  content: counter(co-step);
}

#form-register > p {
  margin: 0 0 18px;
  color: var(--c-muted);
  font-size: 13.5px;
}

.checkout-page .form-label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.checkout-page .form-control,
.checkout-page .form-select {
  padding: 10px 14px;
  border-color: #cdd6e4;
  border-radius: 10px;
  font-size: 14px;
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus {
  border-color: var(--c-tan);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.25);
}

.checkout-page .btn-primary {
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
}

/* guest / register choice as two pills */
#form-register .form-check-inline {
  margin-right: 10px;
  padding: 0;
}

#form-register .form-check-inline .form-check-input {
  position: absolute;
  opacity: 0;
}

#form-register .form-check-inline .form-check-label {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid #cdd6e4;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

#form-register .form-check-inline .form-check-input:checked + .form-check-label {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: #fff;
}

#form-register .form-check-inline .form-check-input:focus-visible + .form-check-label {
  outline: 3px solid rgba(255, 176, 32, 0.5);
  outline-offset: 2px;
}

/* delivery and payment options as selectable cards */
.co-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.co-option:hover {
  border-color: var(--c-tan);
}

.co-option.is-on {
  background: var(--c-cream);
  border-color: var(--c-dark);
  box-shadow: 0 4px 14px rgba(15, 28, 46, 0.08);
}

.co-option::after {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 2px solid #c3ccdb;
  border-radius: 50%;
  content: "";
}

.co-option.is-on::after {
  background: radial-gradient(circle, var(--c-dark) 42%, transparent 48%);
  border-color: var(--c-dark);
}

.co-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.co-radio:focus-visible + .co-option-icon {
  outline: 3px solid rgba(255, 176, 32, 0.6);
}

.co-option-icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--c-sage-light);
  border-radius: 12px;
  color: var(--c-text);
  font-size: 17px;
}

.co-option.is-on .co-option-icon {
  background: var(--c-tan);
  color: #231500;
}

.co-option-body {
  flex: 1 1 auto;
  min-width: 0;
}

.co-option-body strong {
  display: block;
  font-size: 14.5px;
}

.co-option-body small {
  display: block;
  color: var(--c-muted);
  font-size: 12.5px;
}

.co-option-price {
  font-weight: 700;
  white-space: nowrap;
}

.co-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--c-cream);
  border: 1px dashed #cdd6e4;
  border-radius: 12px;
  color: var(--c-muted);
  font-size: 13.5px;
}

.co-placeholder i {
  color: var(--c-tan);
}

.co-placeholder.is-error {
  background: #fdecea;
  border-color: #f3c0b8;
  color: #8a2b1d;
}

.co-notes {
  margin-top: 18px;
}

.co-optional {
  color: var(--c-muted);
  font-weight: 400;
}

/* the terms box: unmistakable while it still has to be ticked, calm once it is */
.co-agree {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 18px;
  background: #fff8e6;
  border: 2px solid var(--c-tan);
  border-radius: 12px;
  font-size: 14px;
  transition: background .15s, border-color .15s;
}

.co-agree-box {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin: 2px 0 0;
  accent-color: var(--c-link);
  cursor: pointer;
}

.co-agree-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  cursor: pointer;
}

.co-agree-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.co-required {
  padding: 2px 8px;
  border-radius: 20px;
  background: #b3261e;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.co-agree-text a {
  text-decoration: underline;
}

.co-agree-warn {
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
}

.co-agree.is-agreed {
  background: var(--c-sage-light);
  border-color: var(--c-sage-dark);
}

.co-agree.is-agreed .co-required,
.co-agree.is-agreed .co-agree-warn {
  display: none;
}

/* order summary */
.co-aside {
  position: sticky;
  top: 16px;
}

.co-summary h2 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 700;
}

.co-edit {
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

.co-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 340px;
  padding: 8px 6px 4px 0;
  overflow-y: auto;
}

.co-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.co-thumb {
  position: relative;
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.co-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.co-qty {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--c-dark);
  border-radius: 999px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

.co-item-body {
  flex: 1 1 auto;
  min-width: 0;
}

.co-item-name {
  display: block;
  color: var(--c-text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.co-item-body small {
  display: block;
  color: var(--c-muted);
  font-size: 12px;
}

.co-item-total {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.co-totals {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--c-border);
}

.co-total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 14px;
}

.co-total-row dt {
  color: var(--c-muted);
  font-weight: 500;
}

.co-total-row dd {
  margin: 0;
}

.co-total-row.is-grand {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--c-border);
  font-size: 1.15rem;
  font-weight: 700;
}

.co-total-row.is-grand dt {
  color: var(--c-text);
  font-weight: 700;
}

.co-pay {
  margin-top: 16px;
}

.co-pay .btn,
#checkout-payment .btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.co-pay-hint {
  margin: 10px 0 0;
  color: var(--c-muted);
  font-size: 12.5px;
  text-align: center;
}

.co-trust ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.co-trust li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  color: var(--c-muted);
  font-size: 13px;
}

.co-trust li + li {
  border-top: 1px solid var(--c-border);
}

.co-trust li > i {
  flex: 0 0 18px;
  padding-top: 3px;
  color: var(--c-tan);
  text-align: center;
}

.co-trust .co-card,
.co-card.co-trust {
  padding: 12px 22px;
}

@media (max-width: 991.98px) {
  .co-aside {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .co-card {
    padding: 20px 18px;
  }

  .co-head-title h1 {
    font-size: 1.7rem;
  }

  .co-option {
    padding: 12px;
  }
}
/* --- mini cart (header dropdown) ---------------------------------------------------- */
.mini-cart {
  width: min(390px, 92vw);
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.mini-cart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 18px 12px;
  font-size: 15px;
}

.mini-cart-head span {
  color: var(--c-muted);
  font-size: 12.5px;
}

.mini-cart-items {
  max-height: 320px;
  padding: 2px 18px 6px;
  overflow-y: auto;
}

.mini-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--c-border);
}

.mini-cart-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
}

.mini-cart-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mini-cart-body {
  flex: 1 1 auto;
  min-width: 0;
}

.mini-cart-name {
  display: -webkit-box;
  overflow: hidden;
  color: var(--c-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-cart-name:hover {
  color: var(--c-link);
}

.mini-cart-body small {
  display: block;
  color: var(--c-muted);
  font-size: 12px;
}

.mini-cart-side {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 13px;
}

.mini-cart-remove {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  background: #edf1f7;
  border: 0;
  border-radius: 50%;
  color: var(--c-muted);
  font-size: 12px;
  transition: background 0.15s, color 0.15s;
}

.mini-cart-remove:hover {
  background: #fdecea;
  color: #c0392b;
}

.mini-cart-foot {
  padding: 14px 18px 18px;
  background: var(--c-cream);
  border-top: 1px solid var(--c-border);
}

.mini-cart-totals {
  margin: 0 0 14px;
}

.mini-cart-total {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  font-size: 13px;
}

.mini-cart-total dt {
  color: var(--c-muted);
  font-weight: 500;
}

.mini-cart-total dd {
  margin: 0;
}

.mini-cart-total.is-grand {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #e3e9f2;
  font-size: 1.05rem;
  font-weight: 700;
}

.mini-cart-total.is-grand dt {
  color: var(--c-text);
  font-weight: 700;
}

.mini-cart-actions {
  display: flex;
  gap: 10px;
}

.mini-cart-actions .btn {
  flex: 1 1 0;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.mini-cart-actions .btn-outline-dark {
  background: #fff;
}

.mini-cart-actions .btn-outline-dark:hover {
  background: var(--c-dark);
  color: #fff;
}

.mini-cart-empty {
  padding: 34px 24px;
  text-align: center;
}

.mini-cart-empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: var(--c-sage-light);
  border-radius: 50%;
  color: var(--c-muted);
  font-size: 20px;
}

.mini-cart-empty p {
  margin: 4px 0 0;
  color: var(--c-muted);
  font-size: 13px;
}
/* OpenCart's stylesheet paints #cart .dropdown-menu grey; the mini cart card must be white */
#cart .dropdown-menu.mini-cart {
  --bs-dropdown-bg: #fff;
  background-color: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
}
/* checkout switches and tick-boxes use the store's colours instead of bootstrap blue */
.checkout-page .form-check-input:checked {
  background-color: var(--c-dark);
  border-color: var(--c-dark);
}

.checkout-page .form-check-input:focus {
  border-color: var(--c-tan);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.25);
}
/* --- shopping cart page --------------------------------------------------------------- */
.cart-page {
  padding-bottom: 40px;
}

.cart-items {
  padding: 4px 28px 22px;
}

.cart-row {
  display: grid;
  grid-template-areas: "thumb info qty line";
  grid-template-columns: 96px minmax(0, 1fr) auto minmax(104px, auto);
  gap: 16px 22px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-border);
}

.cart-thumb {
  display: block;
  grid-area: thumb;
  width: 96px;
  height: 96px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px;
}

.cart-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-info {
  display: flex;
  flex-direction: column;
  grid-area: info;
  gap: 3px;
  min-width: 0;
}

.cart-name {
  color: var(--c-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.cart-name:hover {
  color: var(--c-link);
}

.cart-info small {
  color: var(--c-muted);
  font-size: 12.5px;
}

.cart-unit {
  margin-top: 4px;
  color: var(--c-muted);
  font-size: 13px;
}

.cart-flag {
  align-self: flex-start;
  padding: 2px 10px;
  background: #fdecea;
  border-radius: 999px;
  color: #8a2b1d;
  font-size: 12px;
  font-weight: 600;
}

.cart-qty-form {
  position: relative;
  grid-area: qty;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #cdd6e4;
  border-radius: 999px;
}

.cart-qty:focus-within {
  border-color: var(--c-tan);
  box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.25);
}

.cart-qty.is-invalid {
  border-color: #c0392b;
}

.cart-qty input {
  width: 44px;
  padding: 8px 0;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  text-align: center;
}

.cart-step {
  width: 36px;
  height: 38px;
  background: none;
  border: 0;
  color: var(--c-text);
  font-size: 11px;
}

.cart-step:hover {
  background: var(--c-cream);
}

.cart-minimum {
  display: block;
  margin-top: 6px;
  color: #c0392b;
  font-size: 12px;
}

/* the quantity saves by itself; this button only exists for the page script to press */
.cart-update {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.cart-line {
  display: flex;
  flex-direction: column;
  grid-area: line;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.cart-line strong {
  font-size: 16px;
}

.cart-remove {
  color: var(--c-muted);
  font-size: 12.5px;
  text-decoration: none;
}

.cart-remove:hover {
  color: #c0392b;
}

.cart-back {
  padding-top: 18px;
}

.cart-back a {
  font-weight: 600;
  text-decoration: none;
}

.cart-summary > h2,
.cart-extras > h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
}

.cart-checkout {
  width: 100%;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.cart-extras .accordion-item {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: 12px !important;
}

.cart-extras .accordion-header {
  margin: 0;
  font-size: inherit;
}

.cart-extras .accordion-button {
  padding: 13px 16px;
  background: #fff;
  box-shadow: none;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
}

.cart-extras .accordion-button:not(.collapsed) {
  background: var(--c-cream);
  color: var(--c-text);
}

.cart-extras .accordion-body {
  padding: 14px 16px;
}

.cart-extras .form-control,
.cart-extras .form-select {
  border-color: #cdd6e4;
  border-radius: 10px;
}

.cart-extras .btn-primary {
  border-radius: 999px;
  font-weight: 600;
}

.cart-empty {
  max-width: 620px;
  margin: 20px auto;
  padding: 44px 30px;
  text-align: center;
}

.cart-empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: var(--c-sage-light);
  border-radius: 50%;
  color: var(--c-muted);
  font-size: 26px;
}

.cart-empty h1 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  font-weight: 700;
}

.cart-empty p {
  margin: 0;
  color: var(--c-muted);
}

.cart-empty .cart-empty-sub {
  margin: 4px 0 22px;
}

@media (max-width: 767.98px) {
  .cart-items {
    padding: 0 18px 18px;
  }

  .cart-row {
    grid-template-areas: "thumb info" "qty line";
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 14px;
  }

  .cart-thumb {
    width: 80px;
    height: 80px;
  }

  .cart-qty-form {
    justify-self: start;
  }
}
/* ---- EFT payment: checkout note and the order-placed page ---- */
.co-eft { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 12px; background: var(--c-sage-light); border: 1px solid var(--c-sage); border-radius: 10px; font-size: .9rem; }
.co-eft i { margin-top: 3px; color: var(--c-link); }
.co-eft p { margin: 0; }

/* the order-placed page (EFT details, what happens next) */
.co-steps .is-done > span {
  background: var(--c-sage);
  border-color: var(--c-sage);
}

.eft-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.eft-top h2 {
  margin: 0 0 4px;
  font-size: 1.3rem;
  font-weight: 700;
}

.eft-top p {
  margin: 0;
  color: var(--c-muted);
}

.eft-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--c-sage-light);
  border-radius: 14px;
  color: var(--c-link);
  font-size: 20px;
}

.eft-figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.eft-figure {
  position: relative;
  padding: 16px 18px;
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: 14px;
}

.eft-figure small {
  display: block;
  color: var(--c-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.eft-figure strong {
  display: block;
  margin: 2px 0 8px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.eft-sub {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.eft-bank {
  margin: 0;
  border: 1px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
}

.eft-bank > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.eft-bank > div + div {
  border-top: 1px solid var(--c-border);
}

.eft-bank dt {
  flex: 0 0 150px;
  color: var(--c-muted);
  font-size: 13.5px;
  font-weight: 500;
}

.eft-bank dd {
  flex: 1 1 auto;
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.eft-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  color: var(--c-text);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.eft-copy:hover {
  background: var(--c-sage-light);
  border-color: var(--c-sage);
}

.eft-copy.is-copied {
  background: var(--c-sage);
  border-color: var(--c-sage-dark);
}

.eft-copy-sm {
  padding: 5px 9px;
}

.eft-next h2 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 700;
}

.eft-next ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eft-next li {
  display: flex;
  gap: 14px;
}

.eft-next li > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--c-dark);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.eft-next li p {
  margin: 2px 0 0;
  color: var(--c-muted);
  font-size: 13.5px;
}

.eft-note {
  margin: 18px 0 0;
  padding: 10px 14px;
  background: #fff8e6;
  border-radius: 10px;
  font-size: 13px;
}

.eft-help p {
  margin: 0 0 14px;
}

.eft-help p i {
  margin-right: 6px;
  color: var(--c-link);
}

@media (max-width: 575px) {
  .eft-figures { grid-template-columns: 1fr; }
  .eft-bank > div { flex-wrap: wrap; }
  .eft-bank dt { flex-basis: 100%; }
}
/* ---- category filters (left column of the category pages) ---- */
.shop-filters-col {
  margin-bottom: 20px;
}

.shop-filters-toggle {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  font-weight: 600;
}

.shop-filters {
  padding: 4px 20px 8px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(15, 28, 46, 0.05);
}

@media (min-width: 992px) {
  .shop-filters-col { position: sticky; top: 12px; align-self: flex-start; max-height: calc(100vh - 24px); overflow-y: auto; }
}

.sf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0 6px;
}

.sf-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.sf-clear {
  font-size: 13px;
  font-weight: 600;
}

.sf-active {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 0 12px;
}

.sf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--c-sage-light);
  border: 1px solid var(--c-sage);
  border-radius: 999px;
  color: var(--c-text);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}

.sf-chip i {
  font-size: 11px;
  opacity: .7;
}

.sf-chip:hover {
  background: var(--c-sage);
}

.sf-block {
  padding: 14px 0;
  border-top: 1px solid var(--c-border);
}

.sf-block h3 {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.sf-block h3 small {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.sf-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
  cursor: pointer;
}

.sf-check input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  background: #fff center / 14px no-repeat;
  border: 1.5px solid #98a3b6;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color .12s, border-color .12s;
}

.sf-check input:hover {
  border-color: var(--c-link);
}

.sf-check input:checked {
  background-color: var(--c-link);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
  border-color: var(--c-link);
}

.sf-check input:focus-visible {
  outline: 2px solid var(--c-sage-dark);
  outline-offset: 2px;
}

.sf-check span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.sf-check em {
  color: var(--c-muted);
  font-size: 12.5px;
  font-style: normal;
}

.sf-brands {
  max-height: 290px;
  overflow-y: auto;
  padding-right: 6px;
}

.sf-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sf-price label {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.sf-price label span {
  padding: 0 0 0 10px;
  color: var(--c-muted);
  font-size: 13px;
}

.sf-price input {
  width: 100%;
  min-width: 0;
  padding: 8px 8px 8px 4px;
  border: 0;
  outline: 0;
  font-size: 14px;
  background: transparent;
}

.sf-to {
  color: var(--c-muted);
  font-size: 13px;
}

.sf-apply {
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-weight: 600;
}

.sf-empty {
  padding: 18px 20px;
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

/* ---- category pages: full-width breadcrumb bar and a centred title band ---- */
.crumb-bar {
  background: #f3f6fa;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  margin: 0;
  padding: 14px 16px;
  list-style: none;
  color: var(--c-muted);
  font-size: 15px;
}

.crumbs a {
  color: var(--c-muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--c-link);
  text-decoration: underline;
}

.crumbs .fa-house {
  color: var(--c-link);
  font-size: 17px;
}

.crumb-arrow {
  color: var(--c-dark);
  font-size: 13px;
}

.crumb-current {
  color: var(--c-text);
  font-weight: 700;
}

.cat-band {
  margin-bottom: 26px;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}

.cat-band h1 {
  margin: 0;
  padding: 22px 16px;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cat-band h1 span {
  font-weight: 700;
}

@media (max-width: 575px) {
  .cat-band h1 { font-size: 1.5rem; padding: 16px; }
  .crumbs { font-size: 14px; }
}
/* ---- product list toolbar: product count on the left, sort menu on the right ---- */
.sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.sort-count {
  color: var(--c-muted);
  font-size: 14.5px;
  font-weight: 500;
}

.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--c-muted);
  font-size: 14.5px;
  font-weight: 500;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 200px;
  padding: 9px 40px 9px 16px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%232b2b26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 6l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center / 13px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  color: var(--c-text);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}

.sort-select:hover {
  border-color: var(--c-sage-dark);
}

.sort-select:focus {
  border-color: var(--c-link);
  box-shadow: 0 0 0 3px rgba(11, 127, 116, .15);
  outline: 0;
}

@media (max-width: 575px) {
  .sort-wrap { width: 100%; }
  .sort-select { flex: 1 1 auto; }
}
/* the sub-category tiles on a main category page */
.cat-grid-page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .cat-grid-page { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

@media (min-width: 1200px) {
  .cat-grid-page { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cat-grid-page .cat-tile-name {
  font-size: 15.5px;
}

.cat-grid-page .cat-tile-count {
  font-size: 13px;
}
/* ---- page numbers under the product lists ---- */
.pager {
  margin: 34px 0 10px;
}

.pagination {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.pagination .page-item .page-link {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  color: var(--c-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}

.pagination .page-item .page-link i {
  font-size: 13px;
}

.pagination .page-item a.page-link:hover {
  background: var(--c-sage-light);
  border-color: var(--c-sage-dark);
  color: var(--c-text);
  transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: #fff;
  box-shadow: 0 6px 14px rgba(15, 28, 46, .18);
}

@media (max-width: 575px) {
  .pagination { gap: 6px; }
  .pagination .page-item .page-link { min-width: 38px; height: 38px; padding: 0 8px; }
}

/* ---- warranty badge on the photo, brand and stock under it ---- */
.product-thumb .image {
  position: relative;
}

.thumb-warranty {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--c-sage);
  border: 1px solid var(--c-sage-dark);
  border-radius: 8px;
  color: var(--c-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.thumb-warranty i {
  color: #075a52;
  font-size: 12px;
}

.thumb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px 2px;
}

.thumb-meta > span {
  padding: 6px 12px;
  border: 1px solid var(--c-border);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.tm-brand {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  color: var(--c-text);
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.tm-stock {
  flex: 0 0 auto;
  white-space: nowrap;
}

.tm-in { background: #e9f4e1; border-color: #bfdcae !important; color: #2e6b25; }
.tm-pre { background: #fdf1d8; border-color: #ecd39a !important; color: #9a5b00; }
.tm-out { background: #fbe6e4; border-color: #efbbb6 !important; color: #b3261e; }
/* ---- product page: title band, gallery, buy box ---- */
.pd-title h1 {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 1.75rem;
  line-height: 1.3;
}

.pd-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.pd-main {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 380px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
}

.pd-main .thumb-warranty {
  top: 14px;
  left: 14px;
  padding: 6px 13px;
  font-size: 14px;
}

.pd-main a {
  display: block;
  padding: 24px;
}

.pd-main img {
  display: block;
  max-width: 100%;
  max-height: 520px;
  margin: 0 auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pd-noimg i {
  color: #c3ccdb;
  font-size: 60px;
}

.pd-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-thumb:hover {
  border-color: var(--c-tan);
}

.pd-thumb.is-active {
  border: 2px solid var(--c-dark);
}

.pd-tools {
  display: flex;
  gap: 10px;
}

.pd-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: #edf1f7;
  border: 0;
  border-radius: 10px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.pd-tool:hover {
  background: var(--c-sage-light);
  color: var(--c-text);
}

.pd-card {
  padding: 24px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(15, 28, 46, 0.05);
}

.pd-card-top {
  display: grid;
  gap: 16px 22px;
  align-items: center;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .pd-card-top { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}

.pd-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.pd-price .price-new {
  color: #0f1c2e;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pd-price .price-new sup {
  margin-left: 2px;
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: super;
}

.pd-price .price-old {
  color: var(--c-muted);
  font-size: 1.1rem;
}

.pd-vat-note {
  color: var(--c-muted);
  font-size: 12.5px;
  line-height: 1.4;
}
.pd-discounts {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--c-muted);
}

.pd-intro {
  padding: 14px 16px;
  background: #f3f6fa;
  border-radius: 10px;
  color: var(--c-text);
  font-size: 14.5px;
  line-height: 1.65;
}

.pd-more {
  font-weight: 600;
  white-space: nowrap;
}

.pd-buy {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 8px;
}

.pd-qty {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
}

.pd-qty input {
  width: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
}

.pd-step {
  width: 38px;
  background: #f3f6fa;
  border: 0;
  color: var(--c-text);
  font-size: 12px;
  cursor: pointer;
}

.pd-step:hover {
  background: var(--c-sage-light);
}

.pd-cart {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  background: var(--c-tan);
  border: 0;
  border-radius: 10px;
  color: #231500;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: filter .15s;
}

.pd-cart:hover {
  filter: brightness(.95);
}

.pd-heart {
  flex: 0 0 50px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  color: var(--c-dark);
  cursor: pointer;
}

.pd-heart:hover {
  background: var(--c-sage-light);
}

.pd-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--c-border);
  list-style: none;
}

.pd-fact {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 16px;
  background: #f3f6fa;
  border: 1px solid var(--c-border);
  border-radius: 10px;
}

.pd-fact small {
  color: var(--c-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pd-fact strong {
  font-size: 15px;
  font-weight: 700;
}

.pd-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-radius: 50%;
  background: currentColor;
}

.pd-stock-in { background: #e9f4e1; border-color: #bfdcae; color: #2e6b25; }
.pd-stock-pre { background: #fdf1d8; border-color: #ecd39a; color: #9a5b00; }
.pd-stock-out { background: #fbe6e4; border-color: #efbbb6; color: #b3261e; }
.pd-stock-in small, .pd-stock-pre small, .pd-stock-out small { color: inherit; opacity: .8; }

.pd-delivery {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  padding: 20px 24px;
  background: var(--c-dark);
  border-radius: 14px;
  color: #fff;
  text-align: center;
}

.pd-delivery strong {
  font-size: 1.2rem;
}

.pd-delivery span {
  font-size: 13.5px;
  opacity: .85;
}

.pd-info-tabs {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.pd-info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  color: var(--c-muted);
  font-size: 14.5px;
  cursor: pointer;
}

.pd-info-btn b {
  color: var(--c-text);
}

.pd-info-btn i {
  color: #0b7f74;
  font-size: 12px;
}

.pd-info-btn:not(.collapsed) {
  background: var(--c-sage);
  border-color: var(--c-tan);
}

.pd-info-btn:not(.collapsed) i::before {
  content: "\f068";
}

.pd-info-panel {
  margin-top: 12px;
}

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

.pd-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(15, 28, 46, 0.04);
}

.pd-option strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.pd-option span {
  display: block;
  margin-top: 2px;
  color: var(--c-muted);
  font-size: 13.5px;
  line-height: 1.3;
}

.pd-option em {
  flex: 0 0 auto;
  padding: 5px 12px;
  background: #0b7f74;
  border-radius: 999px;
  color: #fff;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .pd-title h1 { font-size: 1.3rem; }
  .pd-price .price-new { font-size: 1.9rem; }
  .pd-main { min-height: 280px; }
}
.pd-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
}

.pd-points li {
  display: flex;
  gap: 9px;
}

.pd-points li i {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--c-link);
  font-size: 11px;
}
.pd-branches strong {
  display: flex;
  gap: 14px;
  font-size: 14.5px;
}

.pd-branch {
  color: var(--c-muted);
  font-weight: 600;
  white-space: nowrap;
}

.pd-branch b {
  margin-left: 2px;
  color: #b3261e;
  font-weight: 800;
}

.pd-branch.has-stock b {
  color: #2e6b25;
}
.pd-branches.pd-stock-in .pd-branch,
.pd-branches.pd-stock-pre .pd-branch,
.pd-branches.pd-stock-out .pd-branch {
  color: inherit;
  opacity: .85;
}

.pd-branches.pd-stock-out .pd-branch b,
.pd-branches.pd-stock-pre .pd-branch b {
  color: inherit;
}
/* the row of stock / code / brand / warranty boxes: centred */
.pd-facts {
  justify-content: center;
}

.pd-fact {
  align-items: center;
  text-align: center;
}

.pd-branches strong {
  justify-content: center;
}
/* ---- product page: description / reviews tabs ---- */
.pd-tabs {
  gap: 6px;
  margin-top: 8px;
  border-bottom: 0;
}

.pd-tabs .nav-link {
  padding: 12px 24px;
  background: #edf1f7;
  border: 1px solid var(--c-border);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  color: var(--c-muted);
  font-size: 15px;
  font-weight: 600;
}

.pd-tabs .nav-link:hover {
  color: var(--c-text);
}

.pd-tabs .nav-link.active {
  position: relative;
  top: 1px;
  background: #fff;
  border-color: var(--c-border);
  border-top: 3px solid var(--c-tan);
  color: var(--c-text);
}

.pd-tab-content {
  margin-bottom: 30px;
  padding: 30px 34px 26px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 0 16px 16px 16px;
  box-shadow: 0 6px 20px rgba(15, 28, 46, 0.05);
}

.pd-desc {
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.75;
}

.pd-desc > p {
  max-width: 980px;
}

.pd-desc > p:first-child {
  color: #2f3a4f;
  font-size: 16px;
}

.pd-desc h1,
.pd-desc h2,
.pd-desc h3,
.pd-desc h4 {
  margin: 30px 0 14px;
  padding: 2px 0 2px 14px;
  border-left: 4px solid var(--c-tan);
  color: var(--c-text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pd-desc ul {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .pd-desc ul { column-count: 2; column-gap: 40px; }
}

.pd-desc li {
  position: relative;
  padding: 7px 0 7px 28px;
  border-bottom: 1px solid #e8edf5;
  break-inside: avoid;
}

.pd-desc li::before {
  position: absolute;
  top: 8px;
  left: 0;
  color: var(--c-link);
  font-family: "Font Awesome 7 Free";
  font-size: 13px;
  font-weight: 900;
  content: "\f00c";
}

.pd-desc li strong {
  display: inline-block;
  min-width: 128px;
  margin-right: 8px;
  color: var(--c-text);
  font-weight: 700;
}

.pd-desc li span {
  color: #3b465c;
}

.pd-desc table {
  width: 100%;
  margin-bottom: 16px;
}

@media (max-width: 575px) {
  .pd-tab-content { padding: 20px 18px; }
  .pd-tabs .nav-link { padding: 10px 16px; }
  .pd-desc li strong { display: block; min-width: 0; }
}
/* spec rows ("Speed: DDR5-5600"): label and value in two aligned columns, no tick */
.pd-desc li.spec {
  display: flex;
  gap: 12px;
  padding-left: 4px;
}

.pd-desc li.spec::before {
  display: none;
}

.pd-desc li.spec strong {
  flex: 0 0 190px;
  min-width: 0;
  margin: 0;
  color: var(--c-muted);
  font-weight: 600;
}

.pd-desc li.spec span {
  color: var(--c-text);
  font-weight: 600;
}

@media (max-width: 575px) {
  .pd-desc li.spec { flex-direction: column; gap: 0; }
  .pd-desc li.spec strong { flex-basis: auto; }
}
/* the tab row is centred, and the card under it keeps all four corners rounded */
.pd-tabs {
  justify-content: center;
}

.pd-tab-content {
  border-radius: 16px;
}
/* tabs as centred pills above the card */
.pd-tabs {
  gap: 10px;
  margin: 8px 0 18px;
}

.pd-tabs .nav-link,
.pd-tabs .nav-link.active {
  position: static;
  top: auto;
  padding: 10px 22px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
}

.pd-tabs .nav-link {
  background: #fff;
  color: var(--c-muted);
}

.pd-tabs .nav-link:hover {
  background: var(--c-sage-light);
  border-color: var(--c-sage);
  color: var(--c-text);
}

.pd-tabs .nav-link.active {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: #fff;
  box-shadow: 0 6px 14px rgba(15, 28, 46, .18);
}

@media (max-width: 575px) {
  .pd-tabs .nav-link,
  .pd-tabs .nav-link.active { padding: 8px 14px; font-size: 14px; }
}
/* ---- product tabs: the text, tidied ---- */
.pd-desc {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.pd-desc > p {
  max-width: none;
  margin-bottom: 1.1em;
  text-align: left;
}

.pd-desc ul.is-short {
  column-count: 1;
  max-width: 760px;
}

.pd-desc li.spec strong {
  flex: 0 0 min(38%, 250px);
}

.pd-desc h1:first-child,
.pd-desc h2:first-child,
.pd-desc h3:first-child,
.pd-desc h4:first-child {
  margin-top: 0;
}

.pd-desc img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* reviews */
#tab-review {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

#tab-review > div > p:first-child,
#tab-review #review > p {
  color: var(--c-muted);
  text-align: center;
}

#tab-review h2 {
  margin: 26px 0 16px;
  padding: 2px 0 2px 14px;
  border-left: 4px solid var(--c-tan);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#tab-review .form-label {
  font-size: 14px;
  font-weight: 600;
}

#tab-review .form-control {
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
}

#tab-review .form-control:focus {
  border-color: var(--c-link);
  box-shadow: 0 0 0 3px rgba(11, 127, 116, .15);
}

#tab-review .form-check-input {
  width: 20px;
  height: 20px;
  border-color: #98a3b6;
}

#tab-review .form-check-input:checked {
  background-color: var(--c-link);
  border-color: var(--c-link);
}

#tab-review .btn-primary {
  padding: 10px 28px;
  border-radius: 999px;
  font-weight: 600;
}
/* ---- "Questions?" pop-up ---- */
.pd-modal {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 28, 46, .25);
}

.pd-modal .modal-header {
  align-items: flex-start;
  padding: 22px 26px 8px;
  border-bottom: 0;
}

.pd-modal .modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.pd-modal-product {
  margin: 4px 0 0;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.4;
}

.pd-modal .modal-body {
  padding: 12px 26px 26px;
}

.pd-modal .form-label {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
}

.pd-modal .form-control {
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
}

.pd-modal .form-control:focus {
  border-color: var(--c-link);
  box-shadow: 0 0 0 3px rgba(11, 127, 116, .15);
}

.pd-optional {
  color: var(--c-muted);
  font-weight: 400;
}

.pd-hp {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pd-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
}

.pd-modal-actions small {
  color: var(--c-muted);
}

.pd-send {
  flex: 0 0 auto;
  padding: 0 26px;
  background: var(--c-dark);
  color: #fff;
}

.pd-send:hover {
  filter: none;
  background: #22364f;
}

.pd-modal-done {
  padding: 18px 0 4px;
  text-align: center;
}

.pd-modal-done h3 {
  margin: 12px 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
}

.pd-modal-done p {
  color: var(--c-muted);
}

.pd-modal-check {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--c-sage-light);
  border-radius: 50%;
  color: var(--c-link);
  font-size: 22px;
}
.pd-delivery-label {
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .7 !important;
}

.pd-delivery small {
  margin-top: 4px;
  font-size: 12.5px;
  opacity: .65;
}

.pd-delivery strong {
  font-size: 1.5rem;
}
/* product cards: a softer price box, and the amber shows up when the button is pointed at */
.product-thumb .price {
  background: var(--c-sage-light);
  border: 1px solid var(--c-sage);
}

.product-thumb .button .btn-add:hover {
  background: var(--c-tan);
  border-color: var(--c-tan);
  color: #231500;
}
/* the Novara logo (the word only; the N icon is just the browser-tab icon) */
#logo img {
  width: auto;
  max-width: 200px;
  height: 30px;
  max-height: none;
}

@media (max-width: 575px) {
  #logo img { height: 24px; }
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-brand img {
  height: 42px;
  width: auto;
}

.footer-brand span {
  color: #b9c5d8;
  font-size: 14px;
}
/* ---- live search dropdown ---- */
.search-wrap {
  position: relative;
}

.pill-search .search-clear {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  background: var(--c-sand);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.pill-search .search-clear[hidden] {
  display: none;
}

.pill-search .search-clear i {
  color: var(--c-muted);
  font-size: 11px;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 1060;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15, 28, 46, .18);
}

.search-suggest[hidden] {
  display: none;
}

.ss-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--c-text);
  text-decoration: none;
}

.ss-item:hover,
.ss-item.is-active,
.ss-all:hover,
.ss-all.is-active {
  background: var(--c-cream);
  color: var(--c-text);
}

.ss-thumb {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 10px;
}

.ss-thumb img {
  max-width: 44px;
  max-height: 44px;
  mix-blend-mode: multiply;
}

.ss-body {
  flex: 1 1 auto;
  min-width: 0;
}

.ss-body strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ss-body mark {
  padding: 0;
  background: none;
  color: var(--c-link);
  font-weight: 800;
}

.ss-body small {
  display: block;
  margin-top: 2px;
  color: var(--c-muted);
  font-size: 12px;
}

.ss-stock.is-in { color: #2e6b25; font-weight: 600; }
.ss-stock.is-out { color: #b3261e; font-weight: 600; }

.ss-price {
  flex: 0 0 auto;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.ss-price s {
  display: block;
  color: var(--c-muted);
  font-size: 11.5px;
  font-weight: 400;
}

.ss-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 11px 10px;
  border-top: 1px solid var(--c-border);
  border-radius: 10px;
  color: var(--c-link);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.ss-empty {
  padding: 22px 16px;
  color: var(--c-text);
  font-size: 14px;
  text-align: center;
}

.ss-empty small {
  display: block;
  margin-top: 4px;
  color: var(--c-muted);
}

@media (max-width: 575px) {
  .ss-thumb { width: 44px; height: 44px; }
  .ss-thumb img { max-width: 36px; max-height: 36px; }
  .ss-price { font-size: 13px; }
}
.ss-all {
  position: sticky;
  bottom: -8px;
  background: #fff;
  box-shadow: 0 -8px 10px -6px rgba(15, 28, 46, .08);
}
/* live search, the wide "Products" list */
.search-suggest {
  right: auto;
  left: 0;
  width: max(100%, min(860px, calc(100vw - 32px)));
  max-height: min(72vh, 640px);
  padding: 6px 8px 0;
  border-radius: 14px;
}

.ss-heading {
  padding: 14px 12px 8px;
  color: var(--c-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ss-item {
  gap: 16px;
  padding: 10px 12px;
  border-radius: 8px;
}

.ss-item + .ss-item {
  margin-top: 2px;
}

.ss-thumb {
  width: 56px;
  height: 56px;
  border: 0;
  background: none;
}

.ss-thumb img {
  max-width: 52px;
  max-height: 52px;
}

.ss-body strong {
  display: block;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-line-clamp: unset;
}

.ss-body small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--c-muted);
  font-size: 12px;
  font-style: italic;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ss-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.ss-price b {
  padding: 6px 12px;
  background: var(--c-sage-light);
  border-radius: 8px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 700;
}

.ss-all {
  margin-top: 0;
  padding: 15px 10px;
  border-top: 1px solid var(--c-border);
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 575px) {
  .search-suggest { width: 100%; }
  .ss-body strong { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ss-body small { display: none; }
  .ss-thumb { width: 44px; height: 44px; }
}
/* ==========================================================================
   Product tabs: Features, Specifications, What's in the box, Reviews
   (laid out by catalog/controller/product/product.php and product/review.twig; added 2026-12-01)
   ========================================================================== */

/* Features: "Label:" in bold, inline (not the two-column spec look) */
.pd-desc ul.pd-ticks li strong {
  display: inline;
  min-width: 0;
  margin-right: 2px;
  color: var(--c-text);
}

.pd-desc ul.pd-ticks + h3 {
  margin-top: 34px;
}

/* Specifications: one clean two-column table */
.pd-spec-wrap {
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.pd-desc table.pd-spec-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14.5px;
}

.pd-spec-table tr:nth-child(even) {
  background: #f7f9fc;
}

.pd-spec-table tr + tr th,
.pd-spec-table tr + tr td {
  border-top: 1px solid #e8edf5;
}

.pd-spec-table th,
.pd-spec-table td {
  padding: 12px 18px;
  vertical-align: top;
  text-align: left;
}

.pd-spec-table th {
  width: 34%;
  color: var(--c-muted);
  font-weight: 600;
}

.pd-spec-table td {
  color: var(--c-text);
  font-weight: 600;
}

.pd-spec-table td div + div {
  margin-top: 4px;
}

.pd-spec-table .pd-spec-sub {
  display: inline-block;
  min-width: 70px;
  color: var(--c-muted);
  font-weight: 500;
}

.pd-spec-table td.pd-spec-full {
  color: var(--c-text);
  font-weight: 500;
}

.pd-spec-table tr.pd-spec-group th {
  width: auto;
  padding-top: 14px;
  background: var(--c-sand);
  color: var(--c-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 575px) {
  .pd-spec-table th,
  .pd-spec-table td { display: block; width: auto; padding: 4px 14px; }
  .pd-spec-table th { padding-top: 12px; }
  .pd-spec-table td { padding-bottom: 12px; }
  .pd-spec-table tr + tr td { border-top: 0; }
}

/* What's in the box: one row per item with a quantity badge */
.pd-desc ul.pd-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
  max-width: 980px;
  column-count: 1;
}

.pd-desc ul.pd-box li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.pd-desc ul.pd-box li::before {
  display: none;
}

.pd-box-qty {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 8px;
  background: #fff4dc;
  border: 1px solid #ffd98a;
  border-radius: 9px;
  color: #8a5a00;
  font-size: 14px;
  font-weight: 700;
}

.pd-desc .pd-box-item {
  color: var(--c-text);
  font-weight: 600;
  line-height: 1.4;
}

/* Reviews */
.rv h3 {
  margin: 0 0 16px;
  padding: 2px 0 2px 14px;
  border-left: 4px solid var(--c-tan);
  color: var(--c-text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rv-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 22px;
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.rv-score {
  color: var(--c-text);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.rv-score small {
  color: var(--c-muted);
  font-size: 1rem;
  font-weight: 600;
}

.rv-stars {
  color: var(--c-tan);
  white-space: nowrap;
}

.rv-stars i + i {
  margin-left: 2px;
}

.rv-stars-lg {
  font-size: 1.2rem;
}

.rv-stars-empty {
  color: #cfd6e3;
}

.rv-based {
  color: var(--c-muted);
  font-size: 14.5px;
}

.rv-list {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.rv-item {
  padding: 16px 20px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.rv-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-bottom: 8px;
}

.rv-author {
  color: var(--c-text);
}

.rv-date {
  margin-left: auto;
  color: var(--c-muted);
  font-size: 13px;
}

.rv-text {
  margin: 0;
  color: #2f3a4f;
  line-height: 1.7;
}

.rv-form {
  max-width: 720px;
  margin-top: 8px;
  padding-top: 26px;
  border-top: 1px solid var(--c-border);
}

.rv-help {
  margin: -6px 0 18px;
  color: var(--c-muted);
  font-size: 14.5px;
}

/* clickable star rating: inputs are hidden, stars light up up to the one hovered or chosen */
.rv-stars-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.rv-stars-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rv-stars-input label {
  margin: 0;
  color: #cfd6e3;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: color .12s, transform .12s;
}

.rv-stars-input label:hover,
.rv-stars-input label:hover ~ label,
.rv-stars-input input:checked ~ label {
  color: var(--c-tan);
}

.rv-stars-input label:hover {
  transform: scale(1.12);
}

.rv-stars-input input:focus-visible + label {
  outline: 2px solid var(--c-link);
  outline-offset: 3px;
  border-radius: 4px;
}

.rv-stars-input.is-invalid label {
  color: #f1b0b7;
}

/* the Reviews tab lines up with the other tabs (it used to be a narrow centred column) */
#tab-review {
  max-width: 1080px;
}

.pd-desc ul.pd-box.is-short {
  max-width: 760px;
}

/* product videos (from the supplier's [embed] YouTube links): full width, 16:9 */
.pd-desc figure.pd-video {
  position: relative;
  max-width: 860px;
  margin: 10px auto 26px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f1c2e;
  border-radius: 12px;
}

.pd-desc figure.pd-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rv-form .form-label {
  display: block;
}

/* phones: keep "Add to Cart" on one line next to a slimmer quantity box */
@media (max-width: 430px) {
  .pd-buy { gap: 6px; }
  .pd-step { width: 32px; }
  .pd-qty input { width: 38px; }
  .pd-cart { gap: 7px; padding: 0 12px; font-size: 15px; white-space: nowrap; }
  .pd-heart { flex: 0 0 46px; width: 46px; }
}

/* ==========================================================================
   Novara pastel palette: section colours (2026-12-02)
   ========================================================================== */

/* contact bar and breadcrumb: light starlight blue */
#top { background: var(--c-sky-50); border-bottom-color: var(--c-sky-100); }
.crumb-bar { background: var(--c-sky-50); }

/* home banner: a soft "dawn" sky, starlight blue into lilac with a peach glow */
#hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 220, 192, 0.75) 0, rgba(255, 220, 192, 0) 38%),
    radial-gradient(circle at 8% 95%, rgba(199, 239, 229, 0.7) 0, rgba(199, 239, 229, 0) 35%),
    linear-gradient(135deg, var(--c-sky-50) 0%, #DCE5FA 55%, #ECE4FB 100%);
}

/* promo tiles: deals = dawn peach, brands = nova lilac, both with navy text */
.tile-dark {
  background: linear-gradient(135deg, var(--c-peach-50) 0%, var(--c-peach) 100%);
  color: var(--c-dark);
  border: 1px solid #F6CBA8;
}
.tile-tan {
  background: linear-gradient(135deg, var(--c-lilac-50) 0%, var(--c-lilac) 100%);
  color: var(--c-dark);
  border: 1px solid #D3C4F2;
}
.tile:hover { box-shadow: 0 10px 24px rgba(15, 28, 46, 0.12); }
.tile-thumb { box-shadow: 0 4px 14px rgba(15, 28, 46, 0.12); }

/* sale badge on the home slider: peach with a deep orange text */
.spot-badge.is-sale { background: var(--c-peach); color: #9a3412; }

/* stock labels: mint = in stock, peach = pre-order, soft red = out of stock */
.tm-in, .pd-stock-in { background: var(--c-mint-50); border-color: var(--c-mint) !important; color: #136b55; }
.tm-pre, .pd-stock-pre { background: var(--c-peach-50); border-color: #F6CBA8 !important; color: #9a4a10; }

/* notes and highlights about payment / box contents: peach */
.eft-note, .co-agree { background: var(--c-peach-50); }
.pd-box-qty { background: var(--c-peach-50); }

/* product page info strips: light starlight blue */
.pd-intro, .pd-step, .pd-fact { background: var(--c-sky-50); }
.pd-spec-table tr:nth-child(even) { background: var(--c-sky-50); }

/* "Special offers" tile: three thumbnails on medium-wide screens so they never cover the title */
@media (max-width: 1499.98px) {
  .tile-thumb:nth-child(n+4) { display: none; }
}
