html, body {
  overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap');

/* ---------- Section Headers with Centered Rails ---------- */
/* ---------- Section Headers with Centered Rails ---------- */
.section-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
}

.section-line {
  flex: 1;
  height: 2px;
  background-color: #f1c40f;
}

.section-title {
  margin: 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}


#section-video-banner-moochie {
  margin-top: 0 !important;
  margin-bottom: 20px;
}

#section-video-banner-moochie .row-moochie {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
}

#section-video-banner-moochie .row-moochie .moochie-col {
  flex: 1 1 50%;
  padding: 0;
}

#section-video-banner-moochie video,
#section-video-banner-moochie img {
  width: 100%;
  height: auto;
  display: block;
}

#section-middle-save-banner {
  padding: 0;
  margin: 20px 0;
}

#section-middle-save-banner .fullwidth-image {
  display: block;
  width: 100dvw;
  margin-left: calc(50% - 50dvw);
  height: auto;
}

@supports (width: 100dvw) {
  #section-middle-save-banner .fullwidth-image {
    width: 100dvw;
    margin-left: calc(50% - 50dvw);
  }
}

.aligned-container {
  width: 100%;
  max-width: 1750px;
  margin: 30px auto;
  padding: 0;
  box-sizing: border-box;
}

.banner_totw {
  display: block;
  width: 100%;
  height: auto;
  margin: 30px 0;
}

.banner_monge {
  display: block;
  width: 100%;
  height: auto;
  margin: 30px 0;
}

.kitkatsoya {
  display: block;
  width: 100%;
  height: auto;
  margin: 30px 0;
}

.odourlock-banner {
  margin: 0 0 10px !important;
  padding-bottom: 0;
}

#custom-under-banner-box {
  padding: 40px;
  margin: 0;
  text-align: center;
}
#custom-under-banner-text {
  margin: 0 0 10px 0;
  font-size: 40px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
#longer-text-under-banner {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.aligned-container .video-left video,
.aligned-container .video-right img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-left  { padding: 5px; }
.video-right { padding:  5px; }

/* Desktop / Default Styles */

.video-products-container {
  text-align: center;
  padding: 0;
}

.video-item {
  display: inline-block;
  width: 240px;
  height: 460px;
  margin: 10px;
  vertical-align: top;
  position: relative;
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
}

/* Modal Styles */

.vps-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.vps-modal-content {
  width: 600px;
  height: 600px;
  margin: 40px auto;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.vps-modal-left {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.vps-modal-left video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vps-modal-right {
  width: 50%;
  height: 100%;
  display: grid;
  grid-template-rows: 150px 60px 200px 60px auto;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  overflow: hidden;
}

#vps-modal-image {
  grid-row: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#vps-modal-title {
  grid-row: 2;
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#vps-modal-description {
  grid-row: 3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em;
  max-height: calc(1.2em * 4);
}

#vps-modal-price {
  grid-row: 4;
  margin: 0;
  color: red;
  font-weight: bold;
  font-size: 2em;
}

#vps-modal-price .price-currency {
  font-size: 0.6em;
  margin-left: 3px;
}

#vps-add-to-cart-btn {
  grid-row: 5;
  align-self: end;
  margin-bottom: 20px;
  background-color: #007bff;
  border: none;
  color: #fff;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 10px;
  text-align: center;
  display: inline-block;
  transition: background-color 0.2s ease-in-out;
}
#vps-add-to-cart-btn:hover {
  background-color: #0056b3;
}

.vps-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  font-weight: bold;
}

.vps-nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
}

.vps-left-arrow { left: 20px; }
.vps-right-arrow { right: 20px; }

#vps-modal-price .currency {
  font-size: 0.2em;
  margin-left: 5px;
}

/* Banner Wrapper */

.banner-wrapper {
  max-width: 1670px;
  margin: 20px auto;
  display: block;
}

.banner-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile Overlay (TikTok‑Style) */

.tiktok-overlay {
  scroll-snap-type: y mandatory;
  scroll-padding: 0;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  z-index: 9999;
  overflow-y: auto;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.tiktok-overlay::-webkit-scrollbar { display: none; }

.tiktok-slides {
  display: flex;
  flex-direction: column;
}

.tiktok-slide {
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.tiktok-slide video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 100px);
  object-fit: cover;
  object-position: bottom;
  z-index: 1;
}

.tiktok-slide .bottom-bar {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 10px;
  z-index: 2;
}

.tiktok-slide .bottom-bar-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 10px;
}

.tiktok-slide .bottom-bar-info h4 {
  font-size: 16px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tiktok-slide .bottom-bar-price {
  font-size: 14px;
  color: #ffd700;
}

.tiktok-slide .bottom-bar-button {
  margin-left: auto;
  background-color: #ff0055;
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
}

.tiktok-close-btn {
  position: fixed;
  top: 120px;
  right: 10px;
  font-size: 30px;
  color: rgb(255, 0, 0);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 9999999;
}

.video-products-section {
  margin-top: 0px !important;
}

.home-best-sellers {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ── ENLARGE SECTION TITLES ── */
/* Double the base size (from 1.75rem → 3.5rem) */
.section-title {
  font-size: 3.5rem;
}

@media (max-width: 991px) and (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.social-banner {
  display: block;
  width: 100%;       /* Let it fill its parent container */
  max-width: 1500px; /* Desktop max width */
  margin: 20px auto; /* Center horizontally with 20px top/bottom margin */
}

.social-banner-img {
  width: 100%;
  height: auto;
}

.desktop-only { display: none; }
.mobile-only { display: none; }

/* MOBILE CAROUSELS & DOT‑NAVS */
@media (max-width: 767px) {

  .desktop-only { display: none; }
  .mobile-only { display: inline; }
  .social-banner {
    /* Narrower container on mobile */
    max-width: 550px;   /* or 90% if you prefer relative width */
    margin: 0 0 !important;  /* still centered, smaller top/bottom margin */
    max-height: 160px;;
  }
  /* Optionally adjust the image if needed */
  .social-banner-img {
    width: 100%;  /* fill the container’s new width */
    height: auto;
  }

  .section-title {
    font-size: 1.75rem;
  }

  /* — Best Sellers — */
  .home-best-sellers-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-bottom: 30px;
    overflow: hidden;
  }
  .home-best-sellers {
    display: flex;
    width: 100vw;
    margin: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .home-best-sellers::-webkit-scrollbar {
    display: none;
  }
  .home-best-sellers > * {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    scroll-snap-align: start;
  }
  .best-sellers-indicator {
    min-height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    pointer-events: none;
    z-index: 9999;
  }
  .best-sellers-indicator .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s;
    pointer-events: auto;
  }
  .best-sellers-indicator .dot.active {
    background: #000;
  }

  /* — Best Offers — */
  .home-offer-products-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-bottom: 30px;
    overflow: hidden;
  }
  .home-offer-products {
    display: flex;
    width: 100vw;
    margin: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .home-offer-products::-webkit-scrollbar {
    display: none;
  }
  .home-offer-products > * {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    scroll-snap-align: start;
  }
  .best-offers-indicator {
    min-height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    pointer-events: none;
    z-index: 9999;
  }
  .best-offers-indicator .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s;
    pointer-events: auto;
  }
  .best-offers-indicator .dot.active {
    background: #000;
  }

  /* — Latest Products — */
  .home-latest-products-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-bottom: 30px;
    overflow: hidden;
  }
  .home-latest-products {
    display: flex;
    width: 100vw;
    margin: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .home-latest-products::-webkit-scrollbar {
    display: none;
  }
  .home-latest-products > * {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    scroll-snap-align: start;
  }
  .latest-products-indicator {
    min-height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    pointer-events: none;
    z-index: 9999;
  }
  .latest-products-indicator .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s;
    pointer-events: auto;
  }
  .latest-products-indicator .dot.active {
    background: #000;
  }

  /* Prevent iOS fullscreen on tap */
  .tiktok-slide video {
    pointer-events: none;
  }

  #section-best-sellers {
    margin-top: 20px !important;
    padding-top: 10px !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
  }
  #section-best-sellers .ps-home-header {
    padding-bottom: 0 !important;
  }
  .fullwidth-image {
    margin-top: 0px !important;
  }
  .video-products-section {
    margin-top: 0px !important;
    padding-top: 0px !important;
  }
  .video-products-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
  }
  .video-products-container .video-item {
    flex: 0 0 auto;
    margin-right: 12px;
    scroll-snap-align: center;
  }
  .video-products-container .video-item:last-child {
    margin-right: 0;
  }
  #section-video-banner-moochie .row-moochie {
    flex-direction: column;
  }
  #section-video-banner-moochie .row-moochie .moochie-col + .moochie-col {
    margin-top: 0px;
  }
 
  .banner_totw {
    margin: 20px 0;
  }
    .banner_monge {
    margin: 20px 0;
  }

    .kitkatsoya {
    margin: 20px 0;
  }
  .odourlock-banner {
    margin-top: 0;
  }
  .tiktok-slide {
    height: 100dvh;
    margin: 0;
  }
  .tiktok-slide video {
    height: calc(100dvh - 50px) !important;
  }
  .tiktok-overlay {
    background: transparent !important;
    padding-bottom: 0 !important;
  }
  .tiktok-slide video {
    top: 60px !important;
    height: calc(100dvh - 50px) !important;
  }
  .tiktok-slide .bottom-bar {
    bottom: 10px !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #fff;
  }
  .aligned-container {
    margin: 20px auto;
  }
  .video-left  { padding-right: 2px; }
  .video-right { padding-left:  2px; }
  #custom-under-banner-box {
    padding: 10px;
    margin: 0;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .desktop-only { display: inline; }
  .mobile-only { display: none; }
  .video-left  { padding-right: 10px; }
  .video-right { padding-left:  10px; }
  .aligned-container {
    width: 100%;
    max-width: 1750px;
    margin: 30px auto;
    padding: 0;
    box-sizing: border-box;
  }
  .banner_totw {
    display: block;
    width: 100%;
    height: auto;
    margin: 30px 0;
  }

    .banner_monge {
    display: block;
    width: 100%;
    height: auto;
    margin: 20px 0;
  }
      .kitkatsoya {
    display: block;
    width: 100%;
    height: auto;
    margin: 30px 0;
  }
}
