/*
   Product-detail CSS mirrored from the reference storefront's product page,
   so the gallery, price block, action buttons and tabs behave the same.
*/

.product.product-single .flag-name {
            background: var(--primary-color);
            color: var(--white-color);
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            display: inline-block;
            line-height: 120%;
            position: absolute;
            z-index: 99;
            top: 12px;
            left: 12px;
        }
        /* start my css */
        .quantity-control {
            display: none;
        }

        /* end my css */
        .product-variation-form input[type="radio"] {
            clip: rect(0, 0, 0, 0);
            overflow: hidden;
            position: absolute;
            height: 1px;
            width: 1px;
        }

        .product-variation-form input[type="radio"]:checked+label {
            border: 3px solid var(--white-color) !important;
            box-shadow: none !important;
            outline: 2px solid var(--primary-color);
        }

        .product-variation-form .variant__color--value {
            max-width: 3rem !important;
            height: 3rem;
            padding: 2px;
            display: inline-block;
            border-radius: 20%;
            margin-right: 7px;
            line-height: 1;
            cursor: pointer;
            overflow: hidden;
        }

        .product-size-swatch label.variant__size--value {
            background: transparent;
            width: 100% !important;
            max-width: 100%;
            margin-right: 5px;
            border: 3px solid #fff;
            color: #4f4f4f;
            font-weight: 400;
            border-radius: 2px;
            padding: 4px 5px;
            outline: 1px solid #b5b5b5;
        }

        /* Dynamic variant stock-out disabling & cross-out styling */
        .product-variation-form input[type="radio"]:disabled + label {
            opacity: 0.5 !important;
            pointer-events: none !important;
            cursor: not-allowed !important;
            position: relative !important;
            overflow: hidden !important;
            border-color: #e5e7eb !important;
            color: #9ca3af !important;
        }

        /* Only apply background color to non-color-swatch labels */
        .product-variation-form input[type="radio"]:disabled + label:not(.variant__color--value) {
            background-color: #f9fafb !important;
        }

        .product-variation-form input[type="radio"]:disabled + label::after {
            content: "" !important;
            display: block !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            background: linear-gradient(to top right, transparent 47%, #ef4444 47%, #ef4444 53%, transparent 53%) !important;
            pointer-events: none !important;
            z-index: 10 !important;
            opacity: 1 !important;
            transform: none !important;
            background-color: transparent !important;
            padding: 0 !important;
            border-radius: inherit !important;
        }

        button.stock_out_btn {
            background: transparent;
            color: red;
            border-color: red;
            cursor: not-allowed;
            transition: all .1s linear;
        }

        .product-addon-wrapper {
            margin: 14px 0;
        }

        .product-addon-title {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 6px;
        }

        .product-addon-item:last-child {
            margin-bottom: 0;
        }

        .product-addon-item:last-child {
            margin-bottom: 0;
        }

        .product-addon-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 6px;
            background: var(--primary-color);
            color: var(--white-color);
            padding: 12px;
            border-radius: 6px;
        }

        .product-addon-head .addon-name {
            font-size: 16px;
            font-weight: 600;
            display: inline-flex;
            gap: 4px;
            align-items: center;
        }

        .product-addon-head .addon-name i {
            position: relative;
            top: 2px;
        }

        .bulk-pricing-section {
            margin: 18px 0 10px;
        }

        .bulk-pricing-box {
            border: 1px solid #e5e7eb;
            border-radius: 18px;
            padding: 22px;
            background: #fafafa;
        }

        .bulk-pricing-title {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 4px;
            font-size: 20px;
            font-weight: 700;
            text-transform: uppercase;
            color: #1f2937;
        }

        .bulk-pricing-meta {
            margin: 0 0 16px;
            color: #6b7280;
            font-size: 13px;
        }

        .bulk-pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
            gap: 14px;
        }

        .bulk-pricing-card {
            position: relative;
            width: 100%;
            border: 2px solid #e5e7eb;
            border-radius: 16px;
            padding: 18px 16px;
            background: #fff;
            text-align: left;
            cursor: pointer;
            overflow: hidden;
            transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease;
        }

        .bulk-pricing-card:hover {
            border-color: var(--primary-color);
        }

        .bulk-pricing-card:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(16, 185, 129, .18);
        }

        .bulk-pricing-card.active {
            border-color: var(--primary-color);
            box-shadow: 0 12px 30px rgba(16, 185, 129, .14);
            transform: translateY(-1px);
        }

        .bulk-pricing-card.unavailable {
            cursor: not-allowed;
            opacity: .68;
            border-color: #d7dce3;
            box-shadow: none;
            transform: none;
        }

        .bulk-pricing-card.unavailable:hover,
        .bulk-pricing-card.unavailable:focus {
            border-color: #d7dce3;
            box-shadow: none;
        }

        .bulk-pricing-card.unavailable::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.58);
            z-index: 1;
        }

        .bulk-pricing-card.unavailable::after {
            content: 'Stock Limited';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) rotate(-14deg);
            font-size: 20px;
            font-weight: 800;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: rgba(220, 53, 69, 0.68);
            white-space: nowrap;
            z-index: 2;
            pointer-events: none;
        }

        .bulk-pricing-card.unavailable .bulk-pricing-range,
        .bulk-pricing-card.unavailable .bulk-pricing-value,
        .bulk-pricing-card.unavailable .bulk-pricing-unit {
            position: relative;
            z-index: 0;
        }

        .bulk-pricing-range {
            display: block;
            margin-bottom: 8px;
            color: #6b7280;
            font-size: 15px;
            font-weight: 600;
        }

        .bulk-pricing-value {
            display: block;
            font-size: 32px;
            line-height: 1.1;
            font-weight: 800;
            color: #111827;
        }

        .bulk-pricing-card.active .bulk-pricing-value {
            color: var(--primary-color);
        }

        .bulk-pricing-unit {
            display: block;
            margin-top: 6px;
            color: #9ca3af;
            font-size: 14px;
        }

        .product-addon-head .addon-meta {
            font-size: 12px;
            color: #666;
            line-height: 1.2;
        }

        .product-addon-body .form-control {
            min-height: 36px;
        }

        .product-addon-body .form-check {
            background: #eee;
            padding: 12px;
            margin-bottom: 8px;
            border-radius: 6px;
            font-size: 14px;
            color: var(--title-color);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 16px;
            line-height: 140%;
            border: 1px solid #ddd;
        }

        .product-addon-body .check-label-group {
            display: flex;
            align-items: center;
            gap: 80px;
            justify-content: space-between;
            width: 100%;
        }

        .product-addon-body .check-label-group span {
            width: 20%;
            text-align: right;
            font-weight: 600;
            font-size: 15px;
        }

        .product-addon-body .check-label-group label {
            width: 80%;
        }

        .product-addon-body .form-check:last-child {
            margin: 0
        }


        .product-addon-note {
            margin-top: 6px;
        }

        button.stock_out_btn:hover {
            background: #ec3636;
            color: white;
            border-color: red;
            cursor: not-allowed;
        }

        .removeFromCartQty {
            background: #ef4141;
            border-color: #ef4141;
        }

        .removeFromCartQty:hover {
            background: #ef4141;
            border-color: #ef4141;
        }

        .tooltip-click::after {
            content: attr(data-tooltip);
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(51, 51, 51, 0.95);
            color: #fff;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 10px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s ease;
            z-index: 999;
        }

        .tooltip-click.show-tooltip::after {
            opacity: 1;
        }

        .color-box-group {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 4px;
        }

        .color-box-group .single-color {
            position: relative;
            width: 40px;
        }

        .dhaka-city-only.product-details {
            padding: 6px 12px;
            margin-bottom: 12px;
            background: #34be8226;
            color: var(--success-color);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border-radius: 32px;
            font-size: 12px;
            font-weight: 500;
            line-height: 120%;
        }

        /* Size Chart Modal */
        .size-guide-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            border-radius: 4px;
            font-size: 14px;
            text-decoration: underline;
        }

        .size-chart-modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 10101010;
            justify-content: center;
            align-items: center;
        }

        .size-chart-modal {
            background-color: white;
            border-radius: 6px;
            max-width: 800px;
            width: 95%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            animation: fadeIn 0.3s ease-in-out;
        }

        .size-chart-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            border-bottom: 1px solid #ddd;
        }

        .size-chart-modal-header h5 {
            margin: 0;
        }

        .size-chart-modal-body {
            padding: 1rem;
        }

        .size-chart-modal-footer {
            padding: 1rem;
            text-align: right;
            border-top: 1px solid #ddd;
        }

        /* Close button */
        .size-chart-modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .btn-close-footer {
            padding: 6px 12px;
            background-color: #eee;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        .product__measurement-section .table-responsive {
            overflow-y: scroll;
        }

        .product__measurement-section .table {
            width: 100%;
            border-collapse: collapse;
        }

        .product__measurement-section .table th,
        .product__measurement-section .table td {
            border: 1px solid #ccc;
            padding: 8px;
            font-size: 14px;
        }

        .product__measurement-section .text-center {
            text-align: center;
        }

        .product__measurement-section .table-striped tbody tr:nth-child(odd) {
            background-color: #F2F2F2;
        }

        .product__measurement-section .table-striped tbody tr:hover {
            background-color: #F2F2F2;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .size-chart-modal-overlay.active {
            display: flex;
        }

        /* CSS for Offer countdown */

        .offer-countdown {
            margin-top: 10px;
        }

        .countdown-label {
            font-size: 12px;
            color: #ff4444;
            font-weight: 600;
            margin-bottom: 5px;
            justify-content: left;
        }

        .countdown-display {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .countdown-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: #ff4444;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            min-width: 35px;
            font-size: 12px;
        }

        .countdown-item span {
            font-weight: bold;
            font-size: 14px;
            line-height: 1;
        }

        .countdown-item small {
            font-size: 9px;
            margin-top: 2px;
            opacity: 0.9;
        }

        .countdown-expired {
            color: #999;
            font-style: italic;
        }


        /* Bundle Product CSS */
        .bundle-section {
            margin: 20px auto;
            padding: 24px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.11);
        }

        .bundle-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--title-color);
            border-bottom: 1px solid #ddd;
            padding-bottom: 12px;
            margin-bottom: 12px;
        }

        .bundle-container {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .bundle-product {
            flex: 1;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            padding: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            user-select: none;
        }

        .bundle-product:hover {
            border-color: var(--primary-color);
        }

        .bundle-product.selected {
            border-color: var(--primary-color);
            background: #f8faff;
        }

        .bundle-product.main-item {
            border-color: var(--primary-color);
            background: #f5f5f5;
        }

        .bundle-product.main-item .checkbox-indicator {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

        .bundle-product.main-item .checkbox-indicator::after {
            content: '✓';
            color: white;
            font-size: 12px;
            font-weight: bold;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .product-checkbox {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
            z-index: 1;
        }

        .checkbox-indicator {
            position: absolute;
            bottom: 6px;
            right: 6px;
            width: 16px;
            height: 16px;
            border: 2px solid #d1d5db;
            border-radius: 3px;
            background: white;
            transition: all 0.2s ease;
            z-index: 2;
            pointer-events: none;
        }

        .bundle-product.selected .checkbox-indicator {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

        .bundle-product.selected .checkbox-indicator::after {
            content: '✓';
            color: white;
            font-size: 12px;
            font-weight: bold;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .bundle-product-wrapper {
            display: flex;
            align-items: center;
            gap: 8px;
        }


        .bundle-product .product-image {
            width: 70px;
            height: 70px;
            object-fit: contain;
            display: block;
            min-width: 70px;
            border-radius: 8px;
        }

        .bundle-product .product-name {
            font-size: 12px;
            color: #374151;
            margin-bottom: 8px;
            line-height: 120%;
            height: 32px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            white-space: initial;
        }

        .bundle-product .product-price {
            font-size: 14px;
            font-weight: 600;
            color: var(--title-color);
            line-height: 120%;
            letter-spacing: 0;
        }

        .bundle-operator {
            font-size: 20px;
            color: #9ca3af;
            flex-shrink: 0;
        }

        .bundle-total {
            background: var(--primary-color);
            color: var(--white-color);
            border-radius: 8px;
            padding: 12px;
            text-align: center;
            flex-shrink: 0;
        }

        .bundle-total .bundle-total-price {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 0px;
            line-height: 120%;
        }

        .bundle-total .total-savings {
            font-size: 12px;
            color: var(--white-color);
            opacity: 0.9;
        }

        .add-bundle-btn {
            background: var(--white-color);
            color: var(--title-color);
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s ease;
            margin-top: 4px;
            font-family: var(--font-family);
        }

        .add-bundle-btn:hover {
            background: var(--secondary-color);
            color: var(--white-color);
        }

        .bundle-product.disabled {
            opacity: 0.6;
            pointer-events: none;
        }

        .add-bundle-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .bundle-product-info .text-muted {
            font-size: 10px;
            margin-left: 0px;
        }

        .custom-modal {
            display: none;
            position: fixed;
            z-index: 999999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(3px);
            justify-content: center;
            align-items: center;
        }

        .custom-modal-content {
            width: 80%;
            max-width: 900px;
            background: white;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .custom-close-btn {
            position: absolute;
            right: 15px;
            top: 12px;
            font-size: 30px;
            cursor: pointer;
            z-index: 10;
        }

        #viewPdfModalBody {
            height: 600px;
        }

        .emi-open-btn {
            width: 100%;
            margin-top: 8px;
            padding: 8px 10px;
            border: 1px solid #d4d4d8;
            background: #fff;
            color: #1f2937;
            font-size: 14px;
            font-weight: 600;
        }

        .emi-open-btn:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
            background: #fff;
        }

        .emi-modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 10101020;
            background: rgba(0, 0, 0, 0.6);
            justify-content: center;
            align-items: center;
            padding: 12px;
        }

        .emi-modal-overlay.active {
            display: flex;
        }

        .emi-modal {
            width: min(980px, 100%);
            max-height: 96vh;
            height: 700px;
            overflow: hidden;
            background: #f5f6f8;
            border-radius: 10px;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
        }

        .emi-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid #e5e7eb;
            background: #fff;
        }

        .emi-modal-header h4 {
            margin: 0;
            font-size: 20px;
            font-weight: 600;
            line-height: 1.1;
        }

        .emi-close-btn {
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 999px;
            background: #f0f0f0;
            font-size: 20px;
            line-height: 1;
            cursor: pointer;
            color: #111827;
        }

        .emi-modal-body {
            padding: 16px;
            display: grid;
            grid-template-columns: 240px minmax(0, 1fr);
            gap: 16px;
            height: calc(100% - 65px);
        }

        .emi-banks-list {
            overflow-y: auto;
            max-height: 100%;
            min-height: 280px;
            padding-right: 8px;
        }

        .emi-bank-item {
            width: 100%;
            border: 1px solid #d4d4d8;
            border-radius: 10px;
            padding: 10px;
            background: #fff;
            text-align: left;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
            cursor: pointer;
        }

        .emi-bank-item.active {
            border-color: #ffb16f;
            box-shadow: 0 0 0 1px #ffb16f inset;
            background: #fff9f3;
        }

        .emi-bank-badge {
            width: 34px;
            height: 34px;
            border-radius: 999px;
            background: #ef4444;
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
        }

        .emi-bank-name {
            font-size: 15px;
            font-weight: 600;
            color: #2f2f2f;
        }

        .emi-calculator-panel {
            border: 1px solid #ddd;
            border-radius: 10px;
            background: #fff;
            padding: 12px;
            overflow-x: auto;
        }

        .emi-amount-label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 6px;
            color: #303030;
        }

        .emi-amount-input {
            width: 100%;
            height: 46px;
            border: 1px solid #d4d4d8;
            border-radius: 10px;
            background: #f7f7f7;
            padding: 0 14px;
            font-size: 24px;
            font-weight: 600;
            color: #171717;
            margin-bottom: 12px;
        }

        .emi-plan-table {
            width: 100%;
            border-collapse: collapse;
        }

        .emi-plan-table th,
        .emi-plan-table td {
            border: 1px solid #e5e7eb;
            padding: 10px 12px;
            font-size: 14px;
            color: #2d2d2d;
            text-align: left;
            white-space: nowrap;
        }

        .emi-plan-table th {
            background: #f7f7f7;
            font-weight: 600;
        }

        @media (max-width: 768px) {
            .bundle-section {
                padding: 16px;
            }

            .bundle-title {
                font-size: 14px;
            }

            .bundle-operator {
                display: none;
            }

            .bundle-container {
                grid-template-columns: repeat(2, 1fr);
                display: grid;
                gap: 8px;
            }

            .bundle-product-wrapper {
                flex-wrap: wrap;
                text-align: center;
                justify-content: center;
            }

            .bundle-product-wrapper {
                flex-wrap: wrap;
                text-align: center;
                justify-content: center;
            }

            .bundle-total {
                height: 100%;
                padding-top: 30px;
            }

            .bundle-product .product-image {
                width: 48px;
                height: 48px;
                min-width: 48px;
            }

            .bundle-product .product-name {
                font-size: 12px;
                margin-bottom: 6px;
                height: auto;
            }

            .bundle-product .product-price {
                font-size: 12px;
            }

            .bundle-total .bundle-total-price {
                font-size: 14px;
            }

            .add-bundle-btn {
                font-size: 10px;
            }

            .emi-modal-overlay {
                padding: 10px;
            }

            .emi-modal-header {
                padding: 16px;
            }

            .emi-modal-header h4 {
                font-size: 16px;
            }

            .emi-modal {
                max-height: 94vh;
                height: auto;
            }

            .emi-modal-body {
                grid-template-columns: 1fr;
                gap: 14px;
                padding: 10px;
            }

            .emi-banks-list {
                max-height: 260px;
            }

            .emi-bank-name {
                font-size: 14px;
            }

            .emi-amount-input {
                font-size: 18px;
                height: 42px;
            }

            .emi-plan-table th,
            .emi-plan-table td {
                font-size: 12px;
                padding: 8px;
            }

            .product-addon-body .check-label-group label {
                width: 100%;
            }

            .product-addon-body .check-label-group span {
                width: 100%;
                text-align: left;
                font-size: 12px;
            }

            .product-addon-body .check-label-group {
                gap: 8px;
                flex-wrap: wrap;
            }

            .product-addon-body .form-check {
                padding: 8px;
                font-size: 12px;
            }

        }

#pdfModal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            align-items: center;
            justify-content: center;
        }

        .custom-modal-content {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            width: 80%;
            height: 80%;
            position: relative;
        }

        .custom-close-btn {
            position: absolute;
            top: 10px;
            right: 20px;
            font-size: 30px;
            cursor: pointer;
            color: #333;
        }

        .read-book-btn {
            grid-column: span 2;
            background: #f39c12 !important;
            color: #fff !important;
            border-radius: 8px !important;
            height: 44px !important;
            display: flex !important;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 600;
            text-transform: capitalize;
            border: none !important;
            transition: all 0.3s ease;
            width: 100%;
        }

        .read-book-btn:hover {
            background: #e67e22 !important;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
            color: #fff !important;
        }

        .read-book-btn i {
            font-size: 18px;
        }

        @media only screen and (max-width: 767px) {
            .read-book-btn {
                height: 40px !important;
                font-size: 12px !important;
            }
        }

        /* Author & Publisher Redesign */
        .authors-container, .publishers-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 15px;
        }

        .product-details-author, .product-details-publisher {
            display: flex;
            align-items: center;
            background: #ffffff;
            border: 1px solid #f0f0f0;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .product-details-author:hover, .product-details-publisher:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        }

        .pd-author-img, .pd-publisher-img {
            width: 120px;
            height: 120px;
            flex-shrink: 0;
            background: #f9f9f9;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pd-author-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .pd-publisher-img img {
            width: 90%;
            height: 90%;
            object-fit: contain;
        }

        .pd-author-desc, .pd-publisher-desc {
            margin-left: 24px;
            flex-grow: 1;
        }

        .pd-author-desc .name, .pd-publisher-desc .name {
            font-size: 20px;
            font-weight: 700;
            color: #222;
            margin-bottom: 8px;
            font-family: var(--font-family);
        }

        .pd-author-desc .text, .pd-publisher-desc .text {
            font-size: 14px;
            line-height: 1.6;
            color: #555;
            margin-bottom: 0;
        }

        @media (max-width: 576px) {
            .product-details-author, .product-details-publisher {
                flex-direction: column;
                text-align: center;
                padding: 20px;
            }
            .pd-author-desc, .pd-publisher-desc {
                margin-left: 0;
                margin-top: 15px;
            }
            .pd-author-img, .pd-publisher-img {
                width: 100px;
                height: 100px;
            }
        }

        /* Top Meta Info Stylings */
        .product-book-meta {
            color: #666;
            font-size: 14px;
        }
        .product-book-meta .meta-item {
            display: inline-flex;
            align-items: center;
            margin-right: 15px;
        }
        .product-book-meta .meta-item:last-child {
            margin-right: 0;
        }
        .product-book-meta .meta-label {
            font-weight: 500;
            color: #888;
            margin-right: 4px;
        }
        .product-book-meta .meta-value {
            font-weight: 600;
            color: var(--primary-color);
            text-decoration: none;
        }
        .product-book-meta .meta-separator {
            margin: 0 10px;
            color: #ddd;
        }
