/* ================================
   PRODUCT HERO SECTION
================================ */

.product-hero-section {
    height: 75vh;
    background: url("../assets/images/all-coffee-powder.jpeg") center/cover no-repeat;
    display: flex;
    align-items: flex-start;
    position: relative;
}

/* CONTENT POSITION */
.product-hero-content {
    color: white;
    max-width: 600px;
    margin-top: 140px;
    margin-left: 40px;
}

/* HEADING */
.product-hero-content h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    /* text-align: left; */
}

/* GOLD LINE */
.hero-accent-line {
    width: 60px;
    height: 3px;
    background: #7c038b;
    margin: 10px 0 15px 0;
    border-radius: 5px;
}

/* PARAGRAPH */
/* .product-hero-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
} */

.product-hero-content p {
    display: inline-block;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 18px;
    color: #f5f5f5;
    line-height: 1.6;

    background: rgba(54, 53, 53, 0.39);
    /* glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.2);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* text-align: left; */
}

/* ================================
   PRODUCT CARDS
================================ */

.product-card-main {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.product-card-main img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-body {
    padding: 25px;
    text-align: center;
}

/* ================================
   UPCOMING PRODUCT
================================ */

.upcoming-card {
    margin-top: 30px;
    padding: 20px;
    border: 2px dashed #c49b63;
    border-radius: 15px;
}

/* ================================
   MANUFACTURING SECTION
================================ */

.manufacturing-section {
    background: #f8f4f0;
}

.process-list {
    margin-top: 20px;
}

.process-highlight {
    font-weight: 600;
    margin-top: 20px;
    color: #3e2723;
}

.process-tagline {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

/* ================================
   WHY CHOOSE PRODUCTS
================================ */

.why-product-card {
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

    .product-hero-section {
        height: 50vh;
        padding: 20px;
    }

    .product-hero-content {
        margin-top: 80px;
        margin-left: 20px;
    }

    .product-hero-content h1 {
        font-size: 26px;
    }

    .product-hero-content p {
        font-size: 14px;
    }
}

.product-card-premium {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 350px;
    cursor: pointer;
}

/* IMAGE */
/* .product-card-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
} */

/* BUTTONS (DEFAULT) */
.product-buttons {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
}

/* OVERLAY CONTENT */
.product-overlay-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
}

/* SHOW STATE */
.product-card-premium.active img {
    filter: blur(6px) brightness(0.6);
}

.product-card-premium.active .product-overlay-content {
    opacity: 1;
    transform: translateY(0);
}

.product-card-premium.active .product-buttons {
    opacity: 0;
}

/* OVERLAY BUTTONS */
.overlay-buttons {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
}

.product-overlay-content {
    pointer-events: none;
    /* 👈 THIS FIXES IT */
}

.product-card-premium.active .product-overlay-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    /* 👈 enable clicks when visible */
}

.product-buttons {
    z-index: 2;
}

.product-overlay-content {
    z-index: 3;
}

.product-overlay-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
    pointer-events: none;
    /* IMPORTANT */
}

.product-card-premium.active .product-overlay-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    /* IMPORTANT */
}

/* PREMIUM TEXT STYLING */

.product-overlay-content h3 {
    font-size: 26px;
    font-weight: 600;
    color: #f5e6d3;
    /* soft gold-white */
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.product-overlay-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #e8e0d6;
    margin-bottom: 15px;
    max-width: 500px;
}

/* LIST STYLE */
.product-overlay-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.product-overlay-content ul li {
    font-size: 15px;
    color: #ddd;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

/* GOLD DOT */
.product-overlay-content ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #c49b63;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 9px;
}

/* BUTTON POLISH */
.overlay-buttons .btn-coffee {
    background: linear-gradient(135deg, #6b4b3e, #3e2723);
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
}

.overlay-buttons .btn-outline-light {
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
}

.product-overlay-content h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #c49b63;
    margin-top: 8px;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #f5e6d3;
    padding: 5px 12px;
    font-size: 13px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
    z-index: 2;
}

/* SECTION */
.upcoming-product-section {
    background: #faf7f2;
}

/* CARD */
.upcoming-card-premium {
    position: relative;
    max-width: 500px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

/* IMAGE */
.upcoming-card-premium img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* OVERLAY */
.upcoming-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

/* BADGE */
.coming-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #c49b63;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* TEXT */
.upcoming-overlay h4 {
    margin: 0;
    font-weight: 600;
}

.upcoming-overlay p {
    font-size: 14px;
    margin-top: 5px;
    color: #eee;
}

/* HOVER EFFECT */
.upcoming-card-premium:hover img {
    transform: scale(1.05);
}

@media (max-width:768px) {

    .upcoming-card-premium img {
        height: 220px;
    }

    .upcoming-overlay p {
        font-size: 13px;
    }

}

/* ================================
   UPCOMING PRODUCT SECTION
================================ */

.upcoming-product-section {
    /* background: linear-gradient(135deg, #efdcc8, #ab8f78); */
    /* background: linear-gradient(135deg, #f0b6a4, #f3ece6); */
    /* background: linear-gradient(135deg, #f0b6a4, #cdf5ef); */
    /* position: relative; */
    overflow: hidden;
}

/* SOFT DESIGN ELEMENT */
.upcoming-product-section::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: rgba(196, 155, 99, 0.08);
    border-radius: 50%;
}

/* TAG */
.section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: #c49b63;
    /* color: #fbfbfb; */
    margin-bottom: 10px;
}

/* TITLE */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #3e2723;
    margin-bottom: 10px;
}

/* SUBTITLE */
.section-subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 35px;
}

/* CENTER CARD */
.upcoming-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
}

/* ================================
   CARD (UNCHANGED BUT ENHANCED)
================================ */

.upcoming-card-premium {
    position: relative;
    max-width: 500px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transition: 0.4s ease;
}

.upcoming-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* IMAGE */
.upcoming-card-premium img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s ease;
}

/* OVERLAY */
.upcoming-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

/* BADGE */
.coming-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #c49b63;
    color: #fff;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
}

/* TEXT */
.upcoming-overlay h4 {
    margin: 0;
    font-weight: 600;
}

.upcoming-overlay p {
    font-size: 14px;
    margin-top: 5px;
    color: #eee;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width:768px) {

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .upcoming-card-premium img {
        height: 220px;
    }

}

/*Products Glow*/
.product-list-section {
    position: relative;
    background: #f7f1ea;
    overflow: hidden;
    transition: background 0.6s ease;
}

/* glow layer */
.product-list-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(196, 155, 99, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

/* ACTIVE STATE */
.product-list-section.active-glow::before {
    opacity: 1;
}

.product-card-premium.mobile-active::after {
    opacity: 1;
}

.product-list-section {
    position: relative;
    background: #f7f1ea;
    overflow: hidden;
}

/* glow layer */
.product-list-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(196, 155, 99, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

/* ACTIVE */
.product-list-section.active-glow::before {
    opacity: 1;
}

.product-card-premium::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* desktop hover */
/* .product-card-premium:hover::after {
    opacity: 1;
} */

/* mobile click */
/* .product-card-premium.mobile-active::after {
    opacity: 1;
} */
/*Products Glow*/
.product-card-premium {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s ease;
}

/* DESKTOP HOVER */
.product-card-premium:hover {
    border-radius: 20px;
    border-image: linear-gradient(to right,
            rgba(255, 0, 0, 0.5),
            rgba(0, 0, 255, 0.8)) 1;
    box-shadow: 0 0 14px 9px rgba(108, 28, 139, 0.3), 0 10px 40px rgba(235, 109, 109, 0.4), 0 0 60px rgba(231, 89, 208, 0.25);
}

/* MOBILE ACTIVE */
.product-card-premium.mobile-active {
    box-shadow:
        0 0 0 1px rgba(196, 155, 99, 0.3),
        0 10px 40px rgba(196, 155, 99, 0.4),
        0 0 60px rgba(196, 155, 99, 0.25);
}

.product-list-section {
    position: relative;
    background: #f7f1ea;
    overflow: hidden;
}

/* GLOW LAYER */
.product-list-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle at center,
            rgba(196, 155, 99, 0.4),
            rgba(196, 155, 99, 0.2),
            transparent 70%);

    opacity: 0;
    transition: opacity 0.8s ease;

    z-index: 1;
    /* IMPORTANT */
}

/* CONTENT ABOVE */
.product-list-section .container {
    position: relative;
    z-index: 2;
    /* IMPORTANT */
}

/* ACTIVE */
.product-list-section.active-glow::before {
    opacity: 1;
}

.product-list-section {
    position: relative;
    background: #f7f1ea;
    overflow: hidden;
}

/* GLOW LAYER */
.product-list-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(circle at center,
            rgba(164, 214, 230, 0.5),
            rgba(238, 68, 56, 0.25),
            rgba(231, 72, 170, 0.1));
    opacity: 0;
    transition: opacity 0.8s ease;

    z-index: 1;
    /* IMPORTANT */
}

/* CONTENT ABOVE */
.product-list-section .container {
    position: relative;
    z-index: 2;
    /* IMPORTANT */
}

.product-list-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* ACTIVE */
.product-list-section.active-glow::before {
    opacity: 1;
}

.product-list-section {
    margin-top: 30px;
    border-radius: 33px;
}

@media (max-width:768px) {
    .product-list-section {
        margin-top: 60px;
    }
}

/*Products Carusol*/
.product-carousel {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

/* track */
.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

/* images */
.carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 3;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background: #000;
}

/*Products Carusol Ends*/

/*Badge Center*/
.product-card-premium {
    position: relative;
}

/* CENTER BADGE */
.product-badge {
    position: absolute;

    top: 15px;
    left: 50%;
    transform: translateX(-50%);

    background: rgba(0, 0, 0, 0.7);
    color: #fff;

    padding: 8px 18px;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;

    backdrop-filter: blur(6px);

    z-index: 3;
    transition: all 0.3s ease;
}

/* hide badge when expanded */
.product-card-premium.active .product-badge {
    opacity: 0;

    transform: translate(-50%, -60%) scale(0.9);
    pointer-events: none;
}

.product-badge {
    pointer-events: none;
}

/*Badge Center Ends*/

/*Upcomming Product*/
.upcoming-product-section {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    border-radius: 33px;
}

.upcoming-product-section::before {
    content: "";
    position: absolute;

    /* 1. Explicitly fill the parent container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* 2. Lock the gradient exactly to the center */
    background: radial-gradient(circle at 50% 50%,
            rgba(252, 250, 143, 0.4) 0%,
            rgba(223, 172, 243, 0.74) 40%,
            rgba(165, 119, 105, 0.897) 70%,
            transparent 100%);

    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: 1;

    /* 3. Ensure the scale expands outward from the middle, not the top-left */
    transform: scale(1.5);
    transform-origin: center center;
}

.upcoming-product-section.active-glow::before {
    opacity: 1;
}

.upcoming-product-section .container {
    position: relative;
    z-index: 2;
}

/*Upcomming Product Ends*/
/*Our Manufacturing Process*/
.manufacturing-section {

    background: transparent;
}

/* MAIN CARD */
.manufacturing-card {
    width: 100%;
    padding: 60px 80px;
    background: linear-gradient(135deg, #bd939360, #dbb18c);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* INTRO TEXT */
.process-intro {
    max-width: 700px;
    margin: auto;
    color: #5c4033;
}

/* PROCESS ITEM */
.process-item {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.4);
    transition: 0.3s ease;
}

/* ICON */
.process-item i {
    font-size: 22px;
    color: #c49b63;
}

/* TEXT */
.process-item span {
    font-size: 15px;
    color: #3e2723;
}

/* HOVER EFFECT */
.process-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.7);
}

/* QUOTE */
.process-highlight {
    font-weight: 600;
    color: #3e2723;
}

/* TAGLINE */
.process-tagline {
    font-weight: bold;
    color: #c49b63;
    margin-top: 10px;
}

/*Our Manufacturing Process ends here*/


/*Why Choose Product*/
/* WRAPPER */
.timeline-wrapper {
    position: relative;
    padding-top: 40px;
}

/* LINE */
.timeline-line {
    position: absolute;
    top: 55px;
    left: 5%;
    width: 90%;
    height: 3px;
    /* background: linear-gradient(to right, #c49b63, #e0a662); */
    z-index: 1;
}

/* CARD */
.timeline-card {
    position: relative;
    text-align: center;
    padding: 25px 20px;
    border-radius: 16px;

    /* background: linear-gradient(135deg, #f5ede6, #efe5dc); */
    background: linear-gradient(135deg, #f7c1578c, #faba812d);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    transform: translateY(40px);
    opacity: 0;
    transition: 0.6s ease;
}

/* DOT */
.timeline-dot {
    width: 40px;
    height: 40px;
    background: #c49b63;
    color: white;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

*/

/* ACTIVE ANIMATION */
/* .timeline-card.show {
    transform: translateY(0);
    opacity: 1;
}

/* STAGGER EFFECT */
.timeline-card:nth-child(1) {
    transition-delay: 0.1s;
}

.timeline-card:nth-child(2) {
    transition-delay: 0.2s;
}

.timeline-card:nth-child(3) {
    transition-delay: 0.3s;
}

.timeline-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* MOBILE */
@media (max-width:768px) {

    .timeline-line {
        display: none;
    }

    .timeline-card {
        margin-bottom: 20px;
    }
}

.timeline-card {
    transform: translateY(50px) scale(0.95);
    opacity: 0;
    transition: all 0.6s ease;
}

.timeline-card.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.why-product-section {
    /* margin: 100px 40px; space from other sections */

    background: linear-gradient(135deg, #f3caa0, #680457c0);

    border-radius: 30px;
    padding: 60px 20px;

    position: relative;
    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(196, 155, 99, 0.1);
}

@media (max-width:768px) {
    .why-product-section {
        margin: 60px 15px;
        border-radius: 20px;
        padding: 40px 15px;
    }
}

.timeline-card h3,
.timeline-card p {
    color: white;
}

/*Why Choose Product Ends*/

/*Contact Us*/
/* SECTION */
.premium-contact-section {
    background: linear-gradient(135deg, #f8f4f0, #f3ece6);
    position: relative;
}

/* TITLE */
.contact-title {
    font-weight: 700;
    color: #3e2723;
}

/* SUBTITLE */
.contact-subtitle {
    color: #6d4c41;
    max-width: 600px;
    margin: auto;
}

/* CARD */
.contact-card {
    background: linear-gradient(135deg, #ffffff, #f9f4ef);
    border-radius: 20px;
    padding: 30px 20px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(196, 155, 99, 0.1);

    transition: all 0.3s ease;
}

/* ICON */
.contact-icon {
    font-size: 28px;
    margin-bottom: 10px;
    color: #c49b63;
}

/* IMAGE */
.contact-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto 0;
}

/* HOVER EFFECT */
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 15px 40px rgba(196, 155, 99, 0.25),
        0 0 60px rgba(196, 155, 99, 0.15);
}

/* MOBILE */
@media (max-width:768px) {
    .contact-card {
        padding: 25px 15px;
    }
}

/*Contact Us*/

.timeline-card h3{
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.timeline-card p{
    margin-bottom: 0;
}

/*responsive CSS*/
/* ==========================================================================
   MASTER RESPONSIVE OVERRIDES (Add to bottom of product.css)
   ========================================================================== */

/* --- TABLETS & SMALL DESKTOPS (Max 992px) --- */
@media (max-width: 992px) {
    /* Reduce massive paddings on the manufacturing card */
    .manufacturing-card {
        padding: 40px 30px !important;
    }
    
    /* Adjust Hero Section for intermediate screens */
    .product-hero-content {
        margin-top: 100px;
        margin-left: 20px;
        max-width: 500px;
    }
    .product-hero-content h1 {
        font-size: 36px;
    }
}

/* --- MOBILE & TABLET PORTRAIT (Max 768px) --- */
@media (max-width: 768px) {
    /* Center the Hero Content on mobile */
    .product-hero-section {
        height: auto;
        min-height: 60vh;
        padding-top: 80px;
        padding-bottom: 40px;
        justify-content: center;
        text-align: center;
    }
    .product-hero-content {
        margin: 0 auto !important; /* Removes the hardcoded left/top margins */
        padding: 0 15px;
    }
    .hero-accent-line {
        margin: 10px auto 20px auto; /* Centers the accent line */
    }
    .product-hero-content p {
        font-size: 15px;
    }

    /* Product Cards - Allow internal scrolling if text gets too long on small screens */
    .product-overlay-content {
        padding: 20px;
        overflow-y: auto; /* Prevents text from spilling out of the 350px card */
    }
    
    /* Ensure the buttons always stay at the bottom, even if scrolled */
    .overlay-buttons {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 20px;
    }

    /* Adjust section paddings */
    .why-product-section {
        margin: 40px 10px;
        padding: 40px 15px;
        border-radius: 20px;
    }
    
    .timeline-card {
        margin-bottom: 20px;
        /* Removed the hardcoded opacity and transform so your JS can animate it again */
    }
}

/* --- SMALL MOBILE DEVICES (Max 576px) --- */
@media (max-width: 576px) {
    /* Stack overlay buttons on very small screens so they don't overlap */
    .overlay-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .overlay-buttons .btn-coffee,
    .overlay-buttons .btn-outline-light {
        width: 100%;
        text-align: center;
    }

    /* Stack default card buttons as well */
    .product-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .product-buttons a {
        width: 100%;
        text-align: center;
    }

    /* Typography adjustments for readability */
    .section-title, 
    .product-hero-content h1 {
        font-size: 28px;
    }
    
    .manufacturing-card {
        padding: 30px 15px !important;
    }

    /* Process list items stack neater */
    .process-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
    }
}
/*responsive CSS Ends*/
/* ================================
   PRODUCT BADGE FIX
================================ */
.product-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%); /* Perfectly centers the badge */
    
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    
    padding: 8px 20px;
    border-radius: 30px; /* Gives it the perfect pill shape */
    
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); /* Safari support */
    
    z-index: 10;
    pointer-events: none; /* Prevents badge from blocking clicks */
    
    /* 👈 THE MAGIC FIX: Forces text to stay on one line */
    white-space: nowrap; 
    
    /* Optional: Adds a subtle shadow so it pops off the background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Hide badge smoothly when card is expanded/clicked */
.product-card-premium.active .product-badge {
    opacity: 0;
    transform: translate(-50%, -20px); /* Slides up slightly while fading */
}