html, body {
    font-family: 'Dana'
}
/* --- $ validation --- */
.validation-summary-errors {
    margin-bottom: 0;
    position: relative;
    padding: 1rem 1rem;
    border-radius: .25rem;
    color: var(--bs-danger-text);
    border: 1px solid transparent;
    background-color: var(--bs-danger-bg-subtle);
    border-color: var(--bs-danger-border-subtle);
}

    .validation-summary-errors ul {
        margin-bottom: 0;
        list-style: none;
    }

    .validation-summary-errors.info {
        color: #055160;
        border-color: #b6effb;
        background-color: #cff4fc;
    }

.form-check-input.form-check-percent:checked[type=checkbox] {
    --bs-form-check-bg-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='14px' height='14px' viewBox='0 0 14 14' version='1.1'><g id='surface1'><path style=' stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;' d='M 13.855469 1.195312 L 1.191406 13.839844 C 1.003906 14.027344 0.695312 14.027344 0.507812 13.839844 L 0.144531 13.480469 C -0.0429688 13.289062 -0.0429688 12.984375 0.144531 12.792969 L 12.808594 0.148438 C 12.996094 -0.0390625 13.304688 -0.0390625 13.492188 0.148438 L 13.855469 0.511719 C 14.042969 0.699219 14.042969 1.007812 13.855469 1.195312 Z M 4.992188 4.992188 C 6.035156 3.953125 6.035156 2.261719 4.992188 1.226562 C 3.953125 0.1875 2.261719 0.1875 1.222656 1.226562 C 0.183594 2.261719 0.183594 3.953125 1.222656 4.992188 C 1.742188 5.511719 2.425781 5.769531 3.109375 5.769531 C 3.789062 5.769531 4.472656 5.511719 4.992188 4.992188 Z M 1.929688 4.285156 C 1.28125 3.636719 1.28125 2.582031 1.929688 1.933594 C 2.578125 1.285156 3.636719 1.285156 4.285156 1.933594 C 4.933594 2.582031 4.933594 3.636719 4.285156 4.285156 C 3.636719 4.933594 2.578125 4.933594 1.929688 4.285156 Z M 12.433594 12.421875 C 13.472656 11.382812 13.472656 9.691406 12.433594 8.65625 C 11.394531 7.617188 9.703125 7.617188 8.660156 8.65625 C 7.621094 9.691406 7.621094 11.382812 8.660156 12.421875 C 9.183594 12.941406 9.863281 13.199219 10.546875 13.199219 C 11.230469 13.199219 11.914062 12.941406 12.433594 12.421875 Z M 11.726562 9.363281 C 12.375 10.011719 12.375 11.066406 11.726562 11.714844 C 11.074219 12.363281 10.019531 12.363281 9.371094 11.714844 C 8.722656 11.066406 8.722656 10.011719 9.371094 9.363281 C 9.695312 9.039062 10.121094 8.875 10.546875 8.875 C 10.972656 8.875 11.402344 9.039062 11.726562 9.363281 Z M 11.726562 9.363281 '/></g></svg>");
    width: 46px !important;
    height: 46px !important;
}

.form-check-input.form-check-percent[type=checkbox] {
    width: 46px !important;
    height: 46px !important;
}

/* --- $ image input placeholder --- */
.image-input-placeholder {
    background-image: url('/assets/media/svg/files/blank-image.svg');
}

[data-bs-theme="dark"] .image-input-placeholder {
    background-image: url('/assets/media/svg/files/blank-image-dark.svg');
}

/* --- $ image handling --- */
.image-local.grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
}

.image-not-found {
    padding: 0px 6px 4px 6px;
    filter: none !important;
}
/* --- $ input arrow --- */

input.arrow-none::-webkit-outer-spin-button,
input.arrow-none::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.arrow-none[type=number] {
    -moz-appearance: textfield;
}
/* --- $ alert --- */
#alert {
    content: '  ';
    right: 40px;
    bottom: 30px;
    z-index: 2000;
    position: fixed;
}

    #alert > .alert {
        min-height: 50px;
    }

.filter-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
}

.product-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-grid:hover .product-img {
    transform: scale(1.06);
}

.badge-custom {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
}

/* ============================================
   Product Detail Page - Professional E-commerce
   ============================================ */

.product-detail-image {
    border-radius: 16px;
    border: 1px solid #f1f1f4;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.product-price-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #f1f1f4;
}

.price-wholesale {
    color: #198754;
}

.price-retail {
    color: #0d6efd;
}

/* --- Product detail: specifications --- */
.product-spec-section__category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bs-primary);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    background: #eef6ff;
    border: 1px solid #cfe2ff;
}

    .product-spec-section__category-link:hover {
        color: #0a58ca;
        background: #e3efff;
    }

.product-spec-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    height: 100%;
    padding: 1.1rem 1.15rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    background: #fff;
    box-shadow: 0 2px 8px rgb(24 28 50 / 0.04);
}

.product-spec-highlight--flat {
    border-color: #cfe2ff;
    background: linear-gradient(145deg, #f8fbff 0%, #fff 100%);
}

.product-spec-highlight--box {
    border-color: #c3e6cb;
    background: linear-gradient(145deg, #f6fff8 0%, #fff 100%);
}

.product-spec-highlight--order {
    border-color: #ffe69c;
    background: linear-gradient(145deg, #fffbeb 0%, #fff 100%);
}

.product-spec-highlight__icon {
    flex-shrink: 0;
    line-height: 1;
}

.product-spec-highlight__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #7e8299;
    margin-bottom: 0.25rem;
}

.product-spec-highlight__value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #181c32;
    line-height: 1.35;
}

.product-spec-panel {
    border: 1px solid #e4e6ef;
    border-radius: 14px;
    background: #f9fafb;
    overflow: hidden;
    box-shadow: 0 4px 16px rgb(24 28 50 / 0.05);
}

.product-spec-panel__cell {
    border-bottom: 1px solid #eef0f4;
    border-inline-start: 1px solid #eef0f4;
}

    .product-spec-panel__cell:nth-child(3n + 1) {
        border-inline-start: 0;
    }

.product-spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 100%;
    padding: 1rem 1.15rem;
    background: #fff;
    height: 100%;
}

.product-spec-item__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #a1a5b7;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.product-spec-item__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #3f4254;
    line-height: 1.45;
}

@media (max-width: 1199.98px) {
    .product-spec-panel__cell:nth-child(3n + 1) {
        border-inline-start: 1px solid #eef0f4;
    }

    .product-spec-panel__cell:nth-child(2n + 1) {
        border-inline-start: 0;
    }
}

@media (max-width: 767.98px) {
    .product-spec-panel__cell {
        border-inline-start: 0;
    }
}

.production-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

    .production-step .symbol {
        margin-bottom: 1rem;
    }

/* --- Product list card --- */
.product-grid {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f1f4;
    border-radius: 14px;
    overflow: hidden;
}

    .product-grid:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.12);
        border-color: #e4e6ef;
    }

.product-grid__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: linear-gradient(145deg, #f8f9fb 0%, #eef1f5 100%);
}

.product-grid__media-link {
    text-decoration: none;
}

.product-grid__badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    z-index: 3;
    pointer-events: none;
    max-width: calc(100% - 1.5rem);
}

.product-grid__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-grid__title {
    font-size: 1.05rem;
    line-height: 1.45;
    color: #181c32;
}

    .product-grid__title:hover {
        color: var(--bs-primary);
    }

.product-grid__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.product-grid__price-panel {
    background: #f9fafb;
    border-radius: 10px;
    padding: 0.85rem;
    border: 1px solid #f1f1f4;
}

.product-grid__price-col {
    padding: 0.35rem 0.25rem;
}

.product-grid__price-col--retail {
    border-right: 1px dashed #e4e6ef;
}

.product-grid__price-value {
    font-size: 1.15rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.product-grid--inactive {
    opacity: 0.92;
}

    .product-grid--inactive .product-grid__media::after {
        content: "غیرفعال";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.55);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        color: #7e8299;
        font-size: 1rem;
    }

/* --- Product detail: order box --- */
.product-order-card {
    background: #fff;
    border: 1px solid #e4e6ef;
    border-radius: 16px;
    padding: 1.35rem 1.5rem 1.15rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.04), 0 12px 28px -8px rgb(24 28 50 / 0.08);
}

.product-order-card__header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.product-order-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #e8fff3 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
}

.product-order-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #181c32;
    margin: 0 0 0.2rem;
    line-height: 1.35;
}

.product-order-card__subtitle {
    font-size: 0.8rem;
    color: #7e8299;
    margin: 0;
    line-height: 1.5;
}

.product-order-card__tiers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.product-order-tier {
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    background: #f9fafb;
}

.product-order-tier--retail {
    border-color: #cfe2ff;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.product-order-tier--bulk {
    border-color: #c3e6cb;
    background: linear-gradient(180deg, #f6fff8 0%, #fff 100%);
}

.product-order-tier__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.15rem;
}

.product-order-tier--retail .product-order-tier__label {
    color: #0d6efd;
}

.product-order-tier--bulk .product-order-tier__label {
    color: #198754;
}

.product-order-tier__value {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3f4254;
}

.product-order-add-btn {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 10px;
    background: #22c55e;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-shadow: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    .product-order-add-btn:hover,
    .product-order-add-btn:focus,
    .product-order-add-btn:active {
        background: #22c55e;
        color: #fff;
        box-shadow: none;
        transform: none;
        filter: none;
        outline: none;
    }

.product-order-widget__stepper {
    display: block;
}

.product-order-card__panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    background: #f9fafb;
    border: 1px solid #eef0f4;
    border-radius: 12px;
}

.product-order-card__panel--qty-row {
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.85rem;
}

.product-order-widget__side-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.35rem;
    flex-shrink: 0;
    min-width: 7.5rem;
}

.product-order-widget__text-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bs-primary);
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.35;
    transition: color 0.15s ease;
}

    .product-order-widget__text-link:hover {
        color: #0a58ca;
        text-decoration: underline;
    }

.product-order-widget__text-link--danger {
    color: #e42855;
}

    .product-order-widget__text-link--danger:hover {
        color: #c81e48;
    }

.qty-stepper {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 52px;
    border: 1px solid #dce1e8;
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.04);
}

.qty-stepper__controls {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 42px;
    border-left: 1px solid #e9ecef;
}

.qty-stepper__btn {
    flex: 1 1 50%;
    width: 100%;
    border: 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    padding: 0;
    transition: filter 0.15s ease, background 0.15s ease;
}

.qty-stepper__btn--plus {
    background: #22c55e;
    color: #fff;
}

    .qty-stepper__btn--plus:hover {
        filter: brightness(1.08);
        color: #fff;
    }

.qty-stepper__btn--minus {
    background: #f1416c;
    color: #fff;
    border-top: 1px solid rgb(255 255 255 / 0.25);
}

    .qty-stepper__btn--minus:hover {
        filter: brightness(1.06);
        color: #fff;
    }

.qty-stepper__field {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.2rem 0.65rem 0.1rem;
    background: #fff;
}

.qty-stepper__label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #a1a5b7;
    line-height: 1;
    user-select: none;
}

.qty-stepper__input {
    width: 100%;
    border: 0;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #181c32;
    padding: 0;
    line-height: 1.2;
    background: transparent;
    -moz-appearance: textfield;
}

    .qty-stepper__input:focus {
        outline: none;
        box-shadow: inset 0 0 0 2px rgb(13 110 253 / 0.15);
    }

    .qty-stepper__input::-webkit-outer-spin-button,
    .qty-stepper__input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.product-order-card__cta {
    flex: 1 1 200px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.65rem 1.1rem;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgb(22 163 74 / 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

    .product-order-card__cta:hover {
        color: #fff;
        filter: brightness(1.05);
        box-shadow: 0 6px 18px rgb(22 163 74 / 0.4);
        transform: translateY(-1px);
    }

    .product-order-card__cta:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgb(22 163 74 / 0.3);
    }

.product-order-card__cta-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgb(255 255 255 / 0.2);
    flex-shrink: 0;
}

.product-order-card__cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    line-height: 1.25;
}

.product-order-card__cta-title {
    font-size: 1rem;
    font-weight: 700;
}

.product-order-card__cta-hint {
    font-size: 0.72rem;
    opacity: 0.88;
    font-weight: 500;
}

.product-order-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e4e6ef;
}

.product-order-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bs-primary);
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

    .product-order-card__link:hover {
        color: #0a58ca;
        background: #eef6ff;
    }

.product-order-card__link--wa {
    color: #128c7e;
}

    .product-order-card__link--wa:hover {
        color: #0d6e63;
        background: #ecfdf5;
    }

@media (max-width: 575.98px) {
    .product-order-card__panel--qty-row {
        flex-direction: column;
        align-items: stretch;
    }

    .product-order-widget__side-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-width: 0;
    }

    .product-order-card__panel {
        flex-direction: column;
    }

    .product-order-card__cta {
        width: 100%;
        flex: 1 1 auto;
    }

    .product-order-card__cta-text {
        align-items: center;
        text-align: center;
    }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #f1f1f4;
}

.products-breadcrumb {
    --bs-breadcrumb-divider: "/";
    --bs-breadcrumb-item-padding-x: 0.6rem;
}

    .products-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        color: #b5b5c3;
        font-weight: 400;
        float: none;
    }

    .products-breadcrumb .breadcrumb-item a {
        color: var(--bs-primary);
        text-decoration: none;
        opacity: 0.85;
    }

        .products-breadcrumb .breadcrumb-item a:hover {
            opacity: 1;
            text-decoration: underline;
        }

    .products-breadcrumb .breadcrumb-item.active {
        color: var(--bs-primary);
        font-weight: 600;
        opacity: 1;
    }

/* Product reviews (public Details) */
.product-reviews-section {
    border-top: 1px solid #f1f1f4;
}

.product-review-card {
    background: #fff;
    border: 1px solid #f1f1f4;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    height: 100%;
}

.product-review-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.product-review-card__meta {
    flex: 1 1 auto;
    min-width: 0;
}

.product-review-card__author {
    font-weight: 700;
    color: #181c32;
}

.product-review-card__date {
    display: block;
    font-size: 0.8rem;
    color: #a1a5b7;
    margin-top: 0.15rem;
}

.product-review-card__text {
    color: #5e6278;
    line-height: 1.75;
    white-space: pre-wrap;
}

.product-review-vote {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.35rem;
    flex: 0 0 auto;
    margin-inline-start: auto;
}

.product-review-vote--readonly {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a1a5b7;
}

@media (max-width: 575.98px) {
    .product-review-card__head {
        flex-direction: column;
        align-items: stretch;
    }

    .product-review-vote {
        justify-content: flex-start;
        margin-inline-start: 0;
    }
}

.product-review-vote__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    color: #7e8299;
    background: #f9f9f9;
    border: 1px solid #e4e6ef;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .product-review-vote__btn:hover {
        background: #fff;
        border-color: #b5b5c3;
        color: #3f4254;
    }

    .product-review-vote__btn.is-active[data-vote="1"] {
        color: #1b5e20;
        background: #e8f5e9;
        border-color: #a5d6a7;
    }

    .product-review-vote__btn.is-active[data-vote="0"] {
        color: #b71c1c;
        background: #ffebee;
        border-color: #ef9a9a;
    }

.product-review-vote__count {
    font-weight: 700;
    min-width: 1.25rem;
    text-align: center;
}

.product-review-form {
    background: #f9f9f9;
    border-radius: 14px;
}

/* ============================================
   Public site header & navigation
   ============================================ */

:root {
    --radman-brand: #1e3a5f;
    --radman-accent: #c17f3a;
    --radman-header-h: 72px;
}

.site-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 0;
}

/* Metronic sets `main { display:flex }` (row) — breaks public page stacking */
.site-main {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    width: 100%;
    min-width: 0;
}

.site-topbar {
    background: var(--radman-brand);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
}

.site-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 36px;
    padding-inline: 1.25rem;
}

.site-topbar__meta,
.site-topbar__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-topbar__item,
.site-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
}

    .site-topbar__link:hover {
        color: #fff;
        opacity: 0.9;
    }

.site-topbar__link--wa:hover {
    color: #b8f5c8;
}

.site-topbar__sep {
    opacity: 0.35;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #fff;
    border-bottom: 1px solid #eef0f4;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

    .site-header.is-scrolled {
        box-shadow: 0 4px 24px rgba(30, 58, 95, 0.08);
        border-bottom-color: transparent;
    }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--radman-header-h);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
}

.site-header__brand {
    flex-shrink: 0;
    line-height: 0;
}

.site-header__logo {
    display: block;
    width: auto;
    height: 48px;
    max-width: 140px;
    object-fit: contain;
}

@media (min-width: 1200px) {
    .site-header__logo {
        height: 52px;
        max-width: 160px;
    }
}

.site-nav {
    align-items: center;
    gap: 0.15rem;
    flex: 1;
    justify-content: center;
    padding-inline: 1rem;
}

.site-nav__link {
    position: relative;
    padding: 0.5rem 0.85rem;
    font-size: 0.925rem;
    font-weight: 600;
    color: #5e6278;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

    .site-nav__link:hover {
        color: var(--radman-brand);
        background: #f4f6fa;
    }

.site-nav__link--active {
    color: var(--radman-brand);
    background: rgba(30, 58, 95, 0.08);
}

    .site-nav__link--active::after {
        content: '';
        position: absolute;
        inset-inline: 0.85rem;
        bottom: 0.15rem;
        height: 2px;
        border-radius: 2px;
        background: var(--radman-accent);
    }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.site-header__cta {
    white-space: nowrap;
    font-weight: 600;
    background: var(--radman-brand) !important;
    border-color: var(--radman-brand) !important;
}

    .site-header__cta:hover {
        background: #16304f !important;
        border-color: #16304f !important;
    }

.site-header__avatar {
    object-fit: cover;
    border: 2px solid #eef0f4;
}

.site-header__toggle {
    width: 42px;
    height: 42px;
}

/* Mobile navigation drawer */
.site-mobile-nav {
    width: min(320px, 88vw);
    border-inline-start: 1px solid #eef0f4;
}

.site-mobile-nav__head {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eef0f4;
}

.site-mobile-nav__brand img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.site-mobile-nav__body {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
}

.site-mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.site-mobile-nav__link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #3f4254;
    text-decoration: none;
    border-radius: 10px;
}

    .site-mobile-nav__link:hover {
        background: #f4f6fa;
        color: var(--radman-brand);
    }

.site-mobile-nav__link--active {
    color: var(--radman-brand);
    background: rgba(30, 58, 95, 0.08);
}

.site-mobile-nav__cta {
    margin-top: auto;
    padding-top: 0.5rem;
}

.site-mobile-nav__contact {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef0f4;
}

.site-mobile-nav__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--radman-brand);
    text-decoration: none;
}

/* Footer */
.site-footer {
    flex-shrink: 0;
    clear: both;
    width: 100%;
    margin-top: auto;
    background: #f8f9fb;
    border-top: 1px solid #eef0f4;
}

/* Products list: sidebar + grid (full-width footer flow) */
.products-page__layout.row {
    align-items: flex-start;
}

.products-page__sidebar .filter-card {
    top: calc(var(--radman-header-h) + 1.25rem);
}

.products-page__quote {
    clear: both;
    width: 100%;
}

/* --- Product card badge (20 custom styles, not Bootstrap badge-*) --- */
.pcb {
    display: inline-block;
    max-width: 100%;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
    border-radius: 8px;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    z-index: 2;
    white-space: nowrap;
    /*overflow: hidden;*/
    text-overflow: ellipsis;
}

.pcb--01 {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
}

.pcb--02 {
    background: #1e3a5f;
    color: #fff;
    border: 1px solid #2d5a8a;
}

.pcb--03 {
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff;
}

.pcb--04 {
    background: linear-gradient(135deg, #d97706, #fbbf24);
    color: #1c1917;
}

.pcb--05 {
    background: linear-gradient(135deg, #6d28d9, #a855f7);
    color: #fff;
}

.pcb--06 {
    background: #fff;
    color: #0d9488;
    border: 2px solid #14b8a6;
    box-shadow: none;
}

.pcb--07 {
    background: #fce7f3;
    color: #9d174d;
    border: 1px solid #f9a8d4;
    box-shadow: none;
}

.pcb--08 {
    background: #312e81;
    color: #e0e7ff;
    box-shadow: 0 0 0 1px #6366f1, 0 4px 14px rgba(99, 102, 241, 0.35);
}

.pcb--09 {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    box-shadow: none;
}

.pcb--10 {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    box-shadow: none;
}

.pcb--11 {
    background: linear-gradient(135deg, #0369a1, #22d3ee);
    color: #fff;
}

.pcb--12 {
    background: #7f1d1d;
    color: #fecaca;
}

.pcb--13 {
    background: #ecfdf5;
    color: #047857;
    border: 2px dashed #34d399;
    box-shadow: none;
}

.pcb--14 {
    background: linear-gradient(135deg, #fb7185, #fda4af);
    color: #881337;
}

.pcb--15 {
    background: linear-gradient(135deg, #44403c, #a8a29e);
    color: #fef9c3;
    border: 1px solid #ca8a04;
}

.pcb--16 {
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 999px;
    box-shadow: none;
}

.pcb--17 {
    background: #84cc16;
    color: #14532d;
}

.pcb--18 {
    background: #fdf4ff;
    color: #a21caf;
    border: 1px solid #e879f9;
    box-shadow: none;
}

.pcb--19 {
    background: linear-gradient(135deg, #78350f, #b45309);
    color: #fef3c7;
}

.pcb--20 {
    background: #0f172a;
    color: #67e8f9;
    border: 1px solid #22d3ee;
}

.site-footer__logo {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.site-footer__title {
    color: var(--radman-brand);
}

.site-footer__text,
.site-footer__copy {
    color: #7e8299;
}

.site-footer__links a {
    color: #7e8299;
    text-decoration: none;
}

    .site-footer__links a:hover {
        color: var(--radman-brand);
    }

.site-footer__text a {
    color: #7e8299;
    text-decoration: none;
}

    .site-footer__text a:hover {
        color: var(--radman-brand);
    }

/* --- Dashboard orders --- */
.dashboard-summary-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.dashboard-order-progress {
    height: 10px;
    border-radius: 6px;
}

.dashboard-production-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-production-step {
    padding: 1rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #eef0f4;
}

.dashboard-production-step.is-complete {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.dashboard-production-step__head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.dashboard-order-accordion .btn-link:hover {
    opacity: 0.9;
}

.dashboard-sidebar .list-group-item.active {
    background: #eef6ff;
    color: var(--bs-primary);
    font-weight: 600;
}

/* --- Dashboard profile --- */
.dashboard-profile-page .dashboard-profile-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-profile-section__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem 0;
}

.dashboard-profile-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.dashboard-profile-section .card-body {
    padding: 1rem 1.5rem 1.5rem;
}

.dashboard-profile-actions.sticky-bottom {
    position: sticky;
    bottom: 1rem;
    z-index: 2;
    background: #fff;
}

@media (max-width: 991.98px) {
    .dashboard-profile-actions.sticky-bottom {
        position: static;
    }
}

/* Blog */
.blog-card__image-link {
    overflow: hidden;
    background: #f4f6fa;
}

.blog-card__image {
    display: block;
    height: 200px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.03);
}

.blog-post-page__hero {
    max-height: 420px;
    object-fit: cover;
}

.blog-sidebar {
    position: sticky;
    top: 1.5rem;
}

.blog-sidebar__meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-block: 0.75rem;
    border-bottom: 1px dashed #e4e6ef;
}

.blog-sidebar__meta-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog-sidebar__meta-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a1a5b7;
}

.blog-sidebar__meta-value {
    font-size: 0.925rem;
    font-weight: 600;
    color: #181c32;
    text-decoration: none;
}

.blog-sidebar__popular {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-sidebar__popular-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
}

.blog-sidebar__popular-item:hover .blog-sidebar__popular-title {
    color: var(--radman-brand);
}

.blog-sidebar__popular-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f4f6fa;
}

.blog-sidebar__popular-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.blog-sidebar__popular-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    color: #181c32;
    transition: color 0.15s ease;
}

.blog-sidebar__popular-meta {
    font-size: 0.75rem;
    color: #a1a5b7;
}

@media (max-width: 991.98px) {
    .blog-sidebar {
        position: static;
    }
}

/* Metronic auth — بهبودهای سبک رادمان */
body.auth-radman {
    font-family: 'Dana', Tahoma, sans-serif;
}

.auth-radman__logo {
    height: 52px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.auth-radman__intro {
    max-width: 480px;
    text-align: center;
}

@media (min-width: 992px) {
    .auth-radman__intro {
        text-align: right;
    }
}

.auth-radman__points li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.auth-radman__card {
    border: 1px solid #eef0f4;
}

.auth-radman__btn.btn-primary {
    background-color: var(--radman-brand, #1e3a5f);
    border-color: var(--radman-brand, #1e3a5f);
}

.auth-radman__btn.btn-primary:hover,
.auth-radman__btn.btn-primary:focus {
    background-color: #2a5080;
    border-color: #2a5080;
}

