/*
Theme Name: Beshoz - ভেষজ পণ্য  
Description: Beshoz - আপনার প্রাকৃতিক ভেষজ পণ্যের বিশ্বস্ত সঙ্গী
Version: 2.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

:root {
    --primary-color: #27ae60;
    --primary-dark: #229954;
    --primary-darker: #1e8449;
    --red-color: #d32f2f;
    --red-dark: #c62828;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    background: #ffffff;
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
}

/* হেডার স্টাইল */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.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: var(--transition);
    color: white;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

/* সরলীকৃত মেনু */
.category-menu ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.category-menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 14px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.category-menu ul li a:hover,
.category-menu ul li a.active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* হিরো ব্যানার সেকশন */
.hero-banner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.banner-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.main-banner {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    position: relative;
}

.banner-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* স্লাইডার নেভিগেশন */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* ক্যাটাগরি সেকশন স্টাইল */
.categories-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.category-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid #f1f3f4;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

/* ক্যাটাগরি হেডার স্টাইল */
.category-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
}

.category-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-description {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ব্রেডক্রাম্ব স্টাইল */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 15px 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
}

.breadcrumb .current {
    color: var(--text-light);
    font-weight: 600;
}

/* ক্যাটাগরি প্রোডাক্টস স্টাইল */
.category-products-section {
    padding: 30px 0;
    background: #ffffff;
}

.category-products-count {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

/* অন্যান্য ক্যাটাগরি সেকশন */
.other-categories-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.other-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.other-category-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
}

.other-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.other-category-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid #f1f3f4;
}

.other-category-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

/* সার্চ বার */
.search-bar {
    margin: 15px auto;
    border-radius: 12px;
    max-width: 95%;
    box-shadow: var(--shadow-light);
}

.search-container {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-container input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
    box-shadow: var(--shadow-light);
}

.search-container input::placeholder {
    color: #999;
}

.search-container input:focus {
    box-shadow: 0 3px 12px rgba(39, 174, 96, 0.3);
}

.search-container button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.search-container button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
}

/* প্রোডাক্ট সেকশন */
.products-section {
    padding: 30px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* প্রোডাক্ট টাইটেল স্টাইল - বড় এবং বোল্ড */
.product-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: var(--text-dark);
    line-height: 1.3 !important;
    min-height: auto !important;
}

/* দামের সাথে কোন ফাকা জায়গা নেই */
.product-info {
    padding: 15px !important;
    display: flex;
    flex-direction: column;
    gap: 5px !important;
}

/* ডেস্কটপে ৪টি, মোবাইলে ২টি প্রোডাক্ট */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    border: 1px solid #f1f3f4;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.product-image {
    height: 300px;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.price-range {
    margin-bottom: 10px !important;
}

.original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.discounted-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.details-btn, .order-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 8px;
    text-align: center;
    text-decoration: none;
}

.details-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.details-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
    transform: translateY(-2px);
}

.order-btn {
    background: linear-gradient(135deg, var(--red-color), #f44336);
    color: white;
}

.order-btn:hover {
    background: linear-gradient(135deg, var(--red-dark), #e53935);
    transform: translateY(-2px);
}

/* প্রোডাক্ট ডিটেইল পেজ */
.product-detail {
    display: block;
    padding: 20px 0;
    background: #ffffff;
}

.product-detail-container {
    display: flex;
    gap: 40px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid #f1f3f4;
}

.product-image-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-large-image {
    flex: 1;
    height: 500px;
    min-height: 500px;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.product-large-image:hover {
    transform: scale(1.02);
}

/* থাম্বনেইল - সব ডিভাইসে ৪টি এক সারিতে */
.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.product-thumbnail {
    width: 100%;
    height: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-thumbnail:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.product-thumbnail.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.product-detail-info {
    flex: 1;
}

.product-detail-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.product-detail-price-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.product-detail-single-price {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-color);
}

.product-detail-description {
    margin-bottom: 25px;
    line-height: 1.7;
    color: var(--text-light);
    font-size: 16px;
}

/* ওজন সিলেক্টর */
.weight-selector {
    margin-bottom: 25px;
}

.weight-selector h4 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.weight-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.weight-btn {
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    color: var(--text-dark);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    min-width: 50px;
    text-align: center;
    font-size: 14px;
}

.weight-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.weight-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* নির্বাচিত অপশন */
.selected-options {
    margin-bottom: 25px;
}

.selected-option {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
}

/* Action Buttons স্টাইল */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.order-btn, .call-btn, .whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    width: 100%;
}

.order-btn {
    background: linear-gradient(135deg, var(--red-color), #f44336);
    color: white;
}

.order-btn:hover {
    background: linear-gradient(135deg, var(--red-dark), #e53935);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

.call-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.call-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20bd5f, #0e7a6b);
    transform: translateY(-2px);
}

/* বিস্তারিত আলোচনা সেকশন স্টাইল */
.detailed-description-section {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--red-color);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--red-color), #f44336);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--red-color), #f44336);
    margin: 0 auto;
    border-radius: 2px;
}

.detailed-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.description-text h2 {
    color: var(--red-color);
    font-size: 26px;
    font-weight: 700;
    margin: 30px 0 20px 0;
    border-bottom: 2px solid var(--red-color);
    padding-bottom: 10px;
}

.description-text h3 {
    color: var(--red-color);
    font-size: 22px;
    font-weight: 700;
    margin: 25px 0 15px 0;
    border-left: 4px solid var(--red-color);
    padding-left: 15px;
}

.description-text h3:first-child {
    margin-top: 0;
}

.description-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.description-text ul {
    margin: 15px 0;
    padding-left: 25px;
}

.description-text li {
    margin-bottom: 8px;
    position: relative;
}

.description-text li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* Benefits and Usage Sections - নো বর্ডার ইমেজ সহ */
.benefits-section, .usage-section {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border-left: 4px solid #d32f2f;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.benefits-section h3, .usage-section h3 {
    color: #d32f2f;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 2px solid #d32f2f;
    padding-bottom: 8px;
}

/* সেকশনের নিচের ইমেজ - কোন পাড়/বর্ডার নেই */
.section-image {
    width: 100%;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* প্রোডাক্ট গ্যালারি স্টাইল */
.product-gallery {
    margin-top: 30px;
}

.gallery-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.gallery-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* রিলেটেড প্রোডাক্টস */
.related-products {
    margin-top: 40px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.related-product-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 1px solid #f1f3f4;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.related-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.related-product-image {
    height: 200px;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-light);
    border-radius: 6px;
    margin-bottom: 15px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}

.related-product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
    min-height: 50px;
    flex-grow: 1;
}

.related-product-price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.related-original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
}

.related-discounted-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

/* ব্যাক বাটন */
.back-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ফিক্সড চেকআউট মডাল */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 95%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.free-delivery {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-top: 6px;
}

.modal-body {
    padding: 15px;
}

/* ক্রস বাটন স্টাইল */
.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    background: rgba(0,0,0,0.5);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 13px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    transition: var(--transition);
    background: white;
    font-family: 'Hind Siliguri', sans-serif;
    color: var(--text-dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
    max-height: 100px;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1) !important;
}

/* সাবমিট বাটন */
.submit-order {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 10px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.submit-order:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
    transform: translateY(-1px);
}

/* থ্যাঙ্ক ইউ মডাল */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 350px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid var(--border-color);
}

.thank-you-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.thank-you-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.thank-you-message {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.4;
}

.thank-you-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.thank-you-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
}

/* চেকআউট প্রোডাক্ট ইনফো */
.checkout-product-info {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.checkout-product-image {
    width: 50px;
    height: 50px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-light);
    border-radius: 4px;
    flex-shrink: 0;
}

.checkout-product-details {
    flex: 1;
    min-width: 0;
}

.checkout-product-details h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.checkout-product-price {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
}

.selected-options-summary {
    margin: 4px 0;
}

.selected-options-summary .selected-option {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    margin-right: 6px;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 11px;
}

.phone-hint {
    display: block;
    margin-top: 4px;
    color: var(--text-light);
    font-size: 11px;
}

/* ইমেজ মডাল */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.close-image-modal {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    cursor: pointer;
    color: white;
    transition: var(--transition);
}

.close-image-modal:hover {
    color: var(--primary-color);
}

/* ফুটার স্টাইল */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #d4f8e8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    font-size: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* ডিসকাউন্ট ব্যাজ */
.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* অর্ডার স্ট্যাটাস ব্যাজ */
.order-status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending { background: #ff9800; color: white; }
.status-processing { background: #2196f3; color: white; }
.status-on-hold { background: #ff5722; color: white; }
.status-completed { background: #4caf50; color: white; }
.status-cancelled { background: #f44336; color: white; }

/* ==================== */
/* রেস্পন্সিভ ডিজাইন */
/* ==================== */

/* ডেস্কটপ: ৪টি প্রোডাক্ট, মোবাইল: ২টি প্রোডাক্ট */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .category-menu ul {
        justify-content: center;
        gap: 3px;
    }
    
    .category-menu ul li a {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .main-banner {
        height: 50vh;
    }
    
    /* ক্যাটাগরি স্টাইল */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .category-card {
        padding: 10px;
    }
    
    .category-image {
        width: 60px;
        height: 60px;
    }
    
    .category-name {
        font-size: 12px;
    }
    
    .category-title {
        font-size: 28px;
    }
    
    .category-description {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .other-categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .other-category-card {
        padding: 10px;
    }
    
    .other-category-image {
        width: 50px;
        height: 50px;
    }
    
    .other-category-name {
        font-size: 11px;
    }
    
    /* মোবাইলে ২টি প্রোডাক্ট */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-detail-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-large-image {
        height: 400px;
        min-height: 400px;
    }
    
    /* থাম্বনেইল সব ডিভাইসে ৪টি এক সারিতে */
    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .product-thumbnail {
        height: 70px;
    }
    
    .modal-content {
        max-width: 350px;
        width: 95%;
    }
    
    .product-image {
        height: 250px;
    }
    
    .related-product-card {
        padding: 15px;
    }
    
    .related-product-image {
        height: 150px;
    }
    
    .related-product-title {
        font-size: 16px;
        min-height: 40px;
    }
    
    .related-discounted-price {
        font-size: 16px;
    }
    
    .detailed-description-section {
        padding: 25px;
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-image {
        height: 150px;
    }
    
    .description-text h3 {
        font-size: 20px;
    }
    
    .product-detail-title {
        font-size: 28px;
    }
    
    .discount-badge {
        font-size: 12px;
        padding: 6px 10px;
        top: 10px;
        right: 10px;
    }
    
    .original-price {
        font-size: 14px;
    }
    
    .discounted-price {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .category-header {
        padding: 30px 0;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .other-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* মোবাইলে ২টি প্রোডাক্ট */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .details-btn, .order-btn, .call-btn, .whatsapp-btn {
        font-size: 12px;
        padding: 10px;
    }
    
    .category-menu ul li a {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .product-large-image {
        height: 350px;
        min-height: 350px;
    }
    
    /* থাম্বনেইল সব ডিভাইসে ৪টি এক সারিতে */
    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .product-thumbnail {
        height: 60px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .related-product-card {
        padding: 12px;
    }
    
    .related-product-image {
        height: 120px;
    }
    
    .related-product-title {
        font-size: 14px;
        min-height: 35px;
    }
    
    .detailed-description-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .order-btn, .call-btn, .whatsapp-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .description-text {
        font-size: 14px;
    }
    
    .description-text h3 {
        font-size: 18px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .main-banner {
        height: 40vh;
    }
    
    .product-detail-title {
        font-size: 24px;
    }
    
    .discount-badge {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .original-price {
        font-size: 13px;
    }
    
    .discounted-price {
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 10px;
    }
    
    .product-large-image {
        height: 300px;
        min-height: 300px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .modal-content {
        max-width: 300px;
        max-height: 70vh;
    }
    
    .modal-header {
        padding: 8px 10px;
    }
    
    .modal-body {
        padding: 8px;
    }
    
    .main-banner {
        height: 35vh;
    }
    
    /* থাম্বনেইল সব ডিভাইসে ৪টি এক সারিতে */
    .product-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
    }
    
    .product-thumbnail {
        height: 50px;
    }
    
    .product-detail-title {
        font-size: 22px;
    }
}

/* ইমেজ সাইজিং ফিক্স */
.product-large-image,
.product-image,
.related-product-image,
.checkout-product-image {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: var(--bg-light) !important;
    object-fit: contain !important;
}

/* থাম্বনেইল ইমেজের জন্য আলাদা স্টাইল */
.product-thumbnail {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}