.product-page {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

/* Slider */
.product-slider {
  width: 100%;
  border: 1px solid #eee;
  margin-bottom: 20px;
  border-radius: 4px;

  /* FIX for iPhone white gap/crop */
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
}

.product-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-slider .swiper-wrapper {
  height: auto !important;
}


.product-slider img {
  width: 100%;
  height: auto;              /* IMPORTANT */
  object-fit: contain;       /* no crop */
  object-position: center;
  display: block;
  background: #fff;
}


/* Position pagination dots centered, near bottom of slider */
.swiper-pagination {
    /*position: absolute;*/
            
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 5px 12px;
    border-radius: 12px;
}

/* Product Info */
.product-title {
    color: #222;
    font-size: 1.8rem;
    margin-top: 15px;
     font-weight: 500;
    
}
.product-price-1{
  display:flex;
  gap:6px;
  align-items:baseline;
  text-align: left;
  color:#222;
  font-weight:600;
  font-size: 20px;
  margin:0 0 10px;
}
.product-price-1 .mrp-1{ color:#777; text-decoration:line-through; font-size:15px;  }
.product-price-1 .off-1{ color:#a14c29; font-size: 16px; }





.product-price{
  display:flex;
  gap:4px;
  align-items:baseline;
  text-align: left;
  color:#222;
  font-weight:600;
  font-size: 13px;
  margin:0 0 10px;
}
.product-price .mrp{ color:#777; text-decoration:line-through; font-size:10px;  }
.product-price .off{ color:#a14c29; font-size: 11px; }

.in-stock {
    color: green;
}

.out-stock {
    color: red;
    font-weight: bold;
}
.quantity-section {
    margin-top: 15px;
}
.quantity-section {
  display: inline-flex;      
    align-items: center;          
    border: 1px solid #ccc;      
    overflow: hidden;       
}

.qty-btn {
   padding: 8px 12px;          
    background: #fff;         
    border: none;               
    color: black;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
}



.qty-display {
    display: inline-block;
    min-width: 20px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: #fff;
   color: #222;
    font-size: 14px;
    font-weight: 500;
}


.add-to-cart,
.buy-now {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    margin-bottom: 10px;
}

.add-to-cart {
    background: white;
    border: 1px solid #000;
    color: #000;
     margin-top:20px;
}

.buy-now {
    background: #5e2b90;
    color: white;
}
/*product-highlights*/
.product-highlights-table {
  border: 1px solid #ddd;
  border-radius: 6px;
  max-width: 400px;
  margin-top: 20px;
  background-color: #fff;
  padding: 15px;
  font-family: 'Arial', sans-serif;
}

.highlight-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}

.highlight-row:last-child {
  border-bottom: none;
}

.icon {
  font-size: 20px;
  color: #000; /* green color */
  margin-right: 12px;
  min-width: 25px;
  text-align: center;
}

.highlight-text {
  font-size: 15px;
  color: #333;
}

.highlight-text a {
  color: #007BFF;
  text-decoration: none;
}

.highlight-text a:hover {
  text-decoration: underline;
}

p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #5a4b44;
}
.additional-info {
    margin: 20px 0;
}
.accordion-content {
   
    
}
.accordion {
    border-top: 1px solid #ccc;
    
    
}
.accordion-content a {
    color: inherit; /* Inherits color from parent, or you can set your preferred color */
    text-decoration: none; /* Removes underline if you want */
}
.accordion-item {
    border-bottom: 1px solid #ccc;
}

.accordion-header {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 15px 0;
   font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.accordion-content {
     line-height: 1.5;
    display: none;
    padding: 10px 0;
   font-size: 15px;
    /*color: #555;*/
}
/*For sold out*/
.product-slider .swiper-slide{
  position: relative;
}


.sold-out-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,0,0,0.8);
    color: #fff;
    padding: 6px 12px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
    font-size: 0.9rem;
}
/* Container for color options */
.product-colors {
    margin-top: 15px;
}

.product-colors .option-label {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Color option wrapper */
.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.color-option.selected {
    border: 2px solid #000;
    border-radius: 5px;
    padding: 2px;
}
/* Each color item */
.color-option {
    display: inline-block;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease-in-out;
    width: 48px;   /* Thumbnail size */
    height: 60px;
    position: relative;
}

/* The color image */
.color-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hide the input */
.color-option input {
    display: none;
}

/* Selected effect */
.color-option.selected {
    border-color: #000; /* Black border like Myntra */
}

/* Hover effect */
.color-option:hover {
    border: 2px solid #000;
    border-radius: 5px;
    padding: 2px;
}
p.option-label {
    margin-bottom: 8px;
        font-weight: 600;
}
.product-sizes {
    margin-top: 15px;
}
.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
p#sizeError {
    margin-top: 5px;
}
.size-option {
    display: flex;                 /* Always center text */
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    min-width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 14px;
    background: #fff;
    transition: all 0.2s ease;
}
span {
    color: #000;
}
.size-option input {
    display: none; /* Hide radio */
}

/* Full box change when selected */
.size-option input:checked + span {
    color: white;
}

.size-option input:checked + span,
.size-option input:checked ~ span {
    color: white;
}

.size-option input:checked {
    /* nothing needed here */
}

.size-option input:checked + span {
    width: 100%;
    height: 100%;
}

/* The magic: change label styles when selected */
.size-option input:checked + span {
    background: #222;
   
}
.accordion-content a {
 
  text-decoration: underline; /* Underlined */
  cursor: pointer;      /* Pointer cursor on hover */
  transition: color 0.3s ease;
}

.accordion-content a:hover {
  color: #0056b3;       /* Darker blue on hover */
  text-decoration: none; /* Remove underline on hover (optional) */
}
.accordion-content {
    margin-bottom: 30px;
}

/* Optional hover */
.size-option:hover {
    border-color: #000;
}

.size-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
h3 {
    margin-top: 30;
    font-size: 16px;
    color: #000;
}
    
    
    
.product-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.share-icon-btn {
  position: static; /* remove absolute */
  font-size: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease;
}

.share-icon-btn:hover {
  color: #007BFF;
}
/* Products */
.products {
    padding: 1rem;
    text-align: center;
}
.products h2 {
   margin-bottom: 15px;
    font-weight: bold;
}
.product-grid{
  display:flex;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:10px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  

}

.product-grid::-webkit-scrollbar{ display:none; }
.product-list::-webkit-scrollbar {
  display: none;  /* Chrome, Safari */
}


.product-card{
  flex:0 0 auto;
  width:170px;
  padding: .5rem;
  border:1px solid #eee;
  border-radius:8px;
  overflow:hidden;
  background-color: #fdf7f1;
 
}
.product-card img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
}
.product-card:hover {
    transform: scale(1.02);
}
.product-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
  margin: 4px 0;
 text-align: left;
}




.rating-summary{display:grid;grid-template-columns:140px 1fr;gap:16px;margin:16px 0}
.rating-summary__avg{font-size:2rem;font-weight:700}
.rating-summary__stars{font-size:1.2rem;letter-spacing:2px;margin-top:4px}
.rating-summary__count{color:#555;margin-top:2px}
.bar-row{display:flex;align-items:center;gap:8px;margin:4px 0}
.bar-row .label{width:46px;text-align:right}
.bar-row .bar{flex:1;height:8px;background:#eee;border-radius:4px;overflow:hidden}
.bar-row .bar>span{display:block;height:100%;background:#222}
.bar-row .pct{width:40px;text-align:left;color:#555;font-size:.9rem}


.reviews { margin-top: 24px;  }
.reviews__title { font-size: 20px; margin-bottom: 12px; }
.review { padding: 12px 0; border-top: 1px solid #eee; }
.review:first-child { border-top: 0; }
.review__head { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.review__user { font-weight:600; }
.review__date { color:#777; font-size:12px; }
.review__stars { margin-left:auto; font-size:14px; min-width:90px; text-align:right; }
.review__title { font-weight:600; margin-top:6px; }
.review__body { margin-top:6px; line-height:1.5; }
.review-photos { display:flex; gap:8px; margin-top:8px; }
.review-photos img { width:72px; height:72px; object-fit:cover; border:1px solid #ddd; border-radius:6px; }
.reviews__paginate { margin-top:12px; }


.product-rating-chip{
  display:inline-flex;align-items:center;gap:6px;
  font-size:14px; line-height:1;
  background:#f6f0ff; color:#3c2b57;
  border-radius:999px; padding:6px 10px; margin-top:8px;
  text-decoration:none;
}
.product-rating-chip .star{ color:#f5a623; margin-right:2px; }
.product-rating-chip .sep{ color:#b9b9b9; margin:0 2px; }
.product-rating-chip:hover{ filter:brightness(0.95); }




/* Photoswipe: solid background (black). Change to #fff for white. */
.pswp { z-index: 99999; --pswp-bg: #000; } /* #fff for white */
.pswp__bg { background: #000 !important; opacity: 1 !important; }


.wa-order-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  padding:14px 16px;
  margin:14px 0 6px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  border:1px solid rgba(0,0,0,0.08);
  background:#25D366;
  color:#fff;
}

.wa-order-btn i{
  font-size:20px;
}

.wa-helper-text{
  margin:0 0 12px;
  font-size:13px;
  opacity:0.75;
}

