/**
 * Color scheme remaps only Ã¢ÂÂ layout comes from Prestige theme.css
 * Dark navy (#292e43) Ã¢ÂÂ light vibrant crystal blue
 */

:root {
  --default-text-font-size: 15px;
  --base-text-font-size: 14px;
  --heading-font-family: Barlow, sans-serif;
  --heading-font-weight: 600;
  --heading-font-style: normal;
  --text-font-family: Barlow, sans-serif;
  --text-font-weight: 500;
  --text-font-style: normal;
  --text-font-bolder-weight: 600;
  --text-link-decoration: underline;

  --text-color: #1e3a5f;
  --text-color-rgb: 30, 58, 95;
  --heading-color: #1e3a5f;
  --border-color: #d3e4f5;
  --border-color-rgb: 211, 228, 245;
  --form-border-color: #c5d8ec;
  --accent-color: #4a90f5;
  --accent-color-rgb: 74, 144, 245;
  --link-color: #2f6fd6;
  --link-color-hover: #1a4fa8;
  --background: #eaf3ff;
  --secondary-background: #ffffff;
  --secondary-background-rgb: 255, 255, 255;
  --accent-background: rgba(74, 144, 245, 0.1);

  --input-background: #ffffff;

  --error-color: #ff0000;
  --error-background: rgba(255, 0, 0, 0.07);
  --success-color: #00aa00;
  --success-background: rgba(0, 170, 0, 0.11);

  --primary-button-background: #4a90f5;
  --primary-button-background-rgb: 74, 144, 245;
  --primary-button-text-color: #ffffff;
  --secondary-button-background: #6ba8f8;
  --secondary-button-background-rgb: 107, 168, 248;
  --secondary-button-text-color: #ffffff;

  --header-background: #5ba3f7;
  --header-text-color: #ffffff;
  --header-light-text-color: #eaf4ff;
  --header-border-color: rgba(234, 244, 255, 0.35);
  --header-accent-color: #3e86ef;

  --footer-background-color: #6a7180;
  --footer-heading-text-color: #ffffff;
  --footer-body-text-color: #ffffff;
  --footer-body-text-color-rgb: 255, 255, 255;
  --footer-accent-color: #4a90f5;
  --footer-accent-color-rgb: 74, 144, 245;
  --footer-border: none;

  --flickity-arrow-color: #8fb4de;
  --product-on-sale-accent: #ee0000;
  --product-on-sale-accent-rgb: 238, 0, 0;
  --product-on-sale-color: #ffffff;
  --product-in-stock-color: #008a00;
  --product-low-stock-color: #ee0000;
  --product-sold-out-color: #1e3a5f;
  --product-custom-label-1-background: #26b408;
  --product-custom-label-1-color: #ffffff;
  --product-custom-label-2-background: #3c3cdc;
  --product-custom-label-2-color: #ffffff;
  --product-review-star-color: #ffbd00;

  --mobile-container-gutter: 20px;
  --desktop-container-gutter: 40px;
}

/* Prestige typography scale (Emma) â Barlow 500 body / 600 headings */
body {
  font-family: var(--text-font-family) !important;
  font-weight: var(--text-font-weight);
  font-style: var(--text-font-style);
  font-size: var(--base-text-font-size);
  color: var(--text-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button,
input,
select,
textarea {
  font-family: var(--text-font-family) !important;
}

.heading,
h1, h2, h3, h4, h5, h6,
.section__title,
.stc-brands__title,
.stc-popular-opts__title,
.stc-reviews-strip h2,
.stc-shop__title,
.stc-contact__title,
.stc-help__title,
.stc-policy-article h1,
.stc-policy-article h2,
.stc-acct-section__title,
.stc-cart__title,
.spd-title,
.product-meta__title {
  font-family: var(--heading-font-family) !important;
  font-weight: var(--heading-font-weight) !important;
  font-style: var(--heading-font-style);
  color: var(--heading-color);
}

.h1, .rte h1, h1 {
  margin-bottom: 20px;
  font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 24px));
  line-height: 1.45;
}
.h2, .rte h2, h2 {
  margin-bottom: 20px;
  font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 22px));
  line-height: 1.55;
}
.h3, .rte h3, h3,
.section__title,
.stc-popular-opts__title,
.stc-brands__title {
  margin-bottom: 14px;
  font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 20px)) !important;
  line-height: 1.6;
}
.h4, .rte h4, h4 {
  font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 16px));
  line-height: 1.75;
}
.h5, .rte h5, h5 {
  font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 14px));
  line-height: 1.85;
}
.h6, .rte h6, h6 {
  font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 12px));
  line-height: 1.85;
  text-transform: uppercase;
}

@media screen and (min-width: 641px) {
  .h1, .rte h1, h1 {
    font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 28px));
    line-height: 1.43;
  }
  .h2, .rte h2, h2 {
    font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 25px));
    line-height: 1.5;
  }
  .h3, .rte h3, h3,
  .section__title,
  .stc-popular-opts__title,
  .stc-brands__title {
    font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 21px)) !important;
    line-height: 1.5;
  }
  .h4, .rte h4, h4 {
    font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 18px));
    line-height: 1.7;
  }
}

.section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 15px;
}
.section__title {
  margin: 0 16px 0 0 !important;
  font-weight: 600 !important;
}
.stc-popular-opts__header {
  margin-bottom: 14px;
}
.stc-popular-opts__title {
  margin: 0 !important;
}

/* Product titles â Emma Prestige (body weight, ~14px) */
.product-item__title,
ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--text-font-family) !important;
  font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 14px)) !important;
  font-weight: 500 !important;
  line-height: 1.35;
}

strong, b, .text--strong {
  font-weight: var(--text-font-bolder-weight);
}

/* Crystal background atmosphere (color-only enhancement) */
body {
  background-color: var(--background) !important;
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(255, 255, 255, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(139, 188, 255, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse 50% 45% at 50% 100%, rgba(74, 144, 245, 0.12) 0%, transparent 55%),
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(-60deg, rgba(74, 144, 245, 0.06) 0 1px, transparent 1px 18px) !important;
  background-attachment: fixed;
  font-family: var(--text-font-family);
  font-weight: var(--text-font-weight);
  color: var(--text-color);
}

.announcement-bar {
  background: #5ba3f7 !important;
  color: #ffffff !important;
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  z-index: 1 !important;
  transform: none !important;
}

/* Emma: announcement scrolls away; header + category nav stick on body-level shell */
.announcement-shell {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  z-index: 100 !important;
  transform: none !important;
}
.header-shell,
.header-shell.header-sticky {
  position: sticky !important;
  top: 0 !important;
  z-index: 300 !important;
  background: var(--header-background, #5ba3f7) !important;
  box-shadow: 0 4px 18px rgba(30, 58, 95, 0.18);
  transform: none !important;
}
.header-shell .header,
.header-shell .nav-bar {
  position: relative !important;
  top: auto !important;
}
.admin-bar .header-shell,
.admin-bar .header-shell.header-sticky {
  top: 32px !important;
}
@media (max-width: 782px) {
  .admin-bar .header-shell,
  .admin-bar .header-shell.header-sticky {
    top: 46px !important;
  }
}

/* Prevent sticky-breaking ancestors */
html,
body,
main,
main.stc-shop,
main.landing,
.stc-shop > .container,
.stc-shop__layout {
  overflow: visible !important;
}
.stc-shop__layout {
  align-items: start !important;
}

/* WordPress / WooCommerce compatibility shims keeping Prestige layout */
.visually-hidden,
.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

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

.stc-logo-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  color: #fff;
  max-width: 155px;
}
.stc-logo-text strong {
  font-family: Barlow, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.stc-logo-text small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.92;
  margin-top: 2px;
}

/* Featured collection header with crystal-blue tint overlay */
.featured-collection__header {
  background:
    linear-gradient(135deg, rgba(91, 163, 247, 0.82), rgba(74, 144, 245, 0.55)),
    url('https://emmaspremiumservices.com/cdn/shop/files/Sirloin-Steak_1000x.png?v=1717614228') center/cover no-repeat;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-collection--summer .featured-collection__header {
  background:
    linear-gradient(135deg, rgba(91, 163, 247, 0.75), rgba(139, 188, 255, 0.5)),
    linear-gradient(180deg, #cfe4ff, #eaf3ff);
}

.featured-collection__cta.button--floating {
  background: #fff;
  color: #1e3a5f;
  border: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Horizontal product scroller matching Prestige */
.product-list--scrollable {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.product-list--scrollable .product-item {
  flex: 0 0 calc(25% - 12px);
  min-width: 220px;
  max-width: 280px;
  scroll-snap-align: start;
  background: #fff;
}
.product-list--grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 999px) {
  .product-list--grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .product-list--scrollable .product-item {
    flex-basis: calc(33.333% - 12px);
  }
}
@media (max-width: 749px) {
  .product-list--grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-list--scrollable .product-item {
    flex-basis: calc(50% - 8px);
    min-width: 160px;
  }
}

.product-item {
  position: relative;
  background: var(--secondary-background);
  border: 1px solid var(--border-color);
}
.product-item__image-wrapper {
  display: block;
  background: #fff;
}
.aspect-ratio--square {
  position: relative;
  padding-bottom: 100%;
  overflow: hidden;
}
.aspect-ratio--square img,
.product-item__primary-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.product-item__label-list {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-label--on-sale {
  background: var(--product-on-sale-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  display: inline-block;
}
.product-label--custom1 {
  background: var(--product-custom-label-1-background);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  display: inline-block;
}
.product-item__info {
  padding: 8px 10px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
.product-item__title {
  display: block;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  margin: 0 0 6px !important;
  color: var(--heading-color);
  text-decoration: none;
  min-height: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.price-list,
.product-item__price-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  margin: 0 0 4px !important;
  padding: 0 !important;
}
.price--highlight {
  color: var(--accent-color);
  font-weight: 700;
}
.price--compare {
  text-decoration: line-through;
  opacity: 0.65;
  font-size: 0.92em;
}
.product-item__swatches {
  margin: 0 0 4px !important;
}
.product-item__rating {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin: 0 0 2px !important;
  padding: 0 !important;
  line-height: 1.2;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 16px;
}
.product-item__stars {
  display: inline-flex !important;
  align-items: center;
  gap: 1px;
  color: #c5cdd8 !important;
  letter-spacing: 0;
  font-size: 12px !important;
  line-height: 1;
}
.product-item__star {
  color: #c5cdd8 !important;
  font-size: 13px !important;
  line-height: 1;
}
.product-item__star.is-filled {
  color: var(--accent-color, #3e86ef) !important;
}
.product-item__reviews {
  font-size: 12px !important;
  color: var(--accent-color, #3e86ef) !important;
  font-weight: 500 !important;
  line-height: 1.2;
  display: inline !important;
  visibility: visible !important;
}
.product-item__inventory {
  display: block !important;
  font-size: 12px !important;
  margin: 2px 0 0 !important;
  line-height: 1.3;
  visibility: visible !important;
  opacity: 1 !important;
}
.product-item__inventory.inventory {
  position: relative;
  padding-left: 1.25em;
  font-weight: 600 !important;
}
.product-item__inventory.inventory::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.inventory--high {
  color: var(--product-in-stock-color, #008a00) !important;
}
.inventory--low {
  color: var(--product-low-stock-color, #ee0000) !important;
}
.product-item__actions,
.product-item__action-list {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  padding: 0 10px 12px;
  margin-top: auto;
}
.product-item__cart {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.product-item__qty.spd-qty {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--border-color, #d3e4f5);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  min-height: 36px;
}
.product-item__qty .spd-qty__btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--heading-color, #1e3a5f);
}
.product-item__qty .spd-qty__input {
  width: 48px;
  border: 0;
  text-align: center;
  font: inherit;
  background: transparent;
}
.product-item__atc,
.product-item__atc--pill {
  width: 100% !important;
  justify-content: center;
}
.product-item__action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.product-item__action-button {
  cursor: pointer;
}
.quantity-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  background: #fff;
}
.quantity-selector__button {
  border: 0;
  background: transparent;
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: var(--text-color);
}
.quantity-selector__value {
  width: 36px;
  border: 0;
  text-align: center;
  font: inherit;
}

/* Header refinements for WP Ã¢ÂÂ sticky is .header-sticky only (not announcement) */
.header {
  background: var(--header-background);
  color: var(--header-text-color);
  position: relative !important;
  top: auto !important;
  z-index: auto;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 6px 0;
}
.header__logo {
  flex: 0 0 auto;
}
.header__search-bar-wrapper {
  flex: 1 1 auto;
}
.search-bar__top {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  min-height: 38px;
}
.search-bar__input-wrapper {
  flex: 1;
}
.search-bar__input {
  width: 100%;
  height: 38px;
  border: 0;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  color: var(--text-color);
}
.search-bar__filter {
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border-color);
  padding: 0 10px;
  position: relative;
  color: var(--text-color);
  min-width: 140px;
}
.search-bar__filter select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.search-bar__filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  pointer-events: none;
}
.search-bar__submit {
  border: 0;
  background: transparent;
  width: 42px;
  color: var(--text-color);
  cursor: pointer;
}
.header__action-list {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}
.header__action-item {
  color: #fff;
}
.header__action-item-link,
.header__action-item-title {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.header__action-item-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__cart-icon {
  position: relative;
  display: inline-flex;
}
.header__cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #fff;
  color: var(--header-background);
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}
.icon--cart {
  width: 24px;
  height: 22px;
}
.icon--account {
  width: 18px;
  height: 20px;
}
.icon--search {
  width: 18px;
  height: 18px;
}
.icon--arrow-bottom {
  width: 10px;
  height: 7px;
  margin-left: 4px;
}

.nav-bar {
  background: rgba(30, 58, 95, 0.12);
  border-top: 1px solid var(--header-border-color);
}
.nav-bar__linklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.nav-bar__link {
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}
.nav-bar__link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header__mobile-nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  position: relative;
  z-index: 10001;
  pointer-events: auto;
}
/* Emma-style full-screen drawer — must win over older absolute rules */
.mobile-menu {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  background: #fff !important;
  color: var(--text-color, #1a1a1a);
  box-shadow: none !important;
  border-radius: 0 !important;
  z-index: 10000 !important;
  overflow: hidden !important;
  margin: 0 !important;
  transform: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
.mobile-menu.is-open {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  /* Sit under sticky header so hamburger/X stays usable (Emma) */
  top: 64px !important;
  height: calc(100% - 64px) !important;
  bottom: auto !important;
}
.admin-bar .mobile-menu.is-open {
  top: 96px !important;
  height: calc(100% - 96px) !important;
}
@media (max-width: 782px) {
  .admin-bar .mobile-menu.is-open {
    top: 110px !important;
    height: calc(100% - 110px) !important;
  }
}
html.stc-nav-open,
body.stc-nav-open {
  overflow: hidden !important;
  touch-action: none;
}
body.stc-nav-open .header-shell,
body.stc-nav-open .header-shell.header-sticky {
  z-index: 10001 !important;
}
body.stc-nav-open .header__mobile-nav,
body.stc-nav-open .header__mobile-nav-toggle {
  position: relative;
  z-index: 10002 !important;
  pointer-events: auto !important;
}
.mobile-menu__nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid var(--border-color, #e3e8f0);
  background: #fff;
  color: var(--text-color, #1a1a1a);
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 999px) {
  .header__mobile-nav {
    display: block !important;
    position: static !important;
    z-index: 10001;
  }
  .header__mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }
  .header__search-bar-wrapper {
    display: none;
  }
  .nav-bar {
    display: none;
  }
  .header__action-item--account .header__action-item-title,
  .header__action-item--account .hidden-pocket,
  .header__action-item--cart .hidden-pocket {
    display: none;
  }
  .header-shell,
  .header-shell.header-sticky,
  .header-shell .header,
  .header-shell .header__inner {
    overflow: visible !important;
  }
}

/* Announcement */
.announcement-bar__inner {
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
}
.announcement-bar__content {
  color: inherit;
  text-decoration: none;
}

/* Sections */
.section {
  margin: 28px 0;
}
.container {
  width: min(100% - 40px, 1400px);
  margin-inline: auto;
}
@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1400px);
  }
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.section__title {
  font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 21px));
  font-weight: 600 !important;
  margin: 0;
  font-family: var(--heading-font-family);
}
.section__link {
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}

/* Testimonials / rating strip */
.stc-reviews-strip {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-color);
  padding: 18px 20px;
  text-align: center;
  margin: 20px 0;
}
.stc-reviews-strip h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.stc-reviews-strip .stc-rating-line {
  color: var(--text-color);
  font-size: 14px;
}
.stc-reviews-strip .stars {
  color: var(--product-review-star-color);
  letter-spacing: 1px;
}

/* Quick links / most searched */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.quick-links a {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  font-weight: 600;
  color: var(--heading-color);
  text-decoration: none;
}
.quick-links a:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* Promo tiles */
.promo-block-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .promo-block-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.promo-block {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 20px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: linear-gradient(160deg, rgba(91, 163, 247, 0.18), rgba(255, 255, 255, 0.9));
  text-decoration: none;
  color: inherit;
}
.promo-block h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.promo-block p {
  margin: 0 0 10px;
  font-size: 13px;
  opacity: 0.85;
}
@media (max-width: 749px) {
  .promo-block-list {
    grid-template-columns: 1fr;
  }
}

/* Buttons matching Prestige */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-family: Barlow, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
}
.button--primary {
  background: var(--primary-button-background);
  color: var(--primary-button-text-color) !important;
}
.button--primary:hover {
  filter: brightness(0.95);
}
.button--secondary {
  background: var(--secondary-button-background);
  color: #fff !important;
}
.button--ternary {
  background: #fff;
  border-color: var(--border-color);
  color: var(--text-color) !important;
}
.button--small {
  padding: 8px 12px;
  font-size: 12px;
}
.button--floating {
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.18);
}

/* Footer Prestige-like */
.footer {
  background: var(--footer-background-color, #6a7180);
  color: var(--footer-body-text-color, #ffffff);
  margin-top: 40px;
  padding: 52px 0 0;
}
.footer__block-list {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
  gap: 36px 40px;
}
.footer__title {
  color: var(--footer-heading-text-color, #fff) !important;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 16px;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer__link-item,
.footer a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px;
}
.footer a.social-media__link {
  color: #2b3340 !important;
}
.footer__linklist li {
  margin-bottom: 8px;
}
.footer__aside {
  margin-top: 0;
  padding-top: 22px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(280px, 1.35fr);
  align-items: end;
  justify-content: space-between;
  gap: 24px 32px;
  flex-wrap: nowrap;
  font-size: 13px;
}
.footer__aside-title {
  text-align: center;
  margin: 0 0 10px !important;
  color: #fff !important;
  font-weight: 700;
}
.footer__aside-title--payments,
.footer__aside-item--payments .footer__aside-title {
  text-align: left !important;
}
.footer__aside-item--payments {
  text-align: left !important;
}
.footer .social-media__item-list {
  display: inline-flex !important;
  gap: 10px !important;
}
.footer .social-media__item-list > li {
  margin: 0 !important;
  padding: 0 !important;
}
.footer__newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  max-width: 280px;
}
.footer__newsletter-form .form__field {
  width: 100%;
  flex: none;
  border: 0;
  padding: 12px 14px;
  font: inherit;
}
.footer__newsletter-form .button,
.footer__newsletter-form .form__submit {
  width: auto !important;
  background: #4361ee !important;
  border-color: #4361ee !important;
}
@media (max-width: 999px) {
  .footer__aside {
    grid-template-columns: 1fr !important;
    justify-items: start;
  }
}
@media (max-width: 749px) {
  .footer__block-list {
    grid-template-columns: 1fr;
  }
}

/* Emma footer accordion on tablet/mobile */
.footer__title--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: default;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--footer-heading-text-color, #fff) !important;
  background: transparent;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
}
.footer__plus {
  display: none;
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.footer__plus::before,
.footer__plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.footer__plus::before {
  width: 14px;
  height: 2px;
}
.footer__plus::after {
  width: 2px;
  height: 14px;
}
.footer__block-item.is-open .footer__plus::after {
  display: none;
}

@media (max-width: 999px) {
  .footer__block-list {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .footer__block-item--text,
  .footer__block-item--links {
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    padding: 14px 0;
  }
  .footer__block-item--newsletter {
    padding-top: 22px;
  }
  .footer__title--toggle {
    cursor: pointer;
    margin: 0 !important;
    padding: 4px 0;
  }
  .footer__plus {
    display: block;
  }
  .footer__collapsible {
    display: none;
    margin-top: 12px;
  }
  .footer__block-item.is-open .footer__collapsible {
    display: block;
  }
  .footer__newsletter-form {
    max-width: 100%;
  }
}

@media (min-width: 1000px) {
  .footer__plus {
    display: none !important;
  }
  .footer__collapsible {
    display: block !important;
  }
  .footer__title--toggle {
    pointer-events: none;
  }
}

/* WooCommerce product grids use Prestige product-item */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}
@media (max-width: 999px) {
  ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 749px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.woocommerce span.onsale {
  background: var(--product-on-sale-accent) !important;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce button.button.alt {
  background: var(--primary-button-background) !important;
  color: #fff !important;
}

.page-content,
.stc-page-wrap {
  padding: 28px 0 40px;
}
.rte {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  padding: 24px;
}

.hidden-lap-and-up {
  /* shown on mobile by default in our simplified CSS */
}
@media (min-width: 1000px) {
  .hidden-lap-and-up {
    display: none !important;
  }
  .hidden-desk {
    display: none !important;
  }
}
@media (max-width: 999px) {
  .hidden-pocket,
  .hidden-lap {
    display: none !important;
  }
}

/* ===== Category archive Emma parity (v2.0.4) ===== */
.stc-shop__crumbbar {
  background: transparent;
  border-bottom: 0;
  margin: 0 0 12px;
  padding: 18px 0 8px;
}
.stc-shop__breadcrumb {
  font-size: 14px;
  font-weight: 700;
  color: #2f3640;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.stc-shop__breadcrumb a {
  color: #2f3640 !important;
  text-decoration: none !important;
}
.stc-shop__breadcrumb a:hover { color: var(--stc-blue-deep) !important; }
.stc-shop__breadcrumb-sep { opacity: 0.55; font-weight: 600; }
.stc-shop__breadcrumb-current { color: #2f3640; }

.stc-shop__brand {
  margin: 0 0 12px;
  padding-bottom: 0;
  border-bottom: 0;
}
.stc-shop__brand-name,
.stc-shop__brand-tag {
  margin: 0;
  font-weight: 700;
  color: #1e2740;
  line-height: 1.25;
}
.stc-shop__brand-name { font-size: 14px; }
.stc-shop__brand-tag { font-size: 13px; margin-top: 1px; font-weight: 600; }

.stc-shop__accordion { margin: 0 0 4px; }
.stc-acc { border: 0; }
.stc-acc__row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.stc-acc__link {
  flex: 1 1 auto;
  display: block;
  padding: 7px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #1e2740 !important;
  text-decoration: none !important;
}
.stc-acc__link.is-active,
.stc-acc__link:hover {
  color: #2f6fed !important;
}
.stc-acc__toggle {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #1e2740;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}
.stc-acc__panel {
  list-style: none;
  margin: 0 0 6px;
  padding: 0 0 4px 14px;
}
.stc-acc__panel[hidden] { display: none !important; }
.stc-acc__sub {
  display: block;
  padding: 6px 4px;
  font-size: 13px;
  font-weight: 600;
  color: #1e2740 !important;
  text-decoration: none !important;
}
.stc-acc__sub.is-active,
.stc-acc__sub:hover { color: #2f6fed !important; }

.stc-shop__filters {
  border-top: 1px solid #d8dee8;
  padding-top: 14px;
  margin-top: 10px;
}
.stc-shop__filters-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #1e2740;
}
.stc-shop__filter {
  border: 0;
  border-top: 1px solid #e6ebf3;
  padding: 10px 0;
}
.stc-shop__filter summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: #1e2740;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stc-shop__filter summary::-webkit-details-marker { display: none; }
.stc-shop__filter summary::after {
  content: "▾";
  font-size: 12px;
  opacity: 0.7;
  transform: rotate(0deg);
  transition: transform .15s ease;
}
.stc-shop__filter[open] summary::after {
  content: "▴";
}
.stc-shop__price-form { margin-top: 12px; display: grid; gap: 12px; }
.stc-shop__price-slider {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
}
.stc-shop__price-track {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: #d5dbe6;
  border-radius: 4px;
}
.stc-shop__price-range {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e2740;
  border-radius: 4px;
}
.stc-shop__range {
  position: absolute;
  left: 0;
  width: 100%;
  appearance: none;
  background: none;
  pointer-events: none;
  height: 28px;
  margin: 0;
}
.stc-shop__range::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1e2740;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #1e2740;
  cursor: pointer;
}
.stc-shop__range::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1e2740;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #1e2740;
  cursor: pointer;
}
.stc-shop__price-fields {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stc-shop__price-box {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #cfd7e4;
  border-radius: 2px;
  background: #fff;
  padding: 0 8px;
  min-height: 36px;
  color: #1e2740;
  font-size: 13px;
}
.stc-shop__price-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font: inherit;
  text-align: right;
  outline: none;
}
.stc-shop__price-sep { color: #8a97ab; }
.stc-shop__price-submit {
  width: 100%;
  justify-content: center;
}
.stc-shop__filter-list--checks {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.stc-shop__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #1e2740;
  cursor: pointer;
}
.stc-shop__check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2f6fed;
  border: 1px solid #c5cdd8;
}
.stc-shop__filter-list a.is-active { color: #2f6fed !important; font-weight: 800; }

/* Desktop sidebar: scrolls with page (not sticky) — Emma collection sidebar */
.stc-shop__sidebar {
  position: relative !important;
  top: auto !important;
  align-self: start !important;
  max-height: none !important;
  overflow: visible !important;
}
.stc-shop__sidebar.card {
  background: #fff;
  border: 1px solid #e1e6ef;
  box-shadow: none;
  padding: 18px 16px 20px;
}

/* Color swatches Â Emma squares above price */
.product-item__swatches {
  justify-content: flex-start !important;
  margin: 6px 0 8px !important;
  gap: 5px !important;
}
.product-item__swatch,
.product-item__swatch--color {
  width: 18px !important;
  height: 18px !important;
  border-radius: 2px !important;
  border: 1px solid #c5cdd8 !important;
  box-shadow: none !important;
}
.product-item__swatch.is-selected,
.product-item__swatch--color.is-selected {
  outline: 2px solid #1e3a8a;
  outline-offset: 1px;
}

.product-item__rating {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin: 4px 0 6px;
  font-size: 12px;
  visibility: visible !important;
}
.product-item__stars {
  display: inline-flex !important;
  color: #c5cdd8;
  letter-spacing: 0;
}
.product-item__star { color: #c5cdd8; }
.product-item__star.is-filled { color: #3E60EC; }
.product-item__reviews { color: #3E60EC; font-weight: 600; display: inline !important; }
.product-item__inventory.inventory--high { color: #1f9d4c !important; font-size: 12px; font-weight: 600; }
.product-item__inventory.inventory--low { color: #ee0000 !important; font-size: 12px; font-weight: 600; }
.product-item__atc--pill,
.product-item--shop .product-item__atc,
.product-item__action-list .product-item__atc--pill {
  border-radius: 999px !important;
  width: 100% !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-weight: 800 !important;
  background: #1e2740 !important;
  color: #fff !important;
  margin-top: 8px;
}

/* Popular options strip â Emma footer under Summer Collection */
.stc-popular-opts {
  margin: 8px 0 40px;
  padding: 8px 0 0;
  background: transparent !important;
}
.stc-popular-opts__inner {
  background: transparent !important;
}
.stc-popular-opts__title {
  margin: 0 0 16px;
  font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 21px)) !important;
  font-weight: 600 !important;
  line-height: 1.5;
  color: var(--heading-color);
  letter-spacing: 0;
}
.stc-popular-opts__bar {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 0 !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
  background: #fff;
  border: 1px solid #e3e8f0;
  box-shadow: none;
  overflow: hidden;
}
.stc-popular-opts__link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 72px;
  margin: 0 !important;
  padding: 22px 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--heading-color) !important;
  text-decoration: none !important;
  border-right: 1px solid #e8edf5;
  border-radius: 0 !important;
  background: #fff;
  transition: color .15s ease, background .15s ease;
}
.stc-popular-opts__link:last-child { border-right: 0; }
.stc-popular-opts__link:hover { color: #2f6fed !important; background: #f7faff; }

/* Shop archive — white panel for heading + filters (Emma) */
.stc-shop__sidebar {
  background: #fff !important;
  border: 1px solid #e4eaf2;
}
.stc-shop__main {
  background: #fff !important;
  border: 1px solid #e4eaf2;
  padding: 22px 24px 28px !important;
  box-sizing: border-box;
}
.stc-shop__header {
  margin-bottom: 0 !important;
  padding: 0 0 16px !important;
  border-bottom: 0 !important;
  background: #fff !important;
}
.stc-shop__desc {
  max-width: none !important;
  width: 100% !important;
}
.stc-shop__toolbar {
  background: #fff !important;
  margin: 0 0 18px !important;
  padding: 14px 0 !important;
  border-top: 1px solid #e4eaf2 !important;
  border-bottom: 1px solid #e4eaf2 !important;
}

/* Food landing (Our Brands + video) */
.stc-food-landing {
  padding: 36px 0 56px;
}
.stc-food-landing .stc-brands {
  margin-bottom: 36px;
}
.stc-food-video {
  max-width: 920px;
  margin: 0 auto;
}
.stc-food-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1e3a5f;
  overflow: hidden;
}
.stc-food-video__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #1e3a5f;
}
.stc-food-video__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stc-food-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
}
.stc-food-video__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.stc-food-video__frame.is-playing .stc-food-video__poster {
  display: none;
}

/* Floating Reviews tab */
.stc-reviews-tab {
  position: fixed;
  right: 0;
  top: 48%;
  z-index: 1200;
  display: block;
  background: #282c3f;
  color: #fff !important;
  text-decoration: none !important;
  padding: 14px 10px;
  border-radius: 6px 0 0 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.stc-reviews-tab__inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stc-reviews-tab__star {
  font-size: 14px;
  line-height: 1;
}
.stc-reviews-tab:hover { background: #1b1f30; }

/* Category pages: tablet + mobile parity with Emma â superseded by Prestige block at file end */
@media (min-width: 750px) and (max-width: 1100px) {
  /* kept intentionally light; final rules live in Prestige responsive section */
}

@media (max-width: 749px) {
  .stc-featured,
  .stc-carousel,
  .stc-popular-opts { display: block !important; }
}

/* Hide legacy ÂNew / New SaleÂ style flashes if any plugin injects them */
.product-label--new,
.woocommerce span.onsale:not(.stc-sale-badge) {
  display: none !important;
}
.product-item--shop .onsale { display: none !important; }

/* Hide Prestige Quick view ï¿½ Emma cards use Choose options / Add to cart only */
.product-item__qv,
.button.button--ternary.product-item__qv,
.product-item__action-list .button--ternary {
  display: none !important;
}

/* ===== Contact Us ï¿½ Emma parity ===== */
.stc-contact {
  padding: 0 !important;
  background: transparent;
}
.stc-contact__top {
  padding: 36px 0 28px;
  background: transparent;
}
.stc-contact__title {
  margin: 0 auto 22px;
  text-align: center;
  font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 28px));
  font-weight: 600 !important;
  color: var(--heading-color);
  line-height: 1.43;
}
.stc-contact__form-panel {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.stc-contact__lead {
  margin: 0 0 16px;
  text-align: left !important;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
}
.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: 0;
  border-radius: 2px;
  padding: 16px 18px;
  font: inherit;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  box-sizing: border-box;
  color: #1e2740;
}
.stc-contact__form input::placeholder,
.stc-contact__form textarea::placeholder {
  color: #8b93a3;
}
.stc-contact__form textarea {
  min-height: 170px;
  resize: vertical;
}
.stc-contact__submit {
  justify-self: center;
  min-width: 200px;
  margin-top: 6px;
  background: #1e2740 !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 2px !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  transition: background .2s ease, transform .15s ease, filter .2s ease;
}
.stc-contact__submit:hover,
.stc-contact__story-btn:hover {
  background: #2f6fed !important;
  filter: none;
  transform: translateY(-1px);
}

.stc-contact__story-wrap {
  background: transparent;
  padding: 8px 0 0;
  margin: 0;
}
.stc-contact__story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background: transparent;
}
.stc-contact__story-media {
  min-height: 340px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}
.stc-contact__story-copy {
  padding: 12px 8px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  text-align: left !important;
  background: transparent;
}
.stc-contact__story-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  color: #1e2740;
  text-align: left !important;
}
.stc-contact__story-copy p {
  margin: 0 0 22px;
  line-height: 1.6;
  color: #333;
  font-size: 15px;
  max-width: 48ch;
  text-align: left !important;
}
.stc-contact__story-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}
.stc-contact__story-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #1e2740 !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 2px !important;
  padding: 12px 22px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  transition: background .2s ease, transform .15s ease;
  width: auto !important;
  align-self: flex-start;
}

.stc-contact__lower {
  background: transparent;
  padding: 28px 0 12px;
}
.stc-contact__assist {
  text-align: left !important;
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: #1e2740;
}
.stc-contact__bar {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0;
  background: #fff;
  border: 1px solid #d5dbe6;
  margin-bottom: 28px;
  overflow: hidden;
}
.stc-contact__bar > * {
  padding: 18px 10px;
  text-align: center;
  font-weight: 700;
  color: #1e2740 !important;
  text-decoration: none !important;
  border-right: 1px solid #d5dbe6;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(12px, 1.5vw, 15px);
  transition: color .15s ease, background .15s ease;
}
.stc-contact__bar > *:last-child { border-right: 0; }
.stc-contact__bar > *:hover {
  color: #2f6fed !important;
  background: #f7faff;
}

/* New Items carousel on contact ï¿½ tight bottom, visible arrows */
.stc-contact .stc-carousel {
  margin: 0 0 4px !important;
  padding-bottom: 0 !important;
}
.stc-contact .section__header {
  margin-bottom: 12px;
}
.stc-contact .stc-carousel__shell {
  grid-template-columns: 40px 1fr 40px;
  gap: 6px;
  align-items: center;
}
.stc-contact .stc-carousel__btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #cfd7e4;
  background: #fff !important;
  color: #1e2740 !important;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(30,58,95,.1);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.stc-contact .stc-carousel__btn:hover:not(:disabled) {
  background: #2f6fed !important;
  color: #fff !important;
  border-color: #2f6fed;
}
.stc-contact .stc-carousel__btn:disabled {
  opacity: 0.4;
}
.product-label--new-item {
  background: #2f6fed !important;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  display: inline-block;
}

@media (max-width: 999px) {
  .stc-contact__story {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .stc-contact__story-media { min-height: 260px; }
  .stc-contact__story-copy { padding: 8px 0; }
  .stc-contact__bar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .stc-contact__bar > * {
    white-space: nowrap !important;
    font-size: 12px;
    padding: 14px 6px;
  }
  .stc-contact__row { grid-template-columns: 1fr 1fr; }
  .stc-contact__lower { padding-bottom: 8px; }
  .stc-contact .stc-carousel { margin-bottom: 0 !important; }
}

@media (max-width: 749px) {
  .stc-contact__top { padding: 24px 0 20px; }
  .stc-contact__story {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stc-contact__story-media { min-height: 220px; }
  .stc-contact__story-actions {
    flex-wrap: wrap;
  }
  .stc-contact__bar {
    grid-template-columns: 1fr !important;
  }
  .stc-contact__bar > * {
    border-right: 0;
    border-bottom: 1px solid #d5dbe6;
    white-space: normal !important;
    padding: 14px 12px;
  }
  .stc-contact__bar > *:last-child { border-bottom: 0; }
  .stc-contact__row { grid-template-columns: 1fr; }
  .stc-contact__submit { width: 100%; min-width: 0; }
  .stc-contact__lower { padding: 20px 0 6px; }
  .stc-contact .stc-carousel__shell {
    grid-template-columns: 32px 1fr 32px;
  }
  .stc-contact .stc-carousel__btn {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }
}

/* Override older contact rules that force center/stack too early */
@media (max-width: 900px) {
  .stc-contact__assist { text-align: left !important; }
}
@media (max-width: 640px) {
  .stc-contact__lead { text-align: left !important; }
}

/* ===== Emma sidebar nested accordion + Reviews tab polish ===== */
.stc-shop__brand {
  margin: 0 0 16px;
  padding: 4px 0 14px;
  border-bottom: 1px solid #e4e8ef;
}
.stc-shop__brand-name,
.stc-shop__brand-tag {
  margin: 0;
  font-weight: 800;
  color: #1a1f2e;
  line-height: 1.2;
  font-size: 15px;
}
.stc-shop__brand-tag { margin-top: 1px; }

.stc-shop__accordion { margin: 0; }
.stc-acc { margin: 0; }
.stc-acc__row {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
}
.stc-acc__row--sub { min-height: 32px; }
.stc-acc__link {
  flex: 1 1 auto;
  padding: 8px 4px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1a1f2e !important;
  text-decoration: none !important;
  line-height: 1.3;
}
.stc-acc__link.is-active,
.stc-acc__link:hover {
  color: #2f6fed !important;
}
.stc-acc__toggle {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #1a1f2e;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stc-acc__chevron {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .15s ease;
}
.stc-acc.is-open > .stc-acc__row > .stc-acc__toggle .stc-acc__chevron,
.stc-acc.is-open > .stc-acc__row .stc-acc__chevron {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.stc-acc__panel {
  list-style: none;
  margin: 0;
  padding: 0 0 6px 14px;
}
.stc-acc__panel--leaves {
  padding-left: 14px;
  padding-bottom: 4px;
}
.stc-acc__panel[hidden] { display: none !important; }
.stc-acc__item { margin: 0; list-style: none; }
.stc-acc__sub {
  flex: 1 1 auto;
  display: block;
  padding: 6px 4px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1a1f2e !important;
  text-decoration: none !important;
}
.stc-acc__sub.is-active,
.stc-acc__sub:hover,
.stc-acc__leaf.is-active,
.stc-acc__leaf:hover {
  color: #2f6fed !important;
}
.stc-acc__leaf {
  display: block;
  padding: 5px 4px;
  font-size: 12px;
  font-weight: 500;
  color: #1a1f2e !important;
  text-decoration: none !important;
}
.stc-shop__sidebar.card {
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(30, 40, 60, 0.06);
  padding: 18px 16px;
  background: #fff;
}

/* Reviews tab ï¿½ vertical, flush right, star then text (bottom?top) */
.stc-reviews-tab {
  position: fixed !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #282c3f !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 0 !important;
  width: 36px;
  min-height: 110px;
  border-radius: 4px 0 0 4px;
  box-shadow: -2px 2px 12px rgba(0,0,0,.18);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  /* flip so it reads bottom-to-top with star toward top of viewport */
  transform: translateY(-50%) rotate(180deg) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}
.stc-reviews-tab__inner {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
}
.stc-reviews-tab__star {
  font-size: 13px;
  line-height: 1;
}
.stc-reviews-tab__text {
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}
.stc-reviews-tab:hover {
  background: #1b1f30 !important;
  color: #fff !important;
}
body.admin-bar .stc-reviews-tab {
  top: calc(50% + 16px) !important;
}

/* ===== Contact Us v2 ï¿½ match Emma contact-us ===== */
.stc-contact { background: transparent !important; }
.stc-contact__top { padding: 48px 0 36px !important; }
.stc-contact__intro {
  max-width: 720px;
  margin: 0 auto 18px;
  text-align: center;
}
.stc-contact__title { text-align: center !important; margin: 0 0 12px !important; }
.stc-contact__lead {
  text-align: center !important;
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}
.stc-contact__form-panel { max-width: 720px; margin: 0 auto; }
.stc-contact__story-wrap { padding: 20px 0 8px !important; }
.stc-contact__story {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  gap: 36px !important;
  align-items: center !important;
}
.stc-contact__story-media { min-height: 360px !important; }
.stc-contact__story-copy h2 { margin: 0 0 14px !important; }
.stc-contact__story-copy p { margin: 0 0 22px !important; }
.stc-contact__story-btn { align-self: flex-start !important; }
.stc-contact__lower { padding: 32px 0 10px !important; }
.stc-contact__assist { text-align: left !important; margin: 0 0 14px !important; }
.stc-contact__bar {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  background: transparent !important;
  border: 0 !important;
  margin-bottom: 36px !important;
  overflow: visible !important;
}
.stc-contact__bar-item,
.stc-contact__bar > a {
  background: #fff !important;
  border: 1px solid #d5dbe6 !important;
  border-right: 1px solid #d5dbe6 !important;
  padding: 18px 12px !important;
  text-align: center !important;
  font-weight: 700 !important;
  color: #1e2740 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.stc-contact__bar-item:hover,
.stc-contact__bar > a:hover {
  color: #2f6fed !important;
  background: #f7faff !important;
}
.stc-contact .product-item__action-list { display: none !important; }
.stc-contact .stc-carousel { margin-bottom: 4px !important; }
@media (max-width: 999px) {
  .stc-contact__story {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
  .stc-contact__bar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .stc-contact__bar-item,
  .stc-contact__bar > a { font-size: 12px !important; padding: 14px 6px !important; }
}
@media (max-width: 749px) {
  .stc-contact__top { padding: 28px 0 22px !important; }
  .stc-contact__lead { text-align: center !important; font-size: 16px !important; }
  .stc-contact__story { grid-template-columns: 1fr !important; gap: 18px !important; }
  .stc-contact__story-media { min-height: 220px !important; }
  .stc-contact__bar { grid-template-columns: 1fr !important; gap: 8px !important; }
  .stc-contact__bar-item,
  .stc-contact__bar > a { white-space: normal !important; }
  .stc-contact__row { grid-template-columns: 1fr !important; }
  .stc-contact__submit { width: 100% !important; }
}

.stc-contact__top,
.stc-contact__lower {
  background: transparent !important;
}

/* Our goal — no gray section background */
.stc-contact__story-wrap {
  background: transparent !important;
  padding: 28px 0 !important;
  margin: 0 !important;
}
.stc-contact__story {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 40px !important;
  align-items: center !important;
  background: transparent !important;
}
.stc-contact__story-media {
  min-height: 320px !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.stc-contact__story-copy {
  background: transparent !important;
  padding: 8px 12px 8px 0 !important;
}
.stc-contact__story-copy h2 {
  color: #2a2e43 !important;
  font-weight: 700 !important;
  font-size: clamp(22px, 2.6vw, 32px) !important;
  line-height: 1.25 !important;
}
.stc-contact__story-copy p {
  color: #2a2e43 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  max-width: 42ch !important;
}
.stc-contact__story-btn,
.stc-contact__story-copy .button {
  background: #2a2e43 !important;
  border-color: #2a2e43 !important;
  color: #fff !important;
  border-radius: 3px !important;
  font-weight: 600 !important;
  padding: 12px 22px !important;
}
.stc-contact__story-btn:hover,
.stc-contact__story-copy .button:hover {
  background: #3a4158 !important;
  border-color: #3a4158 !important;
  transform: none !important;
}

/* Adobe Sign embed (Credit Card Authorization) */
.stc-page-wrap--cc-auth .stc-page-header h1,
.stc-page-wrap--policy .stc-page-header h1 {
  text-align: center;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0 0 24px;
}
.stc-adobe-sign {
  max-width: 920px;
  margin: 0 auto 36px;
  background: #fff;
  border: 1px solid #d8dee8;
  overflow: hidden;
}
.stc-adobe-sign iframe {
  display: block;
  width: 100%;
  min-height: 720px;
  border: 0;
}

/* Order Form page */
.stc-order-form-page {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: left;
}
.stc-order-form-page p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: #333;
  margin: 0 0 18px;
}
.stc-order-form-page__btn {
  display: inline-flex !important;
  margin-top: 8px;
}

/* Quick Entry / EZ Order Entry */
.stc-quick-page {
  background: #f0f0f0;
  padding: 36px 0 48px;
}
.stc-quick-page__header {
  text-align: center;
  margin-bottom: 22px;
}
.stc-quick-page__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: #1a1a1a;
}
.stc-quick-page__form {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto 18px;
  align-items: stretch;
}
.stc-quick-page__input {
  width: 100%;
  border: 1px solid #cfd6e0;
  background: #fff;
  padding: 12px 14px;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  border-radius: 2px;
}
.stc-quick-page__add {
  white-space: nowrap;
  min-width: 140px;
}
.stc-quick-page__msg {
  max-width: 860px;
  margin: 0 auto 14px;
  font-size: 14px;
  font-weight: 600;
}
.stc-quick-page__msg.is-error { color: #b91c1c; }
.stc-quick-page__msg.is-ok { color: #15803d; }
.stc-quick-page__list,
.stc-quick-page__summary {
  max-width: 860px;
  margin: 0 auto 16px;
  background: #fff;
  border: 1px solid #e2e6ee;
  border-radius: 2px;
  padding: 16px 18px;
}
.stc-quick-page__list-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 100px;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #9aa3b2;
  text-transform: none;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef1f5;
}
.stc-quick-page__empty {
  margin: 8px 0;
  color: #8a93a3;
  font-size: 14px;
}
.stc-quick-page__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 100px;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #f0f2f6;
}
.stc-quick-page__row:last-child { border-bottom: 0; }
.stc-quick-page__prod {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.stc-quick-page__prod img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #f7f8fa;
  flex-shrink: 0;
}
.stc-quick-page__name {
  display: block;
  font-weight: 700;
  color: #1a1a1a !important;
  text-decoration: none !important;
  margin-bottom: 4px;
  font-size: 14px;
}
.stc-quick-page__meta {
  margin: 2px 0;
  font-size: 12px;
  color: #666;
}
.stc-quick-page__prices {
  margin: 4px 0;
  font-size: 14px;
}
.stc-quick-page__prices .price--highlight {
  color: #c41230;
  font-weight: 700;
}
.stc-quick-page__prices .price--compare {
  color: #999;
  text-decoration: line-through;
  margin-left: 6px;
  font-size: 13px;
}
.stc-quick-page__sale {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 3px 8px;
  background: #fde8ec;
  color: #c41230;
  font-size: 12px;
  font-weight: 700;
  border-radius: 2px;
}
.stc-quick-page__qty {
  text-align: center;
  font-weight: 600;
}
.stc-quick-page__remove {
  display: block;
  margin: 8px auto 0;
  background: none;
  border: 0;
  color: #2a58ad;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.stc-quick-page__line {
  text-align: right;
  font-weight: 700;
}
.stc-quick-page__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
}
.stc-quick-page__cart {
  display: flex !important;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
@media (max-width: 720px) {
  .stc-quick-page__form {
    grid-template-columns: 1fr;
  }
  .stc-quick-page__list-head,
  .stc-quick-page__row {
    grid-template-columns: minmax(0, 1fr) 80px 72px;
  }
}

/* Blog author + linked excerpt (Hochul post) */
.stc-blog__author {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
}
.stc-blog__author a {
  color: #2a58ad !important;
  text-decoration: underline !important;
}
.stc-blog__excerpt--html a {
  color: #2a58ad !important;
  text-decoration: underline !important;
  font-weight: 700;
}
.stc-blog__card,
.stc-blog__featured {
  background: transparent;
  padding: 0 0 16px;
  border-bottom: 0;
}
.stc-blog__featured {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dde3ec;
}
.stc-blog__grid {
  gap: 20px;
}


/* ==========================================================================
   Emma Prestige responsiveness â sitewide (640 / 999 / 1000)
   Mobile â¤640: 2-col products, filter drawer, stacked sections
   Tablet 641â999: 3-col products, filter drawer, compact header
   Desktop â¥1000: 4-col + sticky sidebar
   ========================================================================== */

.stc-shop__filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--heading-color);
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 2px;
}
.stc-shop__sidebar-top {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.stc-shop__sidebar-heading {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.stc-shop__filters-close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--heading-color);
  padding: 0 4px;
}
.stc-shop__filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: 1400;
}
.stc-shop__filters-backdrop.is-open { display: block; }
body.stc-filters-open { overflow: hidden; }

/* Desktop shop defaults */
.stc-shop__layout {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start;
}
.stc-shop .product-list--grid,
.stc-shop ul.products,
.stc-shop ul.products.columns-4,
ul.products,
ul.products.columns-4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
}
.stc-shop ul.products li.product,
.stc-shop ul.products li.product-item,
ul.products li.product {
  border: 1px solid var(--border-color) !important;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
}

@media screen and (min-width: 1000px) {
  .stc-shop__filter-btn { display: none !important; }
  .stc-shop__sidebar-top { display: none !important; }
  .stc-shop__layout {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    align-items: start !important;
  }
  .stc-shop__sidebar,
  .stc-shop__sidebar.card {
    display: block !important;
    position: relative !important;
    top: auto !important;
    align-self: start !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
    left: auto !important;
    width: auto !important;
    z-index: auto !important;
    box-shadow: none !important;
  }
  .stc-shop ul.products,
  .stc-shop ul.products.columns-4,
  ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Tablet (Prestige lap): 3-col, filters as drawer */
@media screen and (min-width: 641px) and (max-width: 999px) {
  :root { --stc-gutter: 28px; }

  .header__inner {
    grid-template-columns: auto 1fr auto !important;
    gap: 12px !important;
    min-height: 64px !important;
    padding: 8px 0 !important;
  }
  .header__mobile-nav { display: block !important; }
  .nav-bar { display: none !important; }
  .header__search-bar-wrapper { display: none !important; }
  .header__icon-search { display: inline-flex !important; }
  .header__logo-image { max-width: 180px !important; max-height: 52px !important; }
  .header__action-item-title,
  .header__action-item--account .header__action-item-link span:not(.icon) {
    display: none !important;
  }

  .container,
  .stc-shop .container,
  .stc-shop__crumbbar .container {
    width: min(100% - 40px, 1400px) !important;
  }

  .stc-shop { padding: 12px 0 40px !important; }
  .stc-shop__layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .stc-shop__filter-btn { display: inline-flex !important; }
  .stc-shop__sidebar-top { display: flex !important; }
  .stc-shop__sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(340px, 88vw) !important;
    max-height: none !important;
    margin: 0 !important;
    z-index: 1500 !important;
    transform: translateX(-105%);
    transition: transform .25s ease;
    overflow-y: auto !important;
    border-radius: 0 !important;
    box-shadow: 8px 0 28px rgba(0,0,0,.18);
  }
  .stc-shop__sidebar.is-open { transform: translateX(0); }
  .stc-shop__toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 14px !important;
  }
  .stc-shop__count { order: 10; width: 100%; margin: 0; }
  .stc-shop__title {
    font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 24px)) !important;
  }

  .stc-shop ul.products,
  .stc-shop ul.products.columns-4,
  ul.products,
  ul.products.columns-4,
  .product-list--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .stc-featured__layout {
    min-height: 420px !important;
  }
  .stc-featured__banner {
    width: 36% !important;
    min-height: 420px !important;
  }
  .stc-featured__products {
    margin-left: 28% !important;
    width: 72% !important;
    min-height: 420px !important;
  }
  .stc-featured__shell {
    position: absolute !important;
    inset: 0 !important;
  }
  .stc-featured__slide { flex: 0 0 33.333% !important; width: 33.333% !important; max-width: 33.333% !important; min-width: 0 !important; }
  .stc-featured__track > .stc-carousel__slide { flex: 0 0 33.333% !important; width: 33.333% !important; max-width: 33.333% !important; min-width: 0 !important; }
  .stc-carousel__slide:not(.stc-featured__slide) { flex-basis: calc((100% - 24px) / 3) !important; }

  .stc-popular-opts__bar { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 !important; }
  .stc-popular-opts__link {
    border-bottom: 1px solid #e8edf5;
    min-height: 56px;
    font-size: 13px;
    margin: 0 !important;
  }
  .stc-popular-opts__link:nth-child(3n) { border-right: 0; }
  .stc-popular-opts__link:nth-last-child(-n+3) { border-bottom: 0; }

  .promo-block-list { grid-template-columns: repeat(3, 1fr) !important; }
  .footer__block-list { grid-template-columns: 1fr !important; gap: 0 !important; }

  .stc-mosaic,
  .stc-learn__grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Mobile (Prestige pocket): 2-col, drawer filters */
@media screen and (max-width: 640px) {
  :root {
    --stc-gutter: 20px;
    --mobile-container-gutter: 20px;
  }

  .container,
  .stc-shop .container,
  .stc-shop__crumbbar .container {
    width: min(100% - 24px, 1400px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .header__inner {
    grid-template-columns: auto 1fr auto !important;
    gap: 8px !important;
    min-height: 58px !important;
    padding: 6px 0 !important;
  }
  .header__mobile-nav { display: block !important; }
  .nav-bar { display: none !important; }
  .header__search-bar-wrapper { display: none !important; }
  .header__search-bar-wrapper.is-mobile-open {
    display: block !important;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 6px);
    z-index: 260;
  }
  .header__icon-search { display: inline-flex !important; }
  .header__logo {
    justify-self: center;
    text-align: center;
  }
  .header__logo-image {
    max-width: 148px !important;
    max-height: 44px !important;
    margin-inline: auto;
  }
  .header__action-list { gap: 6px !important; }
  .header__action-item-title,
  .header__action-divider,
  .header__cart-label,
  .header__action-item--account .header__action-item-link span:not(.icon) {
    display: none !important;
  }

  .stc-shop { padding: 8px 0 32px !important; }
  .stc-shop__crumbbar { padding: 12px 0 6px !important; margin-bottom: 8px !important; }
  .stc-shop__breadcrumb { font-size: 12px !important; }
  .stc-shop__layout {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .stc-shop__title {
    font-size: calc(var(--base-text-font-size) - (var(--default-text-font-size) - 22px)) !important;
    margin-bottom: 8px !important;
  }
  .stc-shop__desc {
    font-size: 13px !important;
    margin-bottom: 12px !important;
  }
  .stc-shop__filter-btn { display: inline-flex !important; }
  .stc-shop__sidebar-top { display: flex !important; }
  .stc-shop__sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(320px, 90vw) !important;
    max-height: none !important;
    margin: 0 !important;
    z-index: 1500 !important;
    transform: translateX(-105%);
    transition: transform .25s ease;
    overflow-y: auto !important;
    border-radius: 0 !important;
  }
  .stc-shop__sidebar.is-open { transform: translateX(0); }

  .stc-shop__toolbar {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    gap: 8px 10px !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }
  .stc-shop__count { grid-column: 1 / -1; font-size: 12px; margin: 0; }
  .stc-shop__display { display: none !important; }
  .stc-shop__sort {
    justify-self: end;
    margin: 0 !important;
  }
  .stc-shop__view { margin-left: 0 !important; }
  .stc-sort-label { display: none; }

  .stc-shop ul.products,
  .stc-shop ul.products.columns-4,
  ul.products,
  ul.products.columns-4,
  .product-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .stc-shop ul.products li.product .product-item__info,
  ul.products li.product .product-item__info {
    padding: 8px 8px 10px !important;
    gap: 4px !important;
  }
  .product-item__title,
  ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px !important;
    min-height: 0 !important;
    line-height: 1.3 !important;
  }
  .product-item__price-list,
  .price-list {
    font-size: 13px !important;
  }
  .product-item__swatches { gap: 4px !important; margin: 2px 0 !important; }
  .product-item__swatch { width: 14px !important; height: 14px !important; }
  .product-item__actions,
  .product-item__cart {
    gap: 6px !important;
  }
  .product-item__atc,
  .product-item__choose,
  .stc-shop .button,
  ul.products li.product .button {
    width: 100% !important;
    min-height: 36px !important;
    font-size: 11px !important;
    padding: 8px 6px !important;
    border-radius: 999px !important;
  }
  .product-item__qty { max-width: 100% !important; }

  .stc-featured__layout {
    min-height: 0 !important;
  }
  .stc-featured__banner {
    position: relative !important;
    width: 100% !important;
    min-height: 200px !important;
  }
  .stc-featured__products {
    margin-left: 0 !important;
    width: 100% !important;
    min-height: 0 !important;
  }
  .stc-featured__shell {
    position: relative !important;
    inset: auto !important;
    border-left: 0 !important;
  }
  .stc-featured__slide,
  .stc-featured__track > .stc-carousel__slide {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
  }
  .stc-carousel__slide:not(.stc-featured__slide) {
    flex-basis: calc((100% - 10px) / 2) !important;
  }
  .stc-carousel__shell {
    grid-template-columns: 28px 1fr 28px !important;
    gap: 2px !important;
  }

  .stc-popular-opts { margin: 8px 0 24px !important; }
  .stc-popular-opts__bar { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 !important; }
  .stc-popular-opts__link {
    min-height: 52px !important;
    margin: 0 !important;
    padding: 12px 6px !important;
    font-size: 12px !important;
    border-right: 1px solid #e8edf5;
    border-bottom: 1px solid #e8edf5;
  }
  .stc-popular-opts__link:nth-child(2n) { border-right: 0; }
  .stc-popular-opts__link:nth-last-child(-n+2) { border-bottom: 0; }

  .promo-block-list { grid-template-columns: 1fr !important; }
  .footer__block-list { grid-template-columns: 1fr !important; gap: 0 !important; }
  .footer__newsletter-form { flex-direction: column; align-items: flex-start; }
  .footer__newsletter-form .button { width: auto !important; }

  .stc-mosaic,
  .stc-learn__grid,
  .stc-california__inner,
  .stc-help__grid {
    grid-template-columns: 1fr !important;
  }

  .stc-reviews-tab {
    padding: 10px 7px !important;
    font-size: 11px !important;
    top: 58% !important;
  }

  /* Single product mobile */
  .stc-single-product .spd,
  .spd {
    grid-template-columns: 1fr !important;
  }

  /* Cart / account */
  .stc-cart__layout,
  .stc-acct {
    grid-template-columns: 1fr !important;
  }
}

/* Keep tablet-ish phones (641–749) on 3-col already covered; ensure old 749 rules don’t force sidebar */
@media screen and (max-width: 999px) {
  .stc-shop__sidebar.card {
    background: #fff !important;
  }
  .stc-shop__sidebar:not(.is-open) {
    visibility: hidden;
    pointer-events: none;
  }
  .stc-shop__sidebar.is-open {
    visibility: visible;
    pointer-events: auto;
  }
  .stc-featured,
  .stc-carousel,
  .stc-popular-opts,
  .stc-brands {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Emma collection toolbar: Filter + Sort + View */
  .stc-shop__toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px 12px !important;
  }
  .stc-shop__filter-btn { display: inline-flex !important; }
  .stc-shop__count {
    order: 20;
    width: 100%;
    font-size: 13px !important;
    font-weight: 500 !important;
  }
  .stc-shop__display { display: none !important; }
  .stc-sort-label { display: none !important; }
  .stc-shop__view span { display: none; }
  .stc-shop__view { margin-left: auto !important; }

  /* Product cards: compact actions on pocket/lap */
  .stc-shop .product-item__actions,
  .stc-shop .product-item__cart {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .stc-shop .product-item__atc,
  .stc-shop .product-item__choose,
  .stc-shop ul.products li.product .button {
    border-radius: 999px !important;
    width: 100% !important;
  }
  .stc-shop .product-item__qty {
    width: 100% !important;
    max-width: none !important;
    justify-content: space-between;
  }

  /* Homepage / promo strips */
  .promo-block,
  .stc-mosaic__card,
  .featured-collection {
    min-width: 0 !important;
  }
}

/* Fine-tune very small phones (≤375) */
@media screen and (max-width: 375px) {
  .header__logo-image {
    max-width: 128px !important;
    max-height: 38px !important;
  }
  .stc-shop ul.products li.product .product-item__info {
    padding: 6px 6px 8px !important;
  }
  .product-item__title {
    font-size: 11px !important;
  }
  .stc-popular-opts__link {
    font-size: 11px !important;
    padding: 10px 4px !important;
  }
  .stc-shop__filter-btn {
    padding: 8px 10px !important;
    font-size: 12px !important;
  }
}

/* iPad portrait / small tablet clarity (768-ish already in 641–999) */
@media screen and (min-width: 768px) and (max-width: 999px) {
  .stc-shop ul.products,
  .stc-shop ul.products.columns-4,
  ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .stc-featured__layout {
    min-height: 460px !important;
  }
  .stc-featured__banner {
    width: 42% !important;
  }
  .stc-featured__products {
    margin-left: 32% !important;
    width: 68% !important;
  }
  .stc-featured__slide,
  .stc-featured__track > .stc-carousel__slide {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    min-width: 0 !important;
  }
  .footer__block-list {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

