/* Product page Styles */

/* Ensure body and html take full height */
html, body {
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
}
::-webkit-scrollbar {
  display: none;
}
/* Make the main content section expand to push footer down */
.container {
    flex: 1;
}


/* Prevent content overflow */
.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1300px;
}
.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4.2vw;
  align-items: stretch;
  max-width: 1280px;
  margin: 3vw auto 0 auto;
  padding: 40px 2vw 40px 2vw;
  border: solid 1px #e8e8e8;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  animation: cardSlideIn 0.8s cubic-bezier(.43,1.5,.35,1) 0.1s 1;
}
@keyframes cardSlideIn {
  0% { opacity: 0; transform: translateY(40px) scale(.97);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}
.product-image {
  flex: 1 1 500px;
  min-width: 340px;
  max-width: 500px;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
   position: relative; /* required for pseudo-element */
  overflow: hidden; 
}


.product-image img {
  width: 100%;
    height: 100%;
  object-fit: contain;
  border-radius: 16px;
  background:transparent;
z-index: 1;
  transition: transform 0.34s cubic-bezier(.14,.77,.6,1.12);
}
.product-image img:hover { transform: scale(1.045);}
.product-info {
  flex: 2 1 350px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Modern Product Header */
.product-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ebc800 0%, #e9d014 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: fit-content;
    transition: ease-in-out 0.4s;
}

.product-badge:hover {
   scale: 1.1;
}
.product-badge i {
    font-size: 0.9rem;
}

.product-tags-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}


/* Modern Product Description Card */
.product-description-card {
  
    padding: 0 0 20px 0;
    position: relative;
 
}

.product-description {
    margin: 0;
    margin-right: 45px;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Modern Pricing Section */
.pricing-section {
    position: relative;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 0 1rem 0;
}
.product-title {
  font-family: 'Secular One',sans-serif;
  color: var(--heading-primary);
  letter-spacing: 0.5px;
  font-weight: 800;
  margin-bottom: 0.12em;
}
.product-description {
  font-family: 'Poppins',sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.7;
  text-align: justify;
  opacity: 0.93;
}
/* Modern Price Styling */
.current-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #006837;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
}

.mrp {
    font-size: 1.3rem;
    font-weight: 500;
    color: #666;
    text-decoration: line-through;
    opacity: 0.8;
}
#product-savings {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #28a745, #218838); /* elegant green gradient */
  color: #fff;                       /* white text */
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 20px;               /* pill shape */
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* subtle shadow */
  letter-spacing: 0.3px;
}


/* Modern Discount Label */
/* Modern Professional Discount Label */
.discount-label {
    background: #fff;
    border: 1.5px solid rgba(169, 17, 1, 0.15);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    max-width: 420px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    animation: discountFadeIn 0.8s ease-out;
}



@keyframes discountFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer-header i {
    background: #a91101;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    animation: softPulse 2.5s ease-in-out infinite;
}

@keyframes softPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.offer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #a91101;
    letter-spacing: 0.5px;
}

.label-description {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 6px 0;
}

.label-description strong {
    background: #a91101;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95em;
    margin-left: 4px;
    box-shadow: 0 2px 6px rgba(169, 17, 1, 0.25);
}

.label-instruction {
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 4px 0 0;
    font-style: italic;
}

.label-content {
    margin-top: 12px;
}

.coupon-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fafafa;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(169, 17, 1, 0.12);
}

#couponText {
    background: #fff;
    color: #a91101;
    font-weight: 700;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 1rem;
    letter-spacing: 0.25em;
    border: 1.5px dashed rgba(169, 17, 1, 0.35);
    transition: background 0.3s ease;
}

#couponText:hover {
    background: #fff5f5;
}

#revealLink {
   background: linear-gradient(90deg, #a91101 60%, #e74c3c 100%);
    color: #fff;
    border: 2px solid #a91101;
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 8px rgba(169, 17, 1, 0.25);
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#revealLink::after{
   content: '';
    position: absolute;
    left: -10%; top: 20; width: 20%; height: 80%;
    background: linear-gradient(120deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}

#revealLink:hover::after {
    left: 110%;
}

#revealLink:hover {
   background: #fff;
    color: #a91101;
    border: 2px solid #a91101;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(169,17,1,0.25);
}

#revealLink i {
    transition: transform 0.3s ease;
}

#revealLink:hover i {
    transform: translateX(3px);
}

  
  @media (max-width: 520px) {
    .discount-label {
      max-width: 97vw;
      padding: 14px 2vw 10px 2vw;
      font-size: 13px;
    }
    .label-title { font-size: 0.95rem; }
    .label-description { font-size: 0.9rem; }
    .label-content { gap: 6px; }
  }
  
  .discount-label {
    animation: floatLabel 9s ease-in-out infinite alternate;
  }
  @keyframes floatLabel {
    0%,100% { transform: translateY(0);}
    50% { transform: translateY(-4px);}
  }#write-review-btn,
#cancel-review,
button[type="submit"] {
    position: relative;
    background: linear-gradient(120deg, #111827 0%, rgb(35, 34, 34) 100%); /* default black */
    color: #fff; /* default text */
    border: 2px solid #111827;
    font-weight: 600;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 16px;
}

#write-review-btn::after,
#cancel-review::after,
button[type="submit"]::after {
    content: '';
    position: absolute;
    left: -60%;
    top: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}

#write-review-btn:hover::after,
#cancel-review:hover::after,
button[type="submit"]:hover::after {
    left: 110%;
}

#write-review-btn:hover,
#cancel-review:hover,
button[type="submit"]:hover {
    background: linear-gradient(90deg, #dfdfdf 60%, #ffffff 100%); /* hover gradient */
    color: #111827; /* black text on hover */
    transform: translateY(-3px);
}

  
/* ========== ENHANCED ACTION BUTTONS ========== */
.action-buttons {
    display: flex;
    gap: 15px;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.action-buttons button {
    min-width: 40vw;
    padding: 14px 24px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.add-to-cart {
    background: linear-gradient(90deg, #a91101 60%, #e74c3c 100%);
    color: #fff;
    border: 2px solid #a91101;
    box-shadow: 0 4px 12px rgba(169,17,1,0.2);
}

.buy-now {
    background: linear-gradient(90deg, #006837 60%, #27ae60 100%);
    color: #fff;
    border: 2px solid #006837;
    box-shadow: 0 4px 12px rgba(0,104,55,0.2);
}

.action-buttons button::after {
    content: '';
    position: absolute;
    left: -60%; top: 0; width: 60%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}

.action-buttons button:hover::after {
    left: 110%;
}

.add-to-cart:hover {
    background: #fff;
    color: #a91101;
    border: 2px solid #a91101;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(169,17,1,0.25);
}

.buy-now:hover {
    background: #fff;
    color: #006837;
    border: 2px solid #006837;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,104,55,0.25);
}

.action-buttons button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.action-buttons button:hover i {
    transform: scale(1.1);
}
/* Modern Availability Section */
.availability-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 50%, #f1fef7 100%);
    border: 2px solid #e3f2e8;
    border-radius: 20px;
    width: 75vw;
    margin: 35px auto 25px;
    padding: 30px 25px;
    box-shadow: 0 8px 32px rgba(23, 132, 71, 0.08), 0 2px 16px rgba(23, 132, 71, 0.04);
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    position: relative;
    overflow: hidden;
    animation: availabilityFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.availability-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #178447, #4caf50, #81c784);
    border-radius: 20px 20px 0 0;
}

@keyframes availabilityFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header Section */
.availability-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.availability-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #178447 0%, #4caf50 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(23, 132, 71, 0.2);
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.availability-title h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5530;
    letter-spacing: 0.3px;
}

.availability-subtitle {
    margin: 4px 0 0 0;
    font-size: 0.95rem;
    color: #5a7c5e;
    font-weight: 500;
}

/* Input Section */
.pincode-input-wrapper {
    margin-bottom: 25px;
}

.input-container {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #d4edda;
    border-radius: 12px;
    padding: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(23, 132, 71, 0.05);
}

.input-container:focus-within {
    border-color: #178447;
    box-shadow: 0 4px 20px rgba(23, 132, 71, 0.15);
    transform: translateY(-1px);
}

.input-icon {
    color: #178447;
    font-size: 1.1rem;
    margin: 0 12px 0 15px;
    opacity: 0.8;
}

#pincode {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 8px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #2c5530;
    background: transparent;
    letter-spacing: 1px;
}

#pincode::placeholder {
    color: #9cafa0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.check-btn {
     background: linear-gradient(90deg, #006837 60%, #27ae60 100%);
    color: #fff;
    border: 2px solid #006837;
    box-shadow: 0 4px 12px rgba(0,104,55,0.2);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    margin-right: 4px;
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.check-btn::after{
     content: '';
    position: absolute;
    left: -60%; top: 0; width: 60%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}
.check-btn:hover::after {
    left: 110%;
}
.check-btn:hover {
       background: #fff;
    color: #006837;
    border: 2px solid #006837;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,104,55,0.25);
}

.check-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(23, 132, 71, 0.2);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.check-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Result Section */
.availability-result {
    min-height: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    border-radius: 8px;
}

.availability-result.available {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8f1 100%);
    color: #2e7d32;
    padding: 15px 20px;
    border: 1px solid #c8e6c9;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.1);
}

.availability-result.unavailable {
    background: linear-gradient(135deg, #ffebee 0%, #fce4ec 100%);
    color: #c62828;
    padding: 15px 20px;
    border: 1px solid #ffcdd2;
    box-shadow: 0 2px 8px rgba(198, 40, 40, 0.1);
}

.availability-result.pending {
    background: linear-gradient(135deg, #fff8e1 0%, #fffde7 100%);
    color: #f57c00;
    padding: 15px 20px;
    border: 1px solid #ffecb3;
    box-shadow: 0 2px 8px rgba(245, 124, 0, 0.1);
}

/* Delivery Features */
.delivery-features {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e8f5e8;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-item:hover {
    background: rgba(23, 132, 71, 0.05);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 2.5rem;
    color: #178447;
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c5530;
    letter-spacing: 0.2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .availability-section {
        min-width: 90vw;
        padding: 25px 20px;
        margin: 25px auto 20px;
    }
    .review-section{
        min-width:90vw;
    }
    .availability-header {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .availability-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .availability-title h3 {
        font-size: 1.2rem;
    }
    
    .availability-subtitle {
        font-size: 0.9rem;
    }
    
    .delivery-features {
        gap: 5px;
    }
    
    .feature-item {
        padding: 8px 3px;
    }
    
    .feature-item span {
        font-size: 0.75rem;
    }
    
    .check-btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .availability-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .delivery-features {
        flex-direction: row;
        gap: 8px;
    }
    
    .feature-item {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
          
    }
    .feature-item i{
        font-size: 1.8rem;
    }
}
  
/* Modern Product Details Section */
.product-details-section {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
    animation: detailsFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes detailsFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Details Header */
.details-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f8f2;
}

.details-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #a91101 0%, #cb1919 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(169, 17, 1, 0.2);
    animation: detailsIconFloat 4s ease-in-out infinite;
}

@keyframes detailsIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(1deg); }
    75% { transform: translateY(-1px) rotate(-1deg); }
}

.details-title h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Secular One', sans-serif;
}

.details-subtitle {
    margin: 6px 0 0 0;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Description Content */
.description-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Description Card */
.description-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafffe 100%);
    border: 2px solid #e8f5e8;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 25px rgba(23, 132, 71, 0.06), 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.description-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #a91101, #cb1919, #ff4444);
}

.description-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(23, 132, 71, 0.1), 0 4px 20px rgba(0, 0, 0, 0.06);
    border-color: #d4edda;
}

.description-card .card-icon {
    position: absolute;
    top: 20px;
    right: 70%;
    width: 40px;
    height: 40px;
    background: rgba(23, 132, 71, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #178447;
    font-size: 1.2rem;
}

.description-card h4 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.description-text {
    font-size: 1rem;
    text-align: justify;
    line-height: 1.7;
    font-weight:normal;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.highlight-item {
    background: linear-gradient(135deg, #f8fff9 0%, #f1fef4 100%);
    border: 1.5px solid #e8f5e8;
    border-radius: 12px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #178447, #4caf50);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(23, 132, 71, 0.12);
    border-color: #d4edda;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff9 100%);
}

.highlight-item:hover::before {
    transform: translateX(0);
}

.highlight-item i {
    font-size: 1.8rem;
    color: #178447;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.highlight-item:hover i {
    transform: scale(1.1);
    color: #0f5d2f;
}

.highlight-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c5530;
    letter-spacing: 0.3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-details-section {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .details-header {
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .details-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .details-title h3 {
        font-size: 1.6rem;
    }
    
    .details-subtitle {
        font-size: 0.9rem;
    }
    
    .description-card {
        padding: 20px 18px;
    }
    
    .description-card .card-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 15px;
        right: 35%;
    }
    
    .description-card h4 {
        font-size: 1.1rem;
    }
    
    .description-text {
        font-size: 1rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .highlight-item {
        padding: 15px 10px;
        gap: 8px;
    }
    
    .highlight-item i {
        font-size: 1.5rem;
    }
    
    .highlight-item span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .details-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .highlight-item {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding: 12px 15px;
    }
    
    .highlight-item i {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
}
@media (max-width: 900px) {
  .product-container {flex-direction: column; align-items: center; padding: 3vw;}
  .product-image, .product-info {width: 100%; max-width: 90vw;}
  .action-buttons {justify-content: stretch;}
  #availability-checker {padding: 1.05em 0.6em;}
  .full-description {padding: 12px 2vw;}
}

@media (max-width: 500px) {
  .product-container {padding: 0.5rem;}
  .product-title {font-size: 1.27rem;}
  .product-description {font-size: 0.92rem;}
  .product-price {font-size: 1.6rem;}
  .action-buttons button {min-width: 40vw; font-size: 0.92em;}
  #availability-checker h3 {font-size: 1em;}
  #availability-checker button {padding: 10px 8px; font-size: 0.6em;}
}

/* FAQ Section */
/* FAQ Section */
.faq {
    width: 100%;
    padding: 2rem;
    background: #f9f9f9; /* Light gray background for readability */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align content */
    gap: 1.5rem; /* Space between elements */
}

/* FAQ Container for Two Columns */
.faq-container {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    justify-content: center;
}

/* FAQ Column */
.faq-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Section Header */
.faq h2 {

    font-size: 36px;
    margin-bottom: 1rem;
    font-weight: normal;
  
    text-align: center; /* Center the heading */
}

/* FAQ Items */
.faq-item {
    width: 100%;
    max-width: 800px; /* Restrict width for larger screens */
    background: #a91101; /* White background for contrast */
    padding: 0.5rem;
    border: 2px solid transparent;/* Theme border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Light depth effect */
    border-radius: 5px;
    transition: ease-in-out 0.3s;
}

.faq-item:hover {
    background: white;
    color: #a91101;
    border-color: #a91101;
    box-shadow: 0px 5px 15px rgba(10, 48, 6, 0.4);
    transform: translateY(-2px);
}

.faq-item.open {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow when expanded */
}

.faq-item h3 {
    font-size: 1.5rem;
    color: white;/* Accent color for questions */
    margin: 0;
    padding: 1rem;
    cursor: pointer; /* Indicates clickable element */

    transition:ease-in-out 0.3s ;
}

.faq-item h3:hover {
    background-color:white;
    color: #a91101; /* Highlight on hover */
}

.faq-answer {
    font-size: 1rem;
    padding: 1rem;
    line-height: 1.6; /* Comfortable spacing */
    margin: 0;
    display: none; /* Hide answers by default */
}

/* FAQ Answers Expandable */
.faq-item.open .faq-answer {
    display: block; /* Show answers when open */
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 26px; /* Slightly smaller for mobile */
    }

    .faq-item h3 {
        font-size: 0.8rem; /* Adjust font size for mobile */
        padding: 2px;
    }

    .faq-answer {
        font-size: 0.7rem; /* Smaller text for answers */
    }
    
    /* Stack FAQ columns vertically on mobile */
    .faq-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .faq-column {
        min-width: 100%;
    }
}


  .slogan-end{

    font-size: 1.8rem; /* Default font size for desktops */
    font-weight: normal; /* Base font weight */
    line-height: 1.5; /* Improved readability */
    text-align: center;
    max-width: 90vw;
    border-top:  #a91101 solid 1px;
    font-family: 'Secular one', sans-serif;
    align-self: center;
  }
  .slogan-end strong{
    font-weight: bold; /* Highlight key words */
    color: #006837; /* Thematic color for cohesion */
  }
  
/* Responsive Styling for Tablets */
@media (min-width: 769px) ,(max-width: 1024px) {
   .slogan-end {
    padding: 30px 10px; /* Compact padding for smaller screens */
        font-size: 1.6rem; /* Reduced font size for mobile devices */
        line-height: 1.4; /* Slightly tighter line spacing */
    }
}

/* Responsive Styling for Mobiles */
@media (max-width: 768px) {
   .slogan-end {
    padding: 30px 10px; /* Compact padding for smaller screens */
    font-size: 24px; /* Reduced font size for mobile devices */
    line-height: 1.4; /* Slightly tighter line spacing */
   }

}
/* 🔹 Recently Viewed Section Styling */

.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

.scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari */
}

.product-list {
    display: flex;
    gap: 25px;
}

.product-section h2 {
    font-size: 2rem;
   
    font-family: 'Secular One', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
}

#recently-viewed-section {
    margin-top: 60px;
    text-align: center;
    padding: 40px 20px;
    background: rgba(255,255,255,0.5);
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    cursor: pointer;
}

#recently-viewed-list {
    display: flex;
    overflow-x: auto;
    gap: 15px;
}

/* ========== MODERN PRODUCT CARDS ========== */
.product-card {
    flex: 0 0 auto;
    width: 240px;
    background: rgba(255,255,255,0.9);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform:scale(1.01);
    box-shadow: 0 8px 24px rgba(169,17,1,0.15);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.product-card img:hover {
    transform: scale(1.01);
}

.product-card h3 {
    font-size: 1.1rem;

    font-weight: 600;
    margin: 10px 0;
    font-family: 'Secular One', sans-serif;
}

.product-card p {
    font-size: 0.9rem;

    margin-bottom: 5px;
}

.product-card .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #006837;
    margin-bottom: 10px;
}

.product-card .mrp {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.product-card button {
    background: linear-gradient(90deg, #a91101 60%, #e74c3c 100%);
    color: #fff;
    border: 2px solid #a91101;
    font-family: 'Poppins', sans-serif;
    padding: 8px 16px;
    margin: 5px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    font-weight: 700;
    letter-spacing: 0.1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(169,17,1,0.2);
}

.product-card button::after {
    content: '';
    position: absolute;
    left: -60%; top: 0; width: 60%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}

.product-card button:hover::after {
    left: 110%;
}

.product-card button:hover {
    background: #fff;
    color: #a91101;
    border: 2px solid #a91101;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(169,17,1,0.25);
}


.quantity-control-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}
.quantity-control {
    display:inline-block;         /* keep buttons + value in one row */
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 10px;
    border-radius: 10px;
    margin: 1rem 0;
    border: 1px solid #28a745;
    position: relative;            /* needed for ::before positioning */
    flex-wrap: wrap;               /* allow label to go above */
}

.quantity-control::before {
    content: "Select Quantity";
    font-family: 'Secular One', sans-serif;
    margin-right:1rem ;
    font-size: 1.2rem;
    color: #333;
    width: 100%;                   /* span full width */
    text-align:left;            /* center above buttons */
    margin-bottom: 6px;
}

.quantity-btn-minus, .quantity-btn-plus {
    background: linear-gradient(135deg, #006837 0%, #27ae60 100%);
    color: #fff;
    border: 2px solid #006837;
    font-family: 'Poppins', sans-serif;
    padding: 8px 12px;
    font-size: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    font-weight: 600;
    letter-spacing: 0.1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,104,55,0.2);
    min-width: 20px;
}

.quantity-btn-minus::after, .quantity-btn-plus::after {
    content: '';
    position: absolute;
    left: -60%; top: 0; width: 60%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}

.quantity-btn-minus:hover::after, .quantity-btn-plus:hover::after {
    left: 110%;
}

.quantity-btn-minus:hover, .quantity-btn-plus:hover {
    background: #fff;
    color: #006837;
    border: 2px solid #006837;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,104,55,0.25);
}

.quantity-btn-minus:active, .quantity-btn-plus:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,104,55,0.3);
}
#product-quantity{
    color:#333333;
  font-size: 1.2rem;
    text-decoration: none;
    margin: 1rem;
}
@media (max-width: 768px) {

.product-card {
    flex: 0 0 auto; /* Prevent shrinking */
    width: 185px;
  
}
.product-section h2{
    font-size: 26px;
}
.product-card img {
    width: 100%; /* Full width of the container */
    height: 100px; /* Fixed height to maintain consistency */
}

.product-card h3 {
    font-size: 13px;
 
  
}

.product-card p {
    font-size: 14px;
   
}

.product-card .price {
    font-size: 16px;
    font-weight: bold;
    color: #006837; /* Bold color for sale price */
}

.product-card .mrp {
   
    margin-right: 10px;
}

.product-card button {

    padding: 5px 5px;
    margin-top: 05px;
   
}

  
}