.product-bc {
    font-size: 0.88rem;
    color: #6b7c8d;
    margin-bottom: 16px;
}

.product-bc a {
    color: #003C71;
    text-decoration: none;
}

.product-bc span {
    margin: 0 6px;
}

.product-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e7eef5;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(0, 60, 113, 0.06);
}

.product-main-img {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    background: #eef3f8;
    border-radius: 14px;
    overflow: hidden;
}

.product-main-img-btn {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-main-img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

.product-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.product-thumb-btn {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.product-thumb-btn.active {
    border-color: #003C71;
}

.product-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info h1 {
    font-size: 1.35rem;
    color: #003C71;
    font-weight: 700;
    margin: 6px 0 10px;
}

.product-shop {
    font-size: 0.92rem;
    color: #6b7c8d;
    margin-bottom: 2px;
}

.product-shop i {
    margin-right: 4px;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.product-price-lg {
    color: #c1121f;
    font-size: 1.7rem;
    font-weight: 700;
}

.product-sold-line {
    color: #7b8b9c;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    margin-left: auto;
}

.product-ship {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 16px;
    padding: 10px 14px;
    background: #f3faf4;
    border: 1px solid #c8e6c9;
    border-radius: 999px;
    color: #5b6b7c;
    font-size: 0.92rem;
    line-height: 1.4;
}

.product-ship i {
    color: #2e7d32;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.product-ship strong {
    color: #1d2a38;
    font-weight: 700;
}

.opt-group {
    margin-bottom: 14px;
}

.opt-label {
    font-weight: 600;
    color: #355064;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.opt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.opt-chip {
    border: 1px solid #d5e1ee;
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.86rem;
    color: #1d2a38;
}

.opt-chip:hover {
    border-color: #003C71;
}

.opt-chip.active {
    background: #003C71;
    border-color: #003C71;
    color: #fff;
}

.opt-chip.is-out {
    opacity: 0.45;
    text-decoration: line-through;
}

.product-stock-line,
.product-stock-status {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 14px;
    padding: 10px 12px 10px 14px;
    border-radius: 10px;
    border: 0;
    border-left: 3px solid #9eb6cc;
    background: #f5f8fb;
    color: #5b6b7c;
    font-size: 0.9rem;
    line-height: 1.35;
}

.product-stock-status.is-hidden {
    display: none;
}

.product-stock-status>i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.78rem;
    background: transparent;
    color: #5b6b7c;
    margin-top: 1px;
}

.product-stock-status>span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.product-stock-status strong {
    color: #1d2a38;
    font-size: 0.9rem;
    font-weight: 800;
}

.product-stock-status small {
    color: #6b7c8d;
    font-size: 0.82rem;
}

.product-stock-status.is-out {
    border-left-color: #d64545;
    background: #fff7f6;
}

.product-stock-status.is-out>i,
.product-stock-status.is-out strong {
    color: #b42318;
}

.product-stock-status.is-warn {
    border-left-color: #d4a017;
    background: #fffbf2;
}

.product-stock-status.is-warn>i,
.product-stock-status.is-warn strong {
    color: #8a6d12;
}

.product-stock-status.is-muted {
    border-left-color: #7a9bb8;
    background: #f5f8fb;
}

.qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.qty-label {
    color: #334155;
    font-weight: 600;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.qty-remain {
    color: #5b6b7c;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
}

.qty-row.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.qty-box {
    display: inline-flex;
    border: 1px solid #d5e1ee;
    border-radius: 10px;
    overflow: hidden;
}

.qty-box button {
    width: 36px;
    height: 38px;
    border: 0;
    background: #f3f6fb;
    font-size: 1.1rem;
}

.qty-box input {
    width: 56px;
    height: 38px;
    border: 0;
    text-align: center;
    border-left: 1px solid #d5e1ee;
    border-right: 1px solid #d5e1ee;
}

.product-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.product-actions.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.product-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
    font-weight: 600;
}

.product-actions button:disabled {
    background: #9aa6b2;
    color: #fff;
    cursor: not-allowed;
}

.product-guest-note {
    margin: 12px 0 0;
    color: #6b7c8d;
    font-size: 0.86rem;
}

.product-guest-note a {
    color: #003C71;
}

.product-shop-card {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #dce8f3;
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 22px rgba(0, 60, 113, 0.05);
}

.product-shop-card-ico {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e8f1fb;
    color: #003C71;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}

.product-shop-card-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    line-height: 1.25;
}

.product-shop-card-text strong {
    color: #1d2a38;
    font-size: 0.98rem;
}

.product-shop-card-text small {
    color: #7b8b9c;
    font-size: 0.8rem;
}

.product-shop-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.product-shop-card-actions {
    margin-left: auto;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.product-detail-box {
    margin-top: 24px;
    background: #fff;
    border: 1px solid #dce8f3;
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 8px 26px rgba(0, 60, 113, 0.05);
}

.product-detail-box h2 {
    font-size: 1.08rem;
    color: #003C71;
    margin: 0;
    padding: 18px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
    border-bottom: 1.5px solid #eef4f9;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-detail-body {
    color: #3f4e5e;
    line-height: 1.8;
    padding: 24px;
    min-height: auto;
    box-sizing: border-box;
}

.product-thumb-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aacbf;
    font-size: 48px;
}

.empty-box {
    text-align: center;
    color: #6b7c8d;
    padding: 40px 16px;
}

.empty-box i {
    font-size: 32px;
    color: #9aacbf;
    display: block;
}

.empty-box .btn-outline-primary {
    border-color: #003C71;
    color: #003C71;
}

@media (max-width: 991px) {
    .product-page {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .product-page {
        gap: 18px;
        padding: 14px;
        border-radius: 14px;
    }

    .product-gallery,
    .product-info {
        min-width: 0;
        max-width: 100%;
    }

    .product-shop-card {
        align-items: flex-start;
    }

    .product-shop-card-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .product-ship {
        border-radius: 14px;
        align-items: flex-start;
    }

    .product-ship i {
        margin-top: 3px;
    }
}

/* Product Service & Trust Highlights Strip */
.product-service-strip {
    margin-top: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.service-strip-item i {
    font-size: 1.15rem;
    margin-top: 2px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.service-strip-item strong {
    display: block;
    font-size: 0.88rem;
    color: #1e293b;
    line-height: 1.3;
}

.service-strip-item span {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

.service-strip-footer {
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px dashed #e2e8f0;
    text-align: right;
}

.service-strip-footer a {
    color: #003C71;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all .15s ease;
}

.service-strip-footer a:hover {
    color: #00284d;
    text-decoration: underline;
}

/* ── Product Rating Badge in Price Row ── */
.product-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: #003C71;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.product-rating-badge:hover {
    opacity: 0.8;
}

.product-rating-star {
    font-weight: 700;
}

.product-rating-count {
    color: #64748b;
    font-size: 0.82rem;
}

.product-stat-divider {
    color: #cbd5e1;
    font-size: 0.85rem;
    margin: 0 4px;
}

/* ── Product Reviews Box ── */
.product-reviews-box {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #e7eef5;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0, 60, 113, 0.06);
}

.product-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
}

.product-reviews-head h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00284d;
    margin: 0;
}

.product-reviews-count-pill {
    background: #eef5fb;
    color: #003C71;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ── Rating Summary Card ── */
.product-rating-summary-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
}

.rating-big-score strong {
    font-size: 3rem;
    font-weight: 800;
    color: #00284d;
    line-height: 1;
}

.rating-big-score .rating-max {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 600;
}

.rating-big-stars i {
    font-size: 1.25rem;
    margin: 0 1px;
}

/* Rating Bars List */
.rating-bars-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-star-label {
    width: 48px;
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
    text-align: right;
}

.rating-progress-bar {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    overflow: hidden;
}

.bar-count-label {
    width: 36px;
    font-size: 0.8rem;
    color: #64748b;
}

/* Filter Pills */
.btn-filter-pill {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-filter-pill:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.btn-filter-pill.active {
    background: #003C71;
    border-color: #003C71;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 60, 113, 0.25);
}

/* ── Review Item Card ── */
.product-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item-card {
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
}

.review-item-card:last-child {
    border-bottom: none;
}

.review-item-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.review-author {
    font-size: 0.95rem;
    color: #0f172a;
}

.review-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #16a34a;
    background: #f0fdf4;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.review-stars-date {
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.review-stars i {
    font-size: 0.85rem;
    margin-right: 1px;
}

.review-option-pill {
    display: inline-block;
    font-size: 0.78rem;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.review-comment-body {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.55;
    margin-bottom: 10px;
    word-break: break-word;
}

/* Review Gallery */
.review-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.review-gallery-thumb {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    padding: 0;
    background: #f8fafc;
    cursor: zoom-in;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.review-gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.review-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Seller Reply Box */
.review-reply-card {
    background: #f8fafc;
    border-left: 3px solid #003C71;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin-top: 8px;
}

.reply-head {
    font-size: 0.85rem;
    color: #003C71;
}

.reply-body {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
}

.product-reviews-meta {
    margin-top: 18px;
    font-size: 0.86rem;
    color: #64748b;
    text-align: center;
}

.product-reviews-meta strong {
    color: #003C71;
    font-weight: 700;
}

.product-reviews-pagination .btn.is-loading {
    pointer-events: none;
    opacity: 0.85;
}

.product-reviews-pagination .btn-load-more-remain {
    font-weight: 500;
    opacity: 0.85;
}

@media (min-width: 992px) {
    .border-end-md {
        border-right: 1px solid #e2e8f0;
    }
}

/* ── Product Detail Block Layout & Elements ── */
.pdetail-container {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
}

.pdetail-row {
    width: 100%;
}

.pdetail-row-1col .pdetail-col {
    width: 100%;
}

.pdetail-row-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

@media (max-width: 767px) {
    .pdetail-row-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.pdetail-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pdetail-block {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    height: auto;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.pdetail-block-heading {
    font-size: 1.02rem;
    font-weight: 700;
    color: #003C71;
    margin: 0 0 12px 0;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.pdetail-block-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 15px;
    background: #003C71;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Paragraph */
.pdetail-paragraph .pdetail-text {
    font-size: 0.95rem;
    color: #3f4e5e;
    line-height: 1.85;
    margin: 0;
    word-break: break-word;
}

/* Table */
.pdetail-table-wrap .table-responsive {
    margin-bottom: 0;
    border-radius: 10px;
    border: 1px solid #edf2f7;
    overflow-x: auto;
    background: #ffffff;
    box-shadow: none;
}

.pdetail-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
}

.pdetail-table th {
    background-color: #f8fafc;
    color: #003C71;
    font-weight: 700;
    padding: 10px 14px;
    border-bottom: 1.5px solid #e2e8f0;
    border-top: none;
    white-space: nowrap;
    text-align: left;
    font-size: 0.88rem;
}

.pdetail-table td {
    padding: 9px 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    border-top: none;
    vertical-align: middle;
    line-height: 1.5;
    font-size: 0.88rem;
}

.pdetail-table tbody tr:last-child td {
    border-bottom: none;
}

.pdetail-table tbody tr:nth-child(even) td {
    background-color: #fafbfc;
}

.pdetail-table tbody tr:hover td {
    background-color: #f1f6fc;
}

/* Image */
.pdetail-image-wrap {
    width: 100%;
    align-items: flex-start;
    text-align: left;
}

.pdetail-image-wrap .pdetail-block-heading {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
}

.pdetail-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.pdetail-img-link {
    display: inline-block;
    cursor: zoom-in;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    max-width: 100%;
}

.pdetail-img {
    max-width: 100%;
    max-height: 480px;
    width: auto;
    height: auto;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    object-fit: contain;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: block;
}

.pdetail-img-link:hover .pdetail-img {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 60, 113, 0.12);
}

.pdetail-img-link::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 60, 113, 0.8);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pdetail-img-link:hover::after {
    opacity: 1;
    transform: scale(1);
}

.pdetail-caption {
    font-size: 0.86rem;
    color: #64748b;
    margin-top: 10px;
    text-align: center;
    line-height: 1.45;
}

/* Lists (Bullet & Ordered) */
.pdetail-bullet-list,
.pdetail-ordered-list {
    margin: 0;
    padding-left: 20px;
    color: #3f4e5e;
    font-size: 0.95rem;
    line-height: 1.85;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pdetail-bullet-list li::marker {
    color: #003C71;
    font-size: 1.1em;
}

.pdetail-ordered-list li::marker {
    color: #003C71;
    font-weight: 700;
}
