.innerpage-banner {
    width: 100%;
    height: 300px; /* adjust height as needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.custom-pill-tabs {
    background: #fff;
    padding: 6px;
    border-radius: 50px;
    display: inline-flex;
    position: relative;
    min-width: 700px;
    /* border-bottom: 1px solid #2e2b2b; */
    margin-bottom: 30px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.custom-pill-tabs .tab-slider {
    position: absolute;
    top: 13px;
    left: 0px;
    height: calc(100% - 25px);
    width: 0;
    background: #ad1f26;
    border-radius: 50px;
    transition: all 0.4s ease;
    z-index: 0;
}

.custom-pill-tabs .nav-link {
    position: relative;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 30px;
    font-weight: 600;
    color: #4a5568;
    background: transparent;
    z-index: 1;
    transition: color 0.3s ease;
}

.custom-pill-tabs .nav-link.active {
    color: #fff !important;
    background: transparent !important;
}

.nav-tabs {
    border-bottom: none !important;
}

.custom-bg-color {
    background-color: #dbdbdb;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    /* transition: transform 0.3s, box-shadow 0.3s; */
    text-align: center;
    padding-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.12);
}

.product-card .product-image img {
    width: 100%;
    height: 200px; /* adjust as needed */
    object-fit: cover;
    display: block;
}

.product-card .product-content h3 {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.product-card .btn {
    font-size: 1.5rem;
    padding: 8px 25px;
    border-radius: 6px;
}

/* যখন tab active */
.tab-pane.active.show .product-card {
    opacity: 1;
    transform: translateY(0);
}

/* stagger delay */
.tab-pane.active.show .product-card:nth-child(1) { transition-delay: 0.05s; }
.tab-pane.active.show .product-card:nth-child(2) { transition-delay: 0.1s; }
.tab-pane.active.show .product-card:nth-child(3) { transition-delay: 0.15s; }
.tab-pane.active.show .product-card:nth-child(4) { transition-delay: 0.2s; }
.tab-pane.active.show .product-card:nth-child(5) { transition-delay: 0.25s; }
.tab-pane.active.show .product-card:nth-child(6) { transition-delay: 0.3s; }


/* Shine */
.hover14 .product-image {
	position: relative;
}
.hover14 .product-image::before {
	position: absolute;
	top: 0;
	left: -75%;
	z-index: 2;
	display: block;
	content: '';
	width: 50%;
	height: 100%;
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	-webkit-transform: skewX(-25deg);
	transform: skewX(-25deg);
}
.hover14 .product-image:hover::before {
	-webkit-animation: shine .75s;
	animation: shine .75s;
}
@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}
@keyframes shine {
	100% {
		left: 125%;
	}
}

.shi-btn{
    color: #cb664d;
    border-color: #cb664d;
}

.shi-btn:hover {
    color: #ad1f26;
    background-color: unset;
    border-color: unset;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* ===== Accordion ===== */
.accordion {
    text-align: left;
    margin-top: 10px;
}

.accordion-item {
    border: none;
    border-radius: 14px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.accordion-item + .accordion-item {
    margin-top: 14px;
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
    box-shadow: 0 10px 24px rgba(173, 31, 38, 0.16);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #333;
    background-color: #fff;
    border: none;
    border-radius: 0 !important;
    box-shadow: none;
    padding: 18px 22px;
    text-align: left;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.accordion-button:hover {
    color: #ad1f26;
}

.accordion-button:not(.collapsed) {
    color: #ad1f26;
    background-color: #fdf2f2;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

/* custom plus / minus toggle icon replacing bootstrap's default caret */
.accordion-button::after {
    content: "+";
    width: 30px;
    height: 30px;
    margin-left: auto;
    flex-shrink: 0;
    background-image: none !important;
    background-color: #f4eaea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: #ad1f26;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    content: "\2212";
    background-color: #ad1f26;
    color: #fff;
    transform: rotate(180deg);
}

.accordion-body {
    padding: 2px 22px 22px 22px;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

@media only screen and (max-width: 767px) {
    .innerpage-banner {
        width: 100%;
        height: auto;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .custom-pill-tabs {
        min-width: 100%;
        width: 100%;
        padding: 8px;
        display: flex;
        flex-wrap: wrap;          /* যত ট্যাবই হোক, জায়গা না হলে নিচে যাবে */
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 16px;      /* বেশি ট্যাব/একাধিক লাইনে গেলে পুরো পিল শেপ না রেখে soft radius */
    }

    .custom-pill-tabs .nav-link {
        padding: 8px 14px;
        font-size: 12.5px;
        flex: 0 0 auto;           /* কনটেন্ট অনুযায়ী সাইজ, সমান ভাগ করে জোর করবে না */
        white-space: nowrap;
        text-align: center;
    }

    /* একদম বেশি ট্যাব হলে (৫-৬+) আরও ছোট স্ক্রিনে টেক্সট wrap করতে দাও */
    @media only screen and (max-width: 380px) {
        .custom-pill-tabs .nav-link {
            white-space: normal;
            font-size: 12px;
            padding: 8px 10px;
        }
    }

    .custom-pill-tabs .tab-slider {
        display: none;    /* JS calculated slider বাদ, active ক্লাসেই সরাসরি কালার */
    }

    .custom-pill-tabs .nav-link.active {
        background: #ad1f26 !important;
        color: #fff !important;
        border-radius: 50px !important;
    }

    .product-card {
        width: 80%;
        margin: 0px auto;
    }

    .accordion-button {
        padding: 14px 16px;
        font-size: 1.15rem;
        gap: 10px;
    }

    .accordion-button::after {
        width: 26px;
        height: 26px;
        font-size: 17px;
    }

    .accordion-body {
        padding: 2px 16px 18px 16px;
        font-size: 13px;
        line-height: 1.8;
    }
}
