/* Product detail and order detail pages */
.detail-modern-page .detail-hero-card {
    padding: 2rem;
    border: 1px solid #eef1f6;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.detail-modern-page .detail-gallery-card {
    border: 1px solid #eef1f6;
    border-radius: 1.2rem;
    padding: 1rem;
    background: linear-gradient(180deg, #fafcff 0%, #fff 100%);
}

.detail-modern-page .detail-gallery-card .product-image {
    border-radius: 1rem;
    overflow: hidden;
    background: #f8fafc;
}

.detail-modern-page .detail-gallery-card .product-image img {
    width: 100%;
    object-fit: cover;
}

.detail-modern-page .detail-thumb-img {
    border-radius: .7rem;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

.detail-modern-page .detail-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin: 1rem 0 1.2rem;
}

.detail-modern-page .product-title {
    font-size: 30px;
    line-height: 1.25;
}

.detail-modern-page .product-cat a,
.detail-modern-page .rating-reviews,
.detail-modern-page .product-short-desc {
    font-size: 14px;
}

.detail-modern-page .product-short-desc {
    line-height: 1.75;
}

.detail-modern-page .meta-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: #f4f7fb;
    color: #355070;
    font-size: 13px;
    font-weight: 600;
}

.detail-modern-page .price-card {
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, #edf5ff 0%, #f8fbff 100%);
    border: 1px solid #d7e7ff;
    border-radius: 1rem;
}

.detail-modern-page .price-card .new-price {
    font-size: 2rem;
    font-weight: 800;
    color: #0d47a1;
}

.detail-modern-page .price-card small {
    display: block;
    margin-top: .35rem;
    color: #5f6b7a;
    font-size: 14px;
}

.detail-modern-page .spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin: 1.25rem 0;
}

.detail-modern-page .spec-card {
    padding: .9rem 1rem;
    border-radius: .9rem;
    border: 1px solid #edf1f5;
    background: #fff;
}

.detail-modern-page .spec-card span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #7b8794;
    margin-bottom: .28rem;
}

.detail-modern-page .spec-card strong {
    font-size: 14px;
    color: #1f2937;
}

.detail-modern-page .detail-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.3rem;
    align-items: stretch;
}

.detail-modern-page .detail-action-row .btn,
.detail-modern-page .detail-action-row .disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    line-height: 1.2;
}

.detail-modern-page .detail-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .4rem .9rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #0d47a1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.detail-modern-page .detail-highlight-list {
    display: grid;
    gap: .55rem;
    margin: 1rem 0 0;
}

.detail-modern-page .detail-highlight-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #475569;
    font-weight: 500;
    font-size: 14px;
}

.detail-modern-page .detail-highlight-item i {
    color: #16a34a;
}

.detail-modern-page .detail-stock-meter {
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px dashed #d7e7ff;
}

.detail-modern-page .detail-stock-meter .progress {
    height: 8px;
    background: #dbeafe;
    border-radius: 999px;
}

.detail-modern-page .detail-stock-meter .progress-bar {
    background: linear-gradient(90deg, #0d6efd 0%, #4dabf7 100%);
    border-radius: 999px;
}

.detail-modern-page .service-strip {
    margin-top: 2rem;
}

.detail-modern-page .service-strip .icon-box {
    height: 100%;
    padding: 1rem;
    border: 1px solid #edf1f5;
    border-radius: 1rem;
    background: #fff;
}

.detail-modern-page .detail-tab-card {
    padding: 1.4rem;
    border: 1px solid #eef1f6;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.detail-modern-page .summary-widget {
    padding: 1.2rem;
    border: 1px solid #e8edf3;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.detail-modern-page .summary-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .78rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #ecfdf3;
    color: #15803d;
}

.detail-modern-page .summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px dashed #e5e7eb;
}

.detail-modern-page .summary-list li:last-child,
.detail-modern-page .detail-spec-list li:last-child {
    border-bottom: 0;
}

.detail-modern-page .detail-support-card {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}

.detail-modern-page .detail-support-card p {
    color: rgba(255,255,255,.8);
    margin-bottom: .9rem;
}

.detail-modern-page .detail-spec-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 0;
    border-bottom: 1px solid #eef1f6;
}

.detail-modern-page .detail-spec-list label,
.detail-modern-page .detail-spec-list p {
    margin: 0;
    font-size: 14px;
}

.detail-modern-page .detail-tab-card .nav-link,
.detail-modern-page .detail-tab-card .tab-pane,
.detail-modern-page .summary-list li,
.detail-modern-page .detail-support-card p,
.detail-modern-page .detail-why-box span,
.detail-modern-page .service-strip .icon-box-content p {
    font-size: 14px;
}

.detail-modern-page .detail-support-card h5,
.detail-modern-page .summary-widget h4,
.detail-modern-page .service-strip .icon-box-title {
    font-size: 16px;
}

.detail-modern-page .detail-why-box {
    margin-top: 1rem;
    padding: 1rem;
    margin-bottom: .5rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1px solid #edf1f5;
}

.detail-modern-page .detail-why-box strong {
    display: block;
    margin-bottom: .4rem;
}

.detail-modern-page .detail-why-box span {
    color: #5f6b7a;
}

@media (max-width: 768px) {
    .table-responsive table {
        display: none;
    }

    .order-items-cards {
        display: block;
    }
}

@media (min-width: 769px) {
    .order-items-cards {
        display: none;
    }
}

@media (max-width: 767px) {
    .detail-modern-page .detail-hero-card {
        padding: 1rem;
    }

    .detail-modern-page .spec-grid {
        grid-template-columns: 1fr;
    }
}

/* Checkout page */
.checkout-modern-page .page-content {
    background: #f8f9fb;
    padding-bottom: 3rem;
}

.checkout-modern-page .empty-cart,
.checkout-modern-page .login-content,
.checkout-modern-page .coupon-content,
.checkout-modern-page .order-summary-wrapper {
    background: #fff;
    border: 1px solid #edf1f5;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(31, 56, 88, .08);
}

.checkout-modern-page .empty-cart {
    padding: 2rem 1.25rem;
}

.checkout-modern-page .login-toggle,
.checkout-modern-page .coupon-toggle {
    border-radius: 14px;
    background: #eef5fb;
    border: 1px solid #dbe7f2;
    color: #23384d;
    font-size: 14px;
    font-weight: 600;
}

.checkout-modern-page .login-content,
.checkout-modern-page .coupon-content {
    padding: 1.25rem 1.4rem;
}

.checkout-modern-page .billing-title,
.checkout-modern-page .order-summary-wrapper > .title,
.checkout-modern-page .payment-methods .title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.checkout-modern-page .form-group label,
.checkout-modern-page .form-check-label,
.checkout-modern-page .card-header label {
    font-size: 14px;
    font-weight: 700;
    color: #2b3440;
    margin-bottom: 8px;
}

.checkout-modern-page .form-control,
.checkout-modern-page select.form-control {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #dbe3ec;
    background: #fff;
    padding: 0 16px;
    font-size: 14px;
    color: #1f2937;
}

.checkout-modern-page textarea.form-control {
    min-height: 120px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.6;
}

.checkout-modern-page .form-control:focus,
.checkout-modern-page select.form-control:focus,
.checkout-modern-page textarea.form-control:focus {
    border-color: #336699;
    box-shadow: 0 0 0 .18rem rgba(51, 102, 153, .12);
}

.checkout-modern-page small,
.checkout-modern-page .text-muted,
.checkout-modern-page .login-content p,
.checkout-modern-page .coupon-content p {
    font-size: 12px;
    line-height: 1.6;
}

.checkout-modern-page .btn-login,
.checkout-modern-page .btn-coupon,
.checkout-modern-page .btn-dark,
.checkout-modern-page .btn-order {
    min-height: 48px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.checkout-modern-page .order-summary-wrapper {
    padding: 1.2rem 1.2rem 1.4rem;
}

.checkout-modern-page .order-table th,
.checkout-modern-page .order-table td,
.checkout-modern-page .product-name,
.checkout-modern-page .product-total {
    font-size: 14px;
}

.checkout-modern-page .payment-accordion .card {
    border: 1px solid #e7eef5;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: .8rem;
}

.checkout-modern-page .payment-accordion .card-header {
    background: #fbfcfe;
}

.checkout-modern-page .payment-accordion .card-body {
    font-size: 14px;
}

@media (max-width: 991px) {
    .checkout-modern-page .login-content,
    .checkout-modern-page .coupon-content,
    .checkout-modern-page .order-summary-wrapper {
        padding: 1rem;
    }

    .checkout-modern-page .billing-title,
    .checkout-modern-page .order-summary-wrapper > .title {
        font-size: 20px;
    }
}
