/* =========================================================
   PUBLIC PRODUCT CATALOG
   ========================================================= */

.product-catalog,
.product-detail {
    margin-top: 134px;
    padding: 42px 0 76px;
}

.product-page-header {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.product-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid rgba(8, 126, 164, .14);
    border-radius: 999px;
    background: rgba(8, 126, 164, .055);
    color: #087ea4;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.product-page-header h1 {
    margin: 15px 0 10px;
    color: #102a43;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.25;
}

.product-page-header p {
    max-width: 720px;
    margin: 0 auto;
    color: #64748b;
    line-height: 2;
}

.product-filter-card {
    position: sticky;
    top: 154px;
    padding: 20px;
    border: 1px solid #e8edf3;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 42, 67, .07);
}

.product-filter-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf1f5;
}

.product-filter-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 13px;
    background: rgba(8, 126, 164, .08);
    color: #087ea4;
    font-size: 1.1rem;
}

.product-filter-heading h2 {
    margin: 0 0 3px;
    color: #102a43;
    font-size: 1rem;
    font-weight: 850;
}

.product-filter-heading span {
    color: #94a3b8;
    font-size: .76rem;
}

.product-category-tree {
    margin-top: 14px;
}

.product-category-all,
.product-category-leaf,
.product-category-summary {
    color: #475569;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.product-category-all,
.product-category-leaf {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    margin-bottom: 4px;
    border-radius: 11px;
    transition: .2s ease;
}

.product-category-all:hover,
.product-category-leaf:hover,
.product-category-all.active,
.product-category-leaf.active {
    color: #087ea4;
    background: rgba(8, 126, 164, .065);
}

.product-category-all > span:first-child,
.product-category-leaf > span:first-child,
.product-category-link > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.product-category-all i,
.product-category-leaf i,
.product-category-link i {
    color: #087ea4;
    flex: 0 0 auto;
}

.product-category-count {
    min-width: 25px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: .7rem;
    text-align: center;
}

.product-category-node {
    margin: 3px 0;
}

.product-category-summary {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 43px;
    padding: 0 8px;
    border-radius: 11px;
    cursor: pointer;
    list-style: none;
}

.product-category-summary::-webkit-details-marker {
    display: none;
}

.product-category-summary:hover {
    background: #f8fafc;
}

.product-category-chevron {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    color: #94a3b8;
    font-size: .68rem;
    transition: transform .2s ease;
}

.product-category-node[open] > .product-category-summary .product-category-chevron {
    transform: rotate(180deg);
    color: #087ea4;
}

.product-category-link {
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.product-category-link.active {
    color: #087ea4;
}

.product-category-children {
    margin: 2px 10px 7px 0;
    padding-right: 13px;
    border-right: 1px solid #e2e8f0;
}

.product-category-children .product-category-children {
    margin-right: 6px;
}

.product-category-children .product-category-summary {
    min-height: 39px;
    font-size: .84rem;
}

.product-category-children .product-category-leaf {
    min-height: 39px;
    font-size: .83rem;
}

.product-filter-divider {
    height: 1px;
    margin: 16px 0;
    background: #edf1f5;
}

.product-search-form .form-label {
    color: #334155;
    font-size: .82rem;
    font-weight: 800;
}

.product-search-form .form-control,
.product-search-form .btn {
    min-height: 43px;
}

.product-clear-search {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
    color: #64748b;
    font-size: .75rem;
    text-decoration: none;
}

.product-clear-search:hover { color: #087ea4; }

.product-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    margin-bottom: 20px;
    padding: 9px 14px 9px 16px;
    border: 1px solid #e8edf3;
    border-radius: 15px;
    background: #fff;
}

.product-results-toolbar > div {
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: #94a3b8;
    font-size: .78rem;
}

.product-results-label {
    color: #334155;
    font-weight: 800;
}

.product-results-toolbar strong {
    color: #087ea4;
    font-size: 1rem;
}

.product-order-select {
    width: 175px;
    min-height: 40px;
    border-color: #e2e8f0;
    font-size: .8rem;
    font-weight: 700;
}

.product-card {
    overflow: hidden;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 42, 67, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 126, 164, .18);
    box-shadow: 0 20px 45px rgba(15, 42, 67, .11);
}

.product-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    text-decoration: none;
}

.product-card-image {
    display: block;
    width: 100%;
    height: 100%;
    padding: 18px;
    object-fit: contain;
    object-position: center;
    transition: transform .35s ease;
}

.product-card:hover .product-card-image {
    transform: scale(1.035);
}

.product-card-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 3rem;
}

.product-card-overlay {
    position: absolute;
    left: 15px;
    bottom: 15px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #087ea4;
    box-shadow: 0 7px 18px rgba(15, 42, 67, .13);
    opacity: 0;
    transform: translateY(6px);
    transition: .25s ease;
}

.product-card:hover .product-card-overlay,
.product-card:focus-within .product-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.product-card-body {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 17px;
}

.product-card-category {
    margin-bottom: 7px;
    color: #087ea4;
    font-size: .72rem;
    font-weight: 800;
}

.product-card-title {
    display: -webkit-box;
    min-height: 52px;
    margin: 0;
    overflow: hidden;
    color: #102a43;
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.65;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-brand {
    min-height: 24px;
    margin-top: 7px;
    color: #64748b;
    font-size: .76rem;
}

.product-card-brand i { color: #087ea4; }

.product-card-button {
    width: 100%;
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 800;
}

.product-card-button i { transition: transform .2s ease; }
.product-card-button:hover i { transform: translateX(-3px); }

.product-empty-state {
    padding: 70px 25px;
    border: 1px dashed #d7e0e9;
    border-radius: 22px;
    background: #fbfcfd;
    text-align: center;
}

.product-empty-icon {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 20px;
    background: rgba(8, 126, 164, .07);
    color: #087ea4;
    font-size: 1.7rem;
}

.product-empty-state h2 {
    margin-bottom: 8px;
    color: #102a43;
    font-size: 1.25rem;
    font-weight: 850;
}

.product-empty-state p {
    max-width: 520px;
    margin: 0 auto 20px;
    color: #64748b;
    line-height: 1.9;
}

.product-pagination {
    margin-top: 38px;
}

.product-pagination .page-link {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: #e2e8f0;
    color: #475569;
    font-size: .8rem;
    font-weight: 700;
}

.product-pagination .active .page-link {
    background: #087ea4;
    border-color: #087ea4;
}

@media (max-width: 1199.98px) {
    .product-catalog,
    .product-detail {
        margin-top: 124px;
    }

    .product-filter-card { top: 144px; }
}

@media (max-width: 767.98px) {
    .product-catalog,
    .product-detail {
        margin-top: 116px;
        padding-top: 30px;
        padding-bottom: 55px;
    }

    .product-page-header { margin-bottom: 28px; }

    .product-page-header h1 { font-size: 1.85rem; }

    .product-filter-card {
        position: static;
        padding: 16px;
        border-radius: 18px;
    }

    .product-results-toolbar {
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
    }

    .product-order-select { width: 100%; }

    .product-card-media { aspect-ratio: 1 / .82; }
}

/* =========================================================
   PRODUCT ADMIN
   ========================================================= */

.product-admin-title-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    font-size: 1.35rem;
}

.product-admin-thumb {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
    background: #f8f9fa;
}

.product-admin-thumb-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 1.3rem;
}

.product-feature-row .form-control {
    min-width: 0;
}


/* =========================================================
   PRODUCT MODAL
   ========================================================= */

#productModal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 1120px;
    height: calc(100dvh - 2rem);
    margin: 1rem auto;
}

#productModal .modal-content {
    height: 100%;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, .18);
}

#productModal .modal-header,
#productModal .modal-footer {
    flex: 0 0 auto;
    background: #fff;
    z-index: 5;
}

.product-modal-header {
    min-height: 78px;
    padding: 1rem 1.35rem;
    border-bottom: 1px solid #edf0f4;
}

    .product-modal-header .btn-close {
        flex-shrink: 0;
    }

.product-modal-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.product-modal-icon-primary {
    color: var(--bs-primary);
    background: var(--bs-primary-bg-subtle);
}

.product-modal-icon-warning {
    color: #b7791f;
    background: #fff8e1;
}

.product-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 1.35rem 1.25rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

    .product-modal-body::-webkit-scrollbar {
        width: 7px;
    }

    .product-modal-body::-webkit-scrollbar-track {
        background: transparent;
    }

    .product-modal-body::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 20px;
    }

.product-modal-body {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.product-modal-section {
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: .85rem;
}

.product-modal-section-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

    .product-modal-section-title > div:last-child span {
        color: #8a94a6;
        font-size: .78rem;
    }

.product-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    background: var(--bs-primary-bg-subtle);
    flex-shrink: 0;
}

.product-modal-section .form-label {
    margin-bottom: .45rem;
}

.product-modal-section .form-control,
.product-modal-section .form-select,
.product-modal-section .input-group-text {
    min-height: 43px;
}

.product-modal-section textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.product-add-feature {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-display-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid #e9edf2;
    border-radius: 14px;
    background: #f8fafc;
}

    .product-display-switch .form-check-input {
        width: 2.8rem;
        height: 1.45rem;
        cursor: pointer;
    }

.product-modal-errors {
    margin-bottom: 1rem;
    border-radius: 12px;
}

.product-modal-footer {
    border-top: 1px solid #edf0f4 !important;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, .05);
    padding: .85rem 1.35rem;
}

    .product-modal-footer .btn {
        min-width: 115px;
    }


/* =========================================================
   PRODUCT IMAGES
   ========================================================= */

.product-image-preview,
.product-existing-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
}

    .product-image-preview:empty {
        display: none;
    }

.product-preview-image,
.product-existing-image {
    position: relative;
    aspect-ratio: 1 / .78;
    overflow: hidden;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    background: #f8fafc;
}

    .product-preview-image img,
    .product-existing-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-existing-image .btn-delete-image {
        position: absolute;
        top: .4rem;
        right: .4rem;
        width: 32px;
        height: 32px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    }

.product-no-images {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    color: #9aa4b2;
    border: 1px dashed #d7dde5;
    border-radius: 12px;
    background: #fafbfc;
}

    .product-no-images i {
        font-size: 1.5rem;
    }


/* =========================================================
   CATEGORY PAGE
   ========================================================= */

.category-table-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: #f1f5f9;
}


/* =========================================================
   CATEGORY MODAL
   ========================================================= */

#categoryModal .category-modal-dialog {
    width: calc(100% - 2rem);
    max-width: 620px;
    margin: 1rem auto;
}

#categoryModal .modal-content {
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, .18);
}

.category-modal-header {
    min-height: 78px;
    padding: 1rem 1.35rem;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
}

.category-modal-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    background: var(--bs-primary-bg-subtle);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.category-modal-icon-warning {
    color: #b7791f;
    background: #fff8e1;
}

.category-modal-body {
    padding: 1.35rem;
}

.category-modal-errors {
    border-radius: 12px;
}

.category-form-intro,
.category-current-category {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #edf0f4;
}

.category-form-intro-icon,
.category-current-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    flex-shrink: 0;
}

.category-current-icon {
    color: #b7791f;
    background: #fff8e1;
}

.category-modal-body .form-control,
.category-modal-body .form-select {
    min-height: 45px;
}

.category-modal-footer {
    padding: .85rem 1.35rem;
    border-top: 1px solid #edf0f4 !important;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, .05);
}

    .category-modal-footer .btn {
        min-width: 115px;
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    #productModal .modal-dialog {
        width: calc(100% - 1.25rem);
        height: calc(100dvh - 1.25rem);
        margin: .625rem auto;
    }

    .product-modal-body {
        padding: .9rem 1rem 1rem;
    }

    .product-modal-header {
        padding: .9rem 1rem;
    }

    .product-modal-footer {
        padding: .75rem 1rem;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    #productModal .modal-dialog,
    #categoryModal .category-modal-dialog {
        width: calc(100% - .75rem);
        height: calc(100dvh - .75rem);
        margin: .375rem auto;
    }

    #productModal .modal-content,
    #categoryModal .modal-content {
        border-radius: 1rem;
    }

    .product-modal-header,
    .category-modal-header {
        min-height: 68px;
        padding: .75rem .9rem;
    }

    .product-modal-body,
    .category-modal-body {
        padding: .75rem .9rem;
    }

    .product-modal-footer,
    .category-modal-footer {
        padding: .65rem .9rem;
        gap: .5rem;
    }

        .product-modal-footer .btn,
        .category-modal-footer .btn {
            min-width: 100px;
            flex: 1;
        }

    .product-modal-icon,
    .category-modal-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .product-modal-section {
        padding: .85rem;
        border-radius: 14px;
    }

    .product-modal-section-title {
        margin-bottom: .85rem;
    }

    .product-image-preview,
    .product-existing-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   VERY SMALL VIEWPORT / HIGH ZOOM
   ========================================================= */

@media (max-height: 650px) {

    .product-modal-header,
    .category-modal-header {
        min-height: 60px;
        padding: .65rem .9rem;
    }

    .product-modal-body,
    .category-modal-body {
        padding-top: .65rem;
        padding-bottom: .75rem;
    }

    .product-modal-section {
        padding: .75rem;
        margin-bottom: .65rem;
    }

    .product-modal-section-title {
        margin-bottom: .7rem;
    }

    .product-modal-footer,
    .category-modal-footer {
        padding: .6rem .9rem;
    }
}

/* =========================================================
   PRODUCT DETAIL - PUBLIC
   ========================================================= */

.product-detail {
    position: relative;
}

.product-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
    color: #94a3b8;
    font-size: .76rem;
    font-weight: 700;
}

.product-detail-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color .2s ease;
}

.product-detail-breadcrumb a:hover { color: #087ea4; }
.product-detail-breadcrumb i { font-size: .68rem; color: #cbd5e1; }
.product-detail-breadcrumb span { color: #087ea4; }

.product-detail-hero {
    position: relative;
    padding: 24px;
    border: 1px solid #e8edf3;
    border-radius: 28px;
    background: linear-gradient(135deg, #fff 0%, #fbfdff 100%);
    box-shadow: 0 18px 55px rgba(15, 42, 67, .065);
}

.product-detail-gallery {
    height: 100%;
}

.product-detail-gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 470px;
    overflow: hidden;
    border: 1px solid #edf1f5;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 45%, rgba(8, 126, 164, .055), transparent 43%),
        linear-gradient(180deg, #f9fbfd 0%, #f1f5f9 100%);
}

.product-detail-gallery-main::after {
    content: "";
    position: absolute;
    inset: auto 10% 22px;
    height: 25px;
    border-radius: 50%;
    background: rgba(15, 42, 67, .08);
    filter: blur(16px);
    pointer-events: none;
}

.product-detail-main-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 470px;
    padding: 38px;
    object-fit: contain;
    object-position: center;
    transition: transform .35s ease;
}

.product-detail-gallery-main:hover .product-detail-main-image { transform: scale(1.025); }

.product-detail-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(8, 126, 164, .13);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #087ea4;
    box-shadow: 0 8px 22px rgba(15, 42, 67, .08);
    font-size: .7rem;
    font-weight: 850;
    backdrop-filter: blur(8px);
}

.product-detail-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 13px;
    padding: 2px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.product-thumb {
    position: relative;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    padding: 5px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 9px;
    object-fit: contain;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: rgba(8, 126, 164, .48);
    box-shadow: 0 7px 18px rgba(8, 126, 164, .11);
    transform: translateY(-2px);
}

.product-detail-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 8px 18px 8px;
}

.product-detail-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 14px;
    color: #087ea4;
    font-size: .78rem;
    font-weight: 850;
}

.product-detail-category i { font-size: .9rem; }

.product-detail-info h1 {
    max-width: 680px;
    margin: 0;
    color: #102a43;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 900;
    line-height: 1.35;
}

.product-detail-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    color: #64748b;
    font-size: .82rem;
}

.product-detail-brand span {
    color: #94a3b8;
}

.product-detail-brand strong {
    color: #334155;
    font-weight: 800;
}

.product-detail-divider {
    height: 1px;
    margin: 22px 0;
    background: #edf1f5;
}

.product-detail-price-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px;
    border: 1px solid rgba(8, 126, 164, .12);
    border-radius: 17px;
    background: rgba(8, 126, 164, .045);
}

.product-detail-price-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 13px;
    background: #fff;
    color: #087ea4;
    box-shadow: 0 7px 18px rgba(15, 42, 67, .06);
}

.product-detail-price-card span,
.product-detail-price-card strong,
.product-detail-price-card small {
    display: block;
}

.product-detail-price-card span {
    margin-bottom: 3px;
    color: #64748b;
    font-size: .74rem;
    font-weight: 700;
}

.product-detail-price-card strong {
    color: #087ea4;
    font-size: 1.08rem;
    font-weight: 900;
}

.product-detail-price-card small {
    margin-top: 5px;
    color: #94a3b8;
    font-size: .72rem;
    line-height: 1.8;
}

.product-detail-request-btn {
    width: 100%;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 10px 13px;
    border: 0;
    border-radius: 16px;
    background: #087ea4;
    color: #fff;
    text-align: right;
    box-shadow: 0 13px 28px rgba(8, 126, 164, .2);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.product-detail-request-btn:hover {
    background: #076f91;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 17px 32px rgba(8, 126, 164, .25);
}

.product-detail-request-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    border-radius: 13px;
    background: rgba(255,255,255,.13);
    font-size: 1.1rem;
}

.product-detail-request-btn strong,
.product-detail-request-btn small {
    display: block;
}

.product-detail-request-btn strong {
    font-size: .92rem;
    font-weight: 850;
}

.product-detail-request-btn small {
    margin-top: 2px;
    color: rgba(255,255,255,.75);
    font-size: .69rem;
}

.product-detail-request-btn > .bi-arrow-left {
    margin-right: auto;
    font-size: 1rem;
    opacity: .8;
}

.product-detail-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.product-detail-trust-row div {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 6px;
    border: 1px solid #edf1f5;
    border-radius: 11px;
    color: #64748b;
    font-size: .68rem;
    font-weight: 750;
}

.product-detail-trust-row i { color: #087ea4; }

.product-detail-content {
    margin-top: 26px;
}

.product-detail-section {
    height: 100%;
    padding: 25px;
    border: 1px solid #e8edf3;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(15, 42, 67, .045);
}

.product-detail-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 17px;
    border-bottom: 1px solid #edf1f5;
}

.product-detail-section-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 13px;
    background: rgba(8, 126, 164, .075);
    color: #087ea4;
    font-size: 1rem;
}

.product-detail-section-heading span {
    display: block;
    margin-bottom: 2px;
    color: #94a3b8;
    font-size: .68rem;
    font-weight: 750;
}

.product-detail-section-heading h2 {
    margin: 0;
    color: #102a43;
    font-size: 1.12rem;
    font-weight: 900;
}

.product-description {
    color: #64748b;
    font-size: .9rem;
    line-height: 2.15;
    overflow-wrap: anywhere;
}

.product-description p { margin-bottom: 1rem; }
.product-description p:last-child { margin-bottom: 0; }
.product-description strong { color: #334155; }

.product-spec-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 49px;
    padding: 9px 13px;
    border: 1px solid #edf1f5;
    border-radius: 12px;
    background: #fbfcfd;
}

.product-spec-item span {
    color: #64748b;
    font-size: .76rem;
    font-weight: 700;
}

.product-spec-item strong {
    color: #102a43;
    font-size: .78rem;
    font-weight: 850;
    text-align: left;
}

.product-detail-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 26px;
    padding: 22px 25px;
    border-radius: 20px;
    background: linear-gradient(135deg, #102a43 0%, #163d5c 100%);
    box-shadow: 0 18px 45px rgba(15, 42, 67, .12);
}

.product-detail-bottom-cta span,
.product-detail-bottom-cta strong {
    display: block;
}

.product-detail-bottom-cta span {
    margin-bottom: 4px;
    color: rgba(255,255,255,.65);
    font-size: .72rem;
}

.product-detail-bottom-cta strong {
    color: #fff;
    font-size: .92rem;
    font-weight: 850;
}

.product-detail-bottom-cta .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 9px 17px;
    border: 0;
    border-radius: 11px;
    background: #fff;
    color: #087ea4;
    font-size: .78rem;
    font-weight: 850;
}

.product-detail-bottom-cta .btn:hover {
    background: #f1f5f9;
    color: #076f91;
}

.product-gallery-empty {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: .78rem;
}

.product-gallery-empty i { font-size: 3.4rem; }

.product-request-modal-header {
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #edf1f5;
}

.product-request-modal-header span {
    display: block;
    margin-bottom: 3px;
    color: #087ea4;
    font-size: .68rem;
    font-weight: 800;
}

.product-request-modal-header .modal-title {
    color: #102a43;
    font-size: 1.05rem;
}

.product-request-modal-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid rgba(8,126,164,.12);
    border-radius: 12px;
    background: rgba(8,126,164,.045);
    color: #64748b;
    font-size: .76rem;
    line-height: 1.9;
}

.product-request-modal-note i { margin-top: 3px; color: #087ea4; }
.product-request-submit { min-height: 46px; font-weight: 800; }

@media (max-width: 991.98px) {
    .product-detail-hero { padding: 18px; }
    .product-detail-gallery-main,
    .product-detail-main-image { min-height: 400px; height: 400px; }
    .product-detail-info { padding: 14px 4px 4px; }
    .product-detail-trust-row { margin-top: 20px; }
}

@media (max-width: 767.98px) {
    .product-detail-breadcrumb { margin-bottom: 14px; }

    .product-detail-hero {
        padding: 12px;
        border-radius: 20px;
    }

    .product-detail-gallery-main,
    .product-detail-main-image {
        min-height: 300px;
        height: 300px;
    }

    .product-detail-main-image { padding: 24px; }
    .product-detail-badge { top: 12px; right: 12px; }

    .product-detail-info h1 { font-size: 1.8rem; }
    .product-detail-price-card { padding: 14px; }
    .product-detail-request-btn { min-height: 66px; }

    .product-detail-trust-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .product-detail-trust-row div { justify-content: flex-start; padding-right: 11px; }
    .product-detail-section { padding: 18px; border-radius: 18px; }

    .product-detail-bottom-cta {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
        padding: 18px;
        border-radius: 18px;
    }

    .product-detail-bottom-cta .btn { width: 100%; }
    .product-spec-item { align-items: flex-start; flex-direction: column; gap: 4px; }
    .product-spec-item strong { text-align: right; }
}
