/* ==========================================================================
   SendThemCare storefront — Emma/Prestige layout, light crystal-blue palette
   ========================================================================== */

:root {
  --stc-blue: #5ba3f7;
  --stc-blue-deep: #3e86ef;
  --stc-blue-soft: #8bbcff;
  --stc-ink: #1e3a5f;
  --stc-ink-soft: #4a5874;
  --stc-bg: #eaf3ff;
  --stc-white: #ffffff;
  --stc-border: #d3e4f5;
  --stc-sale: #ee0000;
  --stc-ok: #008a00;
  --stc-star: #ffbd00;
  --stc-footer: #9dbde8;
  --stc-container: 1400px;
  --stc-gutter: 40px;
  --stc-font: "Barlow", sans-serif;
}

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

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: var(--stc-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--stc-ink);
  background-color: var(--stc-bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 8% 0%, rgba(255,255,255,.92) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 92% 8%, rgba(139,188,255,.4) 0%, transparent 50%),
    repeating-linear-gradient(60deg, rgba(255,255,255,.3) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-60deg, rgba(91,163,247,.07) 0 1px, transparent 1px 20px);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--stc-blue-deep); text-decoration: none; }
a:hover { color: var(--stc-blue); }
h1,h2,h3,h4,h5,h6 { font-family: var(--stc-font); font-weight: 600; color: var(--stc-ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - var(--stc-gutter), var(--stc-container));
  margin-inline: auto;
}
@media (max-width: 640px) {
  :root { --stc-gutter: 24px; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

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

/* ---------- Header shell (solid blue — fixes white-on-crystal nav) ---------- */
.header-shell {
  background: var(--stc-blue);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 18px rgba(30, 58, 95, 0.18);
}
.admin-bar .header-shell { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .header-shell { top: 46px; }
}

.announcement-bar {
  background: var(--stc-blue-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.announcement-bar__inner {
  text-align: center;
  padding: 9px 0;
}
.announcement-bar__content { color: #fff !important; }

/* ---------- Header (Prestige inline) ---------- */
.header {
  background: transparent;
  color: #fff;
  position: relative;
  top: auto;
  z-index: auto;
  box-shadow: none;
}
.admin-bar .header { top: auto; }

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 12px 0;
}

.header__mobile-nav { display: none; position: relative; }
.header__mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 4px;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
}
.header__mobile-nav-toggle .icon { width: 20px; height: 16px; }

.header__logo-link { display: inline-flex; align-items: center; color: #fff !important; }
.stc-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.stc-logo-text strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.stc-logo-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: .92;
  margin-top: 3px;
}
.custom-logo-link img,
.header__logo-image {
  max-width: 155px;
  height: auto;
}

/* Search */
.header__search-bar-wrapper { min-width: 0; }
.search-bar__top {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  height: 46px;
  box-shadow: 0 1px 3px rgba(30,58,95,.08);
}
.search-bar__input-wrapper { flex: 1; min-width: 0; }
.search-bar__input {
  width: 100%;
  height: 46px;
  border: 0;
  outline: 0;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  color: var(--stc-ink);
  background: transparent;
}
.search-bar__filter {
  position: relative;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--stc-border);
  padding: 0 12px;
  min-width: 148px;
  color: var(--stc-ink);
  background: #f7fbff;
}
.search-bar__filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  white-space: nowrap;
}
.search-bar__filter select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.search-bar__submit {
  width: 48px;
  border: 0;
  background: transparent;
  color: var(--stc-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.search-bar__submit:hover { background: #f0f7ff; }
.icon--search { width: 18px; height: 18px; }
.icon--arrow-bottom { width: 10px; height: 7px; }

/* Header actions */
.header__action-list {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.header__action-item { color: #fff; }
.header__action-item-title {
  display: block;
  font-size: 12px;
  opacity: .9;
  margin-bottom: 2px;
}
.header__action-item-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__action-item-link {
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.icon--account { width: 18px; height: 20px; }
.icon--cart { width: 24px; height: 22px; }
.header__cart-icon { position: relative; display: inline-flex; }
.header__cart-count {
  position: absolute;
  top: -9px;
  right: -11px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #fff;
  color: var(--stc-blue-deep);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* Nav bar — solid deeper blue so white links stay readable */
.nav-bar {
  background: var(--stc-blue-deep);
  border-top: 1px solid rgba(255,255,255,.22);
  position: relative;
}
.nav-bar__linklist {
  display: flex;
  flex-wrap: nowrap;
  overflow: visible;
  gap: 0;
}
.nav-bar__item {
  position: relative;
}
.nav-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-bar__link:hover,
.nav-bar__item.is-open > .nav-bar__link,
.nav-bar__item:hover > .nav-bar__link {
  background: rgba(255,255,255,.16);
}

/* Mega menu dropdowns */
.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: max-content;
  max-width: min(1180px, 96vw);
  min-width: 220px;
  background: #fff;
  color: var(--stc-ink);
  border: 1px solid var(--stc-border);
  box-shadow: 0 16px 40px rgba(30, 58, 95, 0.18);
  z-index: 400;
  padding: 18px 18px 14px;
}
.mega-menu--compact {
  min-width: 220px;
  max-width: 320px;
}
.mega-menu--medium {
  max-width: min(720px, 92vw);
}
.nav-bar__item:hover > .mega-menu,
.nav-bar__item.is-open > .mega-menu {
  display: block;
}
.mega-menu__inner {
  display: grid;
  grid-template-columns: repeat(var(--mega-cols, 1), minmax(118px, 1fr));
  gap: 14px 18px;
}
.mega-menu--compact .mega-menu__inner {
  grid-template-columns: 1fr;
}
.mega-menu__column { min-width: 0; }
.mega-menu__title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--stc-ink) !important;
  margin-bottom: 8px;
  text-decoration: none !important;
}
.mega-menu__title:hover { color: var(--stc-blue-deep) !important; }
.mega-menu__item { margin-bottom: 5px; }
.mega-menu__link {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--stc-ink-soft) !important;
  text-decoration: none !important;
  padding: 2px 0;
}
.mega-menu__link:hover { color: var(--stc-blue-deep) !important; }
.mega-menu__footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--stc-border);
}
/* Keep right-side menus on-screen without huge empty panels */
.nav-bar__item.has-mega-menu:nth-last-child(-n+4) .mega-menu {
  left: auto;
  right: 0;
}
.nav-bar__item.has-mega-menu:nth-last-child(-n+4) .mega-menu--compact {
  right: 0;
  left: auto;
}

.mobile-menu__submenu {
  display: none;
  background: #f5f9ff;
}
.mobile-menu__nav-item--parent.is-open .mobile-menu__submenu {
  display: block;
}
.mobile-menu__group-title {
  padding: 10px 18px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--stc-blue-deep);
}
.mobile-menu__nav-link--child {
  padding-left: 28px !important;
  font-weight: 500 !important;
  font-size: 13px !important;
}
.mobile-menu__chevron {
  float: right;
  font-weight: 700;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  width: min(320px, 85vw);
  background: #fff;
  color: var(--stc-ink);
  box-shadow: 0 16px 40px rgba(30,58,95,.2);
  border-radius: 4px;
  z-index: 250;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__nav-link {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--stc-border);
  background: #fff;
  color: var(--stc-ink) !important;
  font: inherit;
  font-weight: 600;
  text-align: left;
}

@media (max-width: 999px) {
  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .header__mobile-nav { display: block; }
  .header__search-bar-wrapper { display: none; }
  .nav-bar { display: none; }
  .header__action-item-title,
  .header__action-item--account .header__action-item-link span,
  .header__action-item--cart .header__action-item-link > span:not(.header__cart-count) {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.button,
a.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 11px 18px;
  font-family: var(--stc-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: filter .15s ease, background .15s ease;
}
.button--primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce a.added_to_cart {
  background: var(--stc-blue) !important;
  color: #fff !important;
  border-color: var(--stc-blue) !important;
}
.button--primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button.alt:hover {
  background: var(--stc-blue-deep) !important;
  border-color: var(--stc-blue-deep) !important;
  color: #fff !important;
  filter: none;
}
a.button,
a.button--primary,
button.button,
.woocommerce a.button,
.woocommerce button.button {
  color: #fff !important;
}
.button--ternary,
a.button--ternary,
.woocommerce a.button--ternary {
  background: #fff !important;
  border-color: var(--stc-border) !important;
  color: var(--stc-ink) !important;
}
.button--small {
  padding: 8px 12px;
  font-size: 12px;
}
.button--floating {
  background: #fff !important;
  color: var(--stc-ink) !important;
  box-shadow: 0 8px 24px rgba(30,58,95,.18);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}

/* ---------- Sections ---------- */
.section { margin: 28px 0; }
.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}
.section__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}
.section__link {
  font-weight: 600;
  color: var(--stc-blue-deep);
  white-space: nowrap;
}

.stc-reviews-strip {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--stc-border);
  text-align: center;
  padding: 22px 20px;
  margin: 24px 0;
}
.stc-reviews-strip h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.stc-rating-line { font-size: 14px; color: var(--stc-ink-soft); }
.stc-rating-line .stars { color: var(--stc-star); margin: 0 4px; letter-spacing: 1px; }

/* Featured collection banner */
.featured-collection {
  background: #fff;
  border: 1px solid var(--stc-border);
  overflow: hidden;
}
.featured-collection__header {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(91,163,247,.85), rgba(62,134,239,.55)),
    linear-gradient(180deg, #cfe4ff, #eaf3ff);
}
.featured-collection__content { padding: 18px 16px 20px; }

/* Promo / category tiles */
.promo-block-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.promo-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  padding: 18px;
  background:
    linear-gradient(160deg, rgba(91,163,247,.2), rgba(255,255,255,.95));
  border: 1px solid var(--stc-border);
  color: inherit !important;
}
.promo-block h3 { margin: 0 0 6px; font-size: 17px; }
.promo-block p { margin: 0 0 12px; font-size: 13px; color: var(--stc-ink-soft); }
.promo-block .button { align-self: flex-start; }

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.quick-links a {
  background: #fff;
  border: 1px solid var(--stc-border);
  padding: 10px 16px;
  font-weight: 600;
  color: var(--stc-ink) !important;
}
.quick-links a:hover {
  border-color: var(--stc-blue);
  color: var(--stc-blue-deep) !important;
}

@media (max-width: 1100px) {
  .promo-block-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 749px) {
  .promo-block-list { grid-template-columns: 1fr 1fr; }
  .section__title { font-size: 20px; }
}

/* ==========================================================================
   PRODUCT CARDS — fixed image boxes (no broken aspect-ratio hack)
   ========================================================================== */

.product-list--scrollable {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.product-list--scrollable .product-item {
  flex: 0 0 240px;
  scroll-snap-align: start;
}

.product-list--grid,
ul.products,
ul.products.columns-4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.product-item,
ul.products li.product,
ul.products li.product-item {
  position: relative;
  display: flex !important;
  flex-direction: column;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
  border: 1px solid var(--stc-border);
  overflow: hidden;
}

.product-item__label-list {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}
.product-label--on-sale,
.woocommerce span.onsale {
  display: inline-block;
  background: var(--stc-sale) !important;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  padding: 5px 8px;
  border-radius: 2px;
  min-height: 0 !important;
  min-width: 0 !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  position: static !important;
}

/* CRITICAL: reliable square image frame */
.product-item__image-wrapper {
  display: block !important;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}
.product-item__image-wrapper img,
.product-item__primary-image,
ul.products li.product a img,
ul.products li.product img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 14px !important;
  margin: 0 !important;
  float: none !important;
  box-shadow: none !important;
}

.product-item__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
  flex: 1;
}
.product-item__title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--stc-ink) !important;
  min-height: 2.7em;
  text-decoration: none !important;
}
.product-item__title:hover { color: var(--stc-blue-deep) !important; }

.price-list,
.product-item__price-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.price--highlight,
.product-item .price ins,
.woocommerce ul.products li.product .price ins {
  color: var(--stc-blue-deep);
  text-decoration: none;
  font-weight: 700;
}
.price--compare,
.product-item .price del,
.woocommerce ul.products li.product .price del {
  color: var(--stc-ink-soft);
  opacity: .75;
  font-weight: 500;
  font-size: .92em;
}
.woocommerce ul.products li.product .price {
  color: var(--stc-blue-deep);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.product-item__inventory { font-size: 12px; }
.inventory--high { color: var(--stc-ok); }
.inventory--low { color: var(--stc-sale); }

.product-item__action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
}
.product-item__action-list .button,
.product-item__action-list a.button,
.woocommerce ul.products li.product .button {
  margin: 0 !important;
}

@media (max-width: 1100px) {
  .product-list--grid,
  ul.products,
  ul.products.columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-list--scrollable .product-item { flex-basis: 210px; }
}
@media (max-width: 749px) {
  .product-list--grid,
  ul.products,
  ul.products.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-list--scrollable .product-item { flex-basis: 170px; }
  .product-item__action-list .button--ternary { display: none; }
}

/* ---------- Shop / archive (sidebar + grid) ---------- */
.stc-shop,
.stc-page-wrap {
  padding: 28px 0 48px;
}
.stc-shop__layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}
.stc-shop__sidebar {
  padding: 16px;
  position: sticky;
  top: 110px;
}
.stc-shop__search {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.stc-shop__search input {
  flex: 1;
  border: 1px solid var(--stc-border);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
}
.stc-shop__search button {
  width: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--stc-blue-deep);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.stc-shop__crumb {
  font-size: 12px;
  color: var(--stc-ink-soft);
  margin: 0 0 12px;
  line-height: 1.5;
}
.stc-shop__crumb a { color: var(--stc-blue-deep); }
.stc-shop__side-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
}
.stc-shop__cats {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}
.stc-shop__cats a {
  display: block;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--stc-ink) !important;
  font-size: 13px;
  font-weight: 600;
}
.stc-shop__cats a:hover,
.stc-shop__cats a.is-active {
  background: #eaf3ff;
  color: var(--stc-blue-deep) !important;
}
.stc-shop__filters details {
  border-top: 1px solid var(--stc-border);
  padding: 10px 0;
}
.stc-shop__filters summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}
.stc-shop__hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--stc-ink-soft);
}
.stc-shop__filter-list {
  margin-top: 8px;
  display: grid;
  gap: 4px;
}
.stc-shop__filter-list a {
  font-size: 13px;
  color: var(--stc-ink) !important;
}
.stc-shop__header { margin-bottom: 14px; }
.stc-shop__title {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
}
.stc-shop__desc {
  color: var(--stc-ink-soft);
  font-size: 14px;
  max-width: 70ch;
}
.woocommerce-products-header { margin-bottom: 8px; }
.woocommerce-result-count,
.woocommerce-ordering {
  margin-bottom: 16px;
  font-size: 13px;
}
.woocommerce-ordering select {
  border: 1px solid var(--stc-border);
  background: #fff;
  padding: 8px 10px;
  font: inherit;
}
.woocommerce-breadcrumb {
  font-size: 13px;
  margin-bottom: 14px;
  color: var(--stc-ink-soft);
}
.woocommerce-breadcrumb a { color: var(--stc-blue-deep); }
.woocommerce .woocommerce-pagination ul {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 28px;
}
.woocommerce .woocommerce-pagination ul li a,
.woocommerce .woocommerce-pagination ul li span {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--stc-border);
  color: var(--stc-ink);
}
.product-item--shop .product-item__label-list {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
}
.product-label--best,
.product-label--new {
  background: #26b408;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.product-item__cart {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.product-item__qty {
  width: 100% !important;
  display: flex !important;
}
.product-item__qty .spd-qty__btn { width: 36px; flex: 0 0 36px; }
.product-item__qty .spd-qty__input {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0;
}
.product-item__atc {
  width: 100% !important;
  min-height: 42px !important;
  font-weight: 800 !important;
}

@media (max-width: 999px) {
  .stc-shop__layout { grid-template-columns: 1fr; }
  .stc-shop__sidebar { position: static; }
}

/* ---------- Multi-item carousels ---------- */
.stc-carousel { margin: 10px 0 32px; }
.stc-carousel__shell {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 8px;
  align-items: center;
}
.stc-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.stc-carousel__track::-webkit-scrollbar { display: none; }
.stc-carousel__slide {
  flex: 0 0 calc((100% - 64px) / 5);
  min-width: 180px;
  scroll-snap-align: start;
}
.stc-carousel__slide .product-item {
  width: 100% !important;
  height: 100%;
}
.stc-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--stc-border);
  background: #fff;
  color: var(--stc-ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(30, 58, 95, 0.1);
}
.stc-carousel__btn:hover:not(:disabled) {
  border-color: var(--stc-blue);
  color: var(--stc-blue-deep);
}
.stc-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
}
@media (max-width: 1200px) {
  .stc-carousel__slide { flex-basis: calc((100% - 48px) / 4); }
}
@media (max-width: 900px) {
  .stc-carousel__slide { flex-basis: calc((100% - 32px) / 3); }
}
@media (max-width: 640px) {
  .stc-carousel__shell { grid-template-columns: 36px 1fr 36px; }
  .stc-carousel__slide { flex-basis: calc((100% - 16px) / 2); min-width: 150px; }
  .stc-carousel__btn { width: 36px; height: 36px; font-size: 24px; }
}

/* ---------- Brand logos (Prestige circular collection style) ---------- */
.stc-brands {
  margin: 12px 0 36px;
  padding: 28px 0 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.stc-brands__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.stc-brands__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--stc-ink);
}
.stc-brands__all {
  font-size: 14px;
  font-weight: 600;
  color: var(--stc-blue-deep) !important;
  white-space: nowrap;
}
.stc-brands__row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 28px;
  align-items: start;
}
.stc-brands__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--stc-ink) !important;
  text-decoration: none !important;
}
.stc-brands__item:hover .stc-brands__name {
  color: var(--stc-blue-deep);
}
.stc-brands__logo {
  width: min(100%, 168px);
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  background: #fff;
  border: 0;
  box-shadow: none;
  position: relative;
}
.stc-brands__logo img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}
.stc-brands__name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--stc-ink);
  line-height: 1.2;
}
.stc-brands__arrow {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: currentColor;
  opacity: 0.85;
}
@media (max-width: 1100px) {
  .stc-brands__logo { width: min(100%, 140px); }
}
@media (max-width: 900px) {
  .stc-brands__row { grid-template-columns: repeat(3, 1fr); gap: 22px 16px; }
  .stc-brands__logo { width: min(100%, 150px); }
}
@media (max-width: 520px) {
  .stc-brands__row { grid-template-columns: repeat(2, 1fr); }
  .stc-brands__logo { width: min(100%, 140px); }
}

/* ---------- Landing page ---------- */
.landing-hero {
  position: relative;
  min-height: clamp(280px, 42vw, 460px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(30,58,95,.72) 0%, rgba(30,58,95,.35) 45%, rgba(30,58,95,.15) 100%),
    var(--landing-hero-image) center / cover no-repeat;
  margin-bottom: 0;
}
.landing-hero__inner { padding: 48px 0; }
.landing-hero__eyebrow {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}
.landing-hero__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1;
}
.landing-hero__text {
  margin: 0 0 18px;
  color: rgba(255,255,255,.92);
  max-width: 42ch;
  font-size: 16px;
}
.landing-hero__cta {
  display: inline-flex !important;
  min-width: 160px;
  justify-content: center;
}
.landing-announce {
  background: rgba(255,255,255,.75);
  border-bottom: 1px solid var(--stc-border);
  margin-bottom: 28px;
}
.landing-announce__inner {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--stc-ink);
}
.landing-announce__arrow {
  border: 0;
  background: transparent;
  font-size: 22px;
  color: var(--stc-ink-soft);
  cursor: default;
}
.landing-story {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  margin-bottom: 28px;
}
.landing-story__seal {
  width: 160px;
  height: 160px;
  border-radius: 999px;
  margin: 0 auto;
  display: grid;
  place-content: center;
  text-align: center;
  background: radial-gradient(circle at 30% 30%, #ffe08a, #c9a227 55%, #8a6b12);
  color: #1e3a5f;
  border: 6px solid #fff;
  box-shadow: 0 12px 28px rgba(30,58,95,.18);
}
.landing-story__seal span {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.landing-story__seal strong {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.landing-story__copy h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
}
.landing-promos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.landing-promo {
  min-height: 180px;
  padding: 22px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--promo-bg), #1a1a1a);
  color: #fff !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 12px 28px rgba(30,58,95,.16);
  text-decoration: none !important;
  overflow: hidden;
}
.landing-promo--image {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 8px;
  min-height: 200px;
  padding: 0;
  background: var(--promo-bg);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.landing-promo__copy {
  padding: 22px 10px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}
.landing-promo h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}
.landing-promo p {
  margin: 0 0 14px;
  color: rgba(255,255,255,.95);
  font-size: 13px;
  line-height: 1.4;
}
.landing-promo span,
.landing-promo__copy > span {
  display: inline-flex;
  align-self: flex-start;
  background: #fff;
  color: var(--promo-btn, var(--promo-bg));
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  padding: 10px 16px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.landing-promo__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  min-height: 180px;
}
.landing-promo__media img {
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 210px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.25));
  transition: transform .25s ease;
}
.landing-promo--image:hover .landing-promo__media img {
  transform: translateY(-4px) scale(1.03);
}
.landing-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}
.landing-feature__media {
  min-height: 360px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--stc-border);
}
.landing-feature__products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 999px) {
  .landing-story { grid-template-columns: 1fr; text-align: center; }
  .landing-promos__grid { grid-template-columns: 1fr 1fr; }
  .landing-promo--image { min-height: 170px; }
  .landing-promo h3 { font-size: 18px; }
  .landing-feature { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .landing-promos__grid { grid-template-columns: 1fr; }
  .landing-promo--image { grid-template-columns: 1.1fr 0.9fr; }
  .landing-feature__products { grid-template-columns: 1fr; }
}

/* ---------- Single product (sticky buy box) ---------- */
.stc-single-product {
  padding: 24px 0 56px;
}
.stc-single-product .stc-shop__layout {
  display: block;
}
.stc-single-product .stc-shop__sidebar {
  display: none !important;
}
.spd .card,
.card {
  background: #fff;
  border: 1px solid var(--stc-border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.06);
}
.spd-breadcrumb {
  font-size: 13px;
  color: var(--stc-ink-soft);
  margin-bottom: 16px;
}
.spd-breadcrumb a { color: var(--stc-blue-deep); }
.spd-breadcrumb__sep { margin: 0 4px; opacity: 0.6; }

.spd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}
.spd-layout__main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.spd-gallery {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
}
.spd-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.spd-gallery__thumb {
  width: 76px;
  height: 76px;
  padding: 4px;
  border: 2px solid var(--stc-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}
.spd-gallery__thumb.is-selected,
.spd-gallery__thumb:hover { border-color: var(--stc-blue); }
.spd-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.spd-gallery__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--stc-border);
  border-radius: 12px;
  background: #fafcff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.spd-gallery__stage img,
.spd-gallery__image {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 18px !important;
  margin: 0 !important;
  max-width: none !important;
}
.spd-gallery__app-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  background: var(--stc-blue-deep);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(62, 134, 239, 0.35);
}

/* Sticky right column — qty / options stay while left scrolls */
.spd-summary.card--sticky,
.spd .card--sticky {
  position: sticky;
  top: 120px;
  z-index: 5;
  padding: 22px 22px 24px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.admin-bar .spd-summary.card--sticky { top: 152px; }

.spd-summary__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--stc-ink);
}
.spd-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.spd-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.spd-badge--best { background: #26b408; }
.spd-badge--save { background: #ee0000; }
.spd-summary__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--stc-ink-soft);
}
.spd-stars {
  color: #f5b400;
  letter-spacing: 1px;
  margin-right: 6px;
}
.spd-rating a { color: var(--stc-blue-deep); font-weight: 600; }
.spd-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.spd-price__current {
  font-size: 34px;
  font-weight: 800;
  color: #e11d48;
  line-height: 1;
}
.spd-price__compare {
  font-size: 18px;
  color: #8a97ab;
  text-decoration: line-through;
  font-weight: 600;
}
.spd-shipping {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--stc-blue-deep);
}
.spd-shipping a { color: inherit; text-decoration: underline; }
.spd-stock { margin-bottom: 18px; }
.spd-stock__text {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #008a00;
}
.spd-stock__text--out { color: #ee0000; }
.spd-stock__bar {
  height: 8px;
  border-radius: 999px;
  background: #e5efe8;
  overflow: hidden;
}
.spd-stock__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #26b408, #5ed12a);
}
.spd-cart { margin-bottom: 18px; }
.spd-cart__form { display: grid; gap: 12px; }
.spd-qty-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--stc-ink);
}
.spd-qty {
  display: inline-flex;
  align-items: stretch;
  width: fit-content;
  border: 1px solid var(--stc-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.spd-qty__btn {
  width: 44px;
  border: 0;
  background: #f3f7fc;
  color: var(--stc-ink);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.spd-qty__btn:hover { background: #e8f1fb; }
.spd-qty__input,
.spd-cart .qty {
  width: 64px !important;
  height: 44px !important;
  border: 0 !important;
  border-left: 1px solid var(--stc-border) !important;
  border-right: 1px solid var(--stc-border) !important;
  text-align: center;
  font: inherit;
  font-weight: 700;
  border-radius: 0 !important;
}
.spd-cart__btn,
.spd-cart .single_add_to_cart_button,
.spd-cart button.single_add_to_cart_button {
  width: 100% !important;
  min-height: 52px !important;
  border-radius: 10px !important;
  background: var(--stc-blue-deep) !important;
  border-color: var(--stc-blue-deep) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(62, 134, 239, 0.28);
}
.spd-cart__btn:hover,
.spd-cart .single_add_to_cart_button:hover {
  background: var(--stc-blue) !important;
}
/* Hide native qty only on simple product custom form (has .spd-qty outside WC .quantity) */
.spd-cart form.cart:not(.variations_form) > .quantity { display: none; }
.spd-variations-form .spd-qty .quantity {
  display: contents;
}
.spd-variations-form .spd-qty .qty {
  width: 64px !important;
  height: 44px !important;
  border: 0 !important;
  border-left: 1px solid var(--stc-border) !important;
  border-right: 1px solid var(--stc-border) !important;
  text-align: center;
  font: inherit;
  font-weight: 700;
  border-radius: 0 !important;
}

/* Prestige-style variation swatches */
.spd-variations {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.spd-variations.variations,
table.variations {
  width: 100%;
  border: 0;
}
.spd-variation__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--stc-ink);
}
.spd-variation__label label { margin: 0; font-weight: 700; }
.spd-variation__selected {
  font-weight: 600;
  color: var(--stc-ink-soft);
  text-transform: capitalize;
}
.spd-variation__select,
.spd-variation select.spd-variation__select,
.spd-variations select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.spd-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.spd-swatch {
  appearance: none;
  border: 2px solid var(--stc-border);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.spd-swatch:hover:not(.is-disabled) {
  border-color: var(--stc-blue);
}
.spd-swatch.is-selected {
  border-color: var(--stc-blue-deep);
  box-shadow: 0 0 0 2px rgba(62, 134, 239, 0.25);
}
.spd-swatch.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  position: relative;
}
.spd-swatch.is-disabled::after {
  content: "";
  position: absolute;
  inset: 45% -2px;
  height: 2px;
  background: #c0123a;
  transform: rotate(-45deg);
}
.spd-swatch--color {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--swatch, #ccc);
  padding: 0;
}
.spd-swatch--color.is-light {
  box-shadow: inset 0 0 0 1px rgba(30,58,95,.18);
}
.spd-swatch--fallback {
  font-size: 12px;
  font-weight: 800;
  color: var(--stc-ink);
  display: grid;
  place-items: center;
  background: #eaf3ff;
}
.spd-swatch--pill {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--stc-ink);
}
.spd-swatch--pill.is-selected {
  background: var(--stc-blue-deep);
  color: #fff;
  border-color: var(--stc-blue-deep);
}
.spd-variations .reset_variations {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--stc-blue-deep) !important;
}
.spd-variations-form .woocommerce-variation-price,
.spd-variations-form .woocommerce-variation-availability {
  margin-bottom: 12px;
}
.spd-variations-form .woocommerce-variation-price .price {
  font-size: 28px;
  font-weight: 800;
  color: #e11d48;
}.spd-fbt {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--stc-border);
}
.spd-fbt__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
}
.spd-fbt__text {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--stc-ink-soft);
}
.spd-fbt__items { display: grid; gap: 8px; }
.spd-fbt__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--stc-border);
  border-radius: 10px;
  color: var(--stc-ink) !important;
  font-size: 13px;
  font-weight: 600;
}
.spd-fbt__item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: #f7fbff;
}
.spd-panel { padding: 22px 24px; }
.spd-panel__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}
.spd-specs {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.spd-specs strong { color: var(--stc-ink); }
.spd-panel__body,
.product-description {
  font-size: 14px;
  line-height: 1.65;
  color: var(--stc-ink);
  background: transparent;
  border: 0;
  padding: 0;
}
/* Payment & Security (Emma-style) */
.spd-panel--pay {
  padding: 22px 24px 26px;
}
.stc-payicons__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.stc-payicons__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #2b2b2b;
}
.stc-payicons__lock { color: #222; display: inline-flex; }
.stc-payicons__label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #666;
}
.stc-payicons__label--center {
  text-align: center;
  letter-spacing: 0.04em;
}
.stc-payicons__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.stc-payicons__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 32px;
  padding: 3px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  box-sizing: border-box;
}
.stc-payicons__item img {
  display: block;
  width: 38px;
  height: 24px;
  object-fit: contain;
}
.stc-payicons__note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #555;
}
.stc-payicons__security {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
}
.stc-payicons__safe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
}
.stc-payicons__safe span {
  flex: 1;
  height: 1px;
  background: #2ea44f;
  max-width: 120px;
}
.stc-payicons__safe strong { font-weight: 700; }
.stc-payicons__safe em {
  font-style: normal;
  color: #2ea44f;
  font-weight: 800;
}
.stc-payicons__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: center;
}
.stc-payicons__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  color: #2ea44f;
}
.stc-payicons__badge strong { font-weight: 700; }
.stc-payicons__badge--shop {
  flex-direction: row;
  gap: 8px;
  color: #2ea44f;
}
.stc-payicons__badge--shop strong {
  display: block;
  font-size: 13px;
  line-height: 1.1;
  text-transform: lowercase;
}
.stc-payicons__badge--shop span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.stc-payicons__badge--stripe {
  flex-direction: row;
  gap: 10px;
  background: #1a1a2e;
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  text-align: left;
}
.stc-payicons__badge--stripe strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stc-payicons__badge--stripe small {
  display: block;
  font-size: 10px;
  opacity: .85;
}
.stc-payicons--compact .stc-payicons__row,
.stc-payicons--footer .stc-payicons__row {
  justify-content: center;
}
.stc-payicons--footer .stc-payicons__item {
  background: #fff;
  border-color: rgba(255,255,255,.35);
}
.stc-checkout {
  padding: 8px 0 40px;
}
.stc-checkout__title {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 800;
}
.stc-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}
.stc-checkout__card,
.stc-checkout__review {
  padding: 22px;
}
.stc-checkout__review {
  position: sticky;
  top: 16px;
}
.stc-checkout__review h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
}
.stc-checkout__secure {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--stc-border);
}
@media (max-width: 900px) {
  .stc-checkout__layout { grid-template-columns: 1fr; }
  .stc-checkout__review { position: static; }
  .landing-promo--image { grid-template-columns: 1fr 0.85fr; min-height: 170px; }
}

/* ---------- Emma split checkout ---------- */
body.stc-checkout-page {
  background: #fff !important;
  background-image: none !important;
}
body.stc-checkout-page .stc-page-wrap--checkout-emma {
  padding: 0;
  margin: 0;
  max-width: none;
}
.stc-cko {
  --cko-navy: #1e3a5f;
  --cko-accent: var(--stc-blue);
  --cko-accent-deep: var(--stc-blue-deep);
  --cko-muted: #6b7280;
  --cko-bg: var(--stc-bg);
  min-height: 100vh;
}
.stc-cko__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: stretch;
  min-height: 100vh;
  background: var(--cko-bg);
}
.stc-cko__main {
  background: var(--cko-bg);
  padding: 28px 48px 48px;
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  box-sizing: border-box;
}
.stc-cko__summary {
  background: var(--cko-navy);
  color: #fff;
  padding: 36px 40px 48px;
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  box-sizing: border-box;
}
.stc-cko__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.stc-cko__logo img { max-height: 48px; width: auto; }
.stc-logo-text--cko strong { display: block; color: var(--stc-ink); font-size: 20px; }
.stc-logo-text--cko small { color: var(--stc-ink-soft); font-size: 11px; }
.stc-cko__exit {
  color: var(--stc-blue-deep) !important;
  display: inline-flex;
  padding: 6px;
}
.stc-cko__express { margin-bottom: 8px; }
.stc-cko__express-label {
  text-align: center;
  color: var(--cko-muted);
  font-size: 13px;
  margin: 0 0 12px;
}
.stc-cko__express-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stc-cko__express-btn {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
}
.stc-cko__express-btn img {
  display: block;
  max-height: 24px;
  width: auto;
  filter: none;
}
.stc-cko__express-btn--shop {
  background: #5a31f4;
}
.stc-cko__express-btn--shop img {
  max-height: 22px;
  filter: none;
}
.stc-cko__express-btn--gpay {
  background: #000;
}
.stc-cko__express-btn--gpay img {
  max-height: 22px;
  width: auto;
  filter: none;
}
.stc-cko__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--cko-muted);
  font-size: 12px;
  font-weight: 700;
}
.stc-cko__or::before,
.stc-cko__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}
.stc-cko__or span { padding: 0 4px; }
.stc-cko__section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}
.stc-cko__contact { margin-bottom: 18px; }
.stc-cko__contact-email {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}
.stc-cko__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}
.stc-cko__check input { margin-top: 3px; }
.stc-cko__quotes {
  display: grid;
  gap: 10px;
  margin: 8px 0 22px;
}
.stc-cko__quote {
  margin: 0;
  background: #fff8e7;
  border-radius: 10px;
  padding: 14px 16px;
}
.stc-cko__stars { color: #f5b301; letter-spacing: 1px; font-size: 13px; }
.stc-cko__quote p {
  margin: 6px 0 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #374151;
}
.stc-cko__quote cite {
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
  color: #111827;
}
.stc-cko__customer { margin-bottom: 8px; }
.stc-cko-fields .form-row {
  margin: 0 0 12px;
  padding: 0;
  width: 100%;
}
.stc-cko-fields .form-row-first,
.stc-cko-fields .form-row-last {
  width: 48%;
  float: left;
}
.stc-cko-fields .form-row-last { float: right; }
.stc-cko-fields label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.stc-cko-fields .input-text,
.stc-cko-fields select,
.stc-cko__main .input-text,
.stc-cko__main select,
.stc-cko__main textarea {
  width: 100%;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  background: #fff !important;
  color: #111827 !important;
  font: inherit;
  min-height: 46px;
  box-shadow: none !important;
}
.stc-cko__ship-method { margin: 22px 0; }
.stc-cko__ship-method-box {
  background: #f3f4f6;
  border-radius: 10px;
  padding: 16px 18px;
  color: #4b5563;
  font-size: 14px;
}
.stc-cko__ship-table { width: 100%; border-collapse: collapse; }
.stc-cko__ship-table th,
.stc-cko__ship-table td {
  padding: 8px 0;
  text-align: left;
  font-size: 14px;
  color: #111827;
  border: 0;
}
.stc-cko__payment-wrap { margin: 22px 0 10px; }
.stc-cko__payment-note {
  margin: -4px 0 14px;
  color: var(--cko-muted);
  font-size: 13px;
}
.stc-cko-pay .wc_payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.stc-cko-pay .wc_payment_method {
  border-bottom: 1px solid #e5e7eb;
  margin: 0;
  padding: 0;
  background: #fff;
}
.stc-cko-pay .wc_payment_method:last-child { border-bottom: 0; }
.stc-cko-pay .wc_payment_method:has(> .stc-cko-pay__row > input:checked) {
  background: #eff6ff;
  box-shadow: inset 0 0 0 2px var(--cko-accent-deep);
  position: relative;
  z-index: 1;
}
.stc-cko-pay__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}
.stc-cko-pay__row > input {
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--cko-accent-deep);
}
.stc-cko-pay .wc_payment_method > .stc-cko-pay__row > label,
.stc-cko-pay .stc-cko-pay__row > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  padding: 0;
  margin: 0;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
}
.stc-cko-pay__row > input[type="radio"] {
  accent-color: var(--cko-accent-deep);
}
.stc-cko-billing__option input[type="radio"] {
  accent-color: var(--cko-accent-deep);
}
.stc-cko-pay__title { font-size: 14px; }
.stc-cko-pay__brands {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.stc-cko-pay__brands img {
  display: block;
  height: 24px;
  width: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.stc-cko-pay__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.stc-cko-pay__brands--single img {
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
}
.stc-cko-pay__brands--box {
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 6px;
}
.stc-cko-pay__brands--box img {
  height: 26px;
}
.stc-cko-pay__hint {
  margin: 0;
  font-size: 13px;
  color: var(--cko-muted);
  line-height: 1.45;
}
.stc-cko-card-fields {
  border: 0;
  margin: 0;
  padding: 0;
  position: relative;
}
.stc-cko-card-fields .form-row {
  margin: 0 0 10px;
  padding: 0;
}
.stc-cko-card-fields__row::after {
  content: "";
  display: table;
  clear: both;
}
.stc-cko-card-fields .form-row-first,
.stc-cko-card-fields .form-row-last {
  width: 48%;
  float: left;
}
.stc-cko-card-fields .form-row-last { float: right; }
.stc-cko-card-fields .stc-cko-card-number {
  position: relative;
}
.stc-cko-card-fields__lock {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: #9ca3af;
  pointer-events: none;
  display: inline-flex;
}
.stc-cko-card-fields .stc-cko-card-number .input-text {
  padding-right: 40px !important;
}
.stc-cko-pay .payment_box {
  background: #f9fafb !important;
  border-top: 1px solid #e5e7eb;
  padding: 14px 16px 16px !important;
  margin: 0 !important;
}
.stc-cko-pay .payment_box::before { display: none !important; }
.stc-cko-pay .payment_box input.input-text,
.stc-cko-pay .payment_box select {
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  background: #fff !important;
  min-height: 44px;
}
.stc-cko-billing {
  margin: 18px 0 8px;
  padding: 0;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.stc-cko-billing__title {
  margin: 0;
  padding: 14px 16px 8px;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}
.stc-cko-billing__option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  border-top: 1px solid #e5e7eb;
}
.stc-cko-billing__option:has(input:checked) {
  background: #eff6ff;
  box-shadow: inset 0 0 0 2px var(--cko-accent-deep);
}
.stc-cko-billing__fields {
  margin: 0;
  padding: 14px 16px 16px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}
.stc-cko-billing__fields[hidden] { display: none !important; }
.stc-cko__paynow,
.stc-cko-pay #place_order,
.stc-cko-pay button#place_order {
  width: 100% !important;
  min-height: 52px !important;
  margin-top: 16px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--cko-accent-deep) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}
.stc-cko__paynow:hover,
.stc-cko-pay #place_order:hover {
  background: var(--cko-accent) !important;
  filter: none;
  color: #fff !important;
}
.stc-cko__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
  padding-top: 8px;
}
.stc-cko__policies a {
  color: var(--stc-blue-deep) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}
.stc-cko__policies a:hover { text-decoration: underline !important; }

.stc-cko__summary a { color: #c7d2fe !important; }
.stc-cko-review-root { color: #fff; }
.stc-cko-lines { display: grid; gap: 16px; margin-bottom: 22px; }
.stc-cko-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.stc-cko-line__media {
  position: relative;
  width: 64px;
  height: 64px;
}
.stc-cko-line__media img,
.stc-cko-line__img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.stc-cko-line__qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stc-cko-line__name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.3;
}
.stc-cko-line__sub {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}
.stc-cko-line__price {
  text-align: right;
  white-space: nowrap;
}
.stc-cko-line__compare {
  display: block;
  color: rgba(255,255,255,.5);
  text-decoration: line-through;
  font-size: 12px;
}
.stc-cko-line__current {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.stc-cko__discount {
  display: flex;
  gap: 0;
  margin: 8px 0 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.stc-cko__discount input {
  flex: 1;
  border: 0 !important;
  padding: 14px 14px !important;
  min-height: 48px;
  font: inherit;
  color: #111 !important;
  background: #fff !important;
  border-radius: 0 !important;
}
.stc-cko__discount-btn {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-weight: 800;
  padding: 0 16px;
  cursor: pointer;
}
.stc-cko__discount-btn:hover { color: var(--cko-accent-deep); }
.stc-cko__discount-error {
  margin: -12px 0 16px;
  color: #ef4444;
  font-size: 13px;
  font-weight: 600;
}
.stc-cko-totals {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.stc-cko-totals th,
.stc-cko-totals td {
  padding: 10px 0;
  border: 0;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 500;
  background: transparent !important;
}
.stc-cko-totals th { text-align: left; }
.stc-cko-totals td { text-align: right; }
.stc-cko-totals .order-total th,
.stc-cko-totals .order-total td {
  padding-top: 16px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stc-cko-totals__currency {
  font-size: 12px;
  font-weight: 600;
  opacity: .75;
  margin-right: 4px;
}
.stc-cko-savings {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.stc-cko__summary .woocommerce-Price-amount,
.stc-cko__summary .amount { color: #fff !important; }
.stc-cko__main .woocommerce-additional-fields h3 {
  font-size: 18px;
  font-weight: 800;
}
.stc-cko__shipping-extra .woocommerce-shipping-fields { margin-top: 12px; }
@media (max-width: 980px) {
  .stc-cko__layout { grid-template-columns: 1fr; }
  .stc-cko__main {
    max-width: none;
    margin: 0;
    padding: 20px 18px 32px;
  }
  .stc-cko__summary {
    position: static;
    min-height: 0;
    padding: 24px 18px 36px;
  }
}

@media (max-width: 999px) {
  .spd-layout { grid-template-columns: 1fr; }
  .spd-summary.card--sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .spd-gallery { grid-template-columns: 1fr; }
  .spd-gallery__thumbs {
    flex-direction: row;
    order: 2;
    overflow-x: auto;
  }
  .spd-gallery__stage { order: 1; }
}
@media (max-width: 640px) {
  .spd-price__current { font-size: 28px; }
  .spd-gallery { padding: 12px; }
}

/* Pages */
.rte {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--stc-border);
  padding: 24px;
}

/* ---------- Footer (Emma-style slate, high contrast) ---------- */
.footer {
  background: #6f8496;
  color: #ffffff;
  margin-top: 48px;
  padding: 48px 0 0;
}
/* Flush mailing banner into footer (no crystal gap). */
.stc-mailing {
  background: #1e3a5f;
  color: #fff;
  padding: 42px 20px;
  margin: 0 !important;
  text-align: center;
}
.stc-page-wrap--policy,
.stc-help.stc-page-wrap--policy {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.stc-page-wrap--policy + .footer,
.stc-help + .footer,
body:has(.stc-mailing) .footer {
  margin-top: 0 !important;
}
.footer__block-list {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 32px;
  padding-bottom: 36px;
}
.footer__title {
  margin: 0 0 16px;
  color: #1e3a5f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.footer__text p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}
.footer__linklist li { margin-bottom: 10px; }
.footer a,
.footer__link-item {
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
}
.footer a:hover,
.footer__link-item:hover {
  opacity: 0.85;
  text-decoration: underline !important;
}
.footer__newsletter-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #fff;
}
.footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.footer__newsletter-form .form__field {
  width: 100%;
  border: 0;
  border-radius: 2px;
  padding: 13px 14px;
  font: inherit;
  color: var(--stc-ink);
}
.footer__newsletter-form .button {
  width: 100%;
  justify-content: center;
}
.footer__social { margin-top: 22px; }
.footer__aside-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.footer__aside-item--social {
  text-align: center;
}
.social-media__item-list {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-media__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  color: #2b3340 !important;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease;
}
.social-media__link:hover {
  background: rgba(255,255,255,.4);
  color: #111 !important;
}
.footer__aside {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
}
.footer__aside p { margin: 0; }
@media (max-width: 999px) {
  .footer__block-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 749px) {
  .footer__block-list { grid-template-columns: 1fr; gap: 28px; }
  .footer__aside {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Kill leftover Prestige/Woo absolute image bugs */
.aspect-ratio,
.aspect-ratio--square {
  position: static !important;
  padding-bottom: 0 !important;
  height: auto !important;
}

/* ---------- Header mini-cart ---------- */
.header__action-item--cart {
  position: relative;
}
.stc-mini-cart {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(420px, 92vw);
  background: #fff;
  color: var(--stc-ink);
  border: 1px solid var(--stc-border);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(30,58,95,.22);
  padding: 16px;
  z-index: 500;
}
.stc-mini-cart[hidden] { display: none !important; }
.header__action-item--cart.is-open .stc-mini-cart { display: block !important; }
.stc-mini-cart__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 360px;
  overflow: auto;
  display: grid;
  gap: 14px;
}
.stc-mini-cart__item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  align-items: start;
}
.stc-mini-cart__thumb img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--stc-border);
  border-radius: 8px;
  background: #f7fbff;
}
.stc-mini-cart__name {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--stc-ink) !important;
  line-height: 1.25;
  margin-bottom: 4px;
}
.stc-mini-cart__prices {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 4px;
}
.stc-mini-cart__price { color: #e11d48; font-weight: 800; }
.stc-mini-cart__compare {
  color: #8a97ab;
  text-decoration: line-through;
  font-size: 12px;
}
.stc-mini-cart__meta {
  font-size: 12px;
  color: var(--stc-ink-soft);
}
.stc-mini-cart__sale {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffe4e8;
  color: #c0123a;
  font-size: 11px;
  font-weight: 700;
}
.stc-mini-cart__side {
  text-align: right;
  font-size: 12px;
}
.stc-mini-cart__remove {
  display: block;
  margin-top: 6px;
  color: var(--stc-blue-deep) !important;
  font-weight: 600;
}
.stc-mini-cart__summary {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--stc-border);
  display: grid;
  gap: 6px;
}
.stc-mini-cart__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.stc-mini-cart__saved {
  margin: 4px 0 0;
  color: #e11d48;
  font-weight: 800;
  font-size: 13px;
}
.stc-mini-cart__btn {
  width: 100% !important;
  margin-top: 12px !important;
  min-height: 46px !important;
}
.stc-mini-cart__empty {
  margin: 0 0 12px;
  text-align: center;
  color: var(--stc-ink-soft);
}

/* ---------- Cart page ---------- */
.stc-page-wrap--cart .rte { background: transparent; border: 0; padding: 0; }
.stc-cart { padding-bottom: 40px; }
.stc-cart__title {
  margin: 8px 0 22px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--stc-ink);
}
.stc-cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 36px;
}
.stc-cart__form { padding: 0; overflow: hidden; }
.stc-cart__table-head {
  display: grid;
  grid-template-columns: 1fr 160px 110px;
  gap: 12px;
  padding: 14px 18px;
  background: #f3f7fc;
  border-bottom: 1px solid var(--stc-border);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.stc-cart__row {
  display: grid;
  grid-template-columns: 1fr 160px 110px;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--stc-border);
  align-items: start;
}
.stc-cart__product {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
}
.stc-cart__thumb img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border: 1px solid var(--stc-border);
  border-radius: 10px;
  background: #fafcff;
}
.stc-cart__name {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
}
.stc-cart__name a { color: var(--stc-ink) !important; }
.stc-cart__price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
}
.stc-cart__price-current { color: #e11d48; font-weight: 800; font-size: 16px; }
.stc-cart__price-compare {
  color: #8a97ab;
  text-decoration: line-through;
  font-size: 13px;
}
.stc-cart__sku-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--stc-ink-soft);
  margin: 4px 0 8px;
}
.stc-cart__sale-pill {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ffe4e8;
  color: #c0123a;
  font-size: 11px;
  font-weight: 700;
}
.stc-cart__save-note {
  margin: 8px 0 0;
  color: #e11d48;
  font-size: 13px;
  font-weight: 700;
}
.stc-cart__qty {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.stc-cart__qty-control {
  display: inline-flex !important;
  align-items: stretch;
}
.stc-cart__qty-control .quantity {
  display: contents;
}
.stc-cart__qty-control .qty {
  width: 52px !important;
  height: 40px !important;
  border: 0 !important;
  border-left: 1px solid var(--stc-border) !important;
  border-right: 1px solid var(--stc-border) !important;
  text-align: center;
  font-weight: 700;
}
.stc-cart__remove {
  font-size: 12px;
  font-weight: 700;
  color: var(--stc-blue-deep) !important;
}
.stc-cart__total {
  font-size: 16px;
  font-weight: 800;
  text-align: right;
  color: var(--stc-ink);
}
.stc-cart__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 18px;
}
.stc-cart__coupon {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.stc-cart__coupon input {
  border: 1px solid var(--stc-border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}
.stc-cart__subs {
  margin-top: 16px;
  padding: 18px;
}
.stc-cart__subs-title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
}
.stc-cart__subs-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stc-cart__sub-btn {
  min-height: 52px;
  border: 2px solid var(--stc-blue-deep);
  border-radius: 10px;
  background: #fff;
  color: var(--stc-blue-deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.stc-cart__sub-btn.is-active {
  background: var(--stc-blue-deep);
  color: #fff;
}
.stc-cart-summary__note {
  margin: 0;
  font-size: 12px;
  color: var(--stc-ink-soft);
  line-height: 1.4;
}
.stc-cart-reviews__title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.stc-cart-summary {
  position: sticky;
  top: 120px;
  padding: 20px;
}
.admin-bar .stc-cart-summary { top: 152px; }
.stc-cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
}
.stc-cart-summary__row strong { font-size: 18px; }
.stc-cart-summary__row--muted { color: var(--stc-ink-soft); font-size: 13px; }
.stc-cart-summary__saved {
  margin: 4px 0 14px;
  color: #e11d48;
  font-weight: 800;
}
.stc-cart-summary__fields {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.stc-cart-summary__label {
  font-size: 12px;
  font-weight: 700;
}
.stc-cart-summary__verify {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  border: 1px solid var(--stc-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.stc-cart-summary__verify input {
  border: 0;
  padding: 11px 12px;
  font: inherit;
  min-width: 0;
}
.stc-cart-summary__verify .button {
  border-radius: 0 !important;
  min-height: 100% !important;
}
.stc-cart-summary__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.stc-cart-summary select {
  border: 1px solid var(--stc-border);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
.stc-cart-summary__checkout .checkout-button,
.stc-cart-summary__checkout a.checkout-button {
  width: 100% !important;
  min-height: 52px !important;
  font-weight: 800 !important;
  font-size: 16px !important;
}
.stc-cart-summary__secure {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--stc-border);
  text-align: center;
}
.stc-cart-summary__secure p {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stc-cart-summary__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.stc-cart-summary__pay span {
  background: #f3f7fc;
  border: 1px solid var(--stc-border);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
}

.stc-cart-trust {
  background: rgba(255,255,255,.8);
  border: 1px solid var(--stc-border);
  border-radius: 14px;
  padding: 28px 24px;
  margin: 28px 0;
}
.stc-cart-trust__top h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}
.stc-cart-trust__body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr);
  gap: 24px;
  align-items: center;
}
.stc-cart-trust__payments {
  text-align: center;
}
@media (max-width: 800px) {
  .stc-cart-trust__body { grid-template-columns: 1fr; }
}
.stc-cart-trust h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
}
.stc-cart-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}
.stc-cart-trust__grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.stc-cart-trust__grid p {
  margin: 0;
  font-size: 13px;
  color: var(--stc-ink-soft);
}
.stc-cart-reviews {
  padding: 24px;
  margin: 8px 0 28px;
  text-align: center;
}
.stc-cart-reviews__score {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
.stc-cart-reviews__score strong { font-size: 28px; }
.stc-cart-reviews blockquote {
  margin: 0 auto 16px;
  max-width: 62ch;
  font-size: 15px;
  color: var(--stc-ink-soft);
  font-style: italic;
}
.stc-cart-reviews__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.stc-cart-reviews__pills span {
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--stc-blue-deep);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 999px) {
  .stc-cart__layout { grid-template-columns: 1fr; }
  .stc-cart-summary { position: static; }
  .stc-cart__table-head { display: none; }
  .stc-cart__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .stc-cart__total { text-align: left; }
  .stc-cart-trust__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stc-cart__subs { grid-template-columns: 1fr; }
  .stc-cart__product { grid-template-columns: 72px 1fr; }
}

/* ---------- Shop toolbar / hide duplicate title ---------- */
.stc-shop .woocommerce-products-header,
.stc-shop h1.page-title,
.stc-shop .page-title,
.stc-shop .woocommerce-products-header__title {
  display: none !important;
}
.stc-shop__header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--stc-border);
}
.stc-shop__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--stc-ink);
}
.stc-shop__desc {
  margin: 0;
  color: var(--stc-ink-soft);
  font-size: 14px;
  line-height: 1.55;
  max-width: 70ch;
}
.stc-shop__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin: 0 0 18px;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--stc-border);
  border-bottom: 1px solid var(--stc-border);
  border-radius: 0;
}
.stc-shop__count,
.stc-shop__toolbar .woocommerce-result-count {
  margin: 0 !important;
  font-size: 14px;
  font-weight: 700;
  color: var(--stc-ink);
}
.stc-shop__display,
.stc-shop__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--stc-ink);
}
.stc-shop__display select,
.stc-shop__toolbar .woocommerce-ordering select {
  border: 0;
  border-bottom: 1px solid var(--stc-border);
  background: transparent;
  padding: 6px 4px;
  font: inherit;
  font-weight: 600;
  border-radius: 0;
  min-width: 120px;
  color: var(--stc-ink);
  cursor: pointer;
}
.stc-shop__toolbar .woocommerce-ordering {
  margin: 0 !important;
  display: inline-flex;
}
.stc-sort-label { white-space: nowrap; }
.stc-shop__view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.stc-shop__view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--stc-border);
  background: #fff;
  color: #8a97ab;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}
.stc-shop__view-btn svg { fill: currentColor; }
.stc-shop__view-btn.is-active,
.stc-shop__view-btn:hover {
  color: var(--stc-blue-deep);
  border-color: var(--stc-blue);
}
.stc-shop[data-stc-view="list"] ul.products {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}
.stc-shop[data-stc-view="list"] ul.products li.product {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--stc-border);
  border-radius: 10px;
}

/* Learn about us (homepage testimonials) */
.stc-learn {
  padding: 48px 0 40px;
  background: transparent;
  text-align: center;
}
.stc-learn__inner {
  max-width: min(100% - var(--stc-gutter), 1180px);
  margin: 0 auto;
  width: 100%;
}
.stc-learn__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #111;
}
.stc-learn__rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 26px;
}
.stc-learn__stars,
.stc-learn__card-stars {
  color: #108474;
  letter-spacing: 2px;
  font-size: 18px;
  line-height: 1;
}
.stc-learn__score {
  font-weight: 700;
  color: #222;
}
.stc-learn__score span { color: #108474; }
.stc-learn__verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #108474;
  font-weight: 700;
  font-size: 14px;
}
.stc-learn__carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.stc-learn__viewport { min-width: 0; width: 100%; }
.stc-learn__card {
  margin: 0;
  padding: 36px 48px 30px;
  background: #e5e6e7;
  border: 1px solid #108474;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(208, 208, 208, 0.55);
  width: 100%;
}
.stc-learn__quote {
  font-size: 48px;
  line-height: 1;
  color: #108474;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}
.stc-learn__text {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.45;
  color: #111;
}
.stc-learn__card-stars { margin-bottom: 12px; font-size: 16px; }
.stc-learn__name {
  margin: 0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stc-learn__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.stc-learn__arrow {
  border: 0;
  background: transparent;
  font-size: 40px;
  line-height: 1;
  color: #111;
  cursor: pointer;
  padding: 8px 10px;
}
.stc-learn__arrow:hover { color: #108474; }

/* California CDCR CTA */
.stc-california {
  margin: 8px 0 28px;
  padding: 36px 12px;
  background: transparent;
  border-radius: 0;
}
.stc-california__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px 40px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.stc-california__seal img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}
.stc-california__copy h2 {
  margin: 0 0 12px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a2a4a;
}
.stc-california__copy p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #1a2a4a;
}
.stc-california__cta {
  display: inline-flex !important;
  border-radius: 2px !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800 !important;
}

/* Shop list view (Emma horizontal rows) */
.product-item__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px 14px;
}
.product-item__cart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-item__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-item__stars {
  color: var(--stc-blue-deep, #3b82f6);
  letter-spacing: 1px;
  font-size: 14px;
}
.product-item__reviews {
  font-size: 13px;
  color: var(--stc-blue-deep, #3b82f6);
  font-weight: 600;
}
.product-item__inventory.inventory--high { color: #16a34a; font-size: 13px; font-weight: 600; }
.stc-shop[data-stc-view="grid"] .product-item__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px 14px;
}
.stc-shop[data-stc-view="grid"] .product-item__cart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stc-shop[data-stc-view="list"] ul.products,
.stc-shop[data-stc-view="list"] ul.products.columns-4 {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  background: #fff;
  border: 1px solid var(--stc-border);
  border-radius: 8px;
  overflow: hidden;
}
.stc-shop[data-stc-view="list"] ul.products li.product,
.stc-shop[data-stc-view="list"] ul.products li.product-item {
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) 210px !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px 28px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 18px 20px !important;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #e8edf3 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.stc-shop[data-stc-view="list"] ul.products li.product:last-child {
  border-bottom: 0 !important;
}
.stc-shop[data-stc-view="list"] .product-item__label-list {
  top: 22px;
  left: 26px;
}
.stc-shop[data-stc-view="list"] .product-item__image-wrapper {
  width: 150px !important;
  max-width: 150px;
  aspect-ratio: 1 / 1;
  flex: 0 0 150px;
  border: 1px solid #eef2f6;
  border-radius: 4px;
}
.stc-shop[data-stc-view="list"] .product-item__info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 8px;
  padding: 0 !important;
  min-width: 0;
}
.stc-shop[data-stc-view="list"] .product-item__title {
  font-size: 16px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  color: #111 !important;
  line-height: 1.25;
}
.stc-shop[data-stc-view="list"] .product-item__price-list .price,
.stc-shop[data-stc-view="list"] .price--highlight {
  color: var(--stc-blue-deep, #2563eb) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}
.stc-shop[data-stc-view="list"] .product-item__actions {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 210px;
  padding: 0 !important;
  margin-left: auto;
}
.stc-shop[data-stc-view="list"] .product-item__cart {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.stc-shop[data-stc-view="list"] .product-item__qty {
  width: 100%;
  justify-content: space-between;
}
.stc-shop[data-stc-view="list"] .product-item__atc,
.stc-shop[data-stc-view="list"] .product-item__qv {
  width: 100% !important;
  text-align: center;
  justify-content: center;
}
.stc-shop[data-stc-view="list"] .product-item__qv,
.button.button--ternary.product-item__qv {
  background: #fff !important;
  color: var(--stc-blue-deep, #2563eb) !important;
  border: 1px solid var(--stc-blue, #5BA3F7) !important;
  box-shadow: none !important;
}

/* Help Center dropdown */
.nav-bar__item.has-dropdown { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 260px;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--stc-border);
  box-shadow: 0 14px 30px rgba(30,58,95,.16);
  z-index: 450;
  list-style: none;
}
.nav-bar__item.has-dropdown:hover > .nav-dropdown,
.nav-bar__item.has-dropdown.is-open > .nav-dropdown {
  display: block;
}
.nav-dropdown__link {
  display: block;
  padding: 10px 16px;
  color: var(--stc-ink) !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}
.nav-dropdown__link:hover {
  background: #f3f7fc;
  color: var(--stc-blue-deep) !important;
}

/* Help + Contact + Account + Policy pages */
.stc-help,
.stc-contact { padding: 28px 0 48px; }
.stc-help__header { margin-bottom: 24px; max-width: 70ch; }
.stc-help__header h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
}
.stc-help__header p { margin: 0; color: var(--stc-ink-soft); line-height: 1.55; }
.stc-help__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stc-help__card {
  display: block;
  padding: 20px;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.stc-help__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30,58,95,.12);
}
.stc-help__card h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--stc-blue-deep);
}
.stc-help__card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--stc-ink-soft);
  line-height: 1.45;
}
.stc-help__card span {
  font-size: 13px;
  font-weight: 700;
  color: var(--stc-blue-deep);
}
.stc-help__support { padding: 22px; }
.stc-help__support h2 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.stc-help__support p { margin: 0 0 14px; color: var(--stc-ink-soft); }
.stc-help__contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.stc-contact__hero {
  text-align: center;
  margin-bottom: 22px;
}
.stc-contact__hero h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--stc-blue-deep);
}
.stc-contact__hero p {
  margin: 0;
  font-size: 18px;
  color: var(--stc-ink);
}
.stc-contact__form-panel {
  max-width: 760px;
  margin: 0 auto 36px;
}
.stc-contact__form {
  display: grid;
  gap: 14px;
}
.stc-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stc-contact__form input,
.stc-contact__form textarea {
  width: 100%;
  border: 1px solid var(--stc-border);
  border-radius: 6px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
}
.stc-contact__form button {
  justify-self: center;
  min-width: 180px;
  margin-top: 4px;
}
.stc-contact__story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 10px;
  background: #eceff3;
}
.stc-contact__story-media {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}
.stc-contact__story-copy {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.stc-contact__story-copy h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--stc-blue-deep);
}
.stc-contact__story-copy p {
  margin: 0;
  line-height: 1.55;
  color: var(--stc-ink);
}
.stc-contact__story-copy .button { align-self: flex-start; }
.stc-contact__bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--stc-border);
  border-radius: 10px;
  margin-bottom: 36px;
  overflow: hidden;
}
.stc-contact__bar > * {
  padding: 22px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--stc-ink) !important;
  text-decoration: none !important;
  border-right: 1px solid var(--stc-border);
}
.stc-contact__bar > *:last-child { border-right: 0; }
.stc-contact__success { color: #15803d; font-weight: 700; text-align: center; }
.stc-contact__error { color: #b91c1c; font-weight: 700; text-align: center; }

.stc-page-header {
  text-align: center;
  margin: 8px 0 28px;
}
.stc-page-header h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  color: #1a1a1a;
}
.stc-help__intro {
  margin: 0 auto;
  max-width: 62ch;
  color: var(--stc-ink-soft);
  line-height: 1.55;
}
.stc-policy-article {
  max-width: 820px;
  margin: 0 auto 40px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
.stc-policy-article h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
}
.stc-policy-article h3 {
  margin: 22px 0 10px;
  font-size: 17px;
  font-weight: 800;
}
.stc-policy-article p { margin: 0 0 14px; }
.stc-policy-article ol,
.stc-policy-article ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.stc-policy-article li { margin-bottom: 10px; }
.stc-policy-article a { color: var(--stc-blue-deep) !important; font-weight: 600; }
.stc-policy-article a.button,
.stc-policy-article a.button--primary,
.stc-help a.button,
.stc-help a.button--primary,
.rte a.button,
.rte a.button--primary {
  color: #fff !important;
  background: var(--stc-blue) !important;
  border-color: var(--stc-blue) !important;
  font-weight: 700 !important;
  border-radius: 6px;
}
.stc-policy-article a.button:hover,
.stc-policy-article a.button--primary:hover,
.stc-help a.button:hover,
.stc-help a.button--primary:hover {
  background: var(--stc-blue-deep) !important;
  border-color: var(--stc-blue-deep) !important;
  color: #fff !important;
}

.stc-mailing {
  background: #1e3a5f;
  color: #fff;
  padding: 42px 20px;
  margin: 0;
  text-align: center;
}
.stc-mailing__inner { max-width: 640px; margin: 0 auto; }
.stc-mailing h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}
.stc-mailing p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.stc-mailing__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.stc-mailing__form input {
  flex: 1 1 260px;
  max-width: 360px;
  border: 0;
  border-radius: 6px;
  padding: 14px 16px;
  font: inherit;
}
.stc-mailing__form .button {
  background: #fff !important;
  color: #1e3a5f !important;
  border: 0 !important;
  font-weight: 800 !important;
}

.stc-page-wrap--policy {
  background: #f7f9fc;
  padding-bottom: 0;
}
.stc-page-wrap--policy > .container {
  padding-top: 28px;
  padding-bottom: 28px;
}
.stc-page-wrap--cart {
  padding-top: 18px;
}
.stc-page-wrap--cart > .container {
  max-width: var(--stc-container);
}
.stc-cart__stock {
  margin: 8px 0 0;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stc-cart__stock--out { color: #b91c1c; }
.stc-cart__layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr) !important;
  gap: 22px !important;
  align-items: start;
}
.stc-cart-summary {
  position: sticky !important;
  top: 110px !important;
  z-index: 5;
}
.stc-cart__empty {
  text-align: center;
  padding: 36px 24px;
  margin-bottom: 28px;
}
.stc-cart__empty-msg {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
  color: var(--stc-ink);
}
.stc-cart-reviews cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  color: var(--stc-ink-soft);
  font-weight: 700;
}
.stc-cart-reviews blockquote + blockquote {
  margin-top: 16px;
}
.stc-page-wrap--cart .woocommerce-notices-wrapper {
  margin-bottom: 12px;
}
.stc-page-wrap--cart .woocommerce-cart-form,
.stc-page-wrap--cart .cart-collaterals {
  width: 100%;
}
.stc-page-wrap--cart .wc-block-cart,
.stc-page-wrap--cart .wp-block-woocommerce-cart {
  display: none !important;
}

.stc-account-auth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.stc-account-auth__card {
  padding: 28px;
}
.stc-account-auth__card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}
.stc-account-auth__lead {
  margin: 0 0 18px;
  color: var(--stc-ink-soft);
}
.stc-account-auth .form-row,
.stc-account-auth .woocommerce-form-row {
  margin-bottom: 14px;
}
.stc-account-auth label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 13px;
}
.stc-account-auth input.input-text,
.stc-account-auth .woocommerce-Input {
  width: 100%;
  border: 1px solid var(--stc-border);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
.stc-account-auth__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stc-account-auth .button {
  min-width: 140px;
}

/* ---------- My Account dashboard (light crystal / storefront palette) ---------- */
body.stc-account-dash {
  background-color: var(--stc-bg) !important;
  background-image:
    radial-gradient(ellipse 90% 55% at 8% 0%, rgba(255,255,255,.92) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 92% 8%, rgba(139,188,255,.4) 0%, transparent 50%),
    repeating-linear-gradient(60deg, rgba(255,255,255,.3) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-60deg, rgba(91,163,247,.07) 0 1px, transparent 1px 20px) !important;
  color: var(--stc-ink);
  min-height: 100vh;
}
body.stc-account-dash .stc-page-wrap--account-dash {
  padding: 0;
  margin: 0;
  background: transparent;
  min-height: calc(100vh - 72px);
}
.stc-acct-top {
  background: #fff;
  border-bottom: 1px solid var(--stc-border);
  box-shadow: 0 4px 18px rgba(30, 58, 95, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-bar .stc-acct-top { top: 32px; }
.stc-acct-top__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stc-acct-top__logo img {
  max-height: 44px;
  width: auto;
}
.stc-logo-text--acct strong { color: var(--stc-ink); }
.stc-logo-text--acct small { color: var(--stc-ink-soft); }
.stc-acct-top__user {
  color: var(--stc-blue-deep) !important;
  display: inline-flex;
  padding: 4px;
  border-radius: 50%;
}
.stc-acct-top__user:hover { color: var(--stc-ink) !important; }
.stc-acct-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 28px 48px;
}
.stc-acct {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.stc-acct__nav-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.stc-acct__nav a {
  color: var(--stc-ink-soft) !important;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none !important;
  line-height: 1.3;
}
.stc-acct__nav-item.is-active a,
.stc-acct__nav a:hover {
  color: var(--stc-blue-deep) !important;
  font-weight: 800;
}
.stc-acct__content,
.stc-acct__content h1,
.stc-acct__content h2,
.stc-acct__content h3,
.stc-acct__content p,
.stc-acct__content label,
.stc-acct__content th,
.stc-acct__content td {
  color: var(--stc-ink);
}
.stc-acct-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--stc-border);
  border-radius: 16px;
  padding: 28px 32px;
  min-height: 96px;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.06);
}
.stc-acct-welcome__copy h2 {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 800;
  color: var(--stc-ink);
}
.stc-acct-welcome__copy p {
  margin: 0;
  color: var(--stc-ink-soft);
  font-size: 15px;
}
.stc-acct-welcome__btn,
.stc-acct-save,
.stc-acct__content .button,
.stc-acct__content a.button,
.stc-acct__content .woocommerce-button,
.stc-acct__content .woocommerce-Button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px !important;
  border-radius: 8px !important;
  background: var(--stc-blue) !important;
  border: 1px solid var(--stc-blue) !important;
  color: #fff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none !important;
}
.stc-acct-welcome__btn:hover,
.stc-acct-save:hover,
.stc-acct__content .button:hover,
.stc-acct__content a.button:hover {
  background: var(--stc-blue-deep) !important;
  border-color: var(--stc-blue-deep) !important;
  color: #fff !important;
  filter: none;
}
.stc-acct-block { margin-bottom: 28px; }
.stc-acct-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.stc-acct-block__head h2,
.stc-acct-section__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--stc-ink);
}
.stc-acct-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--stc-blue-deep);
  border-radius: 8px;
  color: var(--stc-blue-deep) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  background: #fff;
}
.stc-acct-ghost:hover {
  background: var(--stc-blue);
  border-color: var(--stc-blue);
  color: #fff !important;
}
.stc-acct-ghost--lg {
  min-height: 42px;
  padding: 0 20px;
}
.stc-acct-panel {
  background: #fff;
  border: 1px solid var(--stc-border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(30, 58, 95, 0.05);
}
.stc-acct-panel--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}
.stc-acct-label {
  color: var(--stc-ink-soft);
  font-size: 14px;
  font-weight: 600;
}
.stc-acct-value {
  color: var(--stc-ink);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}
.stc-acct-empty-addr {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--stc-ink-soft);
  font-size: 14px;
}
.stc-acct-addresses {
  display: grid;
  gap: 14px;
  width: 100%;
}
.stc-acct-addresses .stc-acct-value { text-align: left; margin-top: 4px; }
.stc-acct-marketing__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stc-acct-marketing__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--stc-ink);
  font-weight: 700;
}
.stc-acct-marketing__hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--stc-ink-soft);
}
.stc-acct-marketing__hint a {
  color: var(--stc-blue-deep) !important;
  font-weight: 700;
}
.stc-acct-toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}
.stc-acct-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.stc-acct-toggle__ui {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #c9d7ea;
  position: relative;
  transition: background .15s ease;
}
.stc-acct-toggle__ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(30,58,95,.2);
  transition: transform .15s ease;
}
.stc-acct-toggle input:checked + .stc-acct-toggle__ui {
  background: var(--stc-blue);
}
.stc-acct-toggle input:checked + .stc-acct-toggle__ui::after {
  transform: translateX(20px);
}
.stc-acct-signout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}
.stc-acct-link {
  color: var(--stc-blue-deep) !important;
  font-weight: 700;
  text-decoration: none !important;
}
.stc-acct-form .form-row { margin-bottom: 14px; }
.stc-acct-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--stc-ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.stc-acct-form .input-text,
.stc-acct-form input.woocommerce-Input,
.stc-acct__content .woocommerce-address-fields input.input-text,
.stc-acct__content .woocommerce-address-fields select {
  width: 100%;
  border: 1px solid var(--stc-border);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--stc-ink);
  font: inherit;
}
.stc-acct-password {
  border: 1px solid var(--stc-border);
  border-radius: 10px;
  padding: 14px;
  margin: 8px 0 16px;
  background: #f7fbff;
}
.stc-acct-password legend {
  padding: 0 6px;
  color: var(--stc-ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.stc-acct-table {
  width: 100%;
  border-collapse: collapse;
}
.stc-acct-table th,
.stc-acct-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--stc-border);
  text-align: left;
  font-size: 14px;
}
.stc-acct-table a { color: var(--stc-blue-deep) !important; font-weight: 700; }
.stc-acct__content .woocommerce-message,
.stc-acct__content .woocommerce-info,
.stc-acct__content .woocommerce-error {
  background: #fff;
  border: 1px solid var(--stc-border);
  color: var(--stc-ink);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 6px 18px rgba(30, 58, 95, 0.05);
}
.stc-acct__content .woocommerce-info::before,
.stc-acct__content .woocommerce-message::before {
  color: var(--stc-blue-deep);
}
.stc-acct__content .woocommerce-info .button,
.stc-acct__content .woocommerce-message .button {
  margin-right: 10px;
}
@media (max-width: 860px) {
  .stc-acct {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .stc-acct__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 0;
  }
  .stc-acct-welcome {
    flex-direction: column;
    align-items: flex-start;
  }
  .stc-acct-shell { padding: 20px 16px 40px; }
  .stc-acct-top__inner { padding: 12px 16px; }
}

@media (max-width: 800px) {
  .stc-learn__carousel { grid-template-columns: 1fr; }
  .stc-learn__arrow { display: none; }
  .stc-california__inner { grid-template-columns: 1fr; text-align: center; }
  .stc-shop__toolbar { justify-content: flex-start; }
  .stc-shop__view { margin-left: 0; width: 100%; }
  .stc-shop[data-stc-view="list"] ul.products li.product,
  .stc-shop[data-stc-view="list"] ul.products li.product-item {
    grid-template-columns: 110px 1fr !important;
  }
  .stc-shop[data-stc-view="list"] .product-item__actions {
    grid-column: 1 / -1;
    max-width: none;
    margin-left: 0;
  }
  .stc-help__grid { grid-template-columns: 1fr; }
  .stc-contact__row { grid-template-columns: 1fr; }
  .stc-contact__story { grid-template-columns: 1fr; }
  .stc-contact__bar { grid-template-columns: 1fr; }
  .stc-contact__bar > * { border-right: 0; border-bottom: 1px solid var(--stc-border); }
  .stc-contact__bar > *:last-child { border-bottom: 0; }
  .stc-account-auth { grid-template-columns: 1fr; }
  .stc-cart__subs-btns { grid-template-columns: 1fr; }
}

/* ---------- Customer Reviews (Judge.me-style) ---------- */
.stc-reviews {
  display: grid;
  gap: 20px;
}
.stc-reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 16px;
  border-bottom: 1px solid var(--stc-border);
}
.stc-reviews__score-block {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.stc-reviews__avg {
  display: grid;
  gap: 4px;
  min-width: 120px;
}
.stc-reviews__avg strong {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  color: var(--stc-ink);
}
.stc-reviews__stars {
  display: flex;
  gap: 2px;
  font-size: 18px;
  color: #d5deea;
}
.stc-reviews__star.is-on { color: #3E60EC; }
.stc-reviews__count {
  font-size: 13px;
  color: var(--stc-ink-soft);
  font-weight: 600;
}
.stc-reviews__bars {
  display: grid;
  gap: 6px;
  min-width: 200px;
}
.stc-reviews__bar-row {
  display: grid;
  grid-template-columns: 36px 1fr 40px;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--stc-ink-soft);
}
.stc-reviews__bar {
  height: 8px;
  border-radius: 999px;
  background: #e8eef6;
  overflow: hidden;
}
.stc-reviews__bar span {
  display: block;
  height: 100%;
  background: #3E60EC;
  border-radius: inherit;
}
.stc-reviews__write-btn {
  min-height: 44px !important;
  padding: 0 18px !important;
  font-weight: 800 !important;
}
.stc-reviews__empty {
  margin: 0;
  color: var(--stc-ink-soft);
  font-size: 14px;
}
.stc-reviews__commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.stc-reviews__commentlist .comment,
.stc-reviews__commentlist .review {
  padding: 14px 16px;
  border: 1px solid var(--stc-border);
  border-radius: 12px;
  background: #fafcff;
}
.stc-reviews__commentlist .meta {
  font-size: 12px;
  color: var(--stc-ink-soft);
  margin-bottom: 6px;
}
.stc-reviews__commentlist .description p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}
.stc-reviews__commentlist .star-rating {
  float: none;
  margin-bottom: 6px;
  color: #3E60EC;
}

.stc-reviews__form-wrap[hidden] { display: none !important; }
.stc-reviews__form {
  margin-top: 4px;
  padding: 18px;
  border: 1px solid var(--stc-border);
  border-radius: 12px;
  background: #f7fbff;
}
.stc-reviews__form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.stc-reviews__form-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.stc-reviews__cancel {
  border: 0;
  background: transparent;
  color: var(--stc-blue-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.stc-reviews .comment-reply-title.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}
.stc-reviews__field,
.stc-reviews .comment-form-author,
.stc-reviews .comment-form-email,
.stc-reviews .comment-form-comment {
  margin: 0 0 14px;
}
.stc-reviews__field label,
.stc-reviews .comment-form-rating label,
.stc-reviews .comment-form-author label,
.stc-reviews .comment-form-email label,
.stc-reviews .comment-form-comment label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--stc-ink);
}
.stc-reviews__field input,
.stc-reviews__field textarea,
.stc-reviews .comment-form-author input,
.stc-reviews .comment-form-email input,
.stc-reviews .comment-form-comment textarea {
  width: 100%;
  border: 1px solid var(--stc-border);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
  color: var(--stc-ink);
}
.stc-reviews .comment-form-comment textarea {
  min-height: 120px;
  resize: vertical;
}
.stc-reviews__rating {
  margin-bottom: 14px;
}
.stc-reviews .comment-form-rating .stars {
  display: flex;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  font-size: 0;
  line-height: 1;
}
.stc-reviews .comment-form-rating .stars span {
  display: flex;
  gap: 4px;
}
.stc-reviews .comment-form-rating .stars a,
.stc-reviews p.stars a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  border-radius: 8px;
  border: 1px solid var(--stc-border);
  background: #fff !important;
  color: transparent !important;
  position: relative;
  text-indent: 0 !important;
  font-size: 0 !important;
  font-family: var(--stc-font), sans-serif !important;
  overflow: hidden;
  box-shadow: none !important;
}
.stc-reviews .comment-form-rating .stars a::before,
.stc-reviews p.stars a::before {
  content: "\2605" !important;
  font-family: var(--stc-font), "Segoe UI Symbol", "Arial Unicode MS", sans-serif !important;
  font-weight: 400 !important;
  color: #c5d0de !important;
  font-size: 20px !important;
  line-height: 1 !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
}
.stc-reviews .comment-form-rating .stars a:hover ~ a::before,
.stc-reviews p.stars a:hover ~ a::before {
  color: #c5d0de !important;
}
.stc-reviews .comment-form-rating .stars:hover a::before,
.stc-reviews .comment-form-rating .stars a:hover::before,
.stc-reviews .comment-form-rating .stars a.active::before,
.stc-reviews .comment-form-rating .stars a.selected::before,
.stc-reviews p.stars:hover a::before,
.stc-reviews p.stars a:hover::before,
.stc-reviews p.stars a.active::before {
  color: #3E60EC !important;
}
.stc-reviews .comment-form-rating .stars a.active ~ a::before,
.stc-reviews .comment-form-rating .stars a.selected ~ a::before,
.stc-reviews p.stars a.active ~ a::before {
  color: #c5d0de !important;
}
.stc-reviews #rating {
  /* Keep accessible for WC script; visually replaced by stars */
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.stc-reviews .form-submit { margin: 0; }
.stc-reviews__submit,
.stc-reviews .form-submit .submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--stc-blue-deep) !important;
  color: #fff !important;
  font: inherit !important;
  font-weight: 800 !important;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(62,134,239,.28);
}
.stc-reviews__submit:hover,
.stc-reviews .form-submit .submit:hover {
  background: var(--stc-blue) !important;
}
@media (max-width: 640px) {
  .stc-reviews__summary { flex-direction: column; }
  .stc-reviews__write-btn { width: 100%; }
}
