/* ==========================================================================
   ১. জেনারেল রিসেট ও বেসিক স্টাইল
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    /* বাটনে ক্লিক করলে ফর্মে স্মুথলি স্ক্রোল হবে */
}

body {
    background-color: #f7f9fc;
    color: #333;
    padding-bottom: 50px;
}

header {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

header h1 {
    color: #e91e63;
    font-size: 32px;
    margin-bottom: 5px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   ২. প্রোডাক্ট শোকেস ও গ্যালারি (Slider)
   ========================================================================== */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.product-gallery {
    width: 100%;
}

.slider-container {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f0;
}

.slider .slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.slider .slide.active {
    display: block;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.thumbnail-container .thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail-container .thumb.active {
    border-color: #e91e63;
}

.product-details h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #111;
}

.product-details .description {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}

/* ==========================================================================
   ৩. ইনফো সেকশন, বেনিফিটস ও সাইজ চার্ট
   ========================================================================== */
.info-section {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.section-heading {
    text-align: center;
    font-size: 20px;
    color: #111;
    margin-bottom: 20px;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #e91e63;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* বেনিফিট গ্রিড */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.benefit-card {
    text-align: center;
    padding: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    background: #fafafa;
}

.benefit-card .icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.benefit-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #e91e63;
}

.benefit-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* সাইজ টেবিল */
.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.size-table th,
.size-table td {
    border: 1px solid #eee;
    padding: 12px;
    text-align: center;
}

.size-table th {
    background: #fff5f7;
    color: #e91e63;
    font-weight: bold;
}

/* রিভিউ গ্রিড */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.review-img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #eee;
    object-fit: cover;
}

/* ==========================================================================
   ৪. ভেরিয়েশন গ্রিড ও অপশন বাটন (প্যাকেজ, কালার, সাইজ)
   ========================================================================== */
.variation-section {
    margin-bottom: 25px;
    /* ফিল্ডের মাঝে পর্যাপ্ত স্পেস */
}

.form-section-title {
    display: block;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 12px;
    color: #1a202c;
}

.v-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.size-grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.v-btn {
    background: #fff;
    border: 2px solid #e2e8f0;
    padding: 12px 10px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.v-btn:hover,
.v-btn.selected {
    border-color: #e91e63;
    color: #e91e63;
    background: #fff5f7;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.05);
}

.v-btn span {
    display: block;
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

.v-btn.selected span {
    color: #e91e63;
}

/* ডেলিভারি অপশন রেডিও স্টাইল */
.delivery-options {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.delivery-radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.delivery-radio-label input[type="radio"] {
    accent-color: #e91e63;
    width: 18px;
    height: 18px;
}

.delivery-radio-label:has(input:checked) {
    border-color: #e91e63;
    background: #fff5f7;
    color: #e91e63;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.05);
}

/* ==========================================================================
   ৫. মডার্ন ও ক্লিন অর্ডার ফর্ম সেকশন
   ========================================================================== */
.order-section {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 650px;
    margin: 40px auto;
}

.order-section h2 {
    text-align: center;
    font-size: 24px;
    color: #333333;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    /* প্রতিটি ইনপুট গ্রুপের মাঝে চমৎকার গ্যাপ */
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #444444;
    font-size: 15px;
}

/* ইনপুট বক্স ও টেক্সটএরিয়া ক্লিন লুক */
.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    background-color: #f8fafc;
    /* কাস্টমারের চোখের শান্তির জন্য হালকা ব্যাকগ্রাউন্ড */
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* ইনপুট ফোকাস ইফেক্ট */
.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: #e91e63;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

.form-divider {
    border: 0;
    height: 1px;
    background: #edf2f7;
    margin: 30px 0;
}

.hidden-field {
    display: none !important;
}

/* সর্বমোট মূল্য বক্স */
.total-display {
    background: #fff5f7;
    /* হালকা প্রিমিয়াম রোজি থিম */
    border: 1px dashed #ffb6c1;
    padding: 18px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    border-radius: 12px;
    margin: 30px 0;
    color: #333333;
}

#totalPriceDisplay {
    color: #e91e63;
    font-size: 24px;
    margin: 0 4px;
}

/* সবুজ সাবমিট বাটন (ট্রাস্ট ও কনভার্শন বাড়ানোর জন্য) */
button[type="submit"] {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(22, 163, 74, 0.3);
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}

.message {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

/* ==========================================================================
   ৬. "অর্ডার করুন" স্ক্রোল বাটন অ্যানিমেশন (Sticky/Scroll Buttons)
   ========================================================================== */
.buy-now-scroll-btn {
    display: inline-flex;
    background: linear-gradient(135deg, #ff4081, #e91e63);
    color: #ffffff !important;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 15px auto;
    border: none;
    outline: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

.buy-now-scroll-btn:hover {
    background: linear-gradient(135deg, #e91e63, #c2185b);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.6);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 5px 25px rgba(233, 30, 99, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
    }
}

/* ==========================================================================
   ৭. রেসপন্সিভ ডিজাইন (Mobile Optimization)
   ========================================================================== */
@media (max-width: 768px) {
    .buy-now-scroll-btn {
        width: 90%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .delivery-options {
        flex-direction: column;
        /* মোবাইলে ডেলিভারি অপশন ওপর-নিচে সুন্দর দেখাবে */
        gap: 10px;
    }

    .order-section {
        padding: 25px 15px;
        margin: 20px auto;
    }
}