/* kormokahon/assets/css/app.css */

/* গুগল ফন্ট (Tiro Bangla) ইম্পোর্ট করা হচ্ছে */
@import url('https://fonts.googleapis.com/css2?family=Tiro+Bangla:ital@0;1&display=swap');

body {
    font-family: 'Tiro Bangla', serif;
    background-color: #f8f9fa; /* হালকা ধূসর ব্যাকগ্রাউন্ড */
}

/* === আধুনিক প্রোডাক্ট কার্ড ডিজাইন === */
.product-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* ভেতরের কন্টেন্টকে কার্ডের সীমানার মধ্যে রাখে */
}

.product-card:hover {
    transform: translateY(-8px); /* হোভার করলে কার্ডটি সামান্য উপরে উঠবে */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* সুন্দর শ্যাডো ইফেক্ট */
}

.product-card .card-img-top {
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05); /* হোভার করলে ছবিটি জুম হবে */
}

.product-card .card-body {
    padding: 1rem;
}

.product-card .card-title a {
    font-weight: bold;
    color: #343a40; /* গাঢ় টেক্সট */
    transition: color 0.2s ease;
}

.product-card .card-title a:hover {
    color: #0d6efd; /* Bootstrap-এর প্রাইমারি নীল রঙ */
}

.product-card .card-text {
    font-size: 0.9rem;
}

.product-card .price strong {
    font-size: 1.2rem;
}

/* শপ পেজের জন্য বিশেষ স্টাইল */
.shop-products-grid .col {
    margin-bottom: 1.5rem;
}












/* === একক পণ্য পেজের ডিজাইন === */

.single-product-page .main-product-image {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-thumbnails .thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    object-fit: cover;
}

.product-thumbnails .thumbnail:hover, .product-thumbnails .thumbnail.active {
    border-color: #0d6efd; /* প্রাইমারি নীল রঙ */
}

/* পরিমাণ সিলেক্টর */
.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 150px;
}

.quantity-selector .btn {
    font-weight: bold;
}

.quantity-selector .form-control {
    text-align: center;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

/* ট্যাব ডিজাইন */
.product-details-tabs .nav-link {
    color: #6c757d;
}

.product-details-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 3px solid #0d6efd;
}



/* === ধাপ ১৪: একক পণ্য পেজের চূড়ান্ত ডিজাইন === */

.product-details-page {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

/* মধ্যম কলামের স্টাইল */
.product-info h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

.product-meta {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 1rem;
}

.product-meta .rating .bi-star-fill {
    color: #ffc107;
}

.product-price .current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #dc3545; /* লাল রঙ */
}

.product-price .tax-info {
    font-size: 0.8rem;
    color: #6c757d;
}

.product-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    margin-right: 10px;
}

.wishlist-btn {
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    border-radius: 5px;
}
.wishlist-btn .bi-heart { color: #dc3545; }

.social-share a {
    color: #6c757d;
    margin-right: 10px;
    font-size: 1.5rem;
}

/* ডান কলামের স্টাইল */
.sidebar-box {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-box h5 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.seller-info-box .seller-name {
    font-weight: bold;
}

.more-from-store .product-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.more-from-store .product-item img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    margin-right: 10px;
}
.total-price-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: #212529;
}

.product-meta .rating .bi-star { /* খালি স্টারের রঙ */
    color: #ffc107;
}

/* Add to Cart বাটনের লোডিং অবস্থা */
.btn-adding-cart {
    cursor: wait !important;
}

/* মোবাইল ভিউ (768px এর নিচের ডিভাইসের জন্য) */
@media (max-width: 768px) {
    .product-details-page {
        padding: 1rem;
    }
    .product-info h1 {
        font-size: 1.8rem;
    }
    .product-price .current-price {
        font-size: 2rem;
    }
    .col-lg-4, .col-lg-3 {
        margin-top: 2rem;
    }
}

/* === ধাপ ১৮: মূল রেফারেন্স ডিজাইনের চূড়ান্ত বাস্তবায়ন === */

/* -- সাধারণ স্টাইল -- */
.product-details-page {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    animation: fadeInUp 0.7s ease-out;
}

/* -- মধ্যম কলাম: পণ্যের তথ্য -- */
.product-info h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-info .product-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.product-info .rating .bi-star { color: #ffc107; }

.product-info .current-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00796b;
}

.product-info .original-price {
    font-size: 1.2rem;
}

/* -- ডান কলাম: বিক্রেতার তথ্য বক্স -- */
.sidebar-box {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #fafafa;
}
.sidebar-box h5 {
    font-weight: bold;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.delivery-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: #555;
}
.delivery-info .bi {
    color: #00796b;
}

.seller-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 1.5rem 0;
}
.seller-stats .stat-item h3 {
    font-weight: 700;
}
.seller-stats .stat-item p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* -- নিচের ট্যাব এবং অন্যান্য পণ্য -- */
.extra-info-section {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #e9ecef;
}