* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #E82FA1;
  --dark-blue: #305C89;
  --star: #E8D100;
  --bg: #edefff;
  --text: #333;
  --radius: 20px;
  --section-gap: 80px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.sfycust-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 80px;
}

.sectionblk {
  padding: var(--section-gap) 0;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* ============ SECTION 1: Feature cards ============ */
/* .features .sfycust-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
} */

.feature-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 200px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 48px;
}

.feature-card:last-child {
  margin-bottom: 0;
}

.feature-card.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.feature-card.reverse .feature-text {
  order: 2;
}

.feature-card.reverse .feature-img {
  order: 1;
}

.sectionblk.features .feature-text {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  width: auto;
}

.feature-card.reverse .feature-text {
  align-items: flex-start;
}

.feature-text h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1;
  color: #000000;
}

.feature-text p {
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  text-align: right;
}

.feature-card.reverse .feature-text p {
  text-align: left;
}

.feature-img {
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ SECTION 2: Usage swiper ============ */
.sectionblk.usage {
  position: relative;
  overflow: hidden;
}

.usagesec-logo img {
  margin: 0 auto 16px;
}

.usage-swiper {
  padding-bottom: 60px !important;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.usage-card {
  background: #EDD7F4;
  overflow: hidden;
  height: auto !important;
  padding: 12px;
}

.usage-card.second {
  background: #C8CEEF;
}

.usage-card.third {
  background: #E3E9FE;
}

.usage-img {
  /* background: #5D7A5A; */
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.usage-img img {
  max-height: 100%;
  object-fit: cover;
  width: 100%;
}

.usage-body {
  padding: 20px 0;
}

.usage-body h4 {
  color: #073B6A;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.usage-body p {
  font-size: 16px;
  font-weight: 400;
  color: #073B6A;
}

.usage .swiper-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 10;
}

.usage .swiper-button-prev,
.usage .swiper-button-next {
  position: relative;
  width: 22px;
  height: 22px;
  background: transparent;
  margin: 0;
  color: var(--primary);
}

.usage .swiper-button-prev::after,
.usage .swiper-button-next::after {
  content: '';
  font-size: 16px;
  font-weight: 700;
  position: absolute;
  width: 20px;
  height: 22px;
  background: url(../images/swiperarows.svg) no-repeat center center;
  background-size: 100%;
  background-position: center;
}

.usage .swiper-button-prev::after {
  transform: rotate(180deg);
}

/* ============ SECTION 3: Video ============ */
.video-wrapper {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  /* width: 80px;
  height: 80px;
  border-radius: 50%;
  border: transparent;
  background: transparent;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.2s; */
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* .play-btn:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  color: var(--primary);
} */

.video-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #000000;
}

.video-desc {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  color: #000000;
}

/* ============ SECTION 4: Table ============ */
.table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 24px;
  border: 2px solid #D6DEE7;
  display: block;
  margin-top: 20px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  overflow: hidden;
  min-width: 600px;
}

.compare-table thead th {
  background: var(--dark-blue);
  color: #fff;
  padding: 16px 20px;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-left: 2px solid #D6DEE7;
}

.compare-table thead th:first-child {
  border-left: none;
}

.compare-table tbody td {
  padding: 16px 20px;
  border-bottom: 2px solid #D6DEE7;
  font-size: 18px;
  color: #000;
  border-left: 2px solid #D6DEE7;
  font-weight: 400;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td:first-child {
  border-left: none;
}

/* ============ SECTION 5: Fit ============ */
.sectionblk.fit-section {
  position: relative;
  overflow: hidden;
}

.fit-desc {
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
}

.fit-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fit-card {
  position: relative;
  background: #fff;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #D6DEE7;
}

.fit-img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--primary);
}

.fit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fit-content h4 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #000;
}

.fit-content p {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
}

/* ============ SECTION 6: Reviews ============ */
.reviews-swiper {
  padding-bottom: 60px !important;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.review-card {
  border-radius: 4px;
  background: #E3E9FE;
  padding: 24px;
  height: auto !important;
}

.stars {
  color: var(--star);
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 18px;
  font-weight: 400;
  color: #073B6A;
  margin-bottom: 20px;
  line-height: 1.2;
}

.verified {
  font-size: 16px;
  color: #073B6A;
  font-weight: 400;
}

.reviews .swiper-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 10;
}

.reviews .swiper-button-prev,
.reviews .swiper-button-next {
  position: relative;
  width: 22px;
  height: 22px;
  background: transparent;
  margin: 0;
  color: var(--primary);
}

.reviews .swiper-button-prev::after,
.reviews .swiper-button-next::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 22px;
  background: url(../images/swiperarows.svg) no-repeat center center;
  background-size: 100%;
  background-position: center;
}

.reviews .swiper-button-prev::after {
  transform: rotate(180deg);
}

/* ============ SECTION 7: FAQ ============ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.3s;
}

.faq-item.open {
  background: var(--dark-blue);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  text-align: left;
}

.faq-item.open .faq-q {
  color: #fff;
  font-weight: 600;
}

.faq-icon {
  transition: transform 0.3s;
  font-size: 18px;
}

.faq-item.open .faq-icon {
  transform: rotate(-90deg);
}

.faq-item .faq-icon img {
  filter: none;
  width: 6px;
}

.faq-item.open .faq-icon img {
  filter: brightness(0) invert(1);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  font-weight: 400;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 20px 16px;
}

/* ============ RESPONSIVE ============ */
@media only screen and (max-width: 1100px) {
  .sfycust-container {
    padding: 0 16px;
  }
}

@media only screen and (max-width: 1024px) {
  .sec-product.antibacteria-panty.panty-product {
    background-size: 50% !important;
    padding-bottom: 10rem;
  }
}

@media only screen and (max-width: 768px) {
  :root {
    --section-gap: 50px;
  }

  .section-title {
    font-size: 25px;
  }

  /* Section 1: stack cards, image on top */
  .feature-card,
  .feature-card.reverse {
    grid-template-columns: 1fr;
  }

  .feature-card .feature-img,
  .feature-card.reverse .feature-img {
    order: 1;
  }

  .feature-card .feature-text,
  .feature-card.reverse .feature-text {
    order: 2;
    padding: 24px;
    align-items: flex-start;
  }

  .feature-text p {
    text-align: left;
  }

  .feature-img {
    height: 220px;
  }

  /* Section 5: stack fit cards */
  .fit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fit-card {
    flex-direction: column;
    text-align: center;
  }

  .fit-img {
    width: auto;
    height: 100px;
  }

  .video-heading {
    font-size: 22px;
  }

  .video-desc {
    font-size: 16px;
  }

  .play-btn {
    width: 64px;
    height: 64px;
  }
}

@media only screen and (max-width: 576px) {
  .sectionblk {
    padding: 40px 0;
  }

  .sectionblk.features .feature-text {
    padding: 24px 16px 16px 16px;
  }

  .sectionblk.features .feature-text {
    align-items: flex-start;
  }

  .feature-card {
    margin-bottom: 32px;
  }

  .feature-card .feature-text,
  .feature-card.reverse .feature-text {
    padding: 16px;
  }

  .feature-text h3 {
    font-size: 22px;
  }

  .feature-text p {
    font-size: 15px;
  }

  /* .sectionblk.usage .swiper-nav,
  .section.reviews .swiper-nav {
    display: flex !important;
  } */

  .compare-table thead th {
    padding: 14px 18px;
    font-size: 14px;
  }

  .compare-table tbody td {
    padding: 14px 18px;
    font-size: 12px;
  }

  .fit-desc {
    font-size: 16px;
  }

  .fit-content h4 {
    font-size: 22px;
  }

  .fit-content p {
    font-size: 14px;
  }

  .reviews-swiper {
    margin-top: 24px;
  }

  .review-card p,
  .faq-q {
    font-size: 16px;
  }

  .verified,
  .faq-a {
    font-size: 14px;
  }

  .faq-q {
    padding: 14px 12px;
  }

  .faq-item.open .faq-a {
    max-height: 100%;
    padding: 0 12px 16px;
  }

  .sec-product.antibacteria-panty.panty-product {
    background-size: 60% !important;
    padding-bottom: 5rem;
  }

  .usagesec-logo img {
    width: 45%;
  }
}

/* .panty-product{
    background-image: url("../images/curvebg.png") !important;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
} */
.panty-product .gallery-main .swiper-wrapper {
  margin-bottom: 15px;
}

.panty-product .gallery-main .swiper-slide {
  border-radius: 24px;
  overflow: hidden;
}

.panty-product .gallery-main .swiper-button-next {
  background: url("../images/swipernavdarkbtn.svg") center no-repeat !important;
  background-size: 20px !important;
  filter: invert(0) !important;
}

.panty-product .gallery-main .swiper-button-prev {
  background: url("../images/swipernavdarkbtn.svg") center no-repeat !important;
  filter: invert(0) !important;
  background-size: 20px !important;
  transform: rotate(180deg);
}

.sec-product.antibacteria-panty {
  background-image: url("../images/curvebg.png") !important;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: auto !important;
  padding-bottom: 20rem;
}

.sectionblk.sec-moreprod .prod-item {
  background: #00000014 !important;
}

/* more products  */
.moreproducts {
  position: relative;
  overflow: hidden;
}

.moreproducts .usage-img img {
  width: 70%;
}

.moreproducts .usage-body {
  text-align: center;
}

.sectionblk.moreproducts .usage-card {
  background: #d9dceb !important;
}

.moreproducts .usage-body p {
  color: #000 !important;
}

.moreproducts .usage-body p strong {
  font-weight: 700;
}

.moreproducts .otherproducts-swiper {
  padding-bottom: 60px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.moreproducts .swiper-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 10;
}

.moreproducts .swiper-button-prev,
.moreproducts .swiper-button-next {
  position: relative;
  width: 30px;
  height: 30px;
  background: transparent;
  margin: 0;
  color: var(--primary);
}

.moreproducts .swiper-button-prev::after,
.moreproducts .swiper-button-next::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: url(../images/otherproudcnav.svg) no-repeat center center;
  background-size: 100%;
  background-position: center;
}

.moreproducts .swiper-button-prev::after {
  transform: rotate(180deg);
}

/* this css is used for removing padding from the video thumbnail targetting id from product_detail_panty.php file (/product/sofy-antibacteria-period-panty/sofy-antibacteria-period-panty/) - Shivam gaur(21-07-2026) */

div#remove105paddingparent img#remove105padding {
  padding-bottom: 0%;
}


/* custom style for sofy antibacteria period-panty (21-07-2026) - Anurag */

.usage-img.period-card-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

#period-panty-usage-guide-1 {
  background-color: #EDD7F4;
}

#period-panty-usage-guide-2 {
  background-color: #C8CEEF;
}

#period-panty-usage-guide-3 {
  background-color: #E3E9FE;
}


/* custom style for sofy antibacteria period-panty (21-07-2026) - Shivam */
#sofy-antibacteria-period-panty-pads-quantity {
  background-color: #343434;
  border-color: #343434;
}

.sec-product.panty-product ul li a:hover,
.sec-product.panty-product ul li.active a {
  color: #fff;
  background: #343434;
}

.btn-img {
  background: url(../images/btn-anti.png) no-repeat;
}

.gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
  border: 1px solid #fff;
  padding: 1px;
  border-radius: 5px;
  overflow: hidden;
}

.gallery-thumbs .swiper-slide img {
  padding: 1px !important;
  border-radius: 4px !important;
  background: transparent !important;
}

.gallery-thumbs.swiper-container-vertical>.swiper-wrapper {
  margin-top: 0 !important;
}

.sectionblk.usage .swiper-button-prev::before, .sectionblk.usage .swiper-button-next::before, 
.sectionblk.reviews .swiper-button-prev::before, .sectionblk.reviews .swiper-button-next::before,
.sectionblk.moreproducts .swiper-button-prev::before, .sectionblk.moreproducts .swiper-button-next::before{
  content: none !important;
}