:root {
  --v-p: #B197BD;
  --v-d: #4A3457;
  --v-m: #937086;
  --v-s: #F8F9FA;
  --v-c: #E2D1C3;
  --v-w: #FFFFFF;
  --v-shadow: 0 12px 32px rgba(74, 52, 87, 0.08);
  --v-shadow-hover: 0 18px 42px rgba(74, 52, 87, 0.13);
}

html,
body {
  overflow-x: hidden;
  background: var(--v-s);
  color: var(--v-d);
}

a {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.s-menu-topnav-item:empty,
.s-menu-footer-item:empty {
  display: none;
}

/* Header */
header.store-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--v-c);
  background: rgba(255, 255, 255, 0.82);
}

header.store-header .top-navbar {
  background: rgba(248, 249, 250, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 0;
  border-bottom: 1px solid rgba(177, 151, 189, 0.05);
}

header.store-header .top-navbar a,
header.store-header .top-navbar .s-menu-topnav-item {
  color: var(--v-d);
  text-decoration: none;
}

header.store-header .top-navbar a:hover {
  color: var(--v-m);
}

header.store-header .main-nav-container#mainnav {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  box-shadow: none;
}

header.store-header .navbar-brand img {
  max-height: 150px;
  width: auto;
}

@media (max-width: 1024px) {
  header.store-header .main-nav-container#mainnav {
    height: 70px;
  }

  header.store-header .navbar-brand img {
    max-height: 125px;
  }
}

/* Search, user, cart */
.s-search-modal .s-search-input {
  background: var(--v-w);
  border: 1px solid rgba(226, 209, 195, 0.9);
  color: var(--v-d);
}

.s-search-modal .s-search-input:focus {
  border-color: var(--v-m);
  box-shadow: 0 0 0 3px rgba(147, 112, 134, 0.12);
  outline: 0;
}

.s-search-icon svg,
.header-btn__icon,
.s-cart-summary-icon svg,
.s-user-menu-trigger-icon svg,
a.mburger i.sicon-menu {
  color: var(--v-m);
  fill: var(--v-m);
}

.s-user-menu-trigger-hello {
  color: var(--v-m);
}

.s-user-menu-trigger-name,
a.s-cart-summary-wrapper .s-cart-summary-total {
  color: var(--v-d);
}

.s-user-menu-trigger-avatar-only .s-user-menu-avatar-wrap {
  border: 0;
  background: transparent;
}

.s-user-menu-trigger-avatar {
  border-radius: 50%;
}

.s-user-menu-dropdown {
  border: 1px solid rgba(226, 209, 195, 0.8);
  border-radius: 16px;
  box-shadow: var(--v-shadow);
  overflow: hidden;
}

.s-user-menu-dropdown-header {
  background: var(--v-s);
}

.s-user-menu-dropdown-item-link {
  color: var(--v-d);
}

.s-user-menu-dropdown-item-link:hover {
  background: rgba(147, 112, 134, 0.08);
  color: var(--v-m);
}

a.s-cart-summary-wrapper .s-cart-summary-count {
  background: var(--v-m);
  color: var(--v-w);
  border: 2px solid var(--v-w);
}

/* Page rhythm */
main#main-content {
  background: var(--v-s);
}

main#main-content > .s-block:not(.s-block--bundle-hero-premium),
#reorder-section {
  background: var(--v-s);
}

.s-block--bundle-latest-products,
#best-offers-2-slider,
.s-block--testimonials,
.s-block--bundle-faq,
#reorder-section {
  padding-block: 56px;
}

/* Section titles */
main#main-content .s-block__title h2,
.s-slider-block__title h2,
.s-reviews-header {
  color: var(--v-d);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

main#main-content .s-block__title h2::after,
.s-slider-block__title h2::after,
.s-reviews-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: var(--v-m);
  border-radius: 999px;
}

.s-slider-nav-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(226, 209, 195, 0.9);
  border-radius: 50%;
  background: var(--v-w);
  color: var(--v-m);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.s-slider-nav-arrow:hover:not(:disabled) {
  background: var(--v-m);
  color: var(--v-w);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(147, 112, 134, 0.2);
}

.s-slider-nav-arrow:disabled {
  opacity: 0.35;
}

.s-slider-button-icon svg {
  fill: currentColor;
}

/* Generated latest products wrapper only */
.s-block--bundle-latest-products {
  background: var(--v-s);
}

[component-name="latest-products"] {
  display: block;
}

/* Fixed banner */
main#main-content section.s-block--fixed-banner {
  padding-block: 30px;
}

main#main-content section.s-block--fixed-banner .container {
  padding-inline: 15px;
}

main#main-content section.s-block--fixed-banner a.banner {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: var(--v-w);
  box-shadow: var(--v-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main#main-content section.s-block--fixed-banner a.banner:hover {
  transform: translateY(-4px);
  box-shadow: var(--v-shadow-hover);
}

main#main-content section.s-block--fixed-banner img {
  display: block;
  width: 100%;
}

/* Testimonials */
.s-block--testimonials,
.s-reviews-container,
.testimonials-slider,
.testimonials-slider .s-slider-container,
.s-reviews-testimonial,
.s-reviews-testimonial__inner {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.s-reviews-header-wrapper {
  text-align: center;
  margin-bottom: 24px;
}

.s-reviews-header::after {
  right: 50%;
  transform: translateX(50%);
}

.s-reviews-testimonial {
  padding: 0 10px;
}

.s-reviews-testimonial__inner {
  position: relative;
  padding: 18px 10px 22px;
  border-top: 1px solid rgba(226, 209, 195, 0.7) !important;
  border-bottom: 1px solid rgba(226, 209, 195, 0.7) !important;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.s-reviews-testimonial__inner:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 112, 134, 0.35) !important;
}

.s-reviews-testimonial__text p {
  color: rgba(74, 52, 87, 0.82);
}

.s-reviews-testimonial__info h2 {
  color: var(--v-d);
}

.s-reviews-testimonial__icon {
  color: rgba(147, 112, 134, 0.18);
}

.s-rating-stars-selected svg {
  color: #C59A64;
  fill: #C59A64;
}

/* Modals */
.s-modal-overlay {
  background: rgba(50, 24, 62, 0.32);
}

.s-modal-body.s-modal-align-middle,
.s-modal-body.s-modal-align-top {
  background: var(--v-w);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(50, 24, 62, 0.18);
}

.s-modal-close svg {
  fill: var(--v-d);
}

/* Footer */
.store-footer {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  color: var(--v-w);
  background:
    radial-gradient(circle at 18% 10%, rgba(177, 151, 189, 0.34), transparent 30%),
    linear-gradient(180deg, var(--v-d) 0%, #382642 100%);
  border-radius: 72px 72px 0 0;
  animation: vbFooterOpen 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.store-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 209, 195, 0.8), transparent);
}

.store-footer__inner {
  background: transparent !important;
  padding: 56px 0 34px;
}

.store-footer > .container {
  background: transparent;
  border-top: 1px solid rgba(226, 209, 195, 0.18);
}

.store-footer h3,
.store-footer .s-contacts-title {
  color: var(--v-w) !important;
  margin-bottom: 14px;
}

.store-footer h3::after,
.store-footer .s-contacts-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 9px;
  background: var(--v-c);
  border-radius: 999px;
}

.store-footer p,
.store-footer span,
.store-footer b,
.store-footer .copyright-text p,
.store-footer .text-gray-400 {
  color: rgba(255, 255, 255, 0.78) !important;
}

.store-footer a,
.store-footer .s-menu-footer-item,
.store-footer .s-contacts-item {
  color: rgba(255, 255, 255, 0.84) !important;
  text-decoration: none;
}

.store-footer a:hover,
.store-footer .s-menu-footer-item:hover,
.store-footer .s-contacts-item:hover {
  color: var(--v-c) !important;
}

.store-footer .s-menu-footer-item,
.store-footer .s-contacts-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.store-footer svg {
  fill: currentColor;
}

.store-footer .s-contacts-icon,
.store-footer .s-social-icon {
  color: var(--v-c);
}

.store-footer .s-social-list {
  display: flex;
  gap: 10px;
}

.store-footer .s-social-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(226, 209, 195, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.store-footer .s-social-link a:hover {
  background: rgba(226, 209, 195, 0.16);
  transform: translateY(-2px);
}

.store-footer .s-trust-badges-wrapper {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 209, 195, 0.22);
  border-radius: 14px;
  padding: 12px;
}

.store-footer .s-trust-badges-label,
.store-footer .s-trust-badges-number {
  color: rgba(255, 255, 255, 0.84) !important;
}

.store-footer .s-payments-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.store-footer .s-payments-list-item {
  background: var(--v-w);
  border: 1px solid rgba(226, 209, 195, 0.5);
  border-radius: 10px;
  padding: 4px;
}

/* Motion */
@keyframes vbFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes vbFooterOpen {
  from {
    clip-path: inset(0 38% 0 38% round 999px 999px 0 0);
  }

  to {
    clip-path: inset(0 0 0 0 round 72px 72px 0 0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  main#main-content > .s-block:not(.s-block--bundle-hero-premium),
  #reorder-section {
    animation: vbFadeUp 0.75s ease both;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

@media (max-width: 768px) {
  .s-block--bundle-latest-products,
  #best-offers-2-slider,
  .s-block--testimonials,
  .s-block--bundle-faq,
  #reorder-section {
    padding-block: 38px;
  }

  .store-footer {
    margin-top: 48px;
    border-radius: 42px 42px 0 0;
  }

  .store-footer__inner {
    padding-top: 42px;
  }
}
/* Footer link/layout fix */
.store-footer ul,
.store-footer li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.store-footer .s-menu-footer-list {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.store-footer .s-menu-footer-item {
  display: block !important;
  width: fit-content !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  border: 0 !important;
  background: transparent !important;
  line-height: 1.8 !important;
}

.store-footer .s-menu-footer-item:empty {
  display: none !important;
}

.store-footer .s-menu-footer-item::before,
.store-footer .s-menu-footer-item::after {
  display: none !important;
  content: none !important;
}

/* Contacts should also stack neatly */
.store-footer .s-contacts-list,
.store-footer .s-contacts-list-vertical {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.store-footer .s-contacts-item {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  gap: 8px !important;
}

/* Keep social/payment icons clean */
.store-footer .s-social-list,
.store-footer .s-payments-list {
  list-style: none !important;
}