/* Bags of Swank Core — storefront helper styles (trust bar, category cards,
   saved-product pages). Designed to match the Vault theme tokens. */

.bos-core-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.bos-core-trust > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  background: #f6f4fc;
  border: 1px solid #e7e3f2;
  border-radius: 14px;
}
.bos-core-trust svg {
  flex: none;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #6d4de0;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bos-core-trust b {
  display: block;
  font: 700 14px/1.25 'Inter', 'Segoe UI', sans-serif;
  color: #171224;
}
.bos-core-trust small {
  display: block;
  color: #6f6884;
  font-size: 12px;
  margin-top: 2px;
}

.bos-core-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.bos-core-categories > a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 4.6;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  background: #171224;
}
.bos-core-categories img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), opacity .3s;
}
.bos-core-categories > a:hover img {
  transform: scale(1.06);
  opacity: 1;
}
.bos-core-categories > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 34%, rgba(16, 11, 28, .88) 92%);
}
.bos-core-categories span {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 3px;
}
.bos-core-categories b {
  font: 700 18px/1.2 'Space Grotesk', 'Arial Narrow', sans-serif;
  color: #fff;
}
.bos-core-categories small {
  color: #bdb4dd;
  font-size: 12px;
}
.bos-core-categories em {
  color: #ffce54;
  font: 700 12px/1 'Inter', 'Segoe UI', sans-serif;
  font-style: normal;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(5px);
  transition: all .22s cubic-bezier(.22, .61, .36, 1);
}
.bos-core-categories > a:hover em {
  opacity: 1;
  transform: none;
}

/* Wishlist / compare pages */
.bos-saved-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.bos-saved-card {
  position: relative;
  background: #fff;
  border: 1px solid #e7e3f2;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.22, .61, .36, 1), box-shadow .2s;
}
.bos-saved-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(18, 12, 38, .13), 0 3px 8px rgba(18, 12, 38, .05);
}
.bos-saved-card .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #e04b3a;
  color: #fff;
  font: 800 11px/1 'Inter', sans-serif;
  border-radius: 999px;
  padding: 6px 10px;
}
.bos-saved-card__remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e7e3f2;
  background: #fff;
  color: #6f6884;
  font-size: 16px;
  line-height: 1;
}
.bos-saved-card__remove:hover {
  border-color: #e04b3a;
  color: #e04b3a;
}
.bos-saved-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.bos-saved-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  background: linear-gradient(180deg, #faf9fe, #f6f4fc);
  background: #f6f4fc;
  border-bottom: 1px solid #e7e3f2;
}
.bos-saved-card__copy {
  display: grid;
  gap: 5px;
  padding: 13px 15px 16px;
}
.bos-saved-card__copy b {
  font: 600 13.5px/1.35 'Inter', sans-serif;
  min-height: 2.6em;
  color: #171224;
}
.bos-saved-card__copy em {
  font: 700 14px/1 'Space Grotesk', sans-serif;
  font-style: normal;
}
.bos-saved-card__copy em ins { color: #e04b3a; text-decoration: none; }
.bos-saved-card__copy em del { color: #6f6884; margin-right: 6px; }
.bos-saved-empty {
  text-align: center;
  padding: 44px 22px;
  background: #f6f4fc;
  border: 1.5px dashed #d8d0ee;
  border-radius: 18px;
}
.bos-saved-empty p {
  color: #6f6884;
  margin: 0 0 16px;
}

@media (max-width: 940px) {
  .bos-core-trust, .bos-core-categories, .bos-saved-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .bos-core-trust { grid-template-columns: 1fr; }
  .bos-saved-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* --------------------------------------------------------------------------
   Elementor homepage schema 3: frontend-safe premium art direction.
   These rules live in the companion plugin so editor and published page use
   the same cascade even before Elementor regenerates its per-page CSS file.
   -------------------------------------------------------------------------- */
.bos-elementor-page {
  overflow: hidden;
  background: #fbfaff;
  color: #171224;
}
.bos-elementor-page .elementor-widget:not(:last-child) { margin-block-end: 0; }
.bos-el-section {
  position: relative;
  gap: 12px;
  background: #fbfaff;
}
.bos-el-section:nth-of-type(even):not(.bos-el-dark) { background: #f5f2fb; }
.bos-el-section > .elementor-element { width: min(100%, 1280px); margin-inline: auto; }
.bos-el-section > .elementor-widget-heading:first-child .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #6d4de0 !important;
  font: 800 12px/1.2 "Space Grotesk", sans-serif !important;
  letter-spacing: .18em !important;
  text-transform: uppercase;
}
.bos-el-section > .elementor-widget-heading:first-child .elementor-heading-title::before {
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg,#6d4de0,#c383ff);
  content: "";
}
.bos-el-section > .elementor-widget-heading:nth-child(2) .elementor-heading-title {
  max-width: 820px;
  margin: 2px 0 8px;
  color: #171224 !important;
  font: 700 clamp(32px,4vw,52px)/1.04 "Space Grotesk", sans-serif !important;
  letter-spacing: -.035em;
}
.bos-el-section > .elementor-widget-text-editor { max-width: 700px; }
.bos-el-section > .elementor-widget-text-editor p {
  margin: 0;
  color: #6f6884;
  font: 500 17px/1.65 Inter, sans-serif;
}
.bos-el-dark {
  isolation: isolate;
  background:
    radial-gradient(circle at 90% 10%,rgba(109,77,224,.28),transparent 32%),
    linear-gradient(135deg,#120d20,#22183b 62%,#171224) !important;
}
.bos-el-dark::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .15;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
  background-size: 40px 40px;
  content: "";
}
.bos-el-dark > .elementor-widget-heading:first-child .elementor-heading-title { color: #ffce54 !important; }
.bos-el-dark > .elementor-widget-heading:nth-child(2) .elementor-heading-title { color: #fff !important; }
.bos-el-dark > .elementor-widget-text-editor p { color: #d9d3ee; }
.bos-el--hero001 {
  position: relative;
  isolation: isolate;
  align-items: center;
  overflow: hidden;
}
.bos-el--hero001::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,rgba(10,6,18,.9) 0%,rgba(10,6,18,.48) 55%,rgba(10,6,18,.12) 100%);
  content: "";
}
.bos-el--hero002 {
  max-width: 710px;
  margin-right: auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.bos-el-widget--hero003 .elementor-heading-title {
  font: 800 12px/1.2 "Space Grotesk",sans-serif !important;
  letter-spacing: .18em;
}
.bos-el-widget--hero004 .elementor-heading-title {
  max-width: 620px;
  margin: 8px 0 14px;
  font: 700 clamp(46px,6vw,76px)/.96 "Space Grotesk",sans-serif !important;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.bos-el-widget--hero005 p { max-width: 590px; margin: 0 0 18px; font: 500 18px/1.65 Inter,sans-serif; }
.bos-elementor-page .elementor-button {
  min-height: 48px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(42,24,96,.16);
  font: 800 13px/1 "Space Grotesk",sans-serif;
  letter-spacing: .035em;
  transition: transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.bos-elementor-page .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(42,24,96,.24); filter: brightness(1.04); }
.bos-el--trust001 { padding-block: 28px !important; background: #fff; box-shadow: 0 14px 35px rgba(35,20,68,.06); }
.bos-el--trust001 > .elementor-widget-heading { display: none; }
.bos-el--promo001 { background: #f5f2fb; }
.bos-el--promo002,.bos-el--promo003,.bos-el--promo004 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px !important;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(23,18,36,.18);
  transition: transform .25s ease,box-shadow .25s ease;
}
.bos-el--promo002::before,.bos-el--promo003::before,.bos-el--promo004::before {
  position: absolute;
  inset: 32% 0 0;
  z-index: -1;
  background: linear-gradient(transparent,rgba(11,7,20,.92));
  content: "";
}
.bos-el--promo002:hover,.bos-el--promo003:hover,.bos-el--promo004:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(23,18,36,.28); }
.bos-el--promo002 .elementor-heading-title,.bos-el--promo003 .elementor-heading-title,.bos-el--promo004 .elementor-heading-title { text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.bos-el-card-row { margin-top: 24px; }
.bos-el-info-card,.bos-el-review-card {
  min-width: 0;
  border: 1px solid rgba(109,77,224,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 42px rgba(35,20,68,.09);
}
.bos-el-dark .bos-el-info-card { border-color: rgba(255,206,84,.22); background: rgba(255,255,255,.07); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.bos-el-info-card .elementor-widget-heading:first-child .elementor-heading-title {
  color: #ffce54 !important;
  font: 800 13px/1 "Space Grotesk",sans-serif !important;
  letter-spacing: .16em;
}
.bos-el-info-card .elementor-widget-heading:nth-child(2) .elementor-heading-title { color: inherit; font: 700 21px/1.15 "Space Grotesk",sans-serif !important; }
.bos-el-dark .bos-el-info-card .elementor-heading-title { color: #fff; }
.bos-el-info-card p,.bos-el-review-card p { margin: 0; color: #6f6884; font: 500 15px/1.65 Inter,sans-serif; }
.bos-el-dark .bos-el-info-card p { color: #d9d3ee; }
.bos-el-review-card .elementor-widget-heading:first-child .elementor-heading-title { color: #e0a51f !important; letter-spacing: .12em; }
.bos-el-review-card .bos-el-widget--review03q p,.bos-el-review-card .bos-el-widget--review04q p,.bos-el-review-card .bos-el-widget--review05q p { color: #302942; font-size: 17px; line-height: 1.55; }
.bos-el-chips p { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.bos-el-chips a { padding: 12px 18px; border: 1px solid #dcd4ef; border-radius: 999px; background: #fff; color: #302942; font: 700 13px/1 "Space Grotesk",sans-serif; text-decoration: none; box-shadow: 0 6px 18px rgba(35,20,68,.06); }
.bos-el-chips a:hover { border-color: #6d4de0; color: #6d4de0; transform: translateY(-1px); }
.bos-el-section .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin: 26px 0 0 !important; }
.bos-el-section .woocommerce ul.products::before,.bos-el-section .woocommerce ul.products::after { display: none; }
.bos-el-section .woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; overflow: hidden; border: 1px solid #e7e3f2; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(35,20,68,.08); transition: transform .22s ease,box-shadow .22s ease; }
.bos-el-section .woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(35,20,68,.15); }
.bos-el-section .woocommerce ul.products li.product img { margin: 0 !important; padding: 20px; aspect-ratio: 1/1; object-fit: contain; background: linear-gradient(180deg,#fff,#f7f4fc); }
.bos-el-section .woocommerce ul.products li.product .woocommerce-loop-product__title,.bos-el-section .woocommerce ul.products li.product .price,.bos-el-section .woocommerce ul.products li.product .button { margin-inline: 18px !important; }
.bos-el-section .woocommerce ul.products li.product .button { margin-bottom: 18px !important; }

@media (max-width: 960px) {
  .bos-el--hero002 { width: min(100%,700px) !important; }
  .bos-el-card-row,.bos-el--promo001 { flex-wrap: wrap !important; }
  .bos-el-info-card,.bos-el-review-card,.bos-el--promo002,.bos-el--promo003,.bos-el--promo004 { width: calc(50% - 9px) !important; }
  .bos-el-section .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .bos-el-section { padding: 56px 18px !important; }
  .bos-el--hero001 { min-height: auto !important; padding: 54px 16px !important; }
  .bos-el--hero002 { padding: 32px 24px !important; border-radius: 20px; }
  .bos-el-widget--hero004 .elementor-heading-title { font-size: clamp(42px,13vw,58px) !important; }
  .bos-el-info-card,.bos-el-review-card,.bos-el--promo002,.bos-el--promo003,.bos-el--promo004 { width: 100% !important; }
  .bos-el-section .woocommerce ul.products { gap: 12px; }
  .bos-el-section .woocommerce ul.products li.product .woocommerce-loop-product__title,.bos-el-section .woocommerce ul.products li.product .price,.bos-el-section .woocommerce ul.products li.product .button { margin-inline: 12px !important; }
}

/* Complete supplied category photography, using the imported catalogue art. */
.bos-core-categories--complete {
  display: grid !important;
  grid-template-columns: repeat(5,minmax(0,1fr)) !important;
  gap: 16px !important;
}
.bos-core-categories--complete > a {
  display: flex;
  height: auto;
  min-height: 292px;
  aspect-ratio: auto;
  flex-direction: column;
  border: 1px solid #e4def0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(35,20,68,.08);
  transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.bos-core-categories--complete > a:hover { transform: translateY(-5px); border-color: #8b6bea; box-shadow: 0 20px 44px rgba(35,20,68,.16); }
.bos-core-categories--complete > a::after { display: none; }
.bos-core-categories--complete img {
  position: static;
  display: block;
  width: 100%;
  height: 205px;
  padding: 17px;
  border-bottom: 1px solid #eee9f7;
  background: radial-gradient(circle at 50% 35%,#fff,#f4f0fa);
  object-fit: contain;
  opacity: 1;
}
.bos-core-categories--complete > a:hover img { transform: none; }
.bos-core-categories--complete span {
  position: static;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 16px;
}
.bos-core-categories--complete b { min-height: 2.35em; color: #171224; font-size: 15px; }
.bos-core-categories--complete small { color: #6f6884; }
.bos-core-categories--complete em { margin-top: auto; color: #6d4de0; opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .bos-core-categories--complete { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width: 620px) {
  .bos-core-categories--complete { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }
  .bos-core-categories--complete > a { min-height: 235px; }
  .bos-core-categories--complete img { height: 156px; padding: 12px; }
  .bos-core-categories--complete span { padding: 12px; }
}

/* Schema 5 polish: native premium hero, scroll-snap shelves and reviews. */
.bos-el-native-hero,.bos-el-native-hero > .elementor-element,.bos-el-native-hero .elementor-widget-container { width: 100%; max-width: none; margin: 0; padding: 0; }
.bos-core-premium-hero { min-height: 650px; }
.bos-core-premium-hero .bos-hh-hero__inner { min-height: 650px; }
.bos-core-categories--complete {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 16px !important;
  padding: 4px 4px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: #8b6bea #e9e3f3;
  scrollbar-width: thin;
}
.bos-core-categories--complete > a {
  width: auto !important;
  min-width: 0;
  flex: 0 0 calc((100% - 48px)/4);
  scroll-snap-align: start;
}
.bos-el-review-card {
  position: relative;
  min-height: 278px;
  justify-content: flex-start;
  overflow: hidden;
  border-top: 4px solid #6d4de0;
}
.bos-el-review-card::before {
  position: absolute;
  top: -18px;
  right: 18px;
  color: rgba(109,77,224,.09);
  font: 700 116px/1 Georgia,serif;
  content: "“";
}
.bos-el-review-card .elementor-widget-heading:first-child { position: relative; z-index: 1; }
.bos-el-review-card .elementor-widget-heading:first-child .elementor-heading-title { font-size: 15px !important; }
.bos-el-review-card .elementor-widget-text-editor { position: relative; z-index: 1; flex: 1; padding-top: 14px; }
.bos-el-review-card .elementor-widget-text-editor p { font-size: 18px !important; line-height: 1.55 !important; }
.bos-el-review-card .elementor-widget-heading:last-child { padding-top: 18px; border-top: 1px solid #ebe6f4; }
.bos-el-review-card .elementor-widget-heading:last-child .elementor-heading-title { color: #5b4e72; font: 700 12px/1.3 Inter,sans-serif !important; letter-spacing: .04em; text-transform: uppercase; }
.bos-el--spot001 .woocommerce ul.products { margin-top: 30px !important; }
.bos-core-empty { margin: 28px 0 0; padding: 30px; border: 1px dashed rgba(255,206,84,.35); border-radius: 16px; color: #d9d3ee; text-align: center; }
@media (max-width: 900px) {
  .bos-core-premium-hero,.bos-core-premium-hero .bos-hh-hero__inner { min-height: auto; }
  .bos-core-categories--complete > a { flex-basis: calc((100% - 32px)/3); }
}
@media (max-width: 620px) {
  .bos-core-categories--complete > a { flex-basis: 72%; }
  .bos-el-review-card { min-height: 250px; }
}
