/* THEME COLORS */
:root {
  --primary: #402f7b;
  --accent: #d6505c;
  --white: #fff;
  --black: #000;
  --border: #d3d3d3;
}

/* HEADER */
.sh-header-main {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: 0 3px 5px rgba(57, 63, 72, 0.3) !important;
}

/* CATEGORY CLEANUP */
.sh-categories-container>div>h2,
.sh-categories-container>div>hr,
.sh-banner-collection-card>a>div>div>p,
.sh-banner-collection-card>a>div>div>p>svg,
.sh-try,
.shop-now-button {
  display: none !important;
}

/* PRODUCT CARD */
.sh-product-card {
  border-radius: 8px !important;
  border: 1px solid var(--border) !important;
}

/* DISCOUNT TAG */
.sh-product-card-discount-tag,
.sh-product-discount-tag {
  background-color: var(--accent);
  color: var(--white);
  font-weight: 400 !important;
  border-radius: 8px !important;
}

/* PRICE */
.pr-sale-price {
  color: var(--primary) !important;
}

/* PRODUCT IMAGE */
.pr-long-card .pr-image {
  object-fit: contain;
  aspect-ratio: var(--pr-image-aspect-ratio, 3/3);
}

.pr-image-ctn {
  margin: 0 -12px !important;
}

.pr-image-ctn img {
  object-fit: contain !important;
}

/* BUY / ACTION BUTTONS */
.sh-product-buy-now-button {
  border-radius: 8px !important;
  border: 1px solid var(--primary) !important;
  background-color: var(--white) !important;
  color: var(--primary) !important;
}

.sh-solid-button,
.sh-solid-button:hover {
  border-radius: 8px;
  border: 1px solid var(--primary) !important;
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

/* PLUS MINUS */
.sh-product-plus-minus-button,
.sh-product-plus-minus-button:hover,
.product-card-action-btn,
.product-card-action-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  border-radius: 8px;
  fill: var(--white);
  font-weight: bold;
}

/* VARIANT BUTTON */
.pr-var-btn {
  border-radius: 8px;
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* FOOTER */
.sh-footer-main {
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

.sh-footer-icon,
.footer-row-title {
  color: var(--white) !important;
}

/* BANNERS */
.BannerCollection-component,
.sh-ge-collect .BannerCollection-component {
  padding: 0 !important;
}

/* PRODUCT CARD LAYOUT */
.pr-long-card {
  width: 100%;
  padding: 0 12px;
}

/* CATEGORY CARD */
.cat-card-img {
  border: 1px solid var(--primary) !important;
}

/* AUTH */
.authenticate {
  padding: 0 20px;
}

/* SECTION HEADING */
.section-heading-container {
  margin: 7px 0 !important;
}

/* BOTTOM NAV */
.sh-bottom-nav-main {
  background-color: var(--white);
}

.sh-bottom-nav-selected {
  stroke: var(--accent) !important;
  color: var(--accent) !important;
  fill: none !important;
}

.sh-bottom-nav-unselected {
  stroke: var(--primary) !important;
  color: var(--primary) !important;
}

.sh-bottom-nav-cart-badge {
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

/* STORE BANNER NAV */
.StoreBanner-component .swiper-button-prev,
.StoreBanner-component .swiper-button-next {
  display: none !important;
}

/* PRODUCT GRID CENTER FIX */
.section-1 .prod-collection-container .grid:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(4, 1fr);
  max-width: calc((100% / 5) * 4);
  margin: 0 auto;
}

.section-1 .prod-collection-container .grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
  max-width: calc((100% / 5) * 3);
  margin: 0 auto;
}

.section-1 .prod-collection-container .grid:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
  max-width: calc((100% / 5) * 2);
  margin: 0 auto;
}

.section-1 .prod-collection-container .grid:has(> :nth-child(1):last-child) {
  grid-template-columns: 1fr;
  max-width: calc(100% / 5);
  margin: 0 auto;
}

.cat-section-boxed {
  max-width: unset !important;
}

main:has(.section .LargeCategoriesCardV1-component) {
  display: flex;
  flex-direction: column;
}

.section:has(.LargeCategoriesCardV1-component) {
  order: -2;
  margin-top: 0 !important;
}

.sh-ge-collect-6985c62d363da12111ac730b {
  order: -1;
}

/* 
.section:has(.product-collection) {
  max-width: calc(1600px - 80px);
  margin-left: auto;
  margin-right: auto;
}
.section.sh-ge-collect:has(.product-collection) {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  background-color: unset;
}
.section.sh-ge-collect:has(.product-collection) .section.page-container-m {
  background-color: var(--section-background-color);
  padding: var(--section-padding-desktop);
  background: var(--section-background-color);
  margin: 0 40px;
}
@media (max-width: 767px) {
  .section.sh-ge-collect:has(.product-collection) .section.page-container-m {
    margin: 0 16px;
  }
}

.sh-ge-collect-6984538ab79714668bdbca14 {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.sh-ge-collect-6984538ab79714668bdbca14 {
  width: min(1520px, 100% - 80px);
}

@media (max-width: 767px) {
  .sh-ge-collect-6984538ab79714668bdbca14 {
    width: min(100%, 100% - 32px);
  }
} */

/* main:has(.section .LargeCategoriesCardV1-component) > .section {
  max-width: min(1600px, 100% - 80px) !important;
  margin-left: auto !important ;
  margin-right: auto !important;
}
@media (max-width: 767px) {
  main:has(.section .LargeCategoriesCardV1-component) > .section {
    max-width: 100% !important;
  }
}

@media (min-width: 768px) {
  main:has(.section .LargeCategoriesCardV1-component) > .section.section-8,
  main:has(.section .LargeCategoriesCardV1-component) > .section.section-10,
  main:has(.section .LargeCategoriesCardV1-component) > .section.section-12 {
    max-width: min(1520px, 100% - 160px) !important;
  }
}
@media (max-width: 767px) {
  main:has(.section .LargeCategoriesCardV1-component) > .section.section-8,
  main:has(.section .LargeCategoriesCardV1-component) > .section.section-10,
  main:has(.section .LargeCategoriesCardV1-component) > .section.section-12 {
    max-width: min(100%, 100% - 32px) !important;
  }
}

.section.section-15 {
  padding-left: 40px !important;
  padding-right: 40px !important;
}

@media (max-width: 767px) {
  .section.section-15 {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
} */

main:has(.section .LargeCategoriesCardV1-component) {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px;
  background-color: #f5f5f5;
  margin-top: 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  width: calc(100% - 80px);
}

@media (max-width: 767px) {
  main:has(.section .LargeCategoriesCardV1-component) {
    width: unset;
  }
}

main:has(.section .LargeCategoriesCardV1-component)>.section {
  max-width: unset;
  margin-left: unset;
  margin-right: unset;
  padding-left: unset;
  padding-right: unset;
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
}

main:has(.section .LargeCategoriesCardV1-component)>.banner.page-container-x {
  border-radius: 12px;
  overflow: hidden;
}

main:has(.section .LargeCategoriesCardV1-component)>.section>.grid {
  max-width: unset;
  margin-left: unset;
  margin-right: unset;
  padding-left: unset;
  padding-right: unset;
}

.sh-ge-collect-6985c62d363da12111ac730b {
  margin-top: 0 !important;
}

.banner-content.content-outside {
  margin-top: 0 !important;
}

.sh-ge-collect-698586c2b79714668bdbd071 .banner-image-container img,
.sh-ge-collect-6981b06bb79714668bdbbba3 .banner-image-container img {
  border-radius: 12px;
}

.sh-ge-collect-6986d9351f30484bb686a1f9,
.section.sh-ge-collect:has(.BlogCollection-component) {
  background-color: #f5f5f5 !important;
}

.section.sh-ge-collect:has(.BlogCollection-component) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.BlogCollection-component .flex.flex-col.bg-white.overflow-hidden.group {
  border-radius: 12px;
  overflow: hidden;
}

.product-card-name {
  font-weight: 600;
}

.section-0 .heading {
  display: none !important;
}

@media (min-width: 580px) {
  #categories .swiper-wrapper {
    display: flex !important;
    justify-content: center !important;
  }
}

.hd-testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
  position: relative;
}

.hd-testimonial-card::before {
  content: "“";
  position: absolute;
  top: 12px;
  left: 18px;
  font-size: 60px;
  color: rgba(34, 139, 34, 0.08);
  font-family: serif;
}

.hd-testimonial-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 12px;
}

.hd-testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 22px;
}

.hd-testimonial-user {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hd-user-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.hd-user-product {
  font-size: 13px;
  color: #1a7f4b;
  font-weight: 500;
}

.video-section {
  position: relative
}

.row-title {
  text-align: center;
  margin: 22px 0 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 18px;
  text-decoration: underline;
}

.video-slider {
  position: relative;
  overflow: hidden
}

.video-track {
  display: flex;
  gap: 12px;
  transition: transform .35s ease;
  will-change: transform;
}

/* Mobile: 2.5 cards */
.video-card {
  flex: 0 0 calc(100% / 2.5);
  max-width: calc(100% / 2.5);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  position: relative;
}

.video-card>a {
  display: block;
  position: relative;
  z-index: 1;
}

/* ✅ height follows video */
.video-card video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  object-fit: cover;
}

/* ✅ Sound button */
.sound-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .92);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
  cursor: pointer;
  z-index: 10;
}

/* Small helper toast */
.toast {
  position: absolute;
  top: 56px;
  right: 10px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 11px;
  padding: 6px 8px;
  border-radius: 10px;
  z-index: 10;
  display: none;
}

/* Shop Now overlay */
.shop-btn {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, .95);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 9;
}

.video-card:hover .shop-btn {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(-4px);
}

@media(max-width:767px) {
  .shop-btn {
    opacity: 1;
    pointer-events: auto;
    font-size: 12px;
    padding: 7px 14px;
  }
}

/* arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  z-index: 20;
}

.slider-btn.left {
  left: 8px
}

.slider-btn.right {
  right: 8px
}

.slider-btn:disabled {
  opacity: .4;
  cursor: not-allowed
}

/* Desktop: 4.5 cards */
@media(min-width:768px) {
  .row-title {
    font-size: 22px;
    margin: 26px 0 14px
  }

  .video-card {
    flex: 0 0 calc(100% / 4.5);
    max-width: calc(100% / 4.5)
  }
}

.announcement-marquee {
  width: 100%;
  background: #f5f5f5;
  padding: 16px 0;
}

.announcement-viewport {
  width: 100%;
  overflow: hidden;
  /* HARD CLIP */
  position: relative;
}

.announcement-track {
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  will-change: transform;

  animation: marquee-scroll 20s linear infinite;
}

/* pause on hover */
.announcement-marquee:hover .announcement-track {
  animation-play-state: paused;
}

.ann-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000000;
  font-size: 14px;
  font-weight: 500;
}

.ann-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ✅ SAFE animation */
@keyframes marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* mobile */
@media (max-width: 768px) {
  .announcement-track {
    gap: 32px;
    animation-duration: 16s;
  }
}

.sh-blog-author-name {
  font-size: 0; /* Hide original text */
  position: relative;
}

.sh-blog-author-name::after {
  content: "Healdesire";
  font-size: 14px; /* Adjust as needed */
  font-weight: 600;
  color: #000;
}

.w-7.h-7 > .text-white {
  font-size: 0;  /* hide J */
}

.w-7.h-7 > .text-white::after {
  content: "H";
  font-size: 14px;
  color: #fff;
}

.w-8.h-8 > .text-white {
  font-size: 0;  /* hide J */
}

.w-8.h-8 > .text-white::after {
  content: "H";
  font-size: 14px;
  color: #fff;
}