/**
 * ============================================================
 * প্রোডাক্ট ডিটেইলস পেজ - ঘরবাজার স্টাইল (হুবহু)
 * প্রোডাকশন লেভেল | মোবাইল-ফার্স্ট
 * ============================================================
 */

/* ============================================================
   1. ব্রেডক্রাম্ব
   ============================================================ */
.product-breadcrumb {
    padding: 12px 0 16px;
    background: transparent;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: #6b7280;
}

.breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #017e3d;
}

.breadcrumb-item.active {
    color: #1f2937;
    font-weight: 500;
}

.breadcrumb-sep {
    color: #d1d5db;
    font-size: 10px;
}

/* ============================================================
   2. মেইন প্রোডাক্ট সেকশন
   ============================================================ */
.product-detail-page {
    padding: 0 0 40px;
}

.product-main-section {
    background: #ffffff;
    margin-bottom: 30px;
    padding: 0;
}

/* ============================================================
   3. ইমেজ গ্যালারি - ভার্টিকাল থাম্বনেইল
   ============================================================ */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

/* থাম্বনেইল (মেইন ইমেজের নিচে) */
.thumbnail-vertical {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    margin-top: 10px;
}

.thumbnail-vertical::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-vertical::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.thumbnail-vertical .thumb-item {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
    background: #f9fafb;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-vertical .thumb-item.active {
    border-color: #017e3d;
}

.thumbnail-vertical .thumb-item:hover {
    border-color: #9ca3af;
}

.thumbnail-vertical .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ভিডিও থাম্বনেইল স্টাইল */
.thumbnail-vertical .thumb-item.video-thumb {
    position: relative;
    border-color: #ef4444;
}

.video-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    z-index: 2;
    transition: background 0.25s;
}

.thumbnail-vertical .thumb-item.video-thumb:hover .video-thumb-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.video-placeholder-icon {
    font-size: 24px;
    color: #ef4444;
}

/* মেইন ইমেজ */
.main-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    background: #f9fafb;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    border-radius: 8px;
}

.main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

/* জুম বাটন */
.zoom-icon-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #374151;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-icon-btn:hover {
    background: #ffffff;
    transform: scale(1.05);
}

/* ============================================================
   4. জুম ওভারলে
   ============================================================ */
.image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 40px;
}

.image-zoom-overlay.active {
    display: flex;
}

.image-zoom-overlay .zoom-inner {
    position: relative;
    max-width: 95%;
    max-height: 90%;
}

.image-zoom-overlay .zoom-inner img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    animation: zoomIn 0.3s ease;
}

.zoom-close-btn {
    position: fixed;
    top: 24px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    z-index: 100000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ============================================================
   5. প্রোডাক্ট তথ্য
   ============================================================ */
.product-info {
    padding-right: 20px;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
    line-height: 1.3;
}

/* রেটিং */
.rating-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 3px;
}

.stars i {
    font-size: 14px;
    color: #fbbf24;
}

.stars i.far {
    color: #d1d5db;
}

.review-count {
    color: #6b7280;
    font-size: 13px;
}

/* প্রাইস সেকশন */
.product-price-wrapper {
    background: #f9fafb;
    padding: 16px 20px;
    border-radius: 4px;
    margin: 12px 0 16px;
    border: 1px solid #e5e7eb;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: #017e3d;
}

.old-price {
    font-size: 16px;
    color: #ff0000;
    text-decoration: line-through;
}

.save-label {
    display: inline-block;
    background: #017e3d;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 5cqmin;
}

.price-addon {
    margin-top: 4px;
    font-size: 14px;
    color: #6b7280;
}

.price-addon strong {
    color: #1f2937;
}

/* শর্ট বিবরণ */
.short-description {
    margin: 12px 0 16px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
}

/* ব্র্যান্ড সেকশন */
.product-brand {
    margin: 14px 0 18px;
    padding: 10px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.product-brand:hover {
    background: #f1f5f9;
    border-color: #d1d5db;
}

.product-brand .brand-label {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    min-width: 52px;
}

.product-brand .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
    padding: 4px 12px 4px 8px;
    border-radius: 6px;
}

.product-brand .brand-link:hover {
    color: #017e3d;
    background: rgba(1, 126, 61, 0.06);
}

.product-brand .brand-link img {
    max-height: 28px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
}

.product-brand .brand-link .brand-name {
    font-weight: 500;
    color: #1f2937;
}

.product-brand .brand-link:hover .brand-name {
    color: #017e3d;
}

.product-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    flex-shrink: 0;
}

.product-brand .brand-link:hover .brand-icon {
    background: #d1d5db;
}

/* পরিমাণ সিলেক্টর */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.quantity-selector span {
    font-weight: 500;
    color: #1f2937;
    font-size: 14px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0;
}

.qty-btn:hover {
    background: #00A65A;
}

.qty-input {
    width: 50px;
    height: 38px;
    text-align: center;
    border: none;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    font-size: 15px;
    font-weight: 500;
}

.qty-input:focus {
    outline: none;
}

/* অ্যাকশন বাটন */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
    width: 100%;
}

.add-to-cart-btn {
    flex: 1.2;
    height: 48px;
    background: #017e3d;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(1, 126, 61, 0.15);
}

.add-to-cart-btn:hover {
    background: #00632f;
    box-shadow: 0 4px 8px rgba(0, 99, 47, 0.25);
    transform: translateY(-1px);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn i {
    font-size: 16px;
}

.buy-now-btn {
    flex           : 1;
    height         : 48px;
    background     : #e85d04;
    border         : none;
    border-radius  : 8px;
    color          : #ffffff;
    font-weight    : 600;
    font-size      : 16px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    gap            : 8px;
    cursor         : pointer;
    transition     : all 0.2s ease;
    text-transform : uppercase;
    letter-spacing : 0.3px;
    box-shadow     : 0 2px 4px rgba(232, 93, 4, 0.15);
}

.buy-now-btn:hover {
    background: #d35400;
    box-shadow: 0 4px 8px rgba(211, 84, 0, 0.25);
    transform: translateY(-1px);
}

.buy-now-btn:active {
    transform: translateY(0);
}

.buy-now-btn i {
    font-size: 16px;
}

/* হোয়াটসঅ্যাপ ও কল */
.whatsapp-call-group {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.whatsapp-btn {
    flex: 1;
    padding: 10px 16px;
    background: #25D366;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

.whatsapp-btn i {
    font-size: 16px;
}

.call-btn {
    flex: 1;
    padding: 10px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #4b5563;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.call-btn:hover {
    background: #e5e7eb;
}

.call-btn i {
    font-size: 14px;
}

/* ============================================================
   6. ট্যাব সেকশন
   ============================================================ */
.product-tabs {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    gap: 0;
    padding: 0 24px;
    overflow-x: auto;
    background: #fafbfc;
    position: relative;
}

.tab-headers::-webkit-scrollbar {
    height: 2px;
}

.tab-headers::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.tab-btn {
    padding: 16px 24px;
    background: none;
    border: none;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.25s ease;
    position: relative;
    letter-spacing: 0.3px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: #1f2937;
    background: rgba(1, 126, 61, 0.04);
}

.tab-btn.active {
    color: #017e3d;
    border-bottom-color: #017e3d;
    background: transparent;
}

.tab-content {
    padding: 28px 24px 24px;
    background: #ffffff;
}

.tab-pane {
    display: none;
    animation: tabFadeIn 0.35s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* বিবরণ */
.description-content {
    line-height: 1.9;
    color: #4b5563;
    font-size: 15px;
}

.description-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 24px 0 12px;
}

.description-content ul {
    padding-left: 24px;
    list-style: none;
}

.description-content ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.description-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #017e3d;
    font-weight: 700;
}

/* স্পেসিফিকেশন টেবিল */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table tr {
    border-bottom: 1px solid #f3f4f6;
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 12px 8px;
    color: #4b5563;
}

.spec-table .spec-label {
    font-weight: 600;
    color: #1f2937;
    width: 30%;
    background: #fafbfc;
    padding-left: 16px;
    border-radius: 4px 0 0 4px;
}

.spec-table .spec-value {
    padding-left: 16px;
}

/* ============================================================
   7. রিভিউ সেকশন
   ============================================================ */
.review-stats-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    background: #fafbfc;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
}

.avg-rating-box {
    text-align: center;
    min-width: 140px;
    padding: 8px 16px;
}

.avg-rating-box .big-number {
    font-size: 44px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.avg-rating-box .stars {
    justify-content: center;
    margin: 4px 0 2px;
}

.avg-rating-box .avg-label {
    font-size: 13px;
    color: #6b7280;
}

.rating-bars {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.rating-bar-row:last-child {
    margin-bottom: 0;
}

.rating-bar-row .star-label {
    font-size: 12px;
    color: #4b5563;
    min-width: 36px;
    font-weight: 500;
}

.rating-bar-row .bar-track {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-row .bar-track .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 10px;
    transition: width 0.6s ease;
}

.rating-bar-row .bar-percent {
    font-size: 12px;
    color: #6b7280;
    min-width: 38px;
    text-align: right;
    font-weight: 500;
}

/* রিভিউ ফর্ম */
.review-form-wrapper {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.review-form-wrapper .form-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.review-form-wrapper .form-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.review-form .form-group {
    margin-bottom: 16px;
}

.review-form label {
    font-weight: 500;
    font-size: 14px;
    color: #1f2937;
    display: block;
    margin-bottom: 5px;
}

.review-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    min-height: 110px;
    resize: vertical;
    transition: all 0.2s;
    background: #ffffff;
    color: #1f2937;
}

.review-form textarea:focus {
    border-color: #017e3d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 126, 61, 0.1);
}

.review-form textarea::placeholder {
    color: #9ca3af;
}

.review-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    transition: all 0.2s;
    color: #1f2937;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.review-form select:focus {
    border-color: #017e3d;
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 126, 61, 0.1);
}

.submit-review-btn {
    padding: 12px 36px;
    background: #017e3d;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit-review-btn:hover {
    background: #00632f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 126, 61, 0.25);
}

.submit-review-btn:active {
    transform: translateY(0);
}

/* রিভিউ লিস্ট */
.reviews-list {
    margin-top: 24px;
}

.review-item {
    border-bottom: 1px solid #f3f4f6;
    padding: 20px 0;
}

.review-item:last-child {
    border-bottom: none;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 16px;
    flex-shrink: 0;
}

.reviewer-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 14px;
}

.review-date {
    font-size: 12px;
    color: #9ca3af;
}

.review-rating {
    margin-bottom: 4px;
}

.review-rating .stars i {
    font-size: 13px;
}

.review-title {
    font-weight: 600;
    color: #1f2937;
    font-size: 15px;
    margin-bottom: 2px;
}

.review-comment {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
}

/* খালি রিভিউ */
.empty-reviews {
    text-align: center;
    padding: 48px 20px;
}

.empty-reviews i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 12px;
}

.empty-reviews h4 {
    font-size: 18px;
    color: #1f2937;
    margin-bottom: 4px;
}

.empty-reviews p {
    color: #6b7280;
    font-size: 14px;
}

/* ============================================================
   8. রিলেটেড প্রোডাক্ট
   ============================================================ */
.related-products {
    margin-top: 30px;
    margin-bottom: 50px;
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.related-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.related-more {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.related-more:hover {
    color: #017e3d;
}

/* ============================================================
   9. প্রোডাক্ট কার্ড (রিলেটেড)
   ============================================================ */
.related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.product-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #017e3d;
}

.product-card .product-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9fafb;
}

.product-card .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.06);
}

.product-card .discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.3px;
}

.product-card .flag-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e85d04;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.3px;
}

.product-card .flag-badge.best-selling {
    background: #f59e0b;
}

.product-card .wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    transition: all 0.25s ease;
}

.product-card .wishlist-btn:hover {
    background: #fee2e2;
    transform: scale(1.08);
}

.product-card .wishlist-btn i {
    font-size: 14px;
    color: #9ca3af;
    transition: color 0.2s;
}

.product-card .wishlist-btn.active i {
    color: #ef4444;
}

.product-card .product-info {
    padding: 14px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-card .product-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.product-card .product-title a:hover {
    color: #017e3d;
}

.product-card .rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.product-card .rating i {
    font-size: 11px;
    color: #fbbf24;
}

.product-card .rating i.far {
    color: #d1d5db;
}

.product-card .rating span {
    font-size: 11px;
    color: #6b7280;
}

.product-card .product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.product-card .product-price .current {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

.product-card .product-price .old {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

.product-card .cart-btn {
    width          : 100%;
    padding        : 8px 12px;
    background     : #017e3d;
    border         : none;
    border-radius  : 6px;
    color          : #ffffff;
    font-size      : 14px !important;
    font-weight    : 500;
    display        : flex;
    align-items    : center;
    justify-content: center;
    gap            : 8px;
    cursor         : pointer;
    transition     : all 0.25s ease;
    margin-top     : auto;
    text-transform : uppercase;
    letter-spacing : 0.5px;
    margin-left    : auto;
    margin-right   : auto;
}

.product-card .cart-btn span,
.product-card .cart-btn i {
    font-size: 14px !important;
}

.product-card .cart-btn:hover {
    background: #00632f;
    transform : translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 126, 61, 0.25);
}

.product-card .stock-out-btn {
    width          : 100%;
    padding        : 8px 12px;
    background     : #f3f4f6;
    border         : 1px solid #e5e7eb;
    border-radius  : 6px;
    color          : #9ca3af;
    font-size      : 13px;
    font-weight    : 500;
    display        : flex;
    align-items    : center;
    justify-content: center;
    gap            : 8px;
    cursor         : not-allowed;
    margin-top     : auto;
    text-transform : uppercase;
    letter-spacing : 0.5px;
    margin-left    : auto;
    margin-right   : auto;
}

.product-card .stock-out-btn i {
    font-size: 14px;
}

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

/* ট্যাবলেট & ডেস্কটপ */
@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 992px) {


    .thumbnail-vertical .thumb-item {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }



    .related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* মোবাইল */
@media (max-width: 768px) {
    .product-brand {
        padding: 8px 12px;
        margin: 10px 0 14px;
        flex-wrap: wrap;
    }

    .product-brand .brand-label {
        font-size: 12px;
        min-width: 44px;
    }

    .product-brand .brand-link {
        font-size: 13px;
        padding: 2px 10px 2px 6px;
    }

    .product-brand .brand-link img {
        max-height: 24px;
    }

    .product-brand .brand-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .action-buttons {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        width: 100%;
    }

    .buy-now-btn {
        order: 1;
        grid-column: 1 / 3;
        width: 100%;
        height: 48px;
        font-size: 15px;
        border-radius: 8px;
        padding: 0;
    }

    .add-to-cart-btn {
        order: 2;
        grid-column: 1 / 2;
        width: 100%;
        height: 48px;
        font-size: 15px;
        border-radius: 8px;
        padding: 0;
    }

    .wishlist-btn-main {
        order: 3;
        grid-column: 2 / 3;
        width: 48px;
        height: 48px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .whatsapp-call-group {
        flex-direction: column;
        gap: 8px;
    }

    .whatsapp-btn,
    .call-btn {
        flex: 1;
        width: 100%;
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 6px;
    }

    .tab-headers {
        padding: 0 16px;
    }

    .tab-btn {
        padding: 14px 16px;
        font-size: 13px;
    }

    .tab-content {
        padding: 20px 16px;
    }

    .review-stats-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .avg-rating-box {
        min-width: auto;
    }

    .avg-rating-box .big-number {
        font-size: 36px;
    }

    .review-form-wrapper {
        padding-top: 24px;
        margin-top: 24px;
    }

    .submit-review-btn {
        width: 100%;
        justify-content: center;
    }

    .spec-table td {
        padding: 10px 8px;
        font-size: 13px;
    }

    .spec-table .spec-label {
        width: 40%;
        padding-left: 12px;
    }

    .product-title {
        font-size: 20px;
    }

    .current-price {
        font-size: 24px;
    }

    .price-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card .product-title {
        font-size: 13px;
        min-height: 36px;
    }

    .product-card .product-price .current {
        font-size: 14px;
    }

    .product-card .cart-btn,
    .product-card .stock-out-btn {
        font-size      : 12px;
        padding        : 8px 12px;
        border-radius  : 6px;
        width          : 100%;
        height         : auto;
        margin         : 0;
        gap            : 6px;
        display        : flex;
        align-items    : center;
        justify-content: center;
    }

    .product-card .cart-btn span,
    .product-card .stock-out-btn span {
        display       : inline-block;
        font-size     : 11px;
        font-weight   : 500;
        letter-spacing: 0.3px;
    }

    .product-card .cart-btn i,
    .product-card .stock-out-btn i {
        font-size: 14px;
        margin   : 0;
    }

    .product-info {
        padding-right: 0;
    }
}

/* ছোট মোবাইল */
@media (max-width: 480px) {
    .product-brand {
        padding: 6px 10px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .product-brand .brand-label {
        font-size: 11px;
        min-width: 38px;
    }

    .product-brand .brand-link {
        font-size: 12px;
        padding: 2px 8px 2px 4px;
    }

    .product-brand .brand-link img {
        max-height: 20px;
    }

    .tab-btn {
        padding: 12px 12px;
        font-size: 12px;
    }

    .tab-content {
        padding: 16px 12px;
    }

    .review-stats-wrapper {
        padding: 16px;
    }

    .avg-rating-box .big-number {
        font-size: 30px;
    }

    .reviewer-info {
        gap: 10px;
    }

    .reviewer-avatar {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .product-title {
        font-size: 18px;
    }

    .current-price {
        font-size: 22px;
    }

    .thumbnail-vertical .thumb-item {
        width: 50px;
        height: 50px;
    }

    .related-grid {
        gap: 10px;
    }

    .product-card .product-title {
        font-size: 12px;
        min-height: 32px;
    }

    .product-card .product-price .current {
        font-size: 13px;
    }

    .product-card .cart-btn,
    .product-card .stock-out-btn {
        font-size      : 11px;
        padding        : 6px 10px;
        border-radius  : 6px;
        width          : 100%;
        height         : auto;
        margin         : 0;
        gap            : 4px;
        display        : flex;
        align-items    : center;
        justify-content: center;
    }

    .product-card .cart-btn span,
    .product-card .stock-out-btn span {
        display       : inline-block;
        font-size     : 10px;
        font-weight   : 500;
        letter-spacing: 0.2px;
    }

    .product-card .cart-btn i,
    .product-card .stock-out-btn i {
        font-size  : 13px;
        margin     : 0;
        flex-shrink: 0;
    }
}

/* ============================================================
   ৮. উইশলিস্ট বাটন ডিজাইন (সিঙ্গেল প্রোডাক্ট পেজ)
   ============================================================ */
.wishlist-btn-main {
    width          : 48px;
    height         : 48px;
    background     : #f3f4f6;
    border         : 1px solid #e5e7eb;
    border-radius  : 8px;
    color          : #4b5563;
    font-size      : 18px;
    display        : flex;
    align-items    : center;
    justify-content: center;
    cursor         : pointer;
    transition     : all 0.2s ease;
    flex-shrink    : 0;
    box-shadow     : 0 1px 2px rgba(0, 0, 0, 0.05);
}

.wishlist-btn-main:hover,
.wishlist-btn-main.active {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.15);
    transform: translateY(-1px);
}

.wishlist-btn-main:active {
    transform: translateY(0);
}

.wishlist-btn-main:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
