/*
Theme Name: SereneLife UK Clone
Theme URI: https://serenelife.uk/
Author: Johnny Wang
Description: WooCommerce-ready WordPress theme built from the public SereneLife UK storefront.
Version: 0.3.4
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: serenelife-uk
*/

:root {
  --sl-teal: #66b2b2;
  --sl-teal-dark: #018181;
  --sl-red: #e63946;
  --sl-ink: #090302;
  --sl-muted: #6f6f6f;
  --sl-line: #efefef;
  --sl-soft: #f6f6f6;
  --sl-max: 1420px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sl-ink);
  background: #fff;
  font-family: Montserrat, Roboto, Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

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

.sl-wrap {
  width: min(var(--sl-max), calc(100% - 40px));
  margin-inline: auto;
}

.sl-wide {
  width: min(1600px, calc(100% - 40px));
  margin-inline: auto;
}

.sl-sale-banner {
  background: transparent;
  height: 100px;
  overflow: hidden;
}

.sl-sale-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.sl-announcement {
  position: relative;
  background: var(--sl-teal-dark);
  color: #fff;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}
.sl-announce__track {
  position: relative;
  flex: 1 1 auto;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding: 10px 16px;
}
.sl-announce__slide {
  display: none;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}
.sl-announce__slide.is-active {
  display: block;
}
.sl-announce__nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
}
.sl-announce__nav:hover { color: #fff; }
.sl-announce__nav svg { width: 20px; height: 20px; }
.sl-announce__prev { left: 12px; }
.sl-announce__next { right: 12px; }
@media (max-width: 600px) {
  .sl-announce__prev { left: 0; }
  .sl-announce__next { right: 0; }
}

.sl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sl-header .sl-wrap {
  width: calc(100% - 104px);
  max-width: none;
  margin-left: 78px;
  margin-right: 26px;
}

.sl-header__top {
  height: 100px;
  display: grid;
  grid-template-columns: 360px minmax(420px, 1fr) 160px;
  align-items: center;
  gap: 60px;
  overflow: visible;
}

.sl-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  height: 100%;
  min-width: 0;
}

.sl-logo img {
  width: 300px;
  max-width: 300px;
  max-height: 72px;
  height: auto;
  object-fit: contain;
}

.sl-search {
  height: 46px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  border-radius: 6px;
  background: #f0f0f0;
  color: #111;
}

.sl-search svg {
  width: 28px;
  height: 28px;
  margin-left: 16px;
  fill: currentColor;
}

.sl-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 18px;
  color: #111;
  font: inherit;
  font-weight: 700;
}

.sl-search input::placeholder {
  color: #9a9a9a;
  opacity: 1;
}

.sl-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.sl-menu-button span {
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: #111;
}

.sl-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  height: 52px;
  min-width: 0;
  overflow: visible;
}

.sl-nav__item {
  position: relative;
}

.sl-nav__item > a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.sl-caret {
  display: none;
}

.sl-submenu {
  position: absolute;
  left: 0;
  top: calc(100% - 1px);
  min-width: 245px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 160ms ease;
}

.sl-nav__item:hover .sl-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sl-submenu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  font-size: 14px;
}

.sl-submenu a:hover {
  background: #fafafa;
}

.sl-arrow {
  color: #ef3346;
  font-size: 18px;
}

.sl-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: end;
  min-width: max-content;
}

.sl-actions a {
  width: 34px;
  height: 34px;
  color: #111;
}

.sl-actions svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.sl-hero {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
}

.sl-hero picture,
.sl-hero img,
.sl-hero video {
  width: 100%;
  height: 100%;
}

.sl-hero img,
.sl-hero video {
  object-fit: cover;
  object-position: center center;
}

.sl-hero video {
  display: block;
}

/* show desktop vs mobile hero video by viewport */
.sl-hero__video--mobile {
  display: none;
}

@media (max-width: 768px) {
  .sl-hero__video--desktop {
    display: none;
  }
  .sl-hero__video--mobile {
    display: block;
  }
}

.sl-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.sl-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.sl-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce ul.products li.product .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 30px;
  border: 1px solid var(--sl-teal);
  border-radius: 4px;
  background: var(--sl-teal);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.sl-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce ul.products li.product .button:hover {
  color: #fff;
  opacity: 0.86;
  transform: translateY(-1px);
}

.sl-button--hero {
  font-size: 20px;
}

.sl-categories {
  padding: 40px 0;
  background: #fff;
}

.sl-categories h2,
.sl-section h2 {
  margin: 0 0 40px;
  text-align: center;
  color: var(--sl-ink);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
}

.sl-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
}

.sl-category {
  display: block;
  text-align: center;
  transition: transform 220ms ease;
}

.sl-category:hover {
  transform: translateY(-3px);
}

.sl-category__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 50%;
  background: #f8f8f8;
}

.sl-category__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 300ms ease;
}

.sl-category:hover img {
  transform: scale(1.04);
}

.sl-category__title {
  color: var(--sl-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.sl-center {
  text-align: center;
  margin-top: 55px;
}

.sl-section {
  padding: 36px 0;
}

.sl-bestsellers {
  position: relative;
  padding: 38px 0 52px;
  background: #fff;
}

.sl-bestsellers__wrap {
  position: relative;
  width: calc(100% - 88px);
  margin-inline: auto;
}

.sl-bestsellers h2,
.sl-featured h2,
.sl-featured-title h2 {
  margin: 0 0 36px;
  text-align: center;
  color: #050505;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
}

.sl-best-grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.sl-best-grid::-webkit-scrollbar {
  display: none;
}

.sl-best-card {
  position: relative;
  flex: 0 0 calc((100% - 84px) / 4);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: start;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.sl-best-card__image {
  box-sizing: border-box;
  width: 100%;
  height: 248px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 28px 14px;
  overflow: hidden;
}

.sl-best-card__image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sl-best-card h3 {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 18px;
  text-align: center;
  color: #050505;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.sl-best-card h3 a {
  color: inherit;
}

.sl-best-price {
  margin-top: 22px;
  min-height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.sl-best-price__regular {
  color: #8f8f8f;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  text-decoration: line-through;
}

.sl-best-price__sale {
  color: #000;
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
}

.sl-best-button {
  width: calc(100% - 32px);
  height: 52px;
  margin-top: auto;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #66b2b2;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.sl-best-button.is-disabled {
  opacity: 0.46;
  pointer-events: none;
}

.sl-sold-out {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: #66b2b2;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* Functional carousel controls (draggable progress bar + prev/next arrows) */
.sl-slider-controls {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 36px 0 0;
}
.sl-slider-bar {
  flex: 1 1 auto;
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: #e5e5e5;
  cursor: pointer;
  touch-action: none;
}
.sl-slider-bar span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  border-radius: 4px;
  background: #000;
}
.sl-slider-arrows {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
}
.sl-slider-arrow {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.sl-slider-arrow:hover { border-color: var(--sl-teal); color: var(--sl-teal); }
.sl-slider-arrow svg { width: 18px; height: 18px; }
.sl-slider-arrow:disabled { opacity: .35; cursor: default; }
.sl-slider-arrow:disabled:hover { border-color: #d6d6d6; color: #555; }

.sl-featured-title {
  padding: 18px 0 30px;
  background: #fff;
}

.sl-featured-title h2 {
  margin-bottom: 0;
}

.sl-chat-mock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.sl-chat-card {
  width: 406px;
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 0 26px;
  border-radius: 0 0 10px 10px;
  background: #fff;
  color: #222;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  font-size: 20px;
  font-weight: 700;
}

.sl-chat-mock button {
  width: 198px;
  height: 52px;
  border: 1px solid #66b2b2;
  border-radius: 8px;
  background: #fff;
  color: #66b2b2;
  font-size: 20px;
  font-weight: 700;
}

.sl-chat-bubble {
  position: relative;
  width: 86px;
  height: 86px;
  margin-top: 18px;
  border-radius: 50%;
  background: #66b2b2;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.sl-chat-bubble::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 28px;
  width: 36px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
}

.sl-chat-bubble span {
  position: absolute;
  right: -4px;
  top: -4px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #cc0f13;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.sl-section__head {
  position: relative;
}

.sl-section__head a {
  position: absolute;
  right: 0;
  top: 7px;
  color: var(--sl-teal-dark);
  font-weight: 600;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0;
  background: #fff;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: block;
}

.woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 0 14px !important;
  object-fit: contain;
  background: var(--sl-soft);
}

.woocommerce-loop-product__title {
  min-height: 44px;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--sl-ink);
  font-size: 15px !important;
  line-height: 1.35;
  font-weight: 500;
}

.woocommerce ul.products li.product .price {
  display: flex !important;
  align-items: flex-end;
  gap: 6px;
  min-height: 31px;
  margin: 0 0 14px !important;
  color: inherit !important;
}

.sl-price-regular {
  color: #959595;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: line-through;
}

.sl-price-discount {
  color: var(--sl-ink);
  font-size: 22px;
  font-weight: 700;
}

.woocommerce ul.products li.product .button {
  width: 100%;
  min-height: 45px;
  font-size: 14px;
  background: #fff;
  color: #111;
  border: 1px solid #111;
}

.woocommerce ul.products li.product .button:hover {
  background: #111;
  color: #fff;
  opacity: 1;
}

/* Shop / category pagination */
.woocommerce nav.woocommerce-pagination {
  margin: 40px 0 8px;
  text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li a.page-numbers,
.woocommerce nav.woocommerce-pagination ul li span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover {
  border-color: #66b2b2;
  color: #2f8f8f;
}

.woocommerce nav.woocommerce-pagination ul li span.page-numbers.current {
  background: #66b2b2;
  border-color: #66b2b2;
  color: #fff;
}

.woocommerce nav.woocommerce-pagination ul li span.page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* Result count + ordering bar */
.woocommerce .woocommerce-result-count {
  margin: 0 0 18px;
  color: #6b6b6b;
  font-size: 14px;
}

.woocommerce .woocommerce-ordering select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
}

/* Trust badges row */
.sl-trust {
  background: #66b2b2;
  color: #fff;
  padding: 40px 0;
}

.sl-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.sl-trust__item svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  display: block;
}

.sl-trust__item h4 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}

.sl-trust__item p {
  margin: 0;
  font-size: 16px;
  opacity: 0.92;
}

/* Featured section reuses best-grid; just spacing */
.sl-featured {
  padding: 18px 0 40px;
  background: #fff;
}

.sl-featured h2 {
  margin: 0 0 36px;
  text-align: center;
  color: #050505;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
}

/* Footer — teal/dark like the live store */
.sl-footer {
  margin-top: 0;
  padding: 56px 0 28px;
  background: #2f8f8f;
  color: #fff;
}

.sl-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
}

.sl-footer__logo {
  width: 200px;
  max-width: 70%;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.sl-footer__tag {
  font-weight: 700;
  margin: 0 0 16px;
}

.sl-footer__contact {
  margin: 0 0 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.sl-footer h3 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
}

.sl-footer a,
.sl-footer p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.sl-footer__bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sl-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.sl-pay__badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 4px;
  background: #fff;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.sl-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.sl-footer__legal a {
  display: inline;
  margin: 0 0 0 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

@media (max-width: 1199px) {
  .sl-header .sl-wrap {
    width: min(var(--sl-max), calc(100% - 40px));
    margin-inline: auto;
  }

  .sl-header__top {
    height: 78px;
    grid-template-columns: 92px 1fr auto;
    gap: 10px;
  }

  .sl-menu-button {
    display: block;
  }

  .sl-logo {
    justify-self: center;
  }

  .sl-logo img {
    width: 230px;
    max-height: 56px;
  }

  .sl-nav {
    display: none;
  }

  .sl-search {
    display: none;
  }

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

  .sl-best-card {
    flex-basis: calc((100% - 28px) / 2);
  }

  .sl-chat-mock {
    display: none;
  }
}

@media (max-width: 768px) {
  .sl-sale-banner {
    display: none;
  }

  .sl-wrap,
  .sl-wide {
    width: min(100% - 30px, var(--sl-max));
  }

  .sl-header__top {
    height: 70px;
    gap: 10px;
  }

  .sl-logo img {
    width: 180px;
  }

  .sl-actions {
    gap: 12px;
  }

  .sl-actions a {
    width: 20px;
    height: 20px;
  }

  .sl-hero {
    height: 70vh;
    min-height: 520px;
  }

  .sl-button--hero {
    padding: 8px 30px;
    font-size: 17px;
  }

  .sl-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .sl-bestsellers__wrap {
    width: min(100% - 30px, var(--sl-max));
  }

  .sl-bestsellers h2,
  .sl-featured-title h2 {
    font-size: 34px;
  }

  .sl-best-card {
    flex-basis: 82%;
    min-height: 600px;
  }

  .sl-best-card__image {
    height: 290px;
    padding: 30px;
  }

  .sl-best-card h3 {
    padding: 0 24px;
    font-size: 20px;
  }

  .sl-best-button {
    width: 210px;
    height: 64px;
    font-size: 24px;
  }

  .sl-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .sl-footer__brand {
    grid-column: 1 / -1;
  }

  .sl-trust__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
}

/* ============================================================ *
 *  SereneLife fidelity: collection sidebar, single product,
 *  "Every order includes" band, accordion, sale pills
 * ============================================================ */

/* ---- Collection: shop card polish (centered, filled teal CTA) ---- */
.woocommerce ul.products li.product {
  position: relative;
  text-align: center;
}
.woocommerce-loop-product__title {
  text-align: center;
}
.woocommerce ul.products li.product .price {
  justify-content: center;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .sl-soldout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sl-teal);
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-weight: 600;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--sl-teal-dark);
  color: #fff;
}
.woocommerce ul.products li.product .sl-soldout-btn {
  background: #bfe0e0;
  cursor: not-allowed;
}
.sl-soldout-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--sl-teal);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* ---- Collection: left filter sidebar ---- */
.sl-shop-wrap {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.sl-shop-sidebar {
  flex: 0 0 220px;
  width: 220px;
}
.sl-shop-main {
  flex: 1 1 auto;
  min-width: 0;
}
.sl-filter-title {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 400;
  color: var(--sl-ink);
}
.sl-filter-group {
  padding: 16px 0;
  border-top: 1px solid var(--sl-line);
}
.sl-filter-group h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--sl-ink);
}
.sl-filter-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--sl-muted);
  cursor: pointer;
}
.sl-filter-opt input { accent-color: var(--sl-teal); }
.sl-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sl-price-row input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  font-size: 14px;
}
.sl-price-row button {
  flex: 0 0 38px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: var(--sl-teal);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.sl-shop-section .woocommerce-breadcrumb { margin: 0 0 18px; }
.sl-shop-head { margin: 0 0 22px; }
.sl-shop-head .page-title {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  color: var(--sl-ink);
}
/* "Sort by:" label before the ordering dropdown */
.sl-shop-main .woocommerce-ordering { float: right; }
.sl-shop-main .woocommerce-ordering::before {
  content: "Sort by:";
  margin-right: 8px;
  color: var(--sl-muted);
  font-size: 14px;
}
.sl-shop-main form.woocommerce-ordering { display: inline-flex; align-items: center; }

/* ---- Single product: two-column layout ---- */
.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.single-product div.product .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.single-product div.product .summary {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
/* span full width below the two columns */
.single-product div.product .sl-about,
.single-product div.product .sl-eoi,
.single-product div.product .related.products {
  grid-column: 1 / -1;
}
.single-product .woocommerce-breadcrumb {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  color: var(--sl-muted);
  font-size: 14px;
}

/* gallery: main image + thumbnails */
.single-product .woocommerce-product-gallery__image img {
  border-radius: 6px;
}
.single-product div.product .woocommerce-product-gallery {
  position: relative;
  padding-left: 92px;
}
.single-product .flex-control-thumbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 78px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.single-product .flex-control-thumbs li {
  width: 78px;
  margin: 0;
  list-style: none;
}
.single-product .flex-control-thumbs img {
  border: 1px solid var(--sl-line);
  border-radius: 6px;
  cursor: pointer;
  opacity: .85;
}
.single-product .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--sl-teal); }

/* summary: title / sku / price / buy box */
.single-product .summary .product_title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--sl-ink);
}
.single-product .summary .sku_wrapper {
  display: block;
  margin: 0 0 14px;
  color: var(--sl-muted);
  font-size: 14px;
}
.single-product .summary .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 6px;
}
.single-product .summary .price .sl-price-regular { font-size: 17px; }
.single-product .summary .price .sl-price-discount { font-size: 26px; }
.sl-save {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 14px;
}
.sl-save-sale { color: #1f8a4c; font-weight: 600; }
.sl-save-pill {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--sl-teal);
  color: #fff;
  font-weight: 600;
}
.single-product form.cart {
  margin: 0 0 8px;
  padding: 22px;
  border: 1px solid var(--sl-line);
  border-radius: 10px;
}
.single-product form.cart .quantity { margin-right: 12px; }
.single-product form.cart .quantity input.qty {
  width: 64px;
  height: 48px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  text-align: center;
}
.single-product form.cart .single_add_to_cart_button {
  height: 48px;
  padding: 0 34px;
  background: var(--sl-teal);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}
.single-product form.cart .single_add_to_cart_button:hover { background: var(--sl-teal-dark); }
.single-product .summary .woocommerce-variation-add-to-cart,
.single-product .summary .cart { display: block; }

/* ---- About this item accordion ---- */
.sl-about { margin: 56px 0 0; }
.sl-about > h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 34px;
  font-weight: 400;
  color: var(--sl-ink);
}
.sl-accordion { max-width: 960px; margin: 0 auto; }
.sl-acc {
  border-bottom: 1px solid var(--sl-line);
}
.sl-acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--sl-ink);
  position: relative;
}
.sl-acc > summary::-webkit-details-marker { display: none; }
.sl-acc > summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  font-weight: 400;
  font-size: 20px;
  color: var(--sl-muted);
}
.sl-acc[open] > summary::after { content: "\2013"; }
.sl-acc-body { padding: 0 4px 22px; color: #444; font-size: 15px; line-height: 1.7; }
.sl-acc-body ul { margin: 0 0 12px; padding-left: 20px; }
.sl-acc-body li { list-style: disc; margin: 0 0 4px; }

/* ---- "Every order includes" band (full-bleed teal) ---- */
.sl-eoi {
  width: 100vw;
  margin: 64px calc(50% - 50vw) 0;
  padding: 64px 24px;
  background: #7cc0c0;
  color: var(--sl-ink);
  text-align: center;
}
.sl-eoi-inner { max-width: var(--sl-max); margin: 0 auto; }
.sl-eoi-inner > h2 {
  margin: 0 0 44px;
  font-size: 40px;
  font-weight: 400;
}
.sl-eoi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.sl-eoi-ico svg { width: 40px; height: 40px; margin: 0 auto 14px; display: block; color: #14403f; }
.sl-eoi-item h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.sl-eoi-item p { margin: 0; font-size: 14px; color: #1f4a49; }

/* ---- You may also like (related) ---- */
.related.products > h2 {
  margin: 56px 0 24px;
  text-align: left;
  font-size: 34px;
  font-weight: 400;
  color: var(--sl-ink);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .single-product div.product { grid-template-columns: 1fr; gap: 28px; }
  .sl-shop-wrap { flex-direction: column; gap: 24px; }
  .sl-shop-sidebar { width: 100%; flex-basis: auto; }
  .sl-eoi-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .sl-eoi-inner > h2 { font-size: 30px; }
}
