:root {
  --ratings: var(--primary-dark);
  --amber: #ff6200;
  --danger: #b83232;
  --danger-pale: #fdeaea;
  --success: #27705a;
  --success-pale: #edf7f2;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(44, 42, 39, 0.07);
  --shadow-md: 0 4px 20px rgba(44, 42, 39, 0.11);
  --shadow-lg: 0 16px 48px rgba(44, 42, 39, 0.17);
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --image-zoom-background-color: rgba(255, 255, 255, 0.8);
}
[data-bs-theme=dark] {
  --image-zoom-background-color: rgba(0, 0, 0, 0.8);
}

/* -- BASE -------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-text);
  background-color: var(--white);
  overflow-x: hidden;
}

[data-bs-theme="dark"] body {
  background-color: var(--black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
}

/* Plain links without class(es) */
a:not([class]) {
  color: var(--primary);
  text-decoration: underline;
  transition: color var(--t);
}

a:not([class]):hover {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] a:not([class]) {
  color: var(--primary);
  text-decoration: underline;
}

[data-bs-theme="dark"] a:not([class]):hover {
  color: var(--primary-light);
}

a:not([class])[target="_blank"]::after {
  font-family: "bootstrap-icons";
  content: "\F1C5";
  padding-left: .25rem;
}

/* Show more/less buttons */
.btn-show-more {
  color: var(--primary);
  border: none;
  background: none;
  padding: 0 0 0 0.25rem;
  text-decoration: none;
}

.btn-show-more:hover {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .btn-show-more:hover {
  color: var(--primary-light);
}

main {
  flex: 1;
}

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

@media (max-width: 991px) {
  .container {
    max-width: 100% !important;
  }
}

/* Full width container */
.container-full {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  width: 100vw;
}

/* Responsive y-axis margins */
:root {
  --margin-y-sm: 1rem;
  --margin-y-lg: 2.5rem;
}

div.ymargins:first-of-type {
  margin-top: var(--margin-y-lg) !important;
}

div.ymargins+div.ymargins {
  margin-top: var(--margin-y-lg) !important;
}

div.ymargins:last-of-type {
  margin-bottom: var(--margin-y-lg) !important;
}

@media (max-width: 991px) {
  div.ymargins:first-of-type {
    margin-top: var(--margin-y-sm) !important;
  }

  div.ymargins+div.ymargins {
    margin-top: var(--margin-y-sm) !important;
  }

  div.ymargins:last-of-type {
    margin-bottom: var(--margin-y-sm) !important;
  }
}

.logo-mobile {
  max-height: 30px;
  width: auto;
}

.logo-desktop {
  max-height: 30px;
  width: auto;
}

.logo-footer {
  max-height: 30px;
  width: auto;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

.dropdown-menu {
  background-color: var(--cream);
  color: #000;
}

.dropdown-item:hover {
  background-color: var(--stone);
  color: #000;
}

.dropdown-item.active {
  background-color: var(--stone-dark);
  color: #000;
}

[data-bs-theme="dark"] .dropdown-menu {
  background-color: var(--black);
  color: #fff;
}

[data-bs-theme="dark"] .dropdown-item:hover {
  background-color: var(--warm-grey);
  color: #fff;
}

[data-bs-theme="dark"] .dropdown-item.active {
  background-color: var(--charcoal);
  color: #fff;
}

.bi {
  fill: currentColor;
}

ul.list-unstyled li i.bi {
  margin: 0 0.5rem 0 0;
  color: var(--primary-dark);
}

[data-bs-theme="dark"] ul.list-unstyled li i.bi {
  color: var(--primary);
}

.img-feature {
  background: var(--stone);
}

[data-bs-theme="dark"] .img-feature {
  background: var(--charcoal);
}

.prose {
  color: var(--black);
  font-size: .9rem;
  line-height: 1.8;
}

[data-bs-theme="dark"] .prose {
  color: var(--white);
}

.text_404,
.text_403 {
  font-family: var(--font-serif);
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: .5rem;
  color: var(--stone);
}

[data-bs-theme="dark"] .text_404,
[data-bs-theme="dark"] .text_403 {
  color: var(--charcoal);
}

.fs-7 {
  font-size: 0.9rem;
}

.fs-8 {
  font-size: 0.8rem;
}

hr {
  border-top: 1px solid var(--stone) !important;
  opacity: 1;
}

[data-bs-theme="dark"] hr {
  border-top-color: var(--charcoal) !important;
}

.border {
  border: 1px solid var(--stone) !important;
  opacity: 1;
}

[data-bs-theme="dark"] .border {
  border-color: var(--charcoal) !important;
}

.border-top {
  border-color: var(--stone) !important;
  opacity: 1;
}

[data-bs-theme="dark"] .border-top {
  border-color: var(--charcoal) !important;
}

.border-bottom {
  border-color: var(--stone) !important;
  opacity: 1;
}

[data-bs-theme="dark"] .border-bottom {
  border-color: var(--charcoal) !important;
}

.card {
  --bs-card-border-color: var(--stone);
}

[data-bs-theme="dark"] .card {
  --bs-card-border-color: var(--charcoal);
}

.text-shadow {
  text-shadow: 0 0 5px rgba(0,0,0,1);
}

@keyframes pulse { from { opacity: 1; } to { opacity: 0.25; } }
.pulse { animation: pulse 0.75s ease-in infinite alternate both; }

.headroom {
  will-change: transform;
  transition: transform 200ms linear;
}
.headroom--pinned {
  transform: translateY(0%);
}
.headroom--unpinned {
  transform: translateY(-100%);
}

.hero-video-21x9 { aspect-ratio: 21/9 !important; }
.hero-video-16x9 { aspect-ratio: 16/9 !important; }
.hero-text-shadow { text-shadow: 0 0 10px rgba(0,0,0,1);}
@media (max-width: 575px) {
  .hero-video-21x9,
  .hero-video-16x9 { aspect-ratio: 9/16 !important;}
}

/* -- FORM CONTROL -------------------------------------------------- */
.form-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  background-color: var(--cream);
  color: var(--charcoal);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-dark);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1);
  outline: none;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
  border-color: var(--charcoal);
  background-color: var(--charcoal);
  color: var(--white);
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
  border-color: var(--primary-dark);
  background-color: var(--black);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.5);
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
  border-color: var(--danger);
}

.invalid-feedback {
  font-size: 0.78rem;
}

/* -- UTILS -------------------------------------------------- */
#sticky {
  position: sticky;
  top: 5rem;
  z-index: 2;
}

.divider {
  border-top: 1px solid var(--stone);
  opacity: 1;
}

[data-bs-theme="dark"] .divider {
  border-color: var(--charcoal);
}

.text-warm {
  color: var(--warm-grey) !important;
}

.bg-cream {
  background: var(--cream) !important;
}

.fw-serif {
  font-family: var(--font-serif) !important;
}

.info-strip {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.info-strip-alert {
  padding: 0.8rem 1rem;
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

[data-bs-theme="dark"] .info-strip {
  background: var(--charcoal);
  border: 1px solid var(--warm-grey);
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15em;
}

img.img-greyscale {
  filter: grayscale(1);
}

[data-bs-theme="dark"] img.img-greyscale {
  filter: invert(1) grayscale(1);
}

.code-toolbar {
  margin-bottom: 1rem;
}

.accordion-button.faq {
  background: var(--white);
  color: var(--charcoal);
  font-weight: 600;
  font-size: .95rem;
  box-shadow: none;
}

.accordion-item.faq {
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
  overflow: hidden;
}

[data-bs-theme="dark"] .accordion-button.faq {
  background: var(--black);
  color: var(--white);
}

[data-bs-theme="dark"] .accordion-item.faq {
  background: var(--black);
  border: 1px solid var(--charcoal);
  border-radius: var(--radius-sm);
}

[data-bs-theme="dark"] .accordion-button::after {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
}

.form-check-input {
  box-shadow: none !important;
}

.form-check-input:checked {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.box {
  background: var(--cream);
  color: var(--charcoal);
  border: 1px solid var(--stone);
}

[data-bs-theme="dark"] .box {
  background: var(--charcoal);
  color: var(--cream);
  border: 1px solid var(--warm-grey);
}

.account-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
}

[data-bs-theme="dark"] .account-icon {
  background: var(--charcoal);
}

.accordion-button.faq {
  font-size: 1.18rem;
  font-weight: normal;
}

.accordion-button.faq[aria-expanded="true"] {
  border-bottom: 1px solid var(--stone);
  background-color: var(--cream);
  transition: none;
}

[data-bs-theme="dark"] .accordion-button.faq[aria-expanded="true"] {
  border-color: var(--charcoal);
  background-color: #222;
}

.medium-zoom-overlay,
.medium-zoom-image--opened {
  z-index: 99999;
}

.bg-cover { background-size: cover !important; background-position: center center !important; background-repeat: no-repeat !important; }
.bg-fixed { background-attachment: fixed; }

.btn[data-bs-toggle=collapse]::after,
.btn[data-bs-toggle=collapse][aria-expanded=false]::after {
  font-family: 'bootstrap-icons';
  content: '\F282';
  display: inline-block;
  font-size: 0.75rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease-in-out;
}
.btn[data-bs-toggle=collapse][aria-expanded=true]::after {
  transform: rotate(-180deg);
}


/* -- PRIMARY BUTTONS ------------------------------------------------ */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: none;
}

.btn-primary:disabled {
  background: var(--primary);
  border-color: var(--primary);
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--t);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
}

[data-bs-theme="dark"] .btn-outline-primary {
  color: var(--white);
}

.btn-outline-primary:hover:not(:disabled) {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

.btn-sm.btn-primary,
.btn-sm.btn-outline-primary {
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
}

/* -- HEADER ------------------------------------------------ */
.site-nav {
  background-color: var(--white);
  border-bottom: 1px solid var(--stone);
  padding: 0.7rem 0;
  z-index: 1000;
}

[data-bs-theme="dark"] .site-nav {
  background-color: var(--black);
  border-bottom: 1px solid var(--charcoal);
}

.site-nav__brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--charcoal);
  text-transform: none;
  flex-shrink: 0;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1rem;
  margin: 0;
}

@media (max-width: 480px) {
  .site-nav__brand {
    font-size: 1.5rem;
  }
}

[data-bs-theme="dark"] .site-nav__brand {
  color: var(--white);
}

.site-nav .nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-grey);
  padding: 0.4rem 0.8rem;
  transition: color var(--t);
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--charcoal);
}

.site-nav .dropdown-menu {
  padding: 0.4rem 0;
  min-width: 160px;
  background: var(--white);
}

[data-bs-theme="dark"] .site-nav .dropdown-menu {
  background: var(--black);
}

.site-nav .dropdown-item {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.42rem 1.25rem;
  transition: background var(--t), color var(--t);
}

/* Disable sticky header menu on small screens */
/*
@media (max-width: 1199px) {
  .site-nav.sticky-top {
    position: relative !important;
  }
}
*/

/* -- MEGA MENU -------------------------------------------- */
.mega-trigger {
  background: none;
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-grey);
  cursor: pointer;
  transition: color var(--t);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.mega-trigger:hover,
.mega-trigger[aria-expanded="true"] {
  color: var(--charcoal);
}

.mega-trigger .bi {
  transition: transform 0.2s;
}

.mega-trigger[aria-expanded="true"] .bi {
  transform: rotate(180deg);
}

.mega-menu {
  position: fixed;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--stone);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: opacity 0.18s ease, transform 0.18s ease;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

[data-bs-theme="dark"] .mega-menu {
  background: var(--black);
  border-color: var(--charcoal);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

.mega-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mega-menu[hidden] {
  display: none !important;
}

.mega-menu__inner {
  margin: 0 auto;
  display: flex;
  padding: 2rem 1.5rem;
  gap: 0;
}

.mega-col {
  flex: 1;
  padding: 0 1.5rem;
  border-right: 1px solid var(--stone);
}

[data-bs-theme="dark"] .mega-col {
  border-color: var(--charcoal);
}

.mega-col:first-child {
  padding-left: 0;
}

.mega-col:last-child {
  border-right: none;
  padding-right: 0;
}

.mega-col__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  text-decoration: none;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1.5px solid var(--stone);
  transition: color var(--t);
}

.mega-col__heading:hover {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .mega-col__heading {
  color: var(--white);
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .mega-col__heading:hover {
  color: var(--primary);
}

.mega-col__heading .bi {
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity var(--t), transform var(--t);
  margin-left: auto;
}

.mega-col__heading:hover .bi {
  opacity: 1;
  transform: translateX(3px);
}

.mega-col__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-col__links li {
  margin-bottom: 0.15rem;
}

.mega-col__link {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  display: block;
  padding: 0.3rem 0;
  transition: color var(--t), padding-left var(--t);
}

.mega-col__link:hover {
  color: var(--primary-dark);
  padding-left: 0.5rem;
}

[data-bs-theme="dark"] .mega-col__link {
  color: var(--white);
}

[data-bs-theme="dark"] .mega-col__link:hover {
  color: var(--primary);
}

.mega-col__link--all {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--stone);
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 0.78rem;
}

[data-bs-theme="dark"] .mega-col__link--all {
  border-color: var(--charcoal);
  color: var(--primary);
}

/* Overlay to close menu on outside click */
.mega-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: transparent;
}

.mega-overlay[hidden] {
  display: none !important;
}

[data-bs-theme="dark"] .site-nav .nav-link:hover,
[data-bs-theme="dark"] .site-nav .nav-link.active,
[data-bs-theme="dark"] .mega-trigger:hover,
[data-bs-theme="dark"] .mega-trigger[aria-expanded="true"] {
  color: var(--primary-light);
}

/* -- MOBILE CATEGORY ACCORDION ---------------------------- */
.mobile-cat-list {
  border-top: 1px solid var(--stone);
  margin-top: 0.5rem;
  padding-top: 0;
}

.mobile-cat-item {
  border-bottom: 1px solid var(--stone);
}

[data-bs-theme="dark"] .mobile-cat-list {
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .mobile-cat-item {
  border-color: var(--charcoal);
}

.mobile-cat-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0;
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  user-select: none;
}

[data-bs-theme="dark"] .mobile-cat-parent {
  color: var(--cream);
}

.mobile-cat-chevron {
  transition: transform 0.2s;
  font-size: 0.75rem;
  color: var(--warm-grey);
}

.mobile-cat-item.is-open .mobile-cat-chevron {
  transform: rotate(180deg);
}

.mobile-cat-children {
  display: none;
  padding: 0.2rem 0 0.5rem 0.75rem;
}

.mobile-cat-item.is-open .mobile-cat-children {
  display: block;
}

.mobile-cat-child {
  display: block;
  padding: 0.32rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--warm-grey);
  text-decoration: none;
  transition: color var(--t);
}

.mobile-cat-child:hover {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .mobile-cat-child:hover {
  color: var(--white);
}

.mobile-cat-simple {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--stone);
}

[data-bs-theme="dark"] .mobile-cat-simple {
  color: var(--white);
  border-color: var(--charcoal);
}

/* Nav icon buttons */
.nav-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--charcoal);
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--t), color var(--t);
  text-decoration: none;
}

.nav-icon-btn:hover,
.nav-icon-btn[aria-expanded="true"] {
  background: var(--cream);
  color: var(--primary-dark);
}

.nav-icon-btn.active {
  background: var(--cream);
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .nav-icon-btn {
  color: var(--white);
}

[data-bs-theme="dark"] .nav-icon-btn:hover,
[data-bs-theme="dark"] .nav-icon-btn[aria-expanded="true"] {
  background: var(--charcoal);
  color: var(--primary);
}

[data-bs-theme="dark"] .nav-icon-btn.active {
  background: var(--charcoal);
}

.nav-icon-btn__badge,
.js-cart-badge,
.js-wishlist-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: normal;
  min-width: 17px;
  height: 17px;
  border-radius: 100%;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  line-height: 1;
}

[data-bs-theme="dark"] .nav-icon-btn__badge,
[data-bs-theme="dark"] .js-cart-badge .js-wishlist-badge,
[data-bs-theme="dark"] .js-wishlist-badge {
  border-color: none;
}

/* -- CART DRAWER -------------------------------------------- */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1060;
  pointer-events: none;
}

.cart-drawer.is-open {
  pointer-events: all;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 42, 39, 0.42);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer.is-open .cart-drawer__backdrop {
  opacity: 1;
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}

[data-bs-theme="dark"] .cart-drawer__panel {
  background: var(--black);
}

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

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--stone);
  flex-shrink: 0;
}

[data-bs-theme="dark"] .cart-drawer__header {
  border-bottom: 1px solid var(--charcoal);
}

.cart-drawer__title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cart-drawer__close {
  border: none;
  background: transparent;
  color: var(--warm-grey);
  cursor: pointer;
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), color var(--t);
}

.cart-drawer__close:hover {
  background: var(--stone);
  color: var(--charcoal);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.cart-drawer__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--warm-grey);
}

.cart-drawer__empty i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.cart-drawer__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--stone);
  flex-shrink: 0;
}

[data-bs-theme="dark"] .cart-drawer__footer {
  border-top: 1px solid var(--charcoal);
}

/* Mini cart item */
.mini-cart-item {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--stone);
}

[data-bs-theme="dark"] .mini-cart-item {
  border-bottom: 1px solid var(--charcoal);
}

.mini-cart-item:last-child {
  border-bottom: none;
}

.mini-cart-item__img {
  width: 76px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--stone);
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 0;
}

[data-bs-theme="dark"] .mini-cart-item__img {
  background: var(--charcoal);
}

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

.mini-cart-item__name {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  display: block;
  margin-bottom: 0.2rem;
  text-decoration: none;
}

.mini-cart-item__variant {
  font-size: 0.78rem;
  color: var(--warm-grey);
  margin-bottom: 0.35rem;
}

.mini-cart-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-cart-item__price {
  font-size: 0.875rem;
  font-weight: 600;
}

.mini-cart-item__remove {
  border: none;
  background: none;
  color: var(--warm-grey);
  cursor: pointer;
  font-size: 0.78rem;
  padding: 0;
  transition: color var(--t);
}

.mini-cart-item__remove:hover {
  color: var(--danger);
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--stone);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cart-qty-ctrl button {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}

.cart-qty-ctrl button:hover {
  background: var(--stone);
}

[data-bs-theme="dark"] .cart-qty-ctrl {
  border: 1px solid var(--charcoal);
}

[data-bs-theme="dark"] .cart-qty-ctrl button {
  color: var(--cream);
}

[data-bs-theme="dark"] .cart-qty-ctrl button:hover {
  background: var(--charcoal);
  color: var(--white);
}

.cart-qty-ctrl span {
  width: 28px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
}

/* -- PRODUCT CARDS ------------------------------------------ */
.product-card {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

[data-bs-theme="dark"] .product-card {
  background: var(--black);
  border: 1px solid var(--charcoal);
}

.product-card__img-wrap {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  background: var(--stone);
}

[data-bs-theme="dark"] .product-card__img-wrap {
  background: var(--charcoal);
}

.product-card__img-link {
  position: absolute;
  inset: 0;
  display: block;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card__img--placeholder {
  width: 100%;
  height: 100%;
  background: var(--stone);
  display: block;
}

[data-bs-theme="dark"] .product-card__img--placeholder {
  background: var(--charcoal);
}

.product-card:hover .product-card__img {
  transform: scale(1.04);
}

.product-card__img--alt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.product-card__img-link:hover .product-card__img--alt {
  transform: scale(1.04);
  opacity: 1;
}

.product-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__wishlist {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid var(--white);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: color var(--t), transform var(--t), box-shadow var(--t);
}

.product-card__wishlist:hover {
  color: var(--danger);
  box-shadow: var(--shadow-md);
}

.product-card__wishlist.is-wishlisted {
  color: var(--danger) !important;
  box-shadow: var(--shadow-md);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin: .25rem 0 .3rem;
}

.product-card__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--ratings);
  font-size: .72rem;
  line-height: 1;
}

.product-card__rating-score {
  font-size: .75rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}

[data-bs-theme="dark"] .product-card__rating-score {
  color: var(--cream);
}

.product-card__rating-count {
  font-size: .72rem;
  color: var(--warm-grey);
  line-height: 1;
}

/* Quick view */
.product-card__quick-view {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: var(--white);
  border: none;
  padding: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform var(--t);
}

.product-card__quick-view:hover {
  background: var(--primary-dark);
}

.quickViewClose {
  top: .75rem;
  right: .75rem;
  z-index: 10;
  color: var(--black);
  border-radius: 50%;
  padding: .5rem;
  opacity: 1;
  box-shadow: none !important;
  border: 1px solid var(--warm-grey);
}

[data-bs-theme="dark"] .quickViewClose {
  color: var(--black);
}

.product-card:hover .product-card__quick-view {
  transform: translateY(0);
}

.product-card__body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__category {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 0.25rem;
}

.product-card__name {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
  text-decoration: none;
}

@media (max-width: 575px) {
  .product-card__name {
    font-size: 0.9rem;
  }
}

.product-card__name:hover {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .product-card__name {
  color: var(--white);
}

[data-bs-theme="dark"] .product-card__name:hover {
  color: var(--primary);
}

.product-card__price {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: auto;
  padding-top: 0.4rem;
}

.product-card__price-from {
  font-size: 0.75rem;
  color: var(--warm-grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card__badge--sale {
  background: var(--danger);
}

.product-card__price-was {
  text-decoration: line-through;
  color: var(--warm-grey);
  font-weight: 400;
  font-size: 0.8rem;
  margin-right: 0.35rem;
}

.product-card__price-now {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .product-card__price-now {
  color: var(--primary);
}

[data-bs-theme="dark"] .nav-icon-btn.quickview.wishlist-btn {
  border-color: var(--warm-grey) !important;
}

/* -- PRODUCT PAGE ------------------------------------------ */
.product.wishlist-btn {
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

[data-bs-theme="dark"] .product.wishlist-btn {
  border: 1.5px solid var(--charcoal);
}

.nav-icon-btn.product.wishlist-btn.is-wishlisted i,
.nav-icon-btn.wishlist-btn.is-wishlisted i,
.nav-icon-btn.wishlist-btn i {
  color: var(--danger) !important;
}

.product-gallery__main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--stone);
  transition: opacity 0.2s ease;
}

.product-title {
  font-size: clamp(2rem, 4vw, 2rem);
  font-weight: 700;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .product-price {
  color: var(--primary);
}

.product-price__was {
  text-decoration: line-through;
  color: var(--warm-grey);
  font-weight: 400;
  font-size: 1rem;
  margin-right: 0.5rem;
}

.product-price__save {
  display: inline-block;
  background: #FBEAEA;
  color: #B83232;
  border: 1px solid #B83232;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-left: 0.6rem;
  vertical-align: middle;
}

.product-sku {
  font-size: 0.72rem;
  color: var(--warm-grey);
  letter-spacing: 0.04em;
  margin-top: -0.75rem;
}

.product-category-label a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-grey);
  text-decoration: none;
}

.product-category-label a:hover {
  color: var(--warm-grey);
}

@media (max-width: 575px) {
  .product-title {
    font-size: 1.85rem;
  }
}

/* Variant selectors */
.variant-group {
  margin-bottom: 1.2rem;
}

.variant-group__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.55rem;
  display: block;
  color: var(--charcoal);
}

[data-bs-theme="dark"] .variant-group__label {
  color: var(--cream);
}

.selected-val {
  font-weight: 400;
  color: var(--warm-grey);
}

.js-variant-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.js-variant-btn {
  padding: 0.35rem 0.9rem;
  border: 1.5px solid var(--stone);
  background-color: transparent;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  cursor: pointer;
  transition: all var(--t);
  color: var(--charcoal);
}

.js-variant-btn:not(.is-unavailable):hover {
  border-color: var(--primary-dark);
  background-color: var(--primary-dark);
  color: var(--white);
}

.js-variant-btn.is-selected {
  border-color: var(--primary-dark);
  background-color: var(--primary-dark);
  color: var(--white);
}

.js-variant-btn.is-unavailable {
  position: relative;
  opacity: 0.5;
  cursor: not-allowed;
  color: var(--warm-grey);
  overflow: hidden;
}

.js-variant-btn.is-unavailable::after {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-12deg);
}

[data-bs-theme="dark"] .js-variant-btn.is-unavailable {
  color: var(--stone);
}

[data-bs-theme="dark"] .js-variant-btn {
  border: 1.5px solid var(--charcoal);
  color: var(--white);
}

[data-bs-theme="dark"] #quickViewModal .js-variant-btn {
  border: 1.5px solid var(--warm-grey);
}

[data-bs-theme="dark"] .js-variant-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

[data-bs-theme="dark"] .js-variant-btn.is-selected {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

/* Stock badge */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
}

.stock-badge--in {
  background: var(--success-pale);
  color: var(--success);
  border: 1px solid var(--success);
}

.stock-badge--low {
  background: #fef3e2;
  color: #9a5c12;
  border: 1px solid #c87a20;
}

.stock-badge--out {
  background: var(--danger-pale);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stock-badge--in .stock-dot {
  background: var(--success);
}

.stock-badge--low .stock-dot {
  background: #c87a20;
}

.stock-badge--out .stock-dot {
  background: var(--danger);
}

.backorder-message {
  padding: .65rem .9rem;
  background: #FFF8F0;
  border: 1px solid #F0D5B0;
  border-radius: 8px;
  font-size: .83rem;
  color: #9A6020;
  margin-top: .75rem;
}

/* Gallery thumbnails */
.gallery-thumbs {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--stone) transparent;
  -webkit-overflow-scrolling: touch;
}

[data-bs-theme="dark"] .gallery-thumbs {
  scrollbar-color: var(--charcoal) transparent;
}

.gallery-thumb {
  width: 80px;
  height: auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--stone);
  transition: border-color var(--t);
  flex-shrink: 0;
  font-size: 0.7rem;
}

[data-bs-theme="dark"] .gallery-thumb {
  background: var(--charcoal);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 2px;
  border-radius: 6px;
}

.gallery-thumb:hover {
  border-color: var(--warm-grey);
}

.gallery-thumb.is-active {
  border-color: var(--primary-dark);
}

[data-bs-theme="dark"] .gallery-thumb:hover {
  border-color: var(--warm-grey);
}

[data-bs-theme="dark"] .gallery-thumb.is-active {
  border-color: var(--primary);
}

/* Product accordion */
.product-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid var(--stone);
  background: transparent;
}

[data-bs-theme="dark"] .product-accordion .accordion-item {
  border-bottom: 1px solid var(--charcoal);
}

.product-accordion .accordion-button {
  background: transparent;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--charcoal);
  padding: 1rem 0;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .product-accordion .accordion-button {
  color: var(--white);
}

.product-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .product-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
}

.product-accordion .accordion-body {
  padding: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.75;
}

.product-accordion .accordion-body ul {
  padding-left: 1.1rem;
}

.product-accordion .accordion-body li {
  margin-bottom: 0.3rem;
}

.product-accordion .accordion-body p:last-child {
  margin-bottom: 0;
}

.international-rates {
  background: rgba(0, 0, 0, 0.025);
  padding: 0.15rem 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .3rem;
}

[data-bs-theme="dark"] .international-rates {
  background: rgba(255, 255, 255, 0.05);
}

/* -- QUICK VIEW MODAL -------------------------------------- */
.qv-body {
  min-height: 300px;
}

.qv-vbtn {
  padding: 0.35rem 0.9rem;
  border: 1.5px solid var(--stone);
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  cursor: pointer;
  transition: all var(--t);
  color: var(--charcoal);
}

.qv-vbtn.is-selected {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

.qv-vbtn:not(.is-unavailable):hover {
  border-color: var(--primary-dark) !important;
}

/* -- QTY STEPPER -------------------------------------------- */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-stepper__btn {
  width: 34px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
  flex-shrink: 0;
}

.qty-stepper__btn:hover {
  background: var(--stone);
}

.qty-stepper__input {
  width: 36px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  color: var(--charcoal);
  -moz-appearance: textfield;
}

.qty-stepper__input:focus {
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius-sm);
  outline: 0;
}

.qty-stepper__input::-webkit-inner-spin-button,
.qty-stepper__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

[data-bs-theme="dark"] .qty-stepper {
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .qty-stepper__btn {
  color: var(--white);
  transition: background var(--t);
}

[data-bs-theme="dark"] .qty-stepper__btn:hover {
  background: var(--charcoal);
  color: var(--white);
}

[data-bs-theme="dark"] .qty-stepper__input {
  color: var(--white);
}

[data-bs-theme="dark"] .qty-stepper__input:focus {
  border-color: var(--primary-dark);
}

/* -- CART PAGE ---------------------------------------------- */
.cart-table {
  border-collapse: collapse;
  width: 100%;
}

.cart-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--warm-grey);
  border-bottom: 1.5px solid var(--stone);
  padding: 0.55rem 0.75rem;
}

.cart-table td {
  vertical-align: middle;
  border-bottom: 1px solid var(--stone);
  padding: 1rem 0.75rem;
}

.cart-table tbody tr:last-child td {
  border-bottom: none;
}

.cartTableHeader {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 8px;
  overflow: hidden;
}

.cartTableItems {
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--stone);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--warm-grey);
  font-weight: 600;
}

[data-bs-theme="dark"] .cart-table thead th {
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .cart-table td {
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .cartTableHeader {
  background: var(--black);
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .cartTableItems {
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .cartTableHeader {
  background: #000;
}

[data-bs-theme="dark"] .cartTableItems {
  color: var(--warm-grey);
}

.cart-item__img {
  width: 76px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--stone);
  font-size: 0.7rem;
  margin-top: 0;
}

[data-bs-theme="dark"] .cart-item__img {
  background: var(--charcoal);
}

.cart-item__name {
  font-size: 1rem;
  font-weight: normal;
  display: block;
  margin-bottom: 0.15rem;
  text-decoration: none;
}

.cart-item__variant {
  font-size: 0.8rem;
  color: var(--warm-grey);
}

.cart-item__sku {
  font-size: 0.73rem;
  color: var(--warm-grey);
  font-family: monospace;
  margin-top: 0.15rem;
}

.cart-item__remove {
  border: none;
  background: none;
  color: var(--warm-grey);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0;
  transition: color var(--t);
}

.cart-item__remove:hover {
  color: var(--danger);
}

@media (max-width: 767px) {
  .cart-table thead {
    display: none;
  }

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

  .cart-table tr {
    padding: 0.75rem 0;
  }

  .cart-table tr:not(:last-child) {
    border-bottom: 1px solid var(--stone);
  }

  [data-bs-theme="dark"] .cart-table tr:not(:last-child) {
    border-bottom: 1px solid var(--charcoal);
  }

  .cart-table td {
    border: none;
    padding: 0.3rem 0.5rem;
  }

  .cart-item__img {
    width: 64px;
  }
}

.cart-empty {
  text-align: center;
  padding: 1rem 1rem;
}

.cart-empty i {
  color: var(--warm-grey);
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.cart-empty h4 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

/* -- ORDER SUMMARY ------------------------------------------ */
.order-summary {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

[data-bs-theme="dark"] .order-summary {
  background: var(--black);
  border-color: var(--charcoal);
}

.order-summary__title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  padding: 0.4rem 0;
}

.order-summary__row .label {
  color: var(--warm-grey);
}

.order-summary__row .value {
  font-weight: 500;
}

.order-summary__row--total {
  font-size: 1rem;
  font-weight: 600;
  border-top: 1.5px solid var(--stone);
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  padding-bottom: 0;
}

[data-bs-theme="dark"] .order-summary__row--total {
  border-color: var(--charcoal);
}

.order-summary__row--total .value {
  color: var(--primary-dark);
  font-size: 1.15rem;
  font-weight: 600;
}

[data-bs-theme="dark"] .order-summary__row--total .value {
  color: var(--primary);
}

.text-primary {
  color: var(--primary-dark) !important;
}

[data-bs-theme="dark"] .text-primary {
  color: var(--primary) !important;
}

@media (max-width: 575px) {
  .order-summary {
    padding: 1.1rem;
  }
}

/* Coupon */
#couponContainer {
  background: var(--white);
  border: 1px solid var(--stone);
}

[data-bs-theme="dark"] #couponContainer {
  background: var(--black);
  border-color: var(--charcoal);
}

.coupon-form .form-control {
  font-size: 0.85rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-right: none;
  font-family: var(--font-mono);
}

.coupon-form .form-control:focus {
  border-right: none;
}

.coupon-form .btn-primary {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.coupon-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

/* -- CHECKOUT ---------------------------------------------- */
/* -- STEP WIZARD ---------------------------------------------- */
.checkout-step {
  display: none;
}

.checkout-step.is-active {
  display: block;
}

/* Progress bar */
.cp-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
}

.cp-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}

.cp-node__circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--stone);
  background: var(--white);
  color: var(--warm-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all .3s ease;
}

.cp-node__circle {
  border: 2px solid var(--primary-dark);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.cp-node__label {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--warm-grey);
  white-space: nowrap;
  transition: color .3s;
}

.cp-node.is-active .cp-node__circle {
  border-color: var(--primary-dark);
  background: var(--primary);
  color: #fff;
}

.cp-node.is-active .cp-node__label {
  color: var(--primary-dark);
  font-weight: 600;
}

[data-bs-theme="dark"] .cp-node.is-active .cp-node__label {
  color: var(--primary-light);
}

.cp-node.is-done .cp-node__circle {
  border-color: var(--primary-dark);
  background: var(--primary-light);
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .cp-node.is-done .cp-node__circle {
  border-color: var(--primary-dark);
  background: var(--primary);
  color: var(--white);
}

.cp-node.is-done .cp-node__circle::after {
  content: '✓';
  font-size: .75rem;
}

.cp-node.is-done .cp-node__circle span {
  display: none;
}

.cp-node.is-done .cp-node__label {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .cp-node.is-done .cp-node__label {
  color: var(--white);
}

.cp-connector {
  flex: 1;
  height: 2px;
  background: var(--stone);
  margin: 0 .5rem;
  margin-bottom: 1.4rem;
  transition: background .3s;
  position: relative;
  top: -1px;
}

[data-bs-theme="dark"] .cp-connector {
  flex: 1;
  height: 2px;
  background: var(--charcoal);
}

.cp-connector.is-done {
  background: var(--primary-dark);
}

/* Address toggle */
.ship-different-toggle {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  background: var(--cream);
  transition: border-color .2s, background .2s;
  margin-top: 1.25rem;
  cursor: pointer;
}

.ship-different-toggle:hover {
  border-color: var(--primary-dark);
}

[data-bs-theme="dark"] .ship-different-toggle {
  border-color: var(--charcoal);
  border-radius: var(--radius-md);
  background: var(--charcoal);
}

[data-bs-theme="dark"] .ship-different-toggle:hover {
  border-color: var(--primary-dark);
}

.ship-different-toggle.is-checked {
  border-color: var(--primary-dark);
  background: var(--primary-light);
}

[data-bs-theme="dark"] .ship-different-toggle.is-checked {
  border-color: var(--charcoal);
  background: var(--primary-dark);
}

.ship-different-toggle input {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: var(--primary-dark);
}

.ship-different-section {
  display: none;
  margin-top: 1.25rem;
  border-top: 1.5px dashed var(--stone);
  padding-top: 1.25rem;
}

.ship-different-section.is-visible {
  display: block;
}

.address-section-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--warm-grey);
  font-weight: 600;
  margin-bottom: .75rem;
  display: block;
}

/* -- Delivery method selector ------------------------------ */
.rate-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.1rem;
  margin-bottom: .5rem;
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--cream);
}

.rate-option:last-child {
  margin-bottom: 0;
}

.rate-option:hover {
  border-color: var(--primary-dark);
  background: var(--primary-light);
}

.rate-option.is-selected {
  border-color: var(--primary-dark);
  background: var(--primary-light);
}

[data-bs-theme="dark"] .rate-option {
  border-color: var(--charcoal);
  background: var(--charcoal);
}

[data-bs-theme="dark"] .rate-option:hover {
  border-color: var(--primary-dark);
  background: var(--charcoal);
}

[data-bs-theme="dark"] .rate-option.is-selected {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

.rate-option input[type="radio"] {
  display: none;
}

.rate-option__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--primary-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}

.rate-option.is-selected .rate-option__dot {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
}

[data-bs-theme="dark"] .rate-option__dot {
  border: 2px solid var(--stone);
}

[data-bs-theme="dark"] .rate-option.is-selected .rate-option__dot {
  border-color: var(--stone);
}

.rate-option.is-selected .rate-option__dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.rate-option__info {
  flex: 1;
  min-width: 0;
}

.rate-option__name {
  font-weight: 600;
  font-size: .9rem;
}

.rate-option__desc {
  font-size: .78rem;
  margin-top: .1rem;
}

.rate-option__price {
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
}

.rate-option__price.is-free {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .rate-option__price.is-free {
  color: var(--cream);
}

/* Saved address toggle */
.saved-address-toggle {
  background: var(--cream);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  margin-bottom: 0rem;
}

[data-bs-theme="dark"] .saved-address-toggle {
  background: var(--black);
  border-color: var(--charcoal);
}

/* Review order grid */
.review-block {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.review-block:last-child {
  margin-bottom: 0;
}

.review-block__label {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--warm-grey);
}

.review-block__content {
  font-size: .9rem;
  line-height: 1.75;
}

.review-edit-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary-dark);
  font-size: .8rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-family: var(--font-body);
  white-space: nowrap;
}

[data-bs-theme="dark"] .review-edit-btn {
  color: var(--primary);
}

/* PayPal hosted field containers — no padding so iframe fills correctly */
.paypal-field {
  height: 44px;
  background: var(--cream);
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm, 6px);
  transition: border-color .2s;
  overflow: hidden;
  display: block;
  width: 100%;
  scroll-margin-top: 100px;
  scroll-margin-bottom: 280px;
  touch-action: manipulation;
}

.paypal-field iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  vertical-align: top;
}

.paypal-field.paypal-field--focused {
  border-color: var(--primary-dark) !important;
  box-shadow: 0 0 0 3px rgba(45, 74, 62, .1) !important;
  outline: none;
}

.checkout-account {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

[data-bs-theme="dark"] .checkout-account {
  background: var(--black);
  border-color: var(--charcoal);
}

.checkout-section {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

[data-bs-theme="dark"] .checkout-section {
  background: var(--black);
  border-color: var(--charcoal);
}

.checkout-section__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checkout-section__num {
  width: 26px;
  height: 26px;
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
}

.checkout-progress {
  gap: 0;
}

.cp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-grey);
  white-space: nowrap;
}

.cp-step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--stone);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all var(--t);
}

.cp-step.is-active {
  color: var(--primary-dark);
}

.cp-step.is-active span {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

.cp-step.is-done span {
  border-color: var(--primary-dark);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.cp-line {
  flex: 1;
  height: 2px;
  background: var(--stone);
  margin: 0 0.4rem;
  margin-bottom: 1.1rem;
}

[data-bs-theme="dark"] .cp-line {
  background: var(--charcoal);
}

input#agreeTerms {
  border-color: var(--primary-dark);
  background-color: #fff;
  box-shadow: none;
  scale: 1;
}

input#agreeTerms:checked {
  background-color: var(--primary-dark);
  box-shadow: none;
}

input#useSavedAddress {
  border-color: var(--primary-dark);
  background-color: var(--stone);
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23000'/%3e%3c/svg%3e");
  box-shadow: none;
}

[data-bs-theme="dark"] input#useSavedAddress {
  background-color: var(--charcoal);
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

input#useSavedAddress:checked {
  background-color: var(--primary-dark);
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  box-shadow: none;
}

[data-bs-theme="dark"] input#useSavedAddress {
  border-color: var(--primary);
}

[data-bs-theme="dark"] input#useSavedAddress:checked {
  background-color: var(--primary-dark);
}

.checkout-terms-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  font-size: 1rem;
}

[data-bs-theme="dark"] .checkout-terms-box {
  background: var(--black);
  border: 1px solid var(--charcoal);
}

@media (max-width: 575px) {
  .checkout-section {
    padding: 1.25rem;
  }
}

/* -- BREADCRUMB -------------------------------------------- */
.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--warm-grey);
  background: transparent;
  padding: 0;
  margin: 0;
  line-height: 1.5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--stone-dark);
}

.breadcrumb-item a {
  text-decoration: none !important;
  color: var(--warm-grey);
}

.breadcrumb-item a:hover {
  color: var(--primary-dark);
}

.breadcrumb-item.active {
  color: var(--charcoal);
}

[data-bs-theme="dark"] .breadcrumb-item a:hover {
  color: var(--cream);
}

[data-bs-theme="dark"] .breadcrumb-item.active {
  color: var(--white);
}

/* -- SHOP HERO ---------------------------------------------- */
.shop-hero {
  background: var(--primary);
  color: #fff;
  padding: 1.75rem 0 2rem 0;
}

.shop-hero img.shop-hero-category-icon {
  width: 64px;
  height: 64px;
}

.shop-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.shop-hero p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 991px) {
  .shop-hero {
    padding: 1rem 0 2rem 0;
  }
}

@media (max-width: 575px) {
  .shop-hero {
    padding: 1rem 0 1.5rem 0;
  }
}

.shop-hero .breadcrumb-item a {
  text-decoration: none !important;
  color: var(--white);
}

.shop-hero .breadcrumb-item a:hover,
.shop-hero .breadcrumb-item.active {
  color: var(--primary-light);
}

.shop-hero .breadcrumb-item+.breadcrumb-item::before {
  color: var(--white);
}

/* -- FILTER + PAGINATION ------------------------------------ */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-bar__label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

.filter-pill {
  padding: 0.28rem 0.85rem;
  border: 1.5px solid var(--stone);
  background: transparent;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--t);
  color: var(--charcoal);
  text-decoration: none;
  display: inline-block;
}

.filter-pill:hover,
.filter-pill.is-active {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

.filter-pill--child {
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  border-style: dashed;
  margin-left: -0.25rem;
}

.filter-pill--parent-of-active {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.pagination-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--stone);
  border-radius: 10%;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: all var(--t);
}

.pagination-pill:hover {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

.pagination-pill.is-active {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
  cursor: default;
}

[data-bs-theme="dark"] .pagination-pill {
  border-color: var(--charcoal);
  color: var(--white);
}

[data-bs-theme="dark"] .pagination-pill:hover {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

[data-bs-theme="dark"] .pagination-pill.is-active {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: var(--white);
}

/* -- TOASTS -------------------------------------------------- */
.avalynx-alert {
  margin: 1rem 0 0 0 !important;
}

.avalynx-alert .alert-content {
  padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);
}

.avalynx-alert.alert-dismissible .alert-content {
  padding-right: 3rem;
}

.avalynx-alert .btn-close {
  --bs-btn-close-focus-shadow: 0;
}

.avalynx-alert.alert-success .alert-timer {
  background-color: var(--bs-success-border-subtle);
}

.avalynx-alert.alert-info .alert-timer {
  background-color: var(--bs-info-border-subtle);
}

.avalynx-alert.alert-danger .alert-timer {
  background-color: var(--bs-danger-border-subtle);
}

.avalynx-alert.alert-warning .alert-timer {
  background-color: var(--bs-warning-border-subtle);
}

.avalynx-alert .toast-icon {
  font-size: 1.25rem;
}

.avalynx-alert .toast-text {
  font-size: 0.85rem;
}

/* -- CARD SLIDERS -------------------------------------------------- */
.avalynx-cardslider-wrapper {
  overflow: hidden;
}

.avalynx-cardslider-track {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.avalynx-cardslider-item-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.avalynx-cardslider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary);
  border: none;
  padding: 0;
  margin: 0 0.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  opacity: 1;
}

.avalynx-cardslider-dot:hover {
  opacity: 0.8;
}

.avalynx-cardslider-dot.active {
  background-color: var(--primary-dark);
  transform: scale(1.3);
  opacity: 1;
}

/* -- ORDER SUCCESS ------------------------------------------ */
.success-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.success-icon {
  width: 74px;
  height: 74px;
  background: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.order-confirm-box {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
  margin: 1.5rem 0;
}

.order-confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--stone);
  font-size: 0.875rem;
}

.order-confirm-row:last-child {
  border-bottom: none;
}

.order-confirm-row .label {
  color: var(--warm-grey);
}

.order-confirm-row.last {
  font-size: 1.05rem;
  font-weight: 700;
  border-top: 2px solid var(--stone);
  margin-top: .4rem;
  padding-top: .75rem;
}

.order-num {
  font-size: 0.95rem;
  font-weight: bold;
  background: var(--cream);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
}

.order-items-list {
  max-height: 9999px;
  overflow-y: auto;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 0px dashed var(--stone);
}

.order-item-row:last-child {
  border-bottom: none;
}

[data-bs-theme="dark"] .order-confirm-box {
  background: var(--black);
  border: 1px solid var(--charcoal);
}

[data-bs-theme="dark"] .order-confirm-row {
  border-bottom: 1px solid var(--charcoal);
}

[data-bs-theme="dark"] .order-confirm-row .label {
  color: var(--warm-grey);
}

[data-bs-theme="dark"] .order-confirm-row.last {
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .order-num {
  background: var(--charcoal);
}

[data-bs-theme="dark"] .order-item-row {
  border-bottom: 0px dashed var(--stone);
}

.order-confirm-box-bottom {
  background: var(--white);
  border: 1px solid var(--stone);
  font-size: .85rem;
}

[data-bs-theme="dark"] .order-confirm-box-bottom {
  background: var(--black);
  border-color: var(--charcoal);
}

/* -- ORDER SUMMARIES ------------------------------------------ */
.order-card-title {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 8px;
  overflow: hidden;
}

.order-card-title-inner {
  color: var(--warm-grey);
  padding: .75rem 1.25rem;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}

.order-card-body {
  border-top: 1px solid var(--stone);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

[data-bs-theme="dark"] .order-card-title {
  background: #000;
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .order-card-body {
  border-top: 1px solid var(--charcoal);
}

.order-card-address {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 8px;
  padding: 1.25rem;
  height: 100%;
}

[data-bs-theme="dark"] .order-card-address {
  background: #000;
  border: 1px solid var(--charcoal);
}

.order-summary-border {
  border-top: 1px solid var(--stone);
}

[data-bs-theme="dark"] .order-summary-border {
  border-color: var(--charcoal);
}

.order-card-contact {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 8px;
  padding: 1.25rem;
  font-size: .88rem;
}

[data-bs-theme="dark"] .order-card-contact {
  background: #000;
  border-color: var(--charcoal);
}

/* -- WISHLIST ---------------------------------------------- */
.wishlist-empty {
  text-align: center;
  padding: 1rem 1rem;
}

.wishlist-empty i {
  color: var(--warm-grey);
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.wishlist-empty h4 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

/* -- LIVE AJAX SEARCH -------------------------------------------- */
#mobSearchOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--white);
  padding: .75rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
  animation: slideDown .18s ease;
}

[data-bs-theme="dark"] #mobSearchOverlay {
  background: var(--black);
}

.site-search-wrap {
  position: relative;
}

.site-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .site-search-wrap {
    width: 100% !important;
  }
}

@media (min-width: 992px) {
  .site-search-wrap {
    width: 200px;
    transition: width var(--t);
  }

  .site-search-wrap:focus-within {
    width: 280px;
  }
}

.site-search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--warm-grey);
  font-size: 0.9rem;
  pointer-events: none;
}

.site-search-input {
  width: 100%;
  padding: 0.45rem 0.85rem 0.45rem 2.1rem;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-md);
  background: var(--cream);
  font-size: 0.83rem;
  color: var(--charcoal);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  font-family: var(--font-mono);
}

.site-search-input:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.1);
  background: var(--white);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  max-height: 500px;
  overflow-y: auto;
}

.search-dropdown {
  max-height: calc(100vh - 135px);
}

/* Viewport Height */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
  color: var(--charcoal);
  border-bottom: 1px solid var(--stone);
  transition: background var(--t);
}

.search-result-item:last-of-type {
  border-bottom: none;
}

.search-result-item:hover,
.search-result-item.is-focused {
  background: var(--cream);
  outline: none;
}

.search-result-img {
  background: var(--stone);
  width: 44px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.search-result-cat {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

.search-result-name {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.3;
}

.search-result-price {
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 0.1rem;
}

.search-loading,
.search-empty {
  color: var(--warm-grey);
  padding: 1rem 0.85rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.search-view-all {
  color: var(--primary-dark);
  background: var(--cream);
  border-top: 1px solid var(--stone);
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background var(--t);
}

.search-view-all:hover {
  background: var(--stone);
}

[data-bs-theme="dark"] .search-dropdown {
  background: var(--black);
  border: 1px solid var(--charcoal);
}

[data-bs-theme="dark"] .search-result-item {
  color: var(--white);
  border-bottom: 1px solid var(--charcoal);
}

[data-bs-theme="dark"] .search-result-item:hover,
.search-result-item.is-focused {
  background: var(--charcoal);
}

[data-bs-theme="dark"] .search-result-img {
  background: var(--stone);
}

[data-bs-theme="dark"] .search-result-cat {
  color: var(--warm-grey);
}

[data-bs-theme="dark"] .search-result-name {
  color: var(--white);
}

[data-bs-theme="dark"] .search-result-price {
  color: var(--primary);
}

[data-bs-theme="dark"] .search-loading,
.search-empty {
  color: var(--warm-grey);
}

[data-bs-theme="dark"] .search-view-all {
  color: var(--white);
  background: var(--black);
  border-top: 1px solid var(--charcoal);
}

[data-bs-theme="dark"] .search-view-all:hover {
  color: var(--white);
  background: var(--charcoal);
}

/* -- PRODUCT MAIN IMAGE + ZOOM LIGHTBOX -------------------- */
.product-main-img-wrap {
  position: relative;
  padding-top: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--stone);
}

[data-bs-theme="dark"] .product-main-img-wrap {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.product-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.22s ease;
}

img.zoomImg:hover {
  cursor: move;
}

.img-zoom-btn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  cursor: pointer;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity var(--t);
  z-index: 100;
}

.product-main-img-wrap:hover .img-zoom-btn {
  opacity: 1;
}

.img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.img-lightbox.is-open {
  display: flex;
}

.img-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}

.img-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.img-lightbox__inner {
  max-width: 90vw;
  max-height: 90vh;
}

.img-lightbox__inner:hover {
  cursor: grab;
}

.img-lightbox__inner img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
}

.img-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
  z-index: 9999;
}

.img-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.img-lightbox__prev {
  left: 1rem;
}

.img-lightbox__next {
  right: 1rem;
}

.img-lightbox__counter {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
  font-size: 0.7rem;
  font-weight: normal;
  letter-spacing: 0.08em;
  pointer-events: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .img-lightbox__nav {
    top: 93%;
  }
}

.price-from-label {
  font-size: 1rem;
  color: var(--warm-grey);
}

/* -- AUTH FORMS -------------------------------------------- */
.auth-card {
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  box-shadow: 0 2px 16px rgba(44, 42, 39, .07);
}

[data-bs-theme="dark"] .auth-card {
  background: #000;
  border: 1px solid var(--charcoal);
}

.auth-card .fc {
  width: 100%;
  display: block;
}

.auth-card .form-label-sm {
  display: block;
  margin-bottom: 0.35rem;
}

/* -- MOBILE NAV TOGGLE ICON SWAP -------------------------- */
.js-nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  content: "\F659";
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -- SHOP SIDEBAR FILTER -------------------------------- */
.shop-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 4.5rem;
}

.shop-main {
  min-width: 0;
}

.sidebar-section {
  border-bottom: 1px solid var(--stone);
  padding: 0.5rem 0;
}

.sidebar-section:first-of-type {
  padding-top: 0 !important;
}

[data-bs-theme="dark"] .sidebar-section {
  border-color: var(--charcoal);
}

.sidebar-section:last-child {
  border-bottom: none;
}

.sidebar-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.sidebar-cat-link {
  display: block;
  flex: 1;
  padding: 0.4rem 0.5rem;
  font-size: 0.85rem;
  color: var(--charcoal);
  text-decoration: none;
  border-radius: 5px;
  transition: background var(--t), color var(--t);
}

.sidebar-cat-link:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.sidebar-cat-link.is-active {
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 500;
}

.sidebar-cat-link.is-parent-active {
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 500;
}

[data-bs-theme="dark"] .sidebar-cat-link {
  color: var(--cream);
}

[data-bs-theme="dark"] .sidebar-cat-link:hover {
  background: var(--primary-dark);
  color: var(--white);
}

[data-bs-theme="dark"] .sidebar-cat-link.is-active {
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 500;
}

[data-bs-theme="dark"] .sidebar-cat-link.is-parent-active {
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 500;
}

.sidebar-child-link {
  width: calc(100% - 1.85rem);
  display: block;
  padding: 0.3rem 0.5rem;
  margin-top: 1px;
  font-size: 0.8rem;
  color: var(--charcoal);
  text-decoration: none;
  border-radius: 4px;
  transition: background var(--t), color var(--t);
}

.sidebar-child-link:hover {
  background: var(--primary);
  color: var(--white);
}

.sidebar-child-link.is-active {
  background: var(--primary);
  color: var(--white);
  font-weight: 500;
}

[data-bs-theme="dark"] .sidebar-child-link {
  color: var(--white);
}

[data-bs-theme="dark"] .sidebar-child-link:hover {
  background: var(--primary);
  color: var(--white);
}

[data-bs-theme="dark"] .sidebar-child-link.is-active {
  background: var(--primary);
  color: var(--white);
}

.sidebar-toggle {
  background: none;
  border: none;
  padding: 0.3rem 0.4rem;
  cursor: pointer;
  color: var(--warm-grey);
  border-radius: 4px;
  font-size: 0.8rem;
  transition: transform 0.2s, color var(--t);
  flex-shrink: 0;
}

.sidebar-toggle:hover {
  color: var(--charcoal);
}

[data-bs-theme="dark"] .sidebar-toggle:hover {
  color: var(--white);
}

.sidebar-toggle.is-open {
  transform: rotate(180deg);
}

.sidebar-children {
  display: none;
  padding-left: 0.75rem;
}

.sidebar-children.is-open {
  display: block;
}

/* Mobile sidebar */
@media (max-width: 991px) {
  .shop-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    background-color: var(--white);
    z-index: 1050;
    padding: 1rem;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }

  [data-bs-theme="dark"] .shop-sidebar {
    background-color: var(--black);
  }

  .shop-sidebar.is-open {
    transform: translateX(0);
  }
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1049;
  opacity: 0;
  transition: opacity 0.28s;
}

.sidebar-overlay.is-open {
  display: block;
  opacity: 1;
}

.sidebar-close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--warm-grey);
  cursor: pointer;
  padding: 0 0 0 0.15rem;
  margin-bottom: 0.25rem;
}

.sidebar-close:hover {
  color: var(--charcoal);
}

/* -- Homepage content block ------------------------------------ */
.homepage-content-block {
  margin-bottom: 0;
}

.homepage_heading {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.homepage-carousel {
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
}

.homepage-carousel__img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
  background-color: var(--stone);
}

[data-bs-theme="dark"] .homepage-carousel__img {
  background-color: var(--charcoal);
}

.carousel-inner.swipe-carousel:hover {
  cursor: grab;
}

.homepage-carousel__caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  padding: 5rem 2rem 2rem 2rem;
  text-align: left;
  border-radius: 0;
}

.homepage-carousel__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  background: none;
}

.homepage-carousel__caption-text {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  background: none;
  font-size: 1.15rem;
  font-weight: 300;
}

.homepage-carousel__caption-button {
  padding: 0.75rem;
  background: var(--primary);
  color: var(--white) !important;
  border: none;
  border-radius: 7px;
  font-size: 1.15rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-family: inherit;
  font-weight: normal;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.homepage-carousel__caption-button:hover {
  background: var(--primary-dark);
}

.carousel-indicators [data-bs-target] {
  width: 1rem;
  height: 4px;
  border-radius: 2px;
  background-color: #ccc !important;
  transition: width var(--t), background var(--t);
}

.carousel-indicators .active {
  background-color: #fff !important;
  width: 3rem;
}

.homepage-carousel .carousel-control-prev,
.homepage-carousel .carousel-control-next {
  width: 8%;
}

@media (max-width: 991px) {
  .homepage-carousel__caption {
    padding: 3rem 1rem 1rem 1rem;
  }

  .homepage-carousel__caption-text {
    font-size: 0.9rem;
  }

  .homepage-carousel__img {
    aspect-ratio: 16/9;
  }

  .homepage-carousel .carousel-control-prev,
  .homepage-carousel .carousel-control-next {
    display: none;
  }
}

@media (max-width: 768px) {
  .homepage-carousel__img {
    aspect-ratio: 1/1;
  }

  .homepage-carousel__title {
    font-size: 1.2rem;
  }

  .homepage_heading {
    font-size: 1.25rem;
  }
}

.homepage-text {
  font-size: 1rem;
  line-height: 1.5;
  color: inherit;
}

/* -- CATEGORY ICON GRID ------------------------------------ */
.cat-icon-card {
  align-items: center;
  text-decoration: none;
  transition: transform var(--t);
}

.cat-icon-card:hover {
  transform: translateY(-3px);
}

.cat-icon-card__img-wrap {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--stone);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}

[data-bs-theme="dark"] .cat-icon-card:hover .cat-icon-card__img-wrap {
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .cat-icon-card__img-wrap {
  background: var(--black);
  border: 1px solid var(--charcoal);
}

.cat-icon-card:hover .cat-icon-card__img-wrap {
  border-color: var(--stone);
  box-shadow: 0 4px 16px rgba(45, 74, 62, 0.15);
}

.cat-icon-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-icon-card:hover .cat-icon-card__img {
  transform: scale(1.07);
}

.cat-icon-card__name {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  transition: color var(--t);
}

.cat-icon-card__name a {
  color: var(--charcoal);
  font-family: var(--font-text);
  text-decoration: none;
}

[data-bs-theme="dark"] .cat-icon-card__name a {
  color: var(--white);
}

@media (max-width: 575px) {
  .cat-icon-card__name {
    font-size: 0.7rem;
  }
}

/* -- Sidebar filter labels & brand select ---------------------- */
.sidebar-filter-label {
  font-size: 0.7rem;
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 0.6rem;
}

select.sidebar-filter-select {
  width: 100%;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid var(--stone);
  border-radius: 7px;
  font-size: 0.83rem;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--cream);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

select.sidebar-filter-select:focus {
  border-color: var(--primary-dark);
}

[data-bs-theme="dark"] select.sidebar-filter-select {
  border: 1.5px solid var(--charcoal);
  color: var(--white);
  background: var(--charcoal);
}

[data-bs-theme="dark"] select.sidebar-filter-select:focus {
  border-color: var(--primary-dark);
}

/* -- Sort by dropdowns ---------------------- */
/* Mobile */
select.sortSelectMob {
  width: auto;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid var(--stone);
  border-radius: 7px;
  font-size: 0.83rem;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--cream);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

select.sortSelectMob:focus {
  border-color: var(--primary-dark);
}

[data-bs-theme="dark"] select.sortSelectMob {
  border: 1.5px solid var(--charcoal);
  color: var(--white);
  background: var(--charcoal);
}

[data-bs-theme="dark"] select.sortSelectMob:focus {
  border-color: var(--primary-dark);
}

/* Desktop */
select.sortSelect {
  width: auto;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid var(--stone);
  border-radius: 7px;
  font-size: 0.83rem;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--cream);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

select.sortSelect:focus {
  border-color: var(--primary-dark);
}

[data-bs-theme="dark"] select.sortSelect {
  border: 1.5px solid var(--charcoal);
  color: var(--white);
  background: var(--charcoal);
}

[data-bs-theme="dark"] select.sortSelect:focus {
  border-color: var(--primary-dark);
}

/* -- Price range slider ---------------------------------------- */
.price-slider-wrap {
  position: relative;
  height: 28px;
  margin: 0.5rem 0;
  overflow: hidden;
}

.price-slider-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  height: 4px;
  background: var(--stone);
  border-radius: 4px;
}

[data-bs-theme="dark"] .price-slider-track {
  background: var(--charcoal);
}

.price-slider-range {
  position: absolute;
  height: 100%;
  background: var(--primary-dark);
  border-radius: 4px;
}

.price-range-input {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  height: 4px;
  appearance: none;
  background: transparent;
  pointer-events: none;
  outline: none;
}

/* Chrome */
.price-range-input::-webkit-slider-thumb {
  appearance: none;
  pointer-events: all;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--primary-dark);
  cursor: pointer;
  transition: background var(--t);
}

.price-range-input::-webkit-slider-thumb:hover {
  background: var(--primary-dark);
}

/* Firefox (must be a separate rule to Chrome) */
.price-range-input::-moz-range-thumb {
  appearance: none;
  pointer-events: all;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--primary-dark);
  cursor: pointer;
  transition: background var(--t);
}

.price-range-input::-moz-range-thumb:hover {
  background: var(--primary-dark);
}

.price-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--warm-grey);
  margin-bottom: 0.5rem;
}

.sidebar-price-apply {
  width: 100%;
  padding: 0.4rem;
  background: var(--primary-dark);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 0.78rem;
  font-family: inherit;
  font-weight: normal;
  cursor: pointer;
  transition: background 0.2s;
}

.sidebar-price-apply:hover {
  background: var(--primary);
}

.sidebar-price-clear {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  text-decoration: none;
}

.sidebar-price-clear:hover {
  color: var(--primary-dark);
}

/* -- BRANDS -------------------------------------------------- */
.brand-card {
  background: var(--white);
  border-color: var(--stone);
  color: var(--black);
}

.brand-card a {
  color: var(--black);
}

.brand-card a:hover {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .brand-card {
  background: var(--black);
  border-color: var(--charcoal);
  color: var(--white);
}

[data-bs-theme="dark"] .brand-card a {
  color: var(--white);
}

[data-bs-theme="dark"] .brand-card a:hover {
  color: var(--primary);
}

/* -- BRAND DISPLAY - product page ------------------------------------ */
.product-brand {
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: .75rem;
}

.product-brand__link {
  color: var(--warm-grey);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color var(--t);
}

.product-brand__link:hover {
  color: var(--primary-dark);
}

.product-brand__logo {
  max-height: 40px;
  width: auto;
  display: block;
  transition: filter var(--t);
}

/* -- PRODUCT SECTIONS ------------------------------------ */
.attributes-section,
.reviews-section,
.related-section {
  border-top: 1px solid var(--stone);
}

[data-bs-theme="dark"] .attributes-section {
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .reviews-section {
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .related-section {
  border-color: var(--charcoal);
}

/* -- PRODUCT ATTRIBUTES SECTION ------------------------------------ */
.attributes-table-container {
  border: 1px solid var(--stone);
}

[data-bs-theme="dark"] .attributes-table-container {
  border: 1px solid var(--charcoal);
}

.attributes-table tr.odd {
  background: var(--cream);
}

.attributes-table tr.even {
  background: #fff;
}

[data-bs-theme="dark"] .attributes-table tr.odd {
  background: #111;
}

[data-bs-theme="dark"] .attributes-table tr.even {
  background: #000;
}

.attributes-table td.col-1 {
  padding: .6rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  color: inherit;
  width: 25%;
  white-space: nowrap;
}

.attributes-table td.col-2 {
  padding: .6rem .9rem;
  font-size: .85rem;
  color: inherit;
  width: 75%;
}

/* -- PRODUCT REVIEWS SECTION ------------------------------------ */
/* --- Summary panel --- */
.reviews-summary {}

.reviews-summary__score {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .75rem;
}

.reviews-summary__avg {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--charcoal);
}

[data-bs-theme="dark"] .reviews-summary__avg {
  color: var(--warm-grey);
}

.reviews-summary__count {
  font-size: .78rem;
  color: var(--warm-grey);
  margin: .2rem 0 0;
}

/* Star displays */
.star-display {
  display: inline-flex;
  gap: 1px;
  color: var(--ratings);
  font-size: .88rem;
}

.star-display--lg {
  font-size: 1.1rem;
}

/* Breakdown bars */
.reviews-breakdown {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: .75rem;
}

.reviews-breakdown__row {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
}

.reviews-breakdown__label {
  width: .75rem;
  text-align: right;
  color: var(--charcoal);
  font-weight: 600;
}

[data-bs-theme="dark"] .reviews-breakdown__label {
  color: var(--warm-grey);
}

.reviews-breakdown__star {
  color: var(--ratings);
  font-size: .7rem;
}

.reviews-breakdown__bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--stone);
  border-radius: 3px;
  overflow: hidden;
}

[data-bs-theme="dark"] .reviews-breakdown__bar-wrap {
  background: var(--charcoal);
}

.reviews-breakdown__bar-fill {
  height: 100%;
  background: var(--ratings);
  border-radius: 3px;
  transition: width .4s ease;
}

.reviews-breakdown__n {
  width: 1.4rem;
  color: var(--warm-grey);
  font-size: .75rem;
}

/* --- Write review form --- */
.review-form-wrap {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

[data-bs-theme="dark"] .review-form-wrap {
  background: var(--black);
  border: 1px solid var(--charcoal);
}

.review-form-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.review-star-btn {
  background: none;
  border: none;
  padding: 2px 3px;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--ratings);
  transition: transform .12s;
  line-height: 1;
}

.review-star-btn:hover {
  transform: scale(1.15);
}

.review-comment-field {
  border-color: var(--stone);
  background: #fff;
  font-size: .9rem;
  resize: vertical;
}

[data-bs-theme="dark"] .review-comment-field {
  border-color: var(--charcoal);
}

.review-comment-field:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, .12);
}

.review-submitted-msg {
  padding: 1rem 1.25rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
}

/* --- Review items --- */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.review-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--stone);
}

[data-bs-theme="dark"] .review-item {
  border-bottom: 1px solid var(--charcoal);
}

.review-item:first-child {
  border-top: 1px solid var(--stone);
}

[data-bs-theme="dark"] .review-item:first-child {
  border-top: 1px solid var(--charcoal);
}

.review-item__header {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .4rem;
  flex-wrap: wrap;
}

.review-item__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.review-item__name {
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.2;
}

.review-item__date {
  font-size: .75rem;
  color: var(--warm-grey);
  white-space: nowrap;
}

.review-item__comment {
  font-size: .88rem;
  line-height: 1.75;
  margin: .5rem 0 0;
  padding-left: 48px;
}

@media (max-width: 575.98px) {
  .review-item__comment {
    padding-left: 0;
  }

  .reviews-summary__avg {
    font-size: 2.5rem;
  }
}

.buy-to-review,
.already-reviewed {
  background: var(--primary-light);
  font-size: .85rem;
}

[data-bs-theme="dark"] .buy-to-review,
[data-bs-theme="dark"] .already-reviewed {
  background: var(--primary-dark);
}

/* -- BLOG — cards (listing page) ------------------------------------ */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--stone);
  transition: box-shadow var(--t), transform var(--t);
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
  transform: translateY(-2px);
}

[data-bs-theme="dark"] .blog-card {
  background: var(--black);
  border: 1px solid var(--charcoal);
}

[data-bs-theme="dark"] .blog-card:hover {
  box-shadow: 0 8px 32px rgba(255, 255, 255, .1);
  transform: translateY(-2px);
}

.blog-card--lead .blog-card__img {
  max-height: 480px;
}

.blog-card__img-wrap {
  display: block;
  overflow: hidden;
  background: var(--stone);
}

[data-bs-theme="dark"] .blog-card__img-wrap {
  background: var(--charcoal);
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.blog-card__img-wrap:hover .blog-card__img {
  transform: scale(1.03);
}

.blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.blog-card__cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}

.blog-card__cat {
  color: var(--primary);
}

.blog-card__cat:hover {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .blog-card__cat {
  color: var(--primary);
}

[data-bs-theme="dark"] .blog-card__cat:hover {
  color: var(--primary-dark);
}

.blog-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.blog-card__title a {
  color: var(--charcoal);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .blog-card__title a {
  color: var(--cream);
  text-decoration: none;
}

[data-bs-theme="dark"] .blog-card__title a:hover {
  color: var(--white);
}

.blog-card--lead .blog-card__title {
  font-size: 1.8rem;
}

.blog-card__excerpt {
  font-size: .88rem;
  color: inherit;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.blog-card__meta {
  font-size: .76rem;
  color: var(--warm-grey);
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .25rem;
}

.blog-card__meta-sep {
  opacity: .5;
}

/* -- BLOG Sidebar ------------------------------------------------ */
.blog-sidebar-widget {
  margin-bottom: 2rem;
}

.blog-sidebar__heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1.5px solid var(--stone);
}

[data-bs-theme="dark"] .blog-sidebar__heading {
  color: var(--white);
  border-color: var(--charcoal);
}

.blog-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar__list li {
  border-bottom: 1px solid var(--stone);
}

[data-bs-theme="dark"] .blog-sidebar__list li {
  border-bottom: 1px solid var(--charcoal);
}

.blog-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .1rem;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t);
}

.blog-sidebar__link {
  color: var(--charcoal);
}

.blog-sidebar__link:hover {
  color: var(--primary-dark);
}

.blog-sidebar__link.is-active {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .blog-sidebar__link {
  color: var(--white);
}

[data-bs-theme="dark"] .blog-sidebar__link:hover {
  color: var(--primary);
}

[data-bs-theme="dark"] .blog-sidebar__link.is-active {
  color: var(--primary);
}

.blog-sidebar__count {
  font-size: .75rem;
  font-weight: normal;
  border-radius: 4px;
  padding: .1em .55em;
}

.blog-sidebar__count {
  color: var(--white);
  background: var(--primary-dark);
}

[data-bs-theme="dark"] .blog-sidebar__count {
  color: var(--white);
  background: var(--primary-dark);
}

.blog-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-recent-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--stone);
}

[data-bs-theme="dark"] .blog-recent-item {
  border-color: var(--charcoal);
}

.blog-recent-item__thumb {
  width: 56px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.blog-recent-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-recent-item__title {
  display: block;
  font-size: .84rem;
  color: var(--charcoal);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
}

.blog-recent-item__title:hover {
  color: var(--primary-dark);
}

[data-bs-theme="dark"] .blog-recent-item__title {
  color: var(--white);
}

[data-bs-theme="dark"] .blog-recent-item__title:hover {
  color: var(--cream);
}

.blog-recent-item__date {
  font-size: .74rem;
  color: var(--warm-grey);
}

/* -- BLOG POST — single post page ------------------------------------ */
.blog-post-hero {
  max-height: 640px;
  overflow: hidden;
}

.blog-post-hero__img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
  background-color: var(--stone);
}

[data-bs-theme="dark"] .blog-post-hero__img {
  background-color: var(--charcoal);
}

.blog-post-header {}

.blog-post-header__excerpt {
  font-size: 1.25rem;
  color: inherit;
  line-height: 1.65;
  margin: .75rem 0 0;
}

.blog-post-header__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: var(--warm-grey);
  margin-top: .75rem;
  flex-wrap: wrap;
}

.blog-post-body {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--charcoal);
}

[data-bs-theme="dark"] .blog-post-body {
  color: var(--cream);
}

.blog-post-body h2,
.blog-post-body h3 {
  margin-top: 2rem;
}

.blog-post-body img {
  max-width: 100%;
}

.blog-post-body a {
  color: var(--primary-dark);
}

.blog-post-body blockquote {
  border-left: 3px solid var(--primary-dark);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--primary-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--primary-dark);
}

.blog-post-hero .carousel-control-prev,
.blog-post-hero .carousel-control-next {
  width: 8%;
}

@media (max-width: 991px) {
  .blog-post-hero__img {
    aspect-ratio: 16/9;
  }

  .blog-post-hero .carousel-control-prev,
  .blog-post-hero .carousel-control-next {
    display: none;
  }
}

@media (max-width: 767px) {
  .blog-post-hero__img {
    aspect-ratio: 4/3;
  }
}

/* Share buttons */
.blog-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: none;
  color: inherit;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}

.blog-share-btn:hover {
  border-color: none;
  background: none;
  color: var(--warm-grey) !important;
}

/* Prev / next nav */
.blog-post-nav__link {
  display: inline-flex;
  flex-direction: column;
  gap: .2rem;
  text-decoration: none;
  color: var(--charcoal);
  border: 1.5px solid var(--stone);
}

.blog-post-nav__link:hover {
  color: var(--charcoal);
  border: 1.5px solid var(--primary-dark);
}

[data-bs-theme="dark"] .blog-post-nav__link {
  border-color: var(--charcoal);
}

[data-bs-theme="dark"] .blog-post-nav__link:hover {
  border-color: var(--primary-dark);
}

.blog-post-nav__label {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

.blog-post-nav__title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color var(--t);
}

.blog-post-nav__link:hover .blog-post-nav__title {
  color: var(--primary-dark);
}

.blog-post-nav__link--next {
  align-items: flex-end;
}

[data-bs-theme="dark"] .blog-post-nav__title {
  color: var(--white);
}

[data-bs-theme="dark"] .blog-post-nav__link:hover .blog-post-nav__title {
  color: var(--primary);
}

.blog-section {
  border-top: 1px solid var(--stone);
}

[data-bs-theme="dark"] .blog-section {
  border-color: var(--charcoal);
}

/* -- BLOG COMMENTS ------------------------------------ */
.blog-comment-form {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 12px;
  padding: 1.5rem;
}

[data-bs-theme="dark"] .blog-comment-form {
  background: var(--black);
  border-color: var(--charcoal);
}

.blog-comment-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-comment {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--stone);
}

[data-bs-theme="dark"] .blog-comment {
  padding: 1.25rem 0;
  border-color: var(--charcoal);
}

.blog-comment:first-child {
  border-top: 1px solid var(--stone);
}

[data-bs-theme="dark"] .blog-comment:first-child {
  border-color: var(--charcoal);
}

.blog-comment__inner {
  display: flex;
  gap: .85rem;
}

.blog-comment__inner--reply {
  padding-left: 1rem;
  border-left: 3px solid var(--stone);
  margin-top: .75rem;
}

[data-bs-theme="dark"] .blog-comment__inner--reply {
  border-color: var(--charcoal);
}

.blog-comment-replies {
  margin-top: .5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-left: 3rem;
}

.blog-comment__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.blog-comment__inner--reply .blog-comment__avatar {
  width: 28px;
  height: 28px;
  font-size: .75rem;
  background: var(--warm-grey);
}

.blog-comment__content {
  flex: 1;
  min-width: 0;
}

.blog-comment__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .3rem;
}

.blog-comment__author {
  font-size: .88rem;
  font-weight: 700;
}

.blog-comment__date {
  font-size: .76rem;
  color: var(--warm-grey);
}

.blog-comment__body {
  font-size: .9rem;
  line-height: 1.75;
}

.blog-comment__reply-btn {
  background: none;
  border: none;
  padding: 0;
  margin-top: .4rem;
  font-size: .78rem;
  color: var(--warm-grey);
  cursor: pointer;
  transition: color var(--t);
}

.blog-comment__reply-btn:hover {
  color: var(--primary-dark);
}

/* -- PROMO CARDS ------------------------------------ */
.promo-card {
  display: block;
}

.promo-card.promo-card--lg {
  height: 600px;
}

@media (max-width: 767px) {
  .promo-card.promo-card--lg {
    height: 292px;
  }
}

.promo-card:not(.promo-card--lg) {
  height: 292px;
}

.promo-card.promo-card--square {
  height: auto;
  aspect-ratio: 1/1;
}

.promo-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.promo-card:hover .promo-card__img {
  transform: scale(1.05);
}

.promo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: background .3s;
}

.promo-card__tag {
  display: inline-block;
  background: #fff;
  color: #111;
  font-size: .7rem;
  font-weight: normal;
  border-radius: 999px;
  padding: .15em .7em;
  margin-bottom: .4rem;
  align-self: flex-start;
}

.promo-card__title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 .15rem !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

.promo-card--lg .promo-card__title {
  font-size: 1.5rem;
}

.promo-card__sub {
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
  margin: 0 0 .5rem;
}

.promo-card__cta {
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  opacity: .85;
  transition: opacity .2s;
}

.promo-card:hover .promo-card__cta {
  opacity: 1;
}

/* -- FOOTER ------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--stone);
  background: var(--white);
  padding: 1.5rem;
  margin-top: auto;
}

[data-bs-theme="dark"] .site-footer {
  border-top: 1px solid var(--charcoal);
  background: var(--black);
}

.site-footer__brand {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  text-transform: none;
  letter-spacing: 0.01em;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

[data-bs-theme="dark"] .site-footer__brand {
  color: var(--white);
}

.site-footer__subscribe {
  border-bottom: 1px solid var(--stone);
}

[data-bs-theme="dark"] .site-footer__subscribe {
  border-color: var(--charcoal);
}

.site-footer__heading {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li {
  margin-bottom: 0.4rem;
}

.site-footer__links a {
  font-size: 0.85rem;
  transition: color var(--t);
  text-decoration: none !important;
  color: var(--black);
}

.site-footer__links a:hover {
  color: var(--primary);
}

[data-bs-theme="dark"] .site-footer__links a {
  color: var(--white);
}

[data-bs-theme="dark"] .site-footer__links a:hover {
  color: var(--primary);
}

.site-footer__divider {
  border-top: 1px solid var(--stone);
  margin: 2rem 0 1rem;
  opacity: 1;
}

[data-bs-theme="dark"] .site-footer__divider {
  border-color: var(--charcoal);
}

.site-footer__copy {
  font-size: 0.75rem;
  opacity: 0.45;
}

.site-footer .social-links a {
  text-decoration: none;
  font-size: 1.25rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: inherit;
  background: none;
  line-height: 1;
  padding: 0;
  margin-right: 0.25rem;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  border: none;
}

.site-footer .social-links:last-of-type a {
  margin-right: 0;
}

.site-footer .social-links a:hover {
  color: var(--warm-grey);
  background: none;
}

.payment-badge {
  max-width: 50px;
  height: auto;
}

.payment-badge.payment-paypal {
  display: inline;
}

.payment-badge.payment-visa {
  display: inline;
}

.payment-badge.payment-mastercard {
  display: inline;
}

.payment-badge.payment-maestro {
  display: none;
}

.payment-badge.payment-discover {
  display: none;
}

.payment-badge.payment-amex {
  display: inline;
}

.payment-badge.payment-apple-pay {
  display: none;
}

.payment-badge.payment-google-pay {
  display: none;
}

.nav.footer-nav .nav-link {
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--warm-grey);
}

.nav.footer-nav .nav-link:hover {
  color: var(--charcoal);
}

[data-bs-theme="dark"] .nav.footer-nav .nav-link:hover {
  color: var(--white);
}

/* -- FOOTER CATEGORY ACCORDION -------------------------------------- */
.footer-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.footer-accordion-item {
  display: flex;
  flex-direction: column;
}

.footer-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0.25rem 0;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: color var(--t);
}

.footer-accordion-btn:hover {
  color: var(--primary);
}

.footer-accordion-btn[aria-expanded="true"] {
  color: var(--primary);
}

[data-bs-theme="dark"] .footer-accordion-btn:hover {
  color: var(--primary);
}

[data-bs-theme="dark"] .footer-accordion-btn[aria-expanded="true"] {
  color: var(--primary);
}

.footer-accordion-chevron {
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-left: 0.3rem;
  transition: transform 0.2s ease;
}

.footer-accordion-btn[aria-expanded="true"] .footer-accordion-chevron {
  transform: rotate(180deg);
}

.footer-accordion-children {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding-left: 0.75rem;
  padding-bottom: 0.25rem;
}

.footer-accordion-child {
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.2rem 0;
  transition: color var(--t);
  color: var(--black);
}

.footer-accordion-child:hover {
  color: var(--primary);
}

[data-bs-theme="dark"] .footer-accordion-child {
  color: var(--white);
}

[data-bs-theme="dark"] .footer-accordion-child:hover {
  color: var(--primary);
}

.footer-accordion-link {
  font-size: 0.82rem;
  text-decoration: none;
  padding: 0.25rem 0;
  display: block;
  transition: color var(--t);
  font-weight: 400;
  color: var(--black);
}

.footer-accordion-link:hover {
  color: var(--primary);
}

[data-bs-theme="dark"] .footer-accordion-link {
  color: var(--white);
}

[data-bs-theme="dark"] .footer-accordion-link:hover {
  color: var(--primary);
}

/* -- CONTACT FORMS ------------------------------------ */
.container.contact-form {
  max-width: 860px;
}

.contact-form-label {
  font-size: .8rem;
  font-weight: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--warm-grey);
  display: block;
  margin-bottom: .4rem;
}

.form-heading {
  font-size: 1.3rem;
  font-weight: normal;
  color: var(--charcoal);
  margin: 1rem 0 .25rem;
  padding-bottom: .5rem;
  border-bottom: 1.5px solid var(--stone);
}

.field-required {
  color: #B83232;
  font-size: 1rem;
  font-weight: normal;
}

.help-text {
  font-size: .75rem;
  color: var(--warm-grey);
  margin-top: .25rem;
}

.help-text-checkbox {
  font-size: .75rem;
  color: var(--warm-grey);
  margin-top: .2rem;
  padding-left: 1.6rem;
}

/* -- SCROLL TO TOP ------------------------------------------ */
#scrollTopBtn {
  position: fixed;
  bottom: -2.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

#scrollTopBtn.is-visible {
  bottom: 1.5rem;
  opacity: 1;
  pointer-events: all;
}

#scrollTopBtn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

[data-bs-theme="dark"] #scrollTopBtn {
  background: var(--charcoal);
}

[data-bs-theme="dark"] #scrollTopBtn:hover {
  background: var(--primary-dark);
}

/* -- LAZY LOADED YOUTUBE VIDEOS ------------------------------------ */
.youtube {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16/9 !important;
  width: 100%;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: var(--stone);
}

[data-bs-theme="dark"] .youtube {
  background-color: var(--charcoal);
}

.youtube:hover {
  cursor: pointer;
}

.youtube:hover .play-button {
  background: red;
  opacity: 1;
}

.youtube .play-button {
  font-size: 1.1em;
  position: absolute;
  background: #3b3636;
  opacity: 1;
  border-radius: 50% / 10%;
  height: 3em;
  width: 4em;
  padding: 0;
  text-align: center;
  text-indent: 0.1em;
  z-index: 1;
  scale: 1;
}

.youtube .play-button::before {
  background: inherit;
  border-radius: 5% / 50%;
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: 9%;
  bottom: 9%;
}

.youtube .play-button::after {
  border-style: solid;
  border-width: 1em 0 1em 1.732em;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.75);
  content: " ";
  font-size: 0.75em;
  height: 0;
  margin: -1em 0 0 -0.75em;
  top: 50%;
  position: absolute;
  width: 0;
}

.youtube .privacy-info {
  position: absolute;
  z-index: 10;
  bottom: 0;
  font-size: 0.8rem;
  background: #3b3636;
  color: #fff !important;
  padding: 0.25rem 0.5rem;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

/* -- TABLE OF CONTENTS ------------------------------------ */
#toc {
  background: var(--white);
  color: var(--black);
  position: sticky;
  top: 5rem;
  z-index: 2;
  border: 1px solid var(--stone);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
}

[data-bs-theme="dark"] #toc {
  border-color: var(--charcoal);
  background: var(--black);
  color: var(--white);
}

@media (max-width: 991px) {
  #toc {
    margin-top: 0 !important;
  }
}

nav[data-toggle="toc"] .nav>li>a {
  display: block;
  padding: 4px 20px;
  font-size: 20px;
  font-weight: 500;
}

nav[data-toggle="toc"] .nav>li>a:hover,
nav[data-toggle="toc"] .nav>li>a:focus {
  padding-left: 18px;
  text-decoration: none;
  background-color: transparent;
  border-left: 2px solid var(--primary-dark);
}

nav[data-toggle="toc"] .nav-link.active,
nav[data-toggle="toc"] .nav-link.active:hover,
nav[data-toggle="toc"] .nav-link.active:focus {
  padding-left: 18px;
  font-weight: bold;
  background-color: transparent;
  color: var(--primary-dark);
  border-left: 2px solid var(--primary-dark);
}

[data-bs-theme="dark"] nav[data-toggle="toc"] .nav>li>a:hover,
[data-bs-theme="dark"] nav[data-toggle="toc"] .nav>li>a:focus {
  border-left: 2px solid var(--primary);
}

[data-bs-theme="dark"] nav[data-toggle="toc"] .nav-link.active,
[data-bs-theme="dark"] nav[data-toggle="toc"] .nav-link.active:hover,
[data-bs-theme="dark"] nav[data-toggle="toc"] .nav-link.active:focus {
  color: var(--primary);
  border-left: 2px solid var(--primary);
}

/* Nav: second level (shown on .active) */
nav[data-toggle="toc"] .nav-link+ul {
  display: block; /* block (always open) or none to hide until in view */
  padding-bottom: 10px;
}

nav[data-toggle="toc"] .nav .nav>li>a {
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 30px;
  font-size: 14px;
  font-weight: normal;
}

nav[data-toggle="toc"] .nav .nav>li>a:hover,
nav[data-toggle="toc"] .nav .nav>li>a:focus {
  padding-left: 28px;
}

nav[data-toggle="toc"] .nav .nav>li>.active,
nav[data-toggle="toc"] .nav .nav>li>.active:hover,
nav[data-toggle="toc"] .nav .nav>li>.active:focus {
  padding-left: 28px;
  font-weight: 700;
}

nav[data-toggle="toc"] .nav-link.active+ul {
  display: block;
}

/* -- IMAGE SWITCH ------------------------------------ */
.img-switch { display: inline-block; position: relative; overflow: hidden; background: none; margin: 0; }
.img-switch img:nth-of-type(2) { position: absolute; top: 0; right: 0; left: 0; bottom: 0; object-fit: cover; opacity: 0; transition: opacity .3s !important; }
.img-switch:hover img:nth-of-type(2) { opacity: 1; }
.img-switch figcaption { position: absolute; }
.img-switch figcaption { right: 0; left: 0; bottom: -100%; opacity: 0; transition: all .3s; padding: 1rem; background: rgba(0,0,0,0.5); color: #fff; }
.img-switch:hover figcaption { bottom: 0; opacity: 1; }
.img-switch figcaption.cover { top: 0; right: 0; left: 0; bottom: 0; opacity: 0; transition: opacity .3s; padding: 1rem; background: rgba(0,0,0,0.5); color: #fff; text-align: center; height: auto; }
.img-switch:hover figcaption.cover { opacity: 1; }

/* -- KEN BURNS SLIDESHOW ------------------------------------ */
.ken-burns-slideshow { width: 100%; height: auto; aspect-ratio: 21/9; overflow: hidden; position: relative; text-align: center; overflow-hidden; }
.ken-burns-slideshow > div { width: 100%; height: 100%; background-size: cover; position: absolute; animation: ken-burns-slideshow 25s infinite; opacity: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ken-burns-slideshow > div h2 { padding: 0 2rem; user-select: none; }
.ken-burns-slideshow > div p { padding: 0 2rem; user-select: none; }
.ken-burns-slideshow > div:nth-child(2) { animation-delay: 5s; }
.ken-burns-slideshow > div:nth-child(3) { animation-delay: 10s; }
.ken-burns-slideshow > div:nth-child(4) { animation-delay: 15s; }
.ken-burns-slideshow > div:nth-child(5) { animation-delay: 20s; }
@keyframes ken-burns-slideshow {
10% { opacity: 1; }
20% { opacity: 1; }
30% { opacity: 0; }
40% { transform: scale(1.2); }
}
@media (max-width: 767px) {
  .ken-burns-slideshow {
    width: 100%; height: auto; aspect-ratio: 3/4 !important;
  }
}