/*
Theme Name: Beshoz Theme  
Description: Beshoz - আপনার পছন্দের অনলাইন শপ
Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    min-height: 100vh;
}

/* হেডার স্টাইল */
header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 12px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: headerSlide 0.8s ease;
}

@keyframes headerSlide {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s ease;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
    background: rgba(255,255,255,0.2);
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s ease;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 14px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: block;
}

nav ul li a:hover, nav ul li a.active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* সার্চ বার স্টাইল */
.search-bar {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.9), rgba(37, 117, 252, 0.9));
    padding: 15px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    margin: 15px auto;
    border-radius: 15px;
    max-width: 95%;
    animation: searchAppear 0.8s ease 0.2s both;
}

@keyframes searchAppear {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-container {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-container input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px 0 0 12px;
    font-size: 16px;
    outline: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: rgba(255,255,255,0.9);
}

.search-container input:focus {
    border-color: #ffdd40;
    box-shadow: 0 6px 20px rgba(255, 221, 64, 0.4);
}

.search-container button {
    background: linear-gradient(135deg, #ffdd40, #ffd700);
    color: #333;
    border: none;
    padding: 0 25px;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(255, 221, 64, 0.4);
}

.search-container button:hover {
    background: linear-gradient(135deg, #ffd700, #ffcc00);
    transform: translateY(-2px);
}

/* প্রোডাক্ট সেকশন */
.products-section {
    padding: 50px 0;
    animation: sectionAppear 1s ease 0.4s both;
}

@keyframes sectionAppear {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.product-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.5s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: cardAppear 0.6s ease both;
    animation-delay: calc(var(--i) * 0.1s);
}

@keyframes cardAppear {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 221, 64, 0.6);
}

.product-image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    flex-shrink: 0;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
    line-height: 1.3;
}

.product-price-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 8px;
}

.original-price {
    font-size: 16px;
    color: #e74c3c;
    text-decoration: line-through;
    font-weight: 600;
}

.discounted-price {
    font-size: 20px;
    font-weight: bold;
    color: #27ae60;
}

.single-price {
    font-size: 20px;
    font-weight: bold;
    color: #6a11cb;
}

.details-btn, .order-btn, .call-btn, .whatsapp-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-bottom: 8px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.details-btn {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.details-btn:hover {
    background: linear-gradient(135deg, #7f8c8d, #6c7b7d);
    transform: translateY(-2px);
}

.order-btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
}

.order-btn:hover {
    background: linear-gradient(135deg, #5a0db9, #1c68e8);
    transform: translateY(-2px);
}

.call-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.call-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20bd5f, #0e7a6b);
    transform: translateY(-2px);
}

/* প্রোডাক্ট ডিটেইল পেজ - FIXED */
.product-detail {
    display: none;
    padding: 40px 0;
    animation: fadeIn 0.5s ease;
}

.product-detail.active {
    display: block;
}

.product-detail-container {
    display: flex;
    gap: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.product-large-image {
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
    min-height: 300px;
}

.product-detail-info {
    flex: 1;
}

.product-detail-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.product-detail-price-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.product-detail-original-price {
    font-size: 22px;
    color: #e74c3c;
    text-decoration: line-through;
    font-weight: 600;
}

.product-detail-discounted-price {
    font-size: 28px;
    font-weight: bold;
    color: #27ae60;
}

.product-detail-single-price {
    font-size: 28px;
    font-weight: bold;
    color: #6a11cb;
}

.product-detail-description {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #555;
    font-size: 16px;
}

/* FAQ স্টাইল */
.faq-section {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9), rgba(233, 236, 239, 0.8));
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
}

.faq-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-emoji {
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 17, 203, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.faq-content {
    flex: 1;
}

.faq-question {
    font-weight: 600;
    color: #6a11cb;
    margin-bottom: 5px;
    font-size: 16px;
}

.faq-answer {
    color: #555;
    font-size: 15px;
}

/* রিলেটেড প্রোডাক্টস */
.related-products {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255,255,255,0.3);
}

.related-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related-slider {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.related-slider-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.related-slider-container::-webkit-scrollbar {
    display: none;
}

.related-product-card {
    min-width: 250px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.8));
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.related-product-image {
    height: 150px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    margin-bottom: 10px;
}

.related-product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.related-product-price {
    font-size: 18px;
    font-weight: bold;
    color: #6a11cb;
    margin-bottom: 10px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.slider-btn:hover {
    background: linear-gradient(135deg, #5a0db9, #1c68e8);
    transform: scale(1.1);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

/* মডাল স্টাইল */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    padding: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalSlideUp 0.4s ease;
    overflow: hidden;
    border: 3px solid rgba(106, 17, 203, 0.3);
}

@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.free-delivery {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.modal-body {
    padding: 30px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: rgba(0,0,0,0.4);
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
    font-family: 'Hind Siliguri', sans-serif;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #6a11cb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
    transform: translateY(-2px);
}

/* সাবমিট বাটন স্টাইল */
.submit-order {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.4);
    margin-top: 10px;
}

.submit-order:hover {
    background: linear-gradient(135deg, #5a0db9, #1c68e8);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(106, 17, 203, 0.6);
}

/* থ্যাঙ্ক ইউ মডাল */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.thank-you-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalSlideUp 0.4s ease;
    border: 3px solid rgba(106, 17, 203, 0.3);
}

.thank-you-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.thank-you-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.thank-you-message {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
}

.thank-you-btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
}

.thank-you-btn:hover {
    background: linear-gradient(135deg, #5a0db9, #1c68e8);
    transform: translateY(-2px);
}

/* চেকআউট প্রোডাক্ট ইনফো */
.checkout-product-info {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9), rgba(233, 236, 239, 0.8));
    border-radius: 12px;
    border: 2px solid rgba(106, 17, 203, 0.1);
}

.checkout-product-image {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    flex-shrink: 0;
}

.checkout-product-details {
    flex: 1;
}

.checkout-product-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
}

.checkout-product-price {
    font-size: 18px;
    font-weight: bold;
    color: #27ae60;
}

.phone-hint {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* লোডিং স্টেট */
.submit-order.loading {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d) !important;
    cursor: not-allowed;
}

.submit-order:disabled {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d) !important;
    cursor: not-allowed;
    transform: none !important;
}

/* রেস্পন্সিভ ডিজাইন */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    nav ul {
        justify-content: center;
        gap: 8px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-detail-container {
        flex-direction: column;
    }
    
    .product-large-image {
        height: 300px;
        min-height: 250px;
    }
    
    .faq-item {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-emoji {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .checkout-product-info {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .checkout-product-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .submit-order {
        padding: 15px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .details-btn, .order-btn, .call-btn, .whatsapp-btn {
        font-size: 12px;
        padding: 10px;
    }
    
    nav ul li a {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .checkout-product-details h3 {
        font-size: 14px;
    }
    
    .checkout-product-price {
        font-size: 16px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .submit-order {
        padding: 12px;
        font-size: 14px;
    }
    
    .product-detail-title {
        font-size: 24px;
    }
    
    .product-detail-description {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 5px;
    }
    
    .modal-content {
        width: 98%;
        max-width: 320px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .product-large-image {
        height: 250px;
        min-height: 200px;
    }
}

/* চেকআউট মডাল স্টাইল - ছোট আকার */
.modal-content {
    max-width: 450px !important;
    width: 95% !important;
    margin: 10% auto !important;
}

.modal-header {
    padding: 20px 25px !important;
}

.modal-header h2 {
    font-size: 22px !important;
    margin-bottom: 8px !important;
}

.free-delivery {
    padding: 6px 15px !important;
    font-size: 14px !important;
}

.modal-body {
    padding: 20px 25px !important;
}

.close-modal {
    top: 15px !important;
    right: 15px !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 20px !important;
}

.form-group {
    margin-bottom: 15px !important;
}

.form-group label {
    font-size: 14px !important;
    margin-bottom: 5px !important;
}

.form-group input, 
.form-group textarea {
    padding: 10px 12px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
}

.submit-order {
    padding: 12px !important;
    font-size: 16px !important;
    margin-top: 5px !important;
}

.checkout-product-info {
    padding: 12px !important;
    margin-bottom: 20px !important;
    gap: 12px !important;
}

.checkout-product-image {
    width: 60px !important;
    height: 60px !important;
}

.checkout-product-details h3 {
    font-size: 14px !important;
    margin-bottom: 5px !important;
}

.checkout-product-price {
    font-size: 16px !important;
}

.phone-hint {
    font-size: 11px !important;
}

/* মোবাইল ডিভাইসের জন্য আরও ছোট */
@media (max-width: 480px) {
    .modal-content {
        max-width: 380px !important;
        margin: 5% auto !important;
    }
    
    .modal-header {
        padding: 15px 20px !important;
    }
    
    .modal-header h2 {
        font-size: 20px !important;
    }
    
    .modal-body {
        padding: 15px 20px !important;
    }
    
    .checkout-product-info {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }
    
    .checkout-product-image {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 360px) {
    .modal-content {
        max-width: 320px !important;
        width: 98% !important;
    }
    
    .modal-header {
        padding: 12px 15px !important;
    }
    
    .modal-body {
        padding: 12px 15px !important;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
    
    .submit-order {
        padding: 10px !important;
        font-size: 14px !important;
    }
}

/* মোবাইল ডিভাইসের জন্য চেকআউট মডাল ছোট */
@media (max-width: 768px) {
    .modal-content {
        max-width: 380px !important;
        width: 95% !important;
        margin: 5% auto !important;
        border-radius: 15px !important;
    }

    .modal-header {
        padding: 15px 20px !important;
    }

    .modal-header h2 {
        font-size: 20px !important;
        margin-bottom: 5px !important;
    }

    .free-delivery {
        padding: 6px 12px !important;
        font-size: 13px !important;
        margin-top: 5px !important;
    }

    .modal-body {
        padding: 15px 20px !important;
    }

    .close-modal {
        top: 10px !important;
        right: 10px !important;
        width: 25px !important;
        height: 25px !important;
        font-size: 18px !important;
    }

    .checkout-product-info {
        padding: 10px !important;
        margin-bottom: 15px !important;
        gap: 10px !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    .checkout-product-image {
        width: 70px !important;
        height: 70px !important;
        margin: 0 auto !important;
    }

    .checkout-product-details h3 {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    .checkout-product-price {
        font-size: 15px !important;
    }

    .form-group {
        margin-bottom: 12px !important;
    }

    .form-group label {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }

    .form-group input, 
    .form-group textarea {
        padding: 10px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }

    .submit-order {
        padding: 12px !important;
        font-size: 15px !important;
        margin-top: 5px !important;
    }

    .phone-hint {
        font-size: 11px !important;
    }
}

/* খুব ছোট মোবাইল ডিভাইসের জন্য */
@media (max-width: 480px) {
    .modal-content {
        max-width: 340px !important;
        width: 98% !important;
        margin: 2% auto !important;
    }

    .modal-header {
        padding: 12px 15px !important;
    }

    .modal-header h2 {
        font-size: 18px !important;
    }

    .free-delivery {
        font-size: 12px !important;
        padding: 5px 10px !important;
    }

    .modal-body {
        padding: 12px 15px !important;
    }

    .checkout-product-info {
        padding: 8px !important;
        margin-bottom: 12px !important;
    }

    .checkout-product-image {
        width: 60px !important;
        height: 60px !important;
    }

    .checkout-product-details h3 {
        font-size: 13px !important;
    }

    .checkout-product-price {
        font-size: 14px !important;
    }

    .form-group input, 
    .form-group textarea {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }

    .submit-order {
        padding: 10px !important;
        font-size: 14px !important;
    }
}

/* এক্সট্রা ছোট স্ক্রিন (360px নিচে) */
@media (max-width: 360px) {
    .modal-content {
        max-width: 300px !important;
        margin: 1% auto !important;
        border-radius: 12px !important;
    }

    .modal-header {
        padding: 10px 12px !important;
    }

    .modal-header h2 {
        font-size: 16px !important;
    }

    .free-delivery {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }

    .modal-body {
        padding: 10px 12px !important;
    }

    .close-modal {
        top: 8px !important;
        right: 8px !important;
        width: 22px !important;
        height: 22px !important;
        font-size: 16px !important;
    }

    .form-group input, 
    .form-group textarea {
        padding: 7px 8px !important;
        font-size: 12px !important;
    }

    .submit-order {
        padding: 8px !important;
        font-size: 13px !important;
    }
}

/* ইমেজ ডিসপ্লে ইস্যু ফিক্স */
.product-image,
.product-large-image,
.related-product-image,
.checkout-product-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* ব্যাকআপ ইমেজ স্টাইল */
.image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    color: #666;
    font-size: 16px;
    text-align: center;
    padding: 20px;
}

/* প্রোডাক্ট ডিটেইল ভিজিবিলিটি এনহ্যান্সমেন্ট */
.back-btn {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background: linear-gradient(135deg, #7f8c8d, #6c7b7d);
    transform: translateY(-2px);
}





/* প্রোডাক্ট সেকশন পজিশন এডজাস্টমেন্ট */
.products-section {
    margin-top: 0;
    padding-top: 30px;
}

/* সার্চ বার এবং প্রোডাক্ট সেকশনের মধ্যে ফাঁকা জায়গা কমাতে */
.search-bar {
    margin-bottom: 25px;
}

/* মোবাইল ডিভাইসের জন্য এডজাস্টমেন্ট */
@media (max-width: 768px) {
    .products-section {
        padding-top: 20px;
    }
    
    .search-bar {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .products-section {
        padding-top: 15px;
    }
    
    .search-bar {
        margin-bottom: 15px;
    }
}