/* APPLES/PRODUCTS PAGE STYLES */
/* This file contains styles specific to the apples/products listing page */

/* ========== MODERN HIMALAYAN FRUITS SECTION ========== */
#himalayan-fruits-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(300deg, #A91101 10%, #cb5710 90%);
    overflow: hidden;
    min-height: 450px;
    box-shadow: 0 5px 36px rgba(169,17,1,0.15);
}

#himalayan-fruits-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/cover1 copy.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}

#himalayan-fruits-section .content {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 40px 50px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

#himalayan-fruits-section .slogan {
    flex: 1;
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Secular One', sans-serif;
    opacity: 0;
    transform: translateX(-60px);
    animation: fade-slide-in-left 1.2s 0.2s forwards;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

#himalayan-fruits-section .slogan p {
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    opacity: 0.95;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

#himalayan-fruits-section .fruit-image {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateX(60px);
    animation: fade-slide-in-right 1.2s 0.4s forwards;
}

#himalayan-fruits-section .fruit-image img {
    width: 70%;
    max-width: 400px;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

#himalayan-fruits-section .fruit-image img:hover {
    transform: scale(1.05);
}

@keyframes fade-slide-in-left {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-slide-in-right {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========== SHOP PAGE STYLING ========== */
.shop {
    max-width: 100%;
    padding: 20px;
}

.shop h2 {
    font-size: 2rem;
    color: var(--heading-primary);
    font-family: 'Secular One', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
}

/* ========== MODERN PRODUCT CARDS ========== */
.product-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
}

.product {
    background: rgba(255, 255, 255, 0.9);
    padding: 14px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.product:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 24px rgba(169, 17, 1, 0.15);
}

.product img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.product img:hover {
    transform: scale(1.02);
}

.product h3 {
    font-size: 1.1rem;
    color: var(--heading-primary);
    font-weight: 600;
    margin: 10px 0;
    font-family: 'Secular One', sans-serif;
}

.product p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 5px;
}

.product .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #006837;
    margin-bottom: 10px;
}

.product .mrp {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}


.product 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 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 button:hover::after {
    left: 110%;
}

.product button:hover {
    background: #fff;
    color: #a91101;
    border: 2px solid #a91101;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(169,17,1,0.25);
    transform: translateY(-2px);
}


.out-of-stock-badge {
    position: absolute;
    background: #cb1919;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
    border-radius: 4px;
    z-index: 1;
}

.product-img-wrapper {
    position: relative;
}

.out-of-stock-price {
    color: #cb1919;
    font-weight: bold;
}

.slogan-end {

    font-size: 1.8rem;
    font-weight: normal;
    line-height: 1.5;
    text-align: center;
    max-width: 90vw;
    align-self: center;
    border-top: solid 1px #cb1919;
    font-family: 'Secular One', sans-serif;
}

.slogan-end strong {
    font-weight: bold;
    color: #006837;
}

/* ========== RESPONSIVE DESIGN ========== */
/* Desktop (1024px and up) — 4 per row */
@media (min-width: 1024px) {
    .product-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet (768px to 1023px) — 3 per row */
@media (min-width: 768px) and (max-width: 1023px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .product img {
        height: 160px;
    }
    .product h3 {
        font-size: 1rem;
    }
    .product p,
    .product .price {
        font-size: 0.9rem;
    }
    .product button {
        font-size: 12px;
        padding: 7px 12px;
    }
    #himalayan-fruits-section {
        padding: 30px 15px;
        min-height: 350px;
    }
    #himalayan-fruits-section .content {
        flex-direction: column;
        padding: 25px 20px;
        gap: 25px;
        border-radius: 20px;
    }
    #himalayan-fruits-section .slogan {
        font-size: 1.4rem;
        text-align: center;
    }
    #himalayan-fruits-section .slogan p {
        font-size: 1.1rem;
    }
    #himalayan-fruits-section .fruit-image img {
        width: 85%;
    }
    .slogan-end {
        padding: 30px 10px;
        font-size: 1.6rem;
        line-height: 1.4;
    }
}

/* Mobile (up to 767px) — 2 per row */
@media (max-width: 767px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .product {
        padding: 10px;
    }
    .product img {
        height: 140px;
    }
    .product h3 {
        font-size: 0.92rem;
    }
    .product p,
    .product .price {
        font-size: 0.85rem;
    }
    .product button {
        font-size: 10px;
        padding: 3px 8px;
        margin: 3px 2px;
    }
    #himalayan-fruits-section {
        padding: 30px 15px;
        min-height: 350px;
    }
    #himalayan-fruits-section .content {
        flex-direction: column;
        padding: 25px 20px;
        gap: 25px;
        border-radius: 20px;
    }
    #himalayan-fruits-section .slogan {
        font-size: 1.4rem;
        text-align: center;
    }
    #himalayan-fruits-section .slogan p {
        font-size: 1.1rem;
    }
    #himalayan-fruits-section .fruit-image img {
        width: 85%;
    }
    .slogan-end {
        padding: 30px 10px;
        font-size: 24px;
        line-height: 1.4;
    }

    #himalayan-fruits-section .slogan {
        font-size: 1.4rem;
        text-align: center;
    }

    #himalayan-fruits-section .slogan p {
        font-size: 1.1rem;
    }

    #himalayan-fruits-section .fruit-image img {
        width: 85%;
    }
}
/* Prevent content overflow */
.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Shop Page Styling */
.shop {
    max-width: 100%;
    padding: 20px;
}
.shop h2{
   font-size: 2rem;
   
    font-family: 'Secular One', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;

}

/* ========== MODERN PRODUCT CARDS ========== */
.product-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr); /* desktop default */
  justify-content: center;
}

/* Desktop (1024px and up) — 4 per row */
@media (min-width: 1024px) {
  .product-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet (768px to 1023px) — 3 per row */
@media (min-width: 768px) and (max-width: 1023px) {
  .product-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile (up to 767px) — 2 per row */
@media (max-width: 767px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===== PRODUCT CARD BASE STYLE ===== */
.product {
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.product:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 24px rgba(169, 17, 1, 0.15);
}

.product img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.product img:hover {
  transform: scale(1.02);
}

.product h3 {
  font-size: 1.1rem;
 
  font-weight: 600;
  margin: 10px 0;
  font-family: 'Secular One', sans-serif;
}

.product p {
  font-size: 0.9rem;
 
  margin-bottom: 5px;
}

.product .price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #006837;
  margin-bottom: 10px;
}

.product .mrp {
  text-decoration: line-through;
  color: #999;
  margin-right: 10px;
}

.product button {
  background: linear-gradient(135deg, #A91101 0%, #cb1919 100%);
  color: white;
  border: 2px solid transparent;
  font-family: 'Poppins', sans-serif;
  padding: 8px 16px;
  margin: 5px 4px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.product button:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fff4f0 100%);
  color: #A91101;
  border-color: #A91101;
  box-shadow: 0 4px 12px rgba(169, 17, 1, 0.3);
  transform: translateY(-2px);
}

/* ===== TABLET-LEVEL ADJUSTMENTS ===== */
@media (max-width: 1023px) {
  .product img {
    height: 160px;
  }
  .product h3 {
    font-size: 1rem;
  }
  .product p,
  .product .price {
    font-size: 0.9rem;
  }
  .product button {
    font-size: 12px;
    padding: 7px 12px;
  }
}

/* ===== MOBILE-LEVEL ADJUSTMENTS ===== */
@media (max-width: 767px) {
  .product img {
    height: 140px;
  }
  .product {
    padding: 10px;
  }
  .product h3 {
    font-size: 0.92rem;
  }
  .product p,
  .product .price {
    font-size: 0.85rem;
  }
  .product button {
    font-size: 10px;
    padding: 3px 8px;
    margin: 3px 2px;
  }
}

/* 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;
}

/* Make the main content section expand to push footer down */
.container {
    flex: 1;
}
.out-of-stock-badge {
    position: absolute;
    background: #cb1919;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
    border-radius: 4px;
    z-index: 1;
}

.product-img-wrapper {
    position: relative;
}

.out-of-stock-price {
    color: #cb1919;
    font-weight: bold;
}

  .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;
    align-self: center;
    border-top: solid 1px  #cb1919;
    font-family: 'Secular one', sans-serif;
  }
  .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 */
   }

}