/* ==================================================
   INDU PRATIBHA — PRODUCT DETAILS PAGE STYLESHEET
   Built on Bootstrap 5. Relies on the CSS variables and
   shared header/footer/button/card rules defined in
   style.css (loaded before this file) — do not duplicate
   them here. Only Product-Details-page-specific additions
   live below. Matches the provided Desktop / Tablet /
   Mobile reference screenshots.
   ================================================== */

/* ==================================================
   PRODUCT MAIN SECTION
   ================================================== */
.ip-product-main {
    background: var(--ip-white);
    padding: 2.5rem 0 3rem;
}

/* ---- Product image ---- */
.ip-product-image-box {
    background: var(--ip-white);
    /* border: 1px solid #f0e6d2; */
    border-radius: 10px;
    padding: 0.75rem;
    overflow: hidden;
    max-width: 499px;
}

.ip-product-image-box img {
    width: 100%;
    aspect-ratio: 5 / 6;         /*the source photo is portrait (251x376) — this shows more of it than a hard square would, without heavy cropping
    object-fit: cover;             /* keeps the entire pouch in frame, even if it means leaving some empty space around it */
    object-position: center 35%; /* keeps the pouch's label centered in frame instead of cropping evenly top/bottom */
    border-radius: 6px;
    display: block;
    object-fit: contain;
}

/* ---- Info column ---- */
.ip-product-info {
    padding-top: 0.25rem;
}

.ip-product-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    color: var(--ip-text);
    margin-bottom: 1rem;
}

.ip-product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    /* margin-bottom: 1.25rem; */
}
.ip-product-quantity{
    margin-bottom: 1.10rem;

}

.ip-product-price-current {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--ip-red);
}

.ip-product-price-old {
    font-size: 1.15rem;
    color: #9b9b9b;
    text-decoration: line-through;
}

.ip-product-shipping {
    color: var(--ip-text-light);
    font-size: 0.9rem;
    margin: 0.35rem 0 1rem;
}

.ip-product-shipping strong {
    color: var(--ip-text);
}

.ip-product-desc {
    color: var(--ip-text-light);
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 1.75rem;
}

.ip-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
}

.ip-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: .3s;
}

.ip-breadcrumb a:hover {
    color: #d95d0f;
}

.ip-breadcrumb span {
    color: #999;
}

#ipProductBreadcrumb {
    color: #d95d0f;
    font-weight: 600;
}

/* ---- Add To Cart / Buy Now ---- */
.ip-purchase-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ip-btn-cart,
.ip-btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ip-btn-cart {
    background: linear-gradient(180deg, var(--ip-orange) 0%, var(--ip-orange-dark) 100%);
    color: var(--ip-white);
    border: none;
    box-shadow: 0 6px 16px rgba(217, 100, 10, 0.3);
}

.ip-btn-cart:hover {
    color: var(--ip-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 100, 10, 0.4);
}

.ip-btn-buy {
    background: var(--ip-white);
    color: var(--ip-text);
    border: 1.5px solid var(--ip-text);
}

.ip-btn-buy:hover {
    color: var(--ip-white);
    background: var(--ip-text);
}

.variant-option.active,
.variant-option[aria-pressed="true"] {
    color: var(--ip-white);
    background: var(--ip-orange-dark);
    border-color: var(--ip-orange-dark);
}

.variant-option:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* ==================================================
   PRODUCT DETAILS
   Now nested inside the right-hand column (next to the
   product image) instead of a full-width section below.
   ================================================== */
.ip-product-details {
    /* margin-top: 2rem; */
    padding-top: 1.75rem;
    /* border-top: 1px solid #f0e6d2; */
}

.ip-details-subhead {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ip-text);
    margin-bottom: 0.9rem;
}

.ip-details-text {
    color: var(--ip-text-light);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    max-width: 560px;
}

/* ==================================================
   PRODUCT HIGHLIGHTS
   Now nested inside the right-hand column, directly
   under Product Details.
   ================================================== */
.ip-highlights {
    margin-top: 1.5rem;
    padding-top: 1.75rem;
    /* border-top: 1px solid #f0e6d2; */
}

.ip-highlights-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ip-highlights-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--ip-text);
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.ip-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1e9e4b;
    font-weight: 700;
    flex-shrink: 0;
}

/* ==================================================
   RELATED PRODUCTS — "You May Also Like"
   ================================================== */
.ip-related {
    background: var(--ip-cream);
    /* padding: 3rem 0 3.5rem; */
}

.ip-related-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    color: var(--ip-text);
    text-align: center;
    margin-bottom: 2.25rem;
}

.ip-related-heading span {
    color: var(--ip-red);
}

/* ==================================================
   TABLET (>=768px)
   ================================================== */
@media (min-width: 768px) {
    .ip-product-main {
        padding: 3rem 0 4rem;
        background-color: var(--ip-cream);
    }

    .ip-product-title {
        font-size: 2.2rem;
    }
}

/* ==================================================
   DESKTOP (>=992px)
   ================================================== */
@media (min-width: 992px) {
    .ip-product-info {
        padding-left: 1.5rem;
        padding-top: 0.5rem;
    }

    .ip-product-title {
        font-size: 40px;
        font-family : playfair-display, serif;
    }

    .ip-product-price-current {
        font-size: 2.25rem;
        font-family : poppins, sans-serif;
    }
}

/* ==================================================
   MOBILE / TABLET (<768px)
   Reference mobile & tablet screenshots do not show the
   Add To Cart / Buy Now row on the product page — it is
   a desktop-only element in the provided designs.
   ================================================== */
@media (max-width: 767.98px) {
    .ip-purchase-row {
        display: flex;
    }

    .ip-product-main {
        padding: 1.5rem 0 1.5rem;
    }

    .ip-product-image-box {
        padding: 0;
        border: none;
    }

    .ip-product-image-box img {
        border-radius: 8px;
    }

    .ip-product-title {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .ip-product-price-row {
        margin-bottom: 1rem;
    }

    .ip-product-price-current {
        font-size: 1.5rem;
    }

    .ip-product-price-old {
        font-size: 1rem;
    }

    .ip-product-desc {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .ip-related-heading {
        font-size: 1.5rem;
    }
}
