@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500;600;700&display=swap');

/* product-custom.css - base styles for custom product page */

.container { max-width:1200px; margin:0 auto; padding:0 20px; box-sizing:border-box; }
.product-top-wrap {
  display: flex;
  gap: 32px;
  padding: 28px 200px;
  align-items: flex-start;
  position: relative;
}

.product-left { 
    flex:1 1 50%;
    min-width:320px; 
     position: sticky;
  top: 120px;
  align-self: flex-start;
}
.product-right { flex:0 1 50%; }

/* Gallery */
/*.custom-gallery {*/
/*    display: flex;*/
/*    gap: 20px;*/
/*    align-items: flex-start;*/
/*}*/
/*.custom-gallery .main-image {*/
/*    flex: 1;*/
/*}*/

/*.custom-gallery .main-image img {*/
/*    width: 100%;*/
/*    border-radius: 14px;*/
/*    box-shadow: 0 12px 40px rgba(0,0,0,0.12);*/
/*}*/

/* ===== Base ===== */
.custom-gallery {
  position: relative;
  width: 100%;
}

.main-img {
  transition: opacity 0.15s ease;
}


.gallery-main {
  display: flex;
  flex-direction: column;
}

.main-image {
  position: relative;
}

.main-img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* ===== Overlay thumbnails ===== */
.thumbs-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

/* ===== Below thumbnails ===== */
.thumbs-below {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
}

/* ===== Thumbnail item ===== */
.thumb-item {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  opacity: 0.6;
  transition: transform .2s ease, opacity .2s ease, outline .2s ease;
}

.thumb-item-below {
    margin: 4px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  opacity: 0.6;
  transition: transform .2s ease, opacity .2s ease, outline .2s ease;
}

.thumb-item-below img {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  opacity: 0.6;
  transition: transform .2s ease, opacity .2s ease, outline .2s ease;
}

.thumb-item-below.is-active {
  opacity: 1;
  outline: 2px solid #3c2bb8;
}

.thumb-item-below:hover {
  transform: scale(1.05);
  opacity: 1;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active */
.thumb-item.is-active {
  opacity: 1;
  outline: 2px solid #3c2bb8;
}

/* Hover */
.thumb-item:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* ===== Mobile behavior ===== */
@media (max-width: 768px) {
  .thumbs-overlay {
    display: none;
  }
}


/* Stock pill */

.stock-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  z-index: 5;
}

/* Dot */
.stock-pill .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7A7A7A;
}


/*.custom-gallery .thumbs {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 12px;*/
/*    width: 80px;*/
/*}*/

/*.custom-gallery .thumb { width:72px; height:72px; overflow:hidden; border-radius:8px; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,0.06); }*/
/*.custom-gallery .thumb img {*/
/*    border-radius: 10px;*/
/*    width: 100%;*/
/*    height: 80px;*/
/*    object-fit: cover;*/
/*    cursor: pointer;*/
/*    transition: 0.2s;*/
/*}*/

/*.custom-gallery .thumb:hover img,*/
/*.custom-gallery .thumb.active img {*/
/*    outline: 2px solid #3c2bb8;*/
/*}*/
/* Summary */
.custom-product-summary { padding:6px 0; }
.product-badges .badge { display:inline-block; padding:6px 10px; border-radius:18px; background:#eef6f3; color:#0b6b4a; font-size:13px; margin-bottom:8px; }
.product-title { font-size:28px; font-weight:700; margin:8px 0; }
.rating-and-reviews { display:flex; gap:10px; align-items:center; margin-bottom:10px; }
.price-box .woocommerce-Price-amount { font-size:28px; font-weight:700; color:#2e2a9b; }
.product-excerpt { margin:14px 0; color:#555; line-height:1.5; }

.info-cards { display:flex; gap:10px; margin-bottom:16px; flex-wrap:wrap; }
.info-card { background:#f5f5ff; padding:10px 14px; border-radius:10px; box-shadow:0 6px 18px rgba(46,42,155,0.06); }

/* Add to cart form */
.custom-add-to-cart { margin-top:8px; display:flex; gap:12px; align-items:center; }
.single_add_to_cart_button { background:#2f2aa8; color:#fff; padding:12px 18px; border-radius:8px; border:none; cursor:pointer; width: 100%; text-transform: capitalize !important;}

/* Tabs / Layers */
.product-info-layers { padding:30px 0; background: #3e2ea8; color:#fff; }
.layers-tabs { display:flex; gap:20px; align-items:flex-start; }
.layers-left { flex:0 0 38%; padding:18px; }
.layers-left .tabs { display:flex; gap:8px; margin-top:18px; flex-wrap:wrap; }
.layers-left .tab { background:rgba(255,255,255,0.12); color:#fff; padding:8px 12px; border-radius:20px; border:none; cursor:pointer; }
.layers-left .tab.active { background:#fff; color:#3a2a9b; font-weight:700; }

.layers-right { flex:1; background:#fff; color:#222; border-radius:12px; padding:20px; }
.layer-list { list-style:none; padding:0; margin:0; }
.layer-list li { padding:12px 0; border-bottom:1px solid #f0f0f0; }



.product-info-section {
  background: #9c8cd1; /* purple */
  padding: 60px 20px;
  color: #ffffff;
}

.product-info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.product-info-left {
  flex: 1 1 40%;
  min-width: 280px;
}

.product-info-left h2 {
  font-size: 32px;
  line-height: 1.3;
  margin: 10px 0;
  color: #fff;
}

.product-info-left strong {
  font-weight: 700;
}

.product-info-right {
  flex: 1 1 55%;
  min-width: 300px;
}

.product-info-right p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}


/* SECTION BACKGROUND */
.product-layers-section {
  background:#3e2ea8;
  padding:60px 20px;
  color:#fff;
  text-align:center;
}

/* HEADING */
.layers-title {
  font-size:36px;
  font-weight:600;
  color:#fff;
}
.layers-title span { font-weight:300; }

.layers-subtitle {
  max-width:650px;
  margin:10px auto 30px;
  opacity:0.9;
}

/* TABS */
.layers-tabs-nav {
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:30px;
}

.layers-tab {
  padding:10px 20px;
  border-radius:30px;
  background:rgba(255,255,255,0.15);
  border:1px solid rgba(255,255,255,0.3);
  color:#fff;
  cursor:pointer;
  transition:0.3s;
  font-size:15px;
}

.layers-tab.active,
.layers-tab:hover {
  background:#fff;
  color:#3e2ea8;
}

/* WHITE CARD */
.layers-card {
  background:#fff;
  border-radius:20px;
  padding:40px;
  max-width:1100px;
  margin:0 auto;
  color:#333;
}

/* GRID */
.layers-grid {
  display:flex;
  gap:40px;
  align-items:flex-start;
  justify-content:space-between;
}

.layer-list {
  list-style:none;
  padding:0;
  margin:0;
}

.layer-list li {
  display:flex;
  align-items:flex-start;
  gap:15px;
  margin-bottom:22px;
}

.layer-list .number {
  background: #3e2ea8;
  color: #fff;

  width: 30px;
  height: 30px;
  min-width: 30px;        /* prevents shrink in flex layouts */

  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}


/* IMAGE */
.layer-img-wrapper {
  position:relative;
}

.layer-img { 
    border-radius:12px;
    max-width: 600px !important;
    position: absolute;
    right: 200px;
    bottom: 20px;
}

/* NUMBER TAGS ON IMAGE */
.img-tag {
  position:absolute;
  background:#3e2ea8;
  color:#fff;
  width:32px;
  height:32px;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  font-weight:600;
  font-size:16px;
}
.layer-img-wrapper.is-small .layer-img {
  max-width: 360px !important;
  opacity: 0.95;
  right: 350px;
    bottom: 0;
}

/* Position labels exactly like screenshot */
.tag-1 { bottom: 200px;
    right: 500px; }
.tag-2 { bottom: 250px;
    right: 400px; }
.tag-3 { bottom: 240px;
    right: 600px; }
.tag-4 { bottom: 300px;
    right: 500px; }
.tag-5 { bottom: 200px;
    right: 300px; }

.layer-panel:not(#layers) .img-tag {
  display: none;
}

/* PANEL HIDE/SHOW */
.layer-panel { display:none; }
.layer-panel.active { display:block; }

/* responsive */
@media (max-width:900px) {
  .product-top-wrap { flex-direction:column; padding: 28px 28px;}
  .layers-tabs { flex-direction:column; }
  .layers-left { order:2; }
  .layers-right { order:1; }
    .product-left {
    position: relative;
    top: auto;
  }
}

/* --- Review Section Layout --- */

.reviews-container{
    margin: auto;
    margin-top: 70px;
    margin-bottom: 40px;
    max-width: 1200px;
    padding: 20px 20px;
}

.reviews-wrapper {
  display: flex;
  gap: 40px;
}

.reviews-left {
  flex: 1;
}

.reviews-summary-box {
  width: 350px;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  text-align: center;
}

/* Title */
.reviews-title {
  font-size: 32px;
  font-weight: 400;
}
.reviews-title strong {
  font-weight: 700;
  color: #000000;
}

/* Single Review */
.single-review {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
}

.review-author {
  font-size: 20px;
  margin-bottom: 5px;
  color: #000000;
}

.review-rating{
    display: flex;
    /*margin-top: -8px;*/
}

.review-stars {
  color: #ff4d3b;
  margin-bottom: 10px;
}

.review-text {
  margin-bottom: 10px;
  font-size: 15px;
  color: #444;
}

/* Review images */
.review-images img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  margin-right: 6px;
  object-fit: cover;
}

/* Summary Right Box */
.summary-rating-number {
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
}

.summary-stars {
  margin-bottom: 20px;
}

/* Rating Distribution */
.rating-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rating-label {
  width: 12px;
}

.rating-bar {
  flex: 1;
  height: 8px;
  background: #eee;
  border-radius: 4px;
}

.rating-fill {
  height: 100%;
  background: #ff4d3b;
  border-radius: 4px;
}

.rating-value {
  width: 20px;
  text-align: right;
}

/* Load More Button */
.reviews-loadmore {
  background: #1d1f9b;
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}
.reviews-loadmore:hover {
  opacity: 0.85;
}


.review-write-btn {
  background: #6a0dad;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  margin-top: 20px;
  font-size: 15px;
}

.review-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.review-popup-box {
  background: #fff;
  padding: 25px;
  width: 420px;
  max-width: 90%;
  border-radius: 10px;

  position: fixed;                /* 🔥 key */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 9999;
}



.review-popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.popup-title {
  margin-bottom: 15px;
}

.popup-field {
  margin-bottom: 15px;
}

.popup-field input, 
.popup-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
}

.popup-stars span {
  font-size: 26px;
  cursor: pointer;
  color: #ccc;
}

.popup-stars span.active {
  color: #ff9100;
}

.popup-submit {
  background: #6a0dad;
  color: #fff;
  padding: 12px 20px;
  border: none;
  width: 100%;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.recommended-products-below-reviews {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}


.custom-product-summary-ui {
  padding: 20px 0;
  font-family: 'Inter', sans-serif;
}

.in-stock-badge {
  background: #e6f7ed;
  color: #0a8b3f;
  padding: 6px 14px;
  display: inline-block;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cps-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #535353;
}

.emi-text{
    font-size: 14px;
    margin-left: 10px;    
}

.cps-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.cps-review-count {
  font-size: 14px;
  opacity: 0.7;
}

.cps-price-box {
  background: #f7f7f7;
  padding: 15px 0;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 500 !important;
  margin-bottom: 20px;
}

.cps-excerpt {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cps-excerpt h6 {
    color: #5a5a5a;
    font-size: 14px;
    font-weight: 600;
}

.cps-info-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.cps-info-card {
  background: #f2f2f2;
  padding: 12px 15px;
  border-radius: 10px;
  border: solid 1px #dadada;
  font-size: 14px;
  flex: 1;
}

.cps-benefits {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;              /* better spacing */
  margin-bottom: 25px;
}

.cps-benefit-item {
  flex: 1;                /* 🔥 equal width */
  background: #f9f9f9;
  padding: 10px 15px;
  border-radius: 10px;
  text-align: center;     /* optional, looks cleaner */
  border: solid 1px #dadada;
}

.cps-benefit-item .text {
    font-size: 14px;
    line-height: 1.2rem;
    margin-top: 10px;
    color: #6c6c6c;
    text-align: left;
    
}

.cps-benefit-item .icon {
  display: flex;
}


.cps-benefit-item .icon img {
  height: 28px;
  object-fit: contain;
}

.cps-label {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}

.cps-size-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.cps-size-btn {
  padding: 8px 18px;
  background: #f2f2f2;
  font-weight: 400;
  color: #818181;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #ccc;
  transition: 0.2s;
}

.cps-size-btn.active {
    font-weight: 500;
      background: #f2f2f2;
  color: #818181;
  border-color: #3e2ea8;
}

/* Dropdown wrapper */
.cps-select-wrap {
  position: relative;
  width: 100%;
}

/* Select box */
.cps-size-dropdown {
  width: 100%;
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 12px;
  border: 1px solid #dadada;
  background: #f9f9f9;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Hover + focus */
.cps-size-dropdown:hover {
  border-color: #3e2ea8;
  background: #ffffff;
}

.cps-size-dropdown:focus {
  outline: none;
  border-color: #3e2ea8;
  box-shadow: 0 0 0 3px rgba(62, 46, 168, 0.15);
}

/* Custom arrow */
.cps-select-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

/* Disabled state (if needed later) */
.cps-size-dropdown:disabled {
  background: #eee;
  cursor: not-allowed;
  opacity: 0.7;
}


.cps-atc-wrap {
  margin-top: 20px;
  background: #fafafa;
  border-radius: 12px;
}

.cps-meta {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.7;
  display: flex;
  gap: 20px;
}

.cps-atc-form{
    margin-top: 20px;    
}

#specs .layer-list {
  max-width: 700px;
  padding: 0;
}

.woocommerce img, .woocommerce-page img{
    height: unset;
}

.woocommerce-review-link{
    display: none;
}

.variations_button .quantity{
    display: none !important;
}


.ast-button:focus, .ast-button:hover, .button:focus, .button:hover, button:focus, button:hover, input[type=button]:focus, input[type=button]:hover, input[type=reset]:focus, input[type=reset]:hover, input[type=submit]:focus, input[type=submit]:hover{
    /*color: #373896 !important;*/
     font-weight: 600 !important;
      background: #f2f2f2 !important;
  color: #818181 !important;
  border-color: #3e2ea8 !important;
}

.variations select[name="pa_basic_size"] {
    display: none !important;
}

/* Sticky Bar – NEW DESIGN (Matches Screenshot) */
.sticky-add-to-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f3f1f9; 
  border-top: 1px solid #ddd;
  transform: translateY(100%);
  transition: 0.35s ease;
  z-index: 9999;
  padding: 14px 0;
}

.sticky-add-to-cart.active {
  transform: translateY(0);
}

.sticky-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}

/* Left Title + Variant */
.sticky-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.variant-pill {
  padding: 6px 12px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  display: inline-block;
}

/* Price */
.sticky-price-box {
  font-size: 24px;
  font-weight: 700;
  margin-left: 20px;
}

/* Qty box */
.sticky-qty-box {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 40px;
  border: 1px solid #ccc;
  overflow: hidden;
  margin-right: 20px;
}

.qty-btn {
  border: none;
  background: transparent;
  color: #000000;
  padding: 10px 18px;
  font-size: 22px;
  cursor: pointer;
}

.sticky-qty {
  width: 50px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 15px;
}

/* Add to Cart button */
.sticky-add-btn {
  background: #3b32a8;
  color: #fff;
  border: none;
  padding: 14px 34px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}
.sticky-add-btn.disabled,
.sticky-add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}


.sticky-center{
    display: flex;
    align-items: center;
}

.cps-size-btn {
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  text-transform: capitalize;
}

.single_add_to_cart_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .product-top-wrap {
    padding: 28px 40px; /* reduce huge desktop padding */
  }
}

@media (max-width: 768px) {
  .product-top-wrap {
    flex-direction: column;
    padding: 20px;
    gap: 24px;
  }

  .product-left,
  .product-right {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .product-left {
    position: relative; /* disable sticky on mobile */
    top: auto;
  }
}

@media (max-width: 768px) {
  .custom-gallery .thumbs {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 14px;
  }

  .custom-gallery .thumb {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 768px) {
  .product-info-container {
    flex-direction: column;
    gap: 24px;
  }

  .product-info-left h2 {
    font-size: 26px;
  }

  .product-info-right p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .layers-tabs {
    flex-direction: column;
    gap: 20px;
  }

  .layers-left,
  .layers-right {
    width: 100%;
  }

  .layers-card {
    padding: 24px;
  }

  /* Disable floating image */
  .layer-img {
    position: static;
    max-width: 100% !important;
    margin-top: 20px;
  }
.layer-img-wrapper {
   display: none;
}
  /* Hide numbered tags on mobile */
  .img-tag {
    display: none;
  }
}

@media (max-width: 900px) {
  .reviews-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .reviews-summary-box {
    width: 100%;
  }

  .reviews-container {
    padding: 20px 16px;
  }
}

@media (max-width: 768px) {

  .sticky-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 12px 16px;
  }

  /* LEFT */
  .sticky-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .sticky-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
  }

  .variant-pill {
    font-size: 12px;
    padding: 4px 10px;
    align-self: flex-start;
  }

  /* CENTER */
  .sticky-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }

  .sticky-qty-box {
    flex: 0 0 auto;
  }

  .sticky-price-box {
    font-size: 18px;
    font-weight: 600;
    margin-left: auto;
  }

  /* RIGHT */
  .sticky-right {
    width: 100%;
  }

  .sticky-add-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    text-align: center;
    border-radius: 6px;
  }
}


@media (max-width: 768px) {
      .layer-list .number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 12px;
  }
  .review-popup-box {
    width: 100%;
    max-width: 340px;   /* ✅ smaller on mobile */
    padding: 20px;
  }
}

.cps-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.unit-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.unit-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;

  font-size: 14px;
  font-weight: 500;
  color: #8a8a8a;
  text-transform: lowercase;
  line-height: 1;
}

.unit-btn.active {
  color: #2f2aa8; /* same blue as screenshot */
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.unit-separator {
  color: #bdbdbd;
  font-weight: 400;
  user-select: none;
}
.unit-btn:hover {
  color: #2f2aa8;
}


@media (max-width: 768px) {
  .unit-switch {
    font-size: 13px;
  }

  .unit-btn {
    font-size: 13px;
  }
}

.layer-content {
  text-align: left;
}


/* Hide all layer descriptions */
.layer-content p {
  display: none;
}

/* Show only active one */
.layer-list li.active .layer-content p {
  display: block;
}

/* Optional active styles */
.layer-list li.active .number {
  background: #000;
  color: #fff;
}

.img-tag.active {
  background: #000;
  color: #fff;
  transform: scale(1.1);
}

.faq-content{
    text-align: left;
}

/* ===== FAQ SECTION ===== */
.product-faq-section {
  background: #ffffff;
  padding: 60px 20px;
    font-family: 'Epilogue', sans-serif;
}

.product-faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-title {
      font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  text-align: left;
  font-size: 28px;
  margin-bottom: 40px;
}

/* ===== Accordion ===== */
.faq-item {
  border-bottom: 1px solid #a8a8a8;
}
.faq-question {
  font-family: 'Epilogue', sans-serif;
  font-weight: 500;
}

.faq-answer {
  font-family: 'Epilogue', sans-serif;
  font-weight: 400;
}

.faq-question {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 18px 0;
  display: flex;
  color: #474747;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  text-transform: capitalize;
}

.faq-question span:first-child {
  max-width: 90%;
}

.faq-icon {
  font-size: 22px;
  transition: transform 0.25s ease;
}

/* Answer */
.faq-answer {
  display: none;
  padding: 10px 0 18px 0;
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  overflow: visible; /* ensure content can show */
}


/* Active state */
.faq-item.active .faq-answer {
  display: block;
}


.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Mobile */
@media (max-width: 768px) {
  .faq-title {
    font-size: 24px;
  }
}

.cps-firmness-image {
  margin: 18px 0 26px;
  text-align: left;
}

.cps-firmness-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.cps-firmness-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #333;
}

.cps-feature-row {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap; /* wraps on small screens */
}

.cps-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;

  border: solid 1px #dadada;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;

  flex: 1;
  min-width: 180px;
}

.cps-feature-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cps-feature-text {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}
.cps-upcoming-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 12px;
}

.cps-upcoming-disabled {
  pointer-events: none !important;
  opacity: 0.6;
  cursor: not-allowed;
}

