﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin-bottom: 0;
}

body.tm-app {
    display: flex;
    flex-direction: column;
}

.tm-store-footer-contact-link {
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .4rem .75rem;
    border: 1px solid rgba(15, 118, 110, .16);
    border-radius: 8px;
    color: #0f766e;
    background: rgba(15, 118, 110, .08);
    font-weight: 900;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.tm-store-footer-contact-link:hover {
    color: #fff;
    border-color: #0f766e;
    background: #0f766e;
}

.tm-app .tm-main-layout-container {
    flex: 1 0 auto;
}

@media (max-width: 1199.98px) {
    body.tm-app.tm-has-global-mobile-bottom-nav {
        padding-bottom: 0;
        --tm-global-mobile-bottom-nav-clearance: calc(6.75rem + env(safe-area-inset-bottom, 0px));
    }

    body.tm-app.tm-has-global-mobile-bottom-nav .tm-main-layout-container > main.pb-3 {
        padding-bottom: var(--tm-global-mobile-bottom-nav-clearance) !important;
    }
}

/*toaster*/
    /* وسطِ واقعی؛ هر قانونِ راست/چپ قبلی را خنثی کن */
    body #toast-container,
    body #toast-container.toast-top-right,
    body #toast-container.toast-top-left,
    body #toast-container.toast-bottom-right,
    body #toast-container.toast-bottom-left,
    body #toast-container.toast-top-center,
    body #toast-container.toast-bottom-center {
        position: fixed !important;
        top: 12px !important; /* اگر پایین می‌خواهی، این را بردار و bottom بده */
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        transform: translateX(-50%) !important;
        margin-left: 0 !important; /* خنثی‌سازی margin منفی نسخه‌های قدیمی Toastr */
        z-index: 99999 !important;
    }

/* بزرگ‌تر + رسپانسیو */
#toast-container > .toast {
    width: 600px !important;
    max-width: calc(100vw - 32px);
    min-height: 76px;
    font-size: 18px !important;
    padding: 18px 58px !important;
    box-sizing: border-box;
    margin: 0 auto 6px !important;
    border-radius: 12px;
    text-align: center !important;
    direction: rtl;
    background-position: right 18px center !important;
    background-size: 24px 24px !important;
}

#toast-container > .toast,
#toast-container > .toast .toast-message,
#toast-container > .toast .toast-title {
    font-family: "vazir-black-fd", "vazir-black", "iransansweb(fanum)", "yekan", Tahoma, sans-serif !important;
    letter-spacing: 0 !important;
    unicode-bidi: plaintext;
}

/* پیام‌های فارسی toast باید وسط‌چین بمانند و از آیکن یا دکمه بستن فاصله امن داشته باشند. */
#toast-container > .toast .toast-message,
#toast-container > .toast .toast-title {
    direction: rtl;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center !important;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

#toast-container > .toast .toast-title + .toast-message {
    margin-top: .25rem;
}

#toast-container > .toast .toast-close-button {
    position: absolute;
    top: 50%;
    left: 14px;
    right: auto;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    margin: 0;
    padding: 0;
    color: inherit !important;
    line-height: 1;
    text-shadow: none;
    transform: translateY(-50%);
    opacity: .88;
    z-index: 2;
}

#toast-container > .toast .toast-close-button:hover,
#toast-container > .toast .toast-close-button:focus {
    color: inherit !important;
    opacity: 1;
}

#toast-container > .toast .toast-progress {
    right: 0;
    left: 0;
}

@media (max-width: 768px) {
    #toast-container > .toast {
        width: calc(100% - 32px) !important;
        max-width: 600px;
        min-height: 68px;
        margin: 0 auto 6px !important;
        font-size: 16px !important;
        padding: 16px 50px !important;
        background-position: right 14px center !important;
    }

    #toast-container > .toast .toast-close-button {
        left: 12px;
    }
}

/* اگر قالب RTL چیزی مثل [dir="rtl"] #toast-container { right:12px } دارد، خنثی‌اش کن */
[dir="rtl"] #toast-container {
    right: auto !important;
}
/* 📌 موفقیت (Success) */
#toast-container > .toast-success {
    background-color: #28a745 !important; /* سبز */
    color: #fff !important;
    font-weight: bold;
    border: 2px solid #1e7e34;
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.6);
}

/* 📌 خطا (Error) */
#toast-container > .toast-error {
    background-color: #dc3545 !important; /* قرمز */
    color: #fff !important;
    font-weight: bold;
    border: 2px solid #bd2130;
    box-shadow: 0 0 12px rgba(220, 53, 69, 0.6);
}

/* 📌 هشدار (Warning) */
#toast-container > .toast-warning {
    background-color: #ffc107 !important; /* زرد طلایی */
    color: #212529 !important;
    font-weight: bold;
    border: 2px solid #e0a800;
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.6);
}

/* 📌 اطلاعات (Info) */
#toast-container > .toast-info {
    background-color: #17a2b8 !important; /* آبی فیروزه‌ای */
    color: #fff !important;
    font-weight: bold;
    border: 2px solid #117a8b;
    box-shadow: 0 0 12px rgba(23, 162, 184, 0.6);
}
/*Spinner*/
/* no-spinner: فقط برای inputهایی که این کلاس را دارند */
input.no-spinner[type="number"]::-webkit-outer-spin-button,
input.no-spinner[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.no-spinner[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}






/* مدیریت کاربران: همه بخش‌های این صفحه باید از همان فونت فارسی استاندارد پروژه استفاده کنند. */
.manage-user-page,
.manage-user-page .card,
.manage-user-page .alert,
.manage-user-page .form-label,
.manage-user-page .form-check-label,
.manage-user-page .form-control,
.manage-user-page .form-select,
.manage-user-page .form-check-input,
.manage-user-page .btn,
.manage-user-page .badge,
.manage-user-page .table,
.manage-user-page .table th,
.manage-user-page .table td,
.manage-user-page .table small,
.manage-user-page .pagination,
.manage-user-page .page-link {
    font-family: "vazir-black-fd", "vazir-black", "iransansweb(fanum)", "yekan", Tahoma, sans-serif !important;
}

/* =========================================================
   Top Navbar (clear active links)
   ========================================================= */
.tm-app {
    /* این لایه‌ها مخصوص منوی اصلی Layout هستند تا dropdown تم و جستجوی بالای صفحه پشت المان‌های Viewها نروند. */
    --tm-main-header-z-index: 4900;
    --tm-main-menu-shell-z-index: 4999;
    --tm-main-menu-z-index: 5000;
}

.tm-app .tm-main-header {
    /* Header اصلی با اسکرول صفحه در بالای View ثابت می‌ماند. */
    position: sticky;
    top: 0;
    z-index: var(--tm-main-header-z-index);
    isolation: isolate;
}

.tm-app .tm-main-navbar {
    /* dropdownهای بوت‌استرپ داخل Navbar باید از لایه منوی اصلی استفاده کنند. */
    position: relative;
    z-index: 1;
    --bs-dropdown-zindex: var(--tm-main-menu-z-index);
    border: 1px solid rgba(15, 23, 42, .08);
    border-inline: 0;
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08) !important;
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.tm-app .tm-main-navbar .dropdown,
.tm-app .tm-main-navbar .tm-social-layout-search-item,
.tm-app .tm-main-navbar .tm-social-layout-search {
    /* آیتم‌های بازشونده Navbar باید قبل از لیست‌های شناورشان یک لایه معتبر داشته باشند. */
    position: relative;
    z-index: var(--tm-main-menu-shell-z-index);
}

.tm-app .tm-main-navbar .dropdown-menu,
.tm-app .tm-main-navbar .tm-theme-menu,
.tm-app .tm-main-navbar .tm-social-layout-search-results,
.tm-app .tm-main-navbar .tm-suggest-list,
.tm-app .tm-main-navbar .tm-suggest-dropdown,
.tm-app .tm-main-navbar .ac-list {
    /* خود منوی تم و لیست‌های جستجوی Navbar همیشه روی محتوای صفحه نمایش داده می‌شوند. */
    z-index: var(--tm-main-menu-z-index) !important;
}

.tm-app .tm-main-navbar > .container-fluid {
    gap: .45rem;
}

.tm-app .tm-main-navbar-mobile-quick {
    display: none;
}

.tm-app .tm-main-brand {
    width: 2.35rem;
    min-width: 2.35rem;
    height: 2.35rem;
    margin: 0;
    padding: 0;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0;
}

/* برای مهمان، آیکن خانه از کادر جستجو فاصله خواناتری دارد. */
.tm-app .tm-main-brand.tm-main-brand-guest {
    margin-inline-end: .5rem;
}

/* در حالت ورود نیز آیکن خانه کمی از خوشه شبکه اجتماعی فاصله می‌گیرد. */
.tm-app .tm-main-brand.tm-main-brand-authenticated {
    margin-inline-end: .25rem;
}

.tm-app .tm-main-brand-icon {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #0f766e);
    box-shadow: 0 10px 20px rgba(13, 110, 253, .2);
}

.tm-app .tm-main-brand-icon i {
    font-size: 1.18rem;
}

.tm-app .tm-main-navbar-toggler {
    border: 1px solid rgba(13, 110, 253, .18);
    border-radius: 8px;
    background: rgba(13, 110, 253, .06);
}

.tm-app .navbar .tm-top-nav-link {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: .45rem .78rem;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tm-app .navbar button.tm-top-nav-link {
    font: inherit;
    line-height: inherit;
}

.tm-app .navbar .tm-top-nav-link:hover {
    color: #0d6efd !important;
    background: linear-gradient(135deg, rgba(13, 110, 253, .1), rgba(15, 118, 110, .05));
    border-color: rgba(13, 110, 253, .18);
    transform: translateY(-1px);
}

.tm-app .navbar .tm-top-nav-link.active,
.tm-app .navbar .tm-top-nav-link[aria-current="page"] {
    color: #fff !important;
    background: linear-gradient(135deg, #0d6efd, #0f766e);
    border-color: rgba(13, 110, 253, .35);
    box-shadow: 0 10px 22px rgba(13, 110, 253, .22);
}

.tm-app .navbar .tm-top-nav-link.active i,
.tm-app .navbar .tm-top-nav-link[aria-current="page"] i {
    color: #fff;
}

.tm-shopping-cart-live-badge {
    font-size: .68rem;
    line-height: 1.1;
    min-width: 2.9rem;
    text-align: center;
}

@media (min-width: 1200px) {
    /* منوی اصلی در دسکتاپ به‌صورت یک خوشه وسط‌چین نمایش داده می‌شود تا در مانیتورهای عریض پراکنده نشود. */
    .tm-app .tm-main-navbar > .container-fluid {
        justify-content: center;
        flex-wrap: nowrap;
    }

    .tm-app .tm-main-navbar-collapse {
        flex-basis: auto;
        flex-grow: 0;
        width: auto;
    }

    .tm-app .tm-main-navbar-list {
        flex-grow: 0;
        gap: .24rem;
    }

    .tm-app .tm-main-navbar-list > .nav-item {
        flex: 0 0 auto;
        margin-inline: 0 !important;
    }

    .tm-app .tm-main-navbar-list .tm-top-nav-link {
        min-height: 2.35rem;
        padding: .36rem .62rem;
    }
}

@media (max-width: 1199.98px) {
    .tm-app .tm-main-navbar > .container-fluid {
        /* در تبلت و موبایل، خانه، منوها، خلاصه اجتماعی و جستجو در یک ردیف سریع قرار می‌گیرند. */
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .tm-app .tm-main-brand {
        order: 1;
        flex: 0 0 auto;
    }

    .tm-app .tm-main-navbar-toggler {
        order: 2;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        min-height: 2.5rem;
        padding: .42rem .7rem;
        color: var(--bs-body-color);
        font-weight: 900;
    }

    .tm-app .tm-main-navbar-toggler-text {
        font-size: .82rem;
        line-height: 1;
    }

    .tm-app .tm-main-navbar-mobile-quick {
        order: 3;
        display: block;
        flex: 1 1 14rem;
        min-width: 0;
        overflow: visible;
    }

    .tm-app .tm-main-navbar-mobile-quick-list {
        width: 100%;
        display: flex;
        flex-direction: row !important;
        flex-wrap: wrap;
        align-items: center !important;
        gap: .45rem;
        overflow-x: visible;
        overflow-y: visible;
        padding-bottom: 0;
    }

    .tm-app .tm-main-navbar-mobile-quick-list > .nav-item {
        flex: 0 0 auto;
        width: auto;
        margin-inline: 0 !important;
    }

    .tm-app .tm-main-guest-login-quick .tm-top-nav-link {
        min-height: 2.5rem;
        padding: .42rem .7rem;
        border: 1px solid var(--bs-primary);
        border-radius: 6px;
        color: var(--bs-primary) !important;
        font-size: .82rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .tm-app .tm-main-navbar-collapse .tm-guest-account-nav {
        display: none !important;
    }

    .tm-app .tm-main-navbar-mobile-quick-list .tm-social-nav-center {
        min-width: 0;
        max-width: 100%;
    }

    .tm-app .tm-main-navbar-mobile-quick-list .tm-social-top-cluster,
    .tm-app .tm-main-navbar-collapse .tm-social-top-cluster {
        /* خوشه اجتماعی در تبلت و موبایل ممکن است قابل swipe باشد، اما نوار اسکرول نباید دیده شود. */
        scrollbar-width: none;
    }

    .tm-app .tm-main-navbar-mobile-quick-list .tm-social-top-cluster::-webkit-scrollbar,
    .tm-app .tm-main-navbar-collapse .tm-social-top-cluster::-webkit-scrollbar {
        display: none;
    }

    .tm-app .tm-main-navbar-mobile-quick-list .tm-social-layout-search-item {
        flex: 1 1 10rem;
        min-width: 0;
        max-width: 18rem;
    }

    .tm-app .tm-main-navbar-mobile-quick-list .tm-social-layout-search {
        width: 100%;
        min-width: 0;
    }

    .tm-app .tm-main-navbar-collapse {
        order: 4;
        flex-basis: 100%;
        width: 100%;
        margin-top: .75rem;
        padding: .75rem;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 8px;
        background: rgba(255, 255, 255, .82);
        box-shadow: 0 16px 34px rgba(15, 23, 42, .1);
        backdrop-filter: blur(18px) saturate(155%);
        -webkit-backdrop-filter: blur(18px) saturate(155%);
    }

    .tm-app .tm-main-navbar-collapse.collapsing {
        /* در لحظه باز و بسته شدن Collapse نباید هیچ scrollbar موقتی دیده شود. */
        overflow: hidden !important;
        scrollbar-width: none;
    }

    .tm-app .tm-main-navbar-collapse.collapsing::-webkit-scrollbar {
        display: none;
    }

    .tm-app .tm-main-navbar-collapse.show {
        max-height: calc(100dvh - 5.25rem);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .tm-app .tm-main-navbar-collapse.collapsing {
        max-height: calc(100dvh - 5.25rem);
        overscroll-behavior: contain;
    }

    .tm-app .tm-main-navbar-list {
        width: 100%;
        display: flex;
        flex-direction: row !important;
        align-items: center !important;
        gap: .45rem;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-main-navbar-list,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-main-navbar-list {
        /* منوی بازشده در تبلت و موبایل یک ردیف افقی فشرده است تا فضای پرت عمودی نداشته باشد. */
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: .15rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-main-navbar-list::-webkit-scrollbar,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-main-navbar-list::-webkit-scrollbar {
        display: none;
    }

    .tm-app .tm-main-navbar-collapse.collapsing .tm-main-navbar-list {
        /* هنگام transition، محتوای داخلی نباید حتی برای یک لحظه scrollbar افقی بسازد. */
        overflow: hidden !important;
        padding-bottom: 0;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-main-navbar-list > .nav-item,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-main-navbar-list > .nav-item {
        flex: 0 0 auto;
        width: auto;
        margin-inline: 0 !important;
    }

    .tm-app .tm-main-navbar-collapse .tm-social-nav-center.tm-user-nav-full-item,
    .tm-app .tm-main-navbar-collapse .tm-social-layout-search-item.tm-user-nav-full-item {
        /* خلاصه اجتماعی و جستجو در تبلت داخل نوار سریع ثابت هستند؛ داخل Collapse حتی در لحظه بازشدن نمایش داده نمی‌شوند. */
        display: none !important;
    }

    .tm-app .tm-main-navbar-collapse .nav-item,
    .tm-app .tm-main-navbar-collapse .nav-link,
    .tm-app .tm-main-navbar-collapse form {
        width: 100%;
    }

    .tm-app .tm-main-navbar-collapse.show .nav-item,
    .tm-app .tm-main-navbar-collapse.show .nav-link,
    .tm-app .tm-main-navbar-collapse.show form,
    .tm-app .tm-main-navbar-collapse.collapsing .nav-item,
    .tm-app .tm-main-navbar-collapse.collapsing .nav-link,
    .tm-app .tm-main-navbar-collapse.collapsing form {
        width: auto;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-social-nav-center,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-social-nav-center {
        min-width: max-content;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-social-layout-search-item,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-social-layout-search-item {
        flex: 0 0 clamp(14rem, 40vw, 20rem);
        width: clamp(14rem, 40vw, 20rem);
    }

    .tm-app .tm-main-navbar-collapse .tm-top-nav-link {
        justify-content: center;
        min-height: 2.65rem;
    }
}

@media (max-width: 575.98px) {
    .tm-app .tm-main-navbar {
        margin-bottom: .65rem !important;
    }

    .tm-app .tm-main-navbar > .container-fluid {
        padding-inline: .75rem;
    }

}

@media (max-width: 767.98px) {
    .tm-app .tm-main-navbar > .container-fluid {
        /* وقتی جستجو از نوار سریع حذف می‌شود، گروه خانه، منوها و خلاصه اجتماعی باید متعادل و وسط‌چین باشد. */
        justify-content: center;
    }

    .tm-app .tm-main-navbar-mobile-quick {
        flex: 0 1 auto;
        max-width: 100%;
    }

    .tm-app .tm-main-navbar-mobile-quick-list {
        justify-content: center;
    }

    .tm-app .tm-main-navbar-collapse.show,
    .tm-app .tm-main-navbar-collapse.collapsing {
        /* در موبایل خود منوی بازشده نباید اسکرول افقی بسازد؛ آیتم‌ها داخل همان عرض صفحه جمع می‌شوند. */
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-main-navbar-list,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-main-navbar-list {
        /* در موبایل اسکرول افقی ممنوع است؛ آیتم‌ها به خط بعدی می‌روند و سرچ یک ردیف کامل می‌گیرد. */
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: visible;
        padding-bottom: 0;
        scrollbar-width: none;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-main-navbar-list::-webkit-scrollbar,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-main-navbar-list::-webkit-scrollbar {
        display: none;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-main-navbar-list > .nav-item,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-main-navbar-list > .nav-item {
        /* هر آیتم منوی موبایل باید داخل عرض موجود بماند و عرض ذاتی آن باعث اسکرول افقی نشود. */
        max-width: 100%;
        min-width: 0;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-social-layout-search-item,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-social-layout-search-item {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }

    .tm-app .tm-main-navbar-mobile-quick-list .tm-social-layout-search-item {
        /* در موبایل جستجو از نوار سریع حذف می‌شود و فقط داخل منوی بازشده دیده می‌شود. */
        display: none !important;
    }

    .tm-app .tm-main-navbar-mobile-quick-list {
        /* در موبایل ورود مهمان یا خلاصه اجتماعی در نوار اصلی می‌ماند و جستجو داخل منو می‌رود. */
        flex-wrap: nowrap;
        gap: .38rem .45rem;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-social-layout-search-item.tm-user-nav-full-item,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-social-layout-search-item.tm-user-nav-full-item {
        display: flex !important;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-social-layout-search-item.tm-user-nav-full-item .tm-social-layout-search,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-social-layout-search-item.tm-user-nav-full-item .tm-social-layout-search {
        width: 100%;
        max-width: 100%;
    }

    .tm-app .tm-main-navbar-collapse.show .tm-social-layout-search-item.tm-user-nav-full-item .tm-social-layout-search-input,
    .tm-app .tm-main-navbar-collapse.collapsing .tm-social-layout-search-item.tm-user-nav-full-item .tm-social-layout-search-input {
        min-width: 0;
    }

    .tm-app .tm-main-navbar-mobile-quick-list .tm-social-nav-center {
        min-width: 0;
        max-width: 100%;
    }

    .tm-app .tm-main-navbar-mobile-quick-list .tm-social-top-cluster {
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: .08rem;
        scrollbar-width: none;
    }

    .tm-app .tm-main-navbar-mobile-quick-list .tm-social-top-cluster::-webkit-scrollbar {
        display: none;
    }
}

[data-bs-theme="dark"] .tm-app .tm-main-navbar {
    background: rgba(17, 24, 39, .88) !important;
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24) !important;
}

[data-bs-theme="dark"] .tm-app .tm-main-brand {
    color: #f8fafc;
}

[data-bs-theme="dark"] .tm-app .tm-main-navbar-collapse {
    background: rgba(17, 24, 39, .82);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

/* =========================================================
   Public Storefront (Digikala-like menu)
   ========================================================= */
.tm-public-store-page {
    padding-bottom: 5.75rem;
}

.tm-digi-store-menu {
    position: relative;
    overflow: visible;
}

.tm-digi-menu-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 3.35rem;
    border-bottom: 1px solid #d7e0ef;
    background: linear-gradient(90deg, #f3f7ff 0%, #eef3fb 100%);
}

.tm-digi-menu-trigger {
    border: 1px solid #1f2a44;
    background: #1f2a44;
    color: #fff;
    text-decoration: none;
    font-size: .93rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .75rem;
    border-radius: .65rem;
}

.tm-digi-menu-trigger i {
    font-size: 1rem;
    color: #ffb4bf;
}

.tm-digi-menu-shortcut {
    color: #2e3350;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    padding: .4rem .65rem;
    border-radius: .7rem;
    border: 1px solid #d7e0ef;
    background: #fff;
    transition: all .2s ease;
}

.tm-digi-menu-shortcut:hover {
    color: #ef4056;
    background: #fff1f2;
}

.tm-digi-menu-shortcut.active {
    color: #fff;
    background: #ef4056;
    border-color: #ef4056;
}

.tm-digi-menu-current {
    margin-inline-start: auto;
    color: #3f4f67;
    font-size: .82rem;
    font-weight: 600;
}

.tm-digi-mega-menu {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 1025;
    background: #fff;
    border: 1px solid #eceef0;
    border-top: 0;
    border-bottom-left-radius: .95rem;
    border-bottom-right-radius: .95rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
}

.tm-digi-store-menu.is-open .tm-digi-mega-menu {
    display: block;
}

.tm-digi-cat-list {
    max-height: 26rem;
    overflow-y: auto;
    background: #e7efff;
}

.tm-digi-cat-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #eceef0;
    background: #e7efff;
    text-align: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
    padding: .85rem .95rem;
    color: #1b3d6d;
    transition: all .2s ease;
}

.tm-digi-cat-item:hover,
.tm-digi-cat-item.active {
    color: #fff;
    background: #164f9d;
    box-shadow: inset 4px 0 0 #ffcf7e;
}

.tm-digi-cat-title {
    font-size: .9rem;
    font-weight: 600;
}

.tm-digi-cat-meta {
    font-size: .75rem;
    color: #4f6f9a;
}

.tm-digi-cat-item:hover .tm-digi-cat-meta,
.tm-digi-cat-item.active .tm-digi-cat-meta {
    color: rgba(255, 255, 255, .86);
}

.tm-digi-panels {
    min-height: 24rem;
    max-height: 26rem;
    overflow-y: auto;
    padding: 1rem;
}

.tm-digi-subpanel {
    display: none;
}

.tm-digi-subpanel.active {
    display: block;
    background: linear-gradient(180deg, #fff9ed 0%, #fff 100%);
    border: 1px solid #ffe1b0;
    border-radius: .85rem;
    padding: .95rem;
}

.tm-digi-all-link {
    color: #8b3f00;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.tm-digi-all-link.active {
    text-decoration: underline;
    text-underline-offset: .15rem;
}

.tm-digi-option-link {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    border: 1px solid #ffd7a5;
    border-radius: .75rem;
    padding: .6rem .75rem;
    text-decoration: none;
    color: #6c3c00;
    background: #fffaf1;
    min-height: 3.6rem;
    transition: all .2s ease;
}

.tm-digi-option-link span {
    font-size: .87rem;
    font-weight: 500;
}

.tm-digi-option-link small {
    font-size: .74rem;
    color: #98704a;
}

.tm-digi-option-link:hover,
.tm-digi-option-link.active {
    border-color: #ff9f1c;
    background: #ffe5be;
    color: #7a2f00;
    box-shadow: 0 4px 16px rgba(255, 159, 28, .24);
}

.tm-store-products-card .tm-sort-chip-list {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
}

.tm-store-products-card .tm-sort-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .35rem .75rem;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    text-decoration: none;
    color: #495057;
    font-size: .85rem;
    font-weight: 500;
    background-color: #fff;
    transition: all .2s ease;
}

.tm-store-products-card .tm-sort-chip:hover {
    border-color: #ef4056;
    color: #ef4056;
}

.tm-store-products-card .tm-sort-chip.active {
    border-color: #ef4056;
    background-color: #fff1f2;
    color: #ef4056;
}

.tm-store-products-card .tm-product-card {
    transition: transform .2s ease, box-shadow .2s ease;
}

.tm-store-products-card .tm-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1.1rem rgba(0, 0, 0, .08);
}

.tm-public-product-page .tm-product-thumb-strip {
    scrollbar-width: thin;
}

.tm-public-product-page .tm-product-thumb {
    width: 72px;
    min-width: 72px;
    height: 72px;
    flex: 0 0 72px;
}

.tm-public-product-page .tm-product-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: var(--tm-product-media-fit);
    background: var(--tm-product-media-bg);
    display: block;
}

.tm-public-product-page .tm-product-main-carousel .carousel-control-prev,
.tm-public-product-page .tm-product-main-carousel .carousel-control-next {
    width: 12%;
}

.tm-public-product-page .tm-product-main-carousel .carousel-control-prev-icon,
.tm-public-product-page .tm-product-main-carousel .carousel-control-next-icon {
    background-size: 1.25rem 1.25rem;
}

.tm-public-product-page {
    color: #232933;
}

.tm-public-product-page .breadcrumb {
    margin-bottom: .8rem;
}

.tm-product-hero-row {
    margin-top: .25rem;
}

.tm-product-gallery-surface,
.tm-product-info-surface,
.tm-product-section-surface {
    background: #fff;
    border: 1px solid #edf0f4;
    border-radius: 1.15rem;
    box-shadow: 0 10px 28px rgba(22, 32, 52, .07);
}

.tm-product-gallery-surface {
    overflow: hidden;
}

.tm-product-gallery-inner {
    padding: 1rem;
}

.tm-public-product-page .tm-product-main-carousel {
    border-color: #edf0f4 !important;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%) !important;
}

.tm-product-main-media-with-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: .65rem;
    align-items: start;
    direction: ltr;
}

.tm-product-main-media-carousel-wrap {
    min-width: 0;
    direction: rtl;
}

.tm-product-gallery-action-rail {
    direction: rtl;
    display: grid;
    gap: .55rem;
    justify-items: center;
    align-content: start;
    padding-top: .2rem;
}

.tm-product-gallery-action-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1.22rem;
    line-height: 1;
    transition: color .16s ease, background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.tm-product-gallery-action-btn:hover,
.tm-product-gallery-action-btn:focus-visible {
    color: #111827;
    background: #f3f4f6;
    transform: translateY(-1px);
}

.tm-product-gallery-action-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .18);
}

.tm-product-gallery-action-btn-danger:hover,
.tm-product-gallery-action-btn-danger:focus-visible {
    color: #dc3545;
    background: #fff1f2;
}

.tm-public-product-page .tm-product-main-ratio {
    --bs-aspect-ratio: 82%;
}

.tm-public-product-page .tm-product-thumb {
    border-radius: .85rem !important;
    transition: border-color .18s ease, opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

.tm-public-product-page .tm-product-thumb:hover {
    transform: translateY(-1px);
}

.tm-product-info-surface {
    padding: 1.1rem;
}

.tm-product-title-block {
    padding: .25rem .25rem 1rem;
    border-bottom: 1px solid #f0f2f5;
}

.tm-product-info-surface .min-w-0 {
    min-width: 0;
}

.tm-product-title {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.75;
    font-weight: 800;
    color: #151a24;
    margin: 0;
}

.tm-product-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
}

.tm-product-store-link,
.tm-product-meta-chip,
.tm-product-plan-badge,
.tm-product-soft-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 2rem;
    border-radius: 999px;
    padding: .35rem .65rem;
    font-size: .84rem;
    font-weight: 700;
}

.tm-product-store-link {
    color: #164f9d;
    background: #eef5ff;
    border: 1px solid #dbe9ff;
    text-decoration: none;
}

.tm-product-store-link:hover {
    color: #0f3b78;
    border-color: #b8d5ff;
}

.tm-product-meta-chip {
    color: #566173;
    background: #f5f7fa;
    border: 1px solid #eaedf2;
}

.tm-product-plan-badge {
    color: #fff;
    background: #164f9d;
    box-shadow: 0 8px 18px rgba(22, 79, 157, .18);
}

.tm-product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 19rem);
    gap: 1rem;
    padding-top: 1rem;
}

.tm-product-detail-pane {
    min-width: 0;
}

.tm-product-description {
    color: #3f4756;
    line-height: 2;
    padding: .9rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #edf0f4;
    border-radius: .95rem;
    background: #fbfcfe;
}

.tm-product-selector-field .form-label {
    margin-bottom: .45rem;
    color: #3e4857;
    font-size: .86rem;
    font-weight: 800;
}

.tm-product-selector-field .form-select,
.tm-product-qty-input {
    border-color: #d9e0ea;
    border-radius: .85rem;
    min-height: 2.9rem;
    font-weight: 700;
}

.tm-product-selector-field .form-select:focus,
.tm-product-qty-input:focus {
    border-color: #ef4056;
    box-shadow: 0 0 0 .18rem rgba(239, 64, 86, .12);
}

.tm-color-swatch-inline {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    vertical-align: middle;
    border: 1px solid rgba(25, 35, 50, .24);
    border-radius: 50%;
    background: #f4f6f9;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .72);
}

.tm-combination-color-option,
.tm-product-color-option {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 2.5rem;
}

.tm-product-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
}

.tm-combination-color-dropdown {
    position: relative;
}

.tm-combination-color-toggle {
    width: 100%;
    min-height: 2.55rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    background: #fff;
    color: #212529;
    padding: .375rem .75rem;
    font-weight: 700;
    text-align: right;
}

.tm-combination-color-toggle:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
    outline: 0;
}

.tm-combination-color-summary {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tm-combination-color-caret {
    flex: 0 0 auto;
    color: #6c757d;
}

.tm-combination-color-menu {
    position: absolute;
    z-index: 1050;
    top: calc(100% + .25rem);
    right: 0;
    left: 0;
    display: none;
    max-height: 17rem;
    overflow: auto;
    border: 1px solid #d9e0ea;
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 .75rem 1.5rem rgba(20, 30, 45, .12);
    padding: .35rem;
}

.tm-combination-color-dropdown.is-open .tm-combination-color-menu {
    display: block;
}

.tm-combination-color-menu-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: 100%;
    min-height: 2.35rem;
    border-radius: .4rem;
    padding: .45rem .5rem;
    cursor: pointer;
    font-weight: 700;
}

.tm-combination-color-menu-item:hover,
.tm-combination-color-menu-item.active {
    background: #f1f6ff;
    color: #0d6efd;
}

.tm-product-color-option {
    width: 2.75rem;
    height: 2.75rem;
    justify-content: center;
    border: 1px solid #d9e0ea;
    border-radius: 50%;
    background: #fff;
    color: #202734;
    padding: .25rem;
    font-weight: 800;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.tm-product-color-option:hover,
.tm-product-color-option.active,
.tm-combination-color-option.active {
    border-color: #ef4056;
    color: #c8243d;
    box-shadow: 0 0 0 .18rem rgba(239, 64, 86, .12);
}

.tm-product-color-option:hover {
    transform: translateY(-1px);
}

.tm-product-color-option .tm-color-swatch-inline {
    width: 1.85rem;
    height: 1.85rem;
    flex-basis: 1.85rem;
    box-shadow: none;
}

.tm-selected-combination-box {
    border: 1px solid #e8ecf3;
    border-radius: .95rem;
    background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%);
    padding: .85rem 1rem;
    color: #202734;
}

.tm-product-delivery-box {
    border: 1px solid #d9f1e5;
    border-radius: .95rem;
    background: #f3fbf7;
    padding: .9rem 1rem;
}

.tm-product-delivery-title {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #13764b;
    font-weight: 800;
}

.tm-product-soft-badge {
    color: #13764b;
    background: #fff;
    border: 1px solid #ccebdd;
    min-height: 1.75rem;
    font-size: .78rem;
}

.tm-product-delivery-list {
    list-style: none;
    padding: .65rem;
    margin: 0;
    max-height: 12rem;
    overflow: auto;
    border-radius: .8rem;
    background: #fff;
    border: 1px solid #d9f1e5;
}

.tm-product-delivery-list li {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    padding: .45rem 0;
    border-bottom: 1px solid #eef8f3;
    color: #384252;
    font-size: .86rem;
}

.tm-product-delivery-list li:last-child {
    border-bottom: 0;
}

.tm-product-delivery-index {
    min-width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e4f7ee;
    color: #13764b;
    font-size: .75rem;
    font-weight: 800;
}

.tm-product-buy-panel {
    min-width: 0;
}

.tm-product-buy-card {
    position: sticky;
    top: 1rem;
    border: 1px solid #e5e9f0;
    border-radius: 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    padding: 1rem;
    box-shadow: 0 10px 24px rgba(22, 32, 52, .06);
}

.tm-product-side-column .tm-product-info-surface {
    overflow: visible;
}

.tm-product-side-column .tm-product-detail-grid {
    grid-template-columns: minmax(0, 1fr);
}

.tm-product-side-column .tm-product-selectors .col-md-6 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.tm-product-side-column .tm-product-buy-panel,
.tm-product-side-column .tm-product-buy-card {
    width: 100%;
    max-width: 100%;
}

.tm-product-buy-title {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #263241;
    font-weight: 900;
}

.tm-product-discount-badge,
.tm-product-discount-percent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    border-radius: 999px;
    background: #ef4056;
    color: #fff;
    font-weight: 900;
    padding: .28rem .55rem;
    box-shadow: 0 8px 18px rgba(239, 64, 86, .22);
}

.tm-product-price-box {
    border-bottom: 1px solid #edf0f4;
    padding-bottom: .9rem;
    margin-bottom: .9rem;
}

.tm-product-current-price {
    color: #111827;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.7;
    font-weight: 950;
}

.tm-product-old-price {
    min-height: 1.35rem;
    display: block;
    color: #8b96a8;
    text-decoration: line-through;
}

.tm-product-stock-row {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem 0 .85rem;
}

.tm-product-stock-dot {
    width: .72rem;
    height: .72rem;
    flex: 0 0 .72rem;
    border-radius: 50%;
    background: #adb5bd;
    box-shadow: 0 0 0 .28rem rgba(173, 181, 189, .16);
}

.tm-product-stock-dot.is-available {
    background: #16a34a;
    box-shadow: 0 0 0 .28rem rgba(22, 163, 74, .13);
}

.tm-product-stock-dot.is-unavailable {
    background: #ef4056;
    box-shadow: 0 0 0 .28rem rgba(239, 64, 86, .13);
}

.tm-product-cart-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.tm-product-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    border: 1px solid #edf0f4;
    border-radius: .85rem;
    background: #fff;
    padding: .55rem .7rem;
}

.tm-product-qty-row .form-label {
    flex: 1 1 auto;
}

.tm-product-qty-row .tm-product-qty-input {
    width: 6.25rem;
    flex: 0 0 6.25rem;
}

.tm-product-add-cart-btn {
    min-height: 2.9rem;
    border-radius: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-weight: 900;
    width: 100%;
    background: #16a34a;
    border-color: #16a34a;
}

.tm-product-add-cart-btn:hover {
    background: #12833d;
    border-color: #12833d;
}

.tm-product-section-surface {
    padding: 1.1rem;
}

.tm-product-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .85rem;
    margin-bottom: .9rem;
    border-bottom: 1px solid #edf0f4;
}

.tm-product-section-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 900;
    color: #1f2937;
}

.tm-product-public-props {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.tm-product-public-prop {
    border: 1px solid #edf0f4;
    border-radius: .9rem;
    background: #fbfcfe;
    padding: .85rem 1rem;
}

.tm-product-public-prop-title {
    color: #6b7280;
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: .35rem;
}

.tm-product-public-prop-value {
    color: #1f2937;
    line-height: 1.8;
    font-weight: 700;
}

.tm-product-public-props-trigger {
    color: #1f2937;
    min-height: 3rem;
    font-weight: 900;
    background: #fff;
}

.tm-product-public-props-sheet {
    --tm-product-public-props-sheet-max-height: min(70dvh, 34rem);
    --bs-offcanvas-height: auto;
    height: auto;
    max-height: var(--tm-product-public-props-sheet-max-height);
    border-top-left-radius: 1.25rem;
    border-top-right-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tm-product-public-props-sheet-drag-area {
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.tm-product-public-props-sheet.is-dragging {
    transition: none;
}

.tm-product-public-props-sheet-handle {
    width: 3.5rem;
    height: .28rem;
    border-radius: 999px;
    background: #d6dbe4;
    display: inline-block;
}

.tm-product-public-props-sheet .offcanvas-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.tm-product-discount-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.tm-product-discount-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .8rem;
    border: 1px solid #ffe0e4;
    border-radius: 1rem;
    background: linear-gradient(180deg, #fff8f9 0%, #fff 100%);
    padding: .9rem;
}

.tm-product-discount-card-main {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    min-width: 0;
}

.tm-product-discount-card h3 {
    margin: 0;
    color: #222936;
    font-size: .95rem;
    line-height: 1.8;
    font-weight: 900;
}

.tm-product-discount-window {
    color: #7b8494;
    font-size: .8rem;
}

.tm-product-discount-card-price {
    text-align: end;
    white-space: nowrap;
}

.tm-product-discount-card-price small {
    color: #8b96a8;
    text-decoration: line-through;
}

.tm-product-discount-card .btn {
    grid-column: 1 / -1;
    justify-self: end;
    min-width: 7rem;
    border-radius: .75rem;
    font-weight: 800;
}

.tm-product-comments-root {
    margin-top: 1rem;
}

.tm-product-comment-count {
    min-width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #0f5132;
    background: #d1e7dd;
    font-weight: 800;
}

.tm-product-comment-form {
    padding: .9rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bs-body-bg) 92%, #f8f9fa);
}

.tm-product-comment-form textarea {
    resize: vertical;
    min-height: 5rem;
}

.tm-product-comment-login {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: color-mix(in srgb, var(--bs-primary) 6%, var(--bs-body-bg));
}

.tm-product-comments-list {
    display: grid;
    gap: .85rem;
    margin-top: 1rem;
}

.tm-product-comment-item {
    padding: .95rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-body-bg);
}

.tm-product-comment-item.is-store-owner {
    background: color-mix(in srgb, #198754 8%, var(--bs-body-bg));
    border-color: color-mix(in srgb, #198754 28%, var(--bs-border-color));
}

.tm-product-comment-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .45rem;
}

.tm-product-comment-author {
    font-weight: 800;
    direction: ltr;
    overflow-wrap: anywhere;
}

.tm-product-comment-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: .15rem .48rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
}

.tm-product-comment-badge.is-owner {
    color: #0f5132;
    background: #d1e7dd;
}

.tm-product-comment-badge.is-verified {
    color: #084298;
    background: #cfe2ff;
}

.tm-product-comment-time {
    margin-inline-start: auto;
    color: var(--bs-secondary-color);
    font-size: .8rem;
}

.tm-product-comment-body {
    line-height: 1.95;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.tm-product-comment-actions {
    display: flex;
    justify-content: flex-end;
    gap: .45rem;
    flex-wrap: wrap;
    margin-top: .65rem;
}

.tm-product-comment-actions .btn,
.tm-product-comment-reply-form .btn {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.tm-product-like-button,
.tm-comment-like-button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-width: 3.25rem;
    justify-content: center;
    font-weight: 800;
}

.tm-product-like-button.is-liked,
.tm-comment-like-button.is-liked {
    color: #fff;
    background: #dc3545;
    border-color: #dc3545;
}

.tm-product-comment-edited {
    color: var(--bs-secondary-color);
    font-size: .78rem;
    font-weight: 700;
}

.tm-product-comment-replies {
    display: grid;
    gap: .65rem;
    margin-top: .75rem;
    padding-inline-start: 1rem;
    border-inline-start: 2px solid color-mix(in srgb, var(--bs-primary) 25%, var(--bs-border-color));
}

.tm-product-comment-replies .tm-product-comment-item {
    background: color-mix(in srgb, var(--bs-body-bg) 88%, #f8f9fa);
}

.tm-product-comments-empty,
.tm-product-comments-loading {
    margin-top: 1rem;
    padding: .95rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: 8px;
    color: var(--bs-secondary-color);
    text-align: center;
}

.tm-product-comments-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.tm-product-comments-sentinel {
    min-height: 1px;
}

/* Product social gallery: comments and likes live beside the product photo, Instagram-style. */
.tm-product-gallery-social-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(370px, 32%, 430px);
    gap: 1rem;
    align-items: stretch;
    min-height: clamp(620px, 76vh, 790px);
    max-width: 1220px;
    margin-inline: auto;
}

.tm-product-media-pane {
    min-width: 0;
}

.tm-product-comments-panel {
    min-width: 0;
    height: 100%;
    margin: 0;
}

.tm-product-comments-panel-shell {
    height: 100%;
    min-height: 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .1);
}

.tm-product-comments-sheet-handle,
.tm-product-comments-mobile-actions,
.tm-product-comments-mobile-trigger,
.tm-product-comments-sheet-backdrop {
    display: none;
}

.tm-product-comments-ig-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .85rem .95rem;
    border-bottom: 1px solid #eef1f5;
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.tm-product-comments-avatar {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 30% 20%, #f97316, #ef4056 48%, #7c3aed);
    box-shadow: 0 10px 20px rgba(239, 64, 86, .22);
}

.tm-product-comments-ig-header h2 {
    margin: 0;
    font-size: .98rem;
    font-weight: 900;
    color: #111827;
}

.tm-product-comments-ig-header p {
    margin: .05rem 0 0;
    color: #6b7280;
    font-size: .78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-product-comments-header-actions {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.tm-product-comments-panel .tm-product-like-button {
    min-width: 3.15rem;
    height: 2.35rem;
    padding: 0 .7rem;
    border: 1px solid #edf0f4;
    border-radius: 999px;
    color: #111827;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

.tm-product-comments-panel .tm-product-like-button:hover {
    color: #ef4056;
    border-color: rgba(239, 64, 86, .25);
}

.tm-product-comments-panel .tm-product-like-button.is-liked {
    color: #fff;
    border-color: #ef4056;
    background: #ef4056;
}

.tm-product-comments-panel .tm-product-comment-count {
    min-width: 2.35rem;
    height: 2.35rem;
    color: #111827;
    background: #f3f4f6;
    border: 1px solid #edf0f4;
}

.tm-product-comments-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .85rem .95rem 1rem;
    scrollbar-width: thin;
}

.tm-product-comments-composer {
    flex: 0 0 auto;
    padding: .75rem .95rem .85rem;
    border-top: 1px solid #eef1f5;
    background: #fff;
}

.tm-product-comments-panel .tm-product-comment-form {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.tm-product-comments-panel .tm-product-comment-form textarea {
    min-height: 4.35rem;
    border-color: #edf0f4;
    border-radius: .8rem;
    background: #f8fafc;
}

.tm-product-comments-panel .tm-product-comment-form .btn-primary {
    border-radius: 999px;
    font-weight: 900;
    background: #111827;
    border-color: #111827;
}

.tm-product-comments-panel .tm-product-comment-login {
    margin: 0;
    border-color: #edf0f4;
    border-radius: .9rem;
    background: #f8fafc;
}

.tm-product-comments-panel .tm-product-comments-list {
    gap: 0;
    margin-top: .25rem;
}

.tm-product-comments-panel .tm-product-comment-item {
    position: relative;
    padding: .85rem 0;
    border: 0;
    border-bottom: 1px solid #f0f2f5;
    border-radius: 0;
    background: transparent;
}

.tm-product-comments-panel .tm-product-comment-item.is-store-owner {
    padding-inline: .75rem;
    border: 1px solid rgba(25, 135, 84, .18);
    border-radius: .9rem;
    background: linear-gradient(180deg, rgba(25, 135, 84, .07), rgba(25, 135, 84, .03));
}

.tm-product-comments-panel .tm-product-comment-head {
    gap: .4rem;
    margin-bottom: .25rem;
}

.tm-product-comments-panel .tm-product-comment-author {
    font-size: .92rem;
    color: #111827;
}

.tm-product-comments-panel .tm-product-comment-time {
    font-size: .74rem;
}

.tm-product-comments-panel .tm-product-comment-body {
    font-size: .92rem;
    line-height: 1.9;
    color: #1f2937;
}

.tm-product-comments-panel .tm-product-comment-actions {
    justify-content: flex-start;
    gap: .35rem;
    margin-top: .45rem;
}

.tm-product-comments-panel .tm-product-comment-actions .btn {
    min-height: 2rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    font-size: .78rem;
}

.tm-product-comments-panel .tm-comment-like-button {
    min-width: 2.75rem;
}

.tm-product-comments-panel .tm-product-comment-replies {
    margin-top: .55rem;
    padding-inline-start: .8rem;
    border-inline-start: 2px solid #edf0f4;
}

.tm-product-comments-panel .tm-product-comment-replies .tm-product-comment-item {
    padding-block: .65rem;
    background: transparent;
}

.tm-product-comments-panel .tm-product-comments-empty,
.tm-product-comments-panel .tm-product-comments-loading {
    border-radius: .9rem;
    background: #f8fafc;
}

.tm-product-gallery-social-shell .tm-product-main-ratio::before {
    transition: padding-top .48s cubic-bezier(.22, .8, .22, 1);
}

.tm-product-gallery-social-shell .tm-product-main-carousel,
.tm-product-gallery-social-shell .tm-product-thumb-strip {
    transition: max-height .48s cubic-bezier(.22, .8, .22, 1), opacity .34s ease, box-shadow .34s ease;
}

@media (min-width: 992px) {
    .tm-product-media-pane,
    .tm-product-media-pane .tm-product-gallery-layout,
    .tm-product-media-pane .tm-product-gallery-layout > [class*="col-"],
    .tm-product-media-pane .tm-product-main-media-with-tools,
    .tm-product-media-pane .tm-product-main-media-carousel-wrap,
    .tm-product-media-pane .tm-product-main-carousel,
    .tm-product-media-pane .carousel-inner,
    .tm-product-media-pane .carousel-item,
    .tm-product-media-pane .js-open-product-gallery,
    .tm-product-media-pane .tm-product-main-ratio {
        height: 100%;
    }

    .tm-product-media-pane .tm-product-main-ratio::before {
        display: none;
    }

    .tm-product-media-pane .tm-product-main-carousel {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .tm-product-media-pane .carousel-inner {
        flex: 1;
        min-height: 0;
    }

    .tm-product-media-pane .tm-product-thumb-strip {
        max-height: clamp(620px, 76vh, 790px);
        overflow-y: auto;
        overflow-x: hidden;
        align-content: start;
    }
}

@media (max-width: 991.98px) {
    body.tm-product-comments-mobile-open {
        overflow: hidden;
    }

    .tm-product-gallery-social-shell {
        display: block;
    }

    .tm-product-gallery-social-shell.is-comments-open .tm-product-main-ratio {
        --bs-aspect-ratio: 38%;
    }

    .tm-product-gallery-social-shell.is-comments-open .tm-product-thumb-strip {
        max-height: 44px;
        opacity: .72;
    }

    .tm-product-comments-panel {
        margin-top: .8rem;
    }

    .tm-product-comments-mobile-actions {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: .55rem;
        align-items: center;
    }

    .tm-product-comments-mobile-actions .tm-product-like-button {
        min-width: 3.55rem;
        height: 3.2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .35rem;
        border-radius: 999px;
    }

    .tm-product-comments-mobile-trigger {
        width: 100%;
        min-height: 3.2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .7rem;
        padding: .65rem .85rem;
        border: 1px solid #edf0f4;
        border-radius: 999px;
        color: #111827;
        background: #fff;
        box-shadow: 0 14px 28px rgba(15, 23, 42, .1);
        font-weight: 900;
    }

    .tm-product-comments-mobile-trigger-icon {
        width: 2rem;
        height: 2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
        background: #111827;
        flex: 0 0 auto;
    }

    .tm-product-comments-mobile-trigger span:not(.tm-product-comments-mobile-trigger-icon) {
        min-width: 0;
        flex: 1;
        text-align: right;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tm-product-comments-mobile-trigger strong {
        min-width: 2rem;
        height: 2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        color: #fff;
        background: #ef4056;
        font-size: .85rem;
    }

    .tm-product-comments-sheet-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1058;
        display: block;
        pointer-events: none;
        opacity: 0;
        background: rgba(15, 23, 42, .22);
        transition: opacity .2s ease;
    }

    .tm-product-comments-panel.is-mobile-sheet-open .tm-product-comments-sheet-backdrop {
        pointer-events: auto;
        opacity: 1;
    }

    .tm-product-comments-panel-shell {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1059;
        height: min(82vh, 720px);
        min-height: min(500px, calc(100vh - 88px));
        max-height: calc(100vh - 72px);
        border-radius: 1.25rem 1.25rem 0 0;
        box-shadow: 0 -22px 48px rgba(15, 23, 42, .22);
        transform: translateY(calc(100% + 20px));
        transition: transform .34s cubic-bezier(.22, .8, .22, 1);
    }

    .tm-product-comments-panel.is-mobile-sheet-open .tm-product-comments-panel-shell {
        transform: translateY(0);
    }

    .tm-product-comments-sheet-handle {
        height: 2.35rem;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border-bottom: 1px solid #f0f2f5;
        background: #fff;
    }

    .tm-product-comments-sheet-handle > span {
        width: 46px;
        height: 5px;
        border-radius: 999px;
        background: #d1d5db;
    }

    .tm-product-comments-sheet-close {
        position: absolute;
        left: .7rem;
        top: .45rem;
        width: 2rem;
        height: 2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .tm-product-comments-ig-header {
        padding: .7rem .85rem;
    }

    .tm-product-comments-avatar {
        width: 36px;
        height: 36px;
    }

    .tm-product-comments-ig-header p {
        display: none;
    }

    .tm-product-comments-header-actions {
        gap: .3rem;
    }

    .tm-product-comments-scroll {
        padding: .75rem .9rem calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .tm-product-comments-panel .tm-product-comment-form {
        top: -.75rem;
    }
}

.tm-store-categories-offcanvas {
    width: min(94vw, 430px);
}

.tm-store-categories-offcanvas .accordion-button {
    font-size: .95rem;
    background-color: #edf4ff;
    color: #1b3d6d;
    font-weight: 700;
}

.tm-store-categories-offcanvas .accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #164f9d;
}

.tm-store-categories-offcanvas .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.tm-store-categories-offcanvas .list-group-item {
    border-color: #f2f2f2;
    color: #2d3142;
}

.tm-store-categories-offcanvas .list-group-item:hover {
    background-color: #fff4df;
    color: #8a3f00;
}

.tm-store-categories-offcanvas .list-group-item.active {
    background-color: #ffe1b6;
    border-color: #ffc36d;
    color: #7a2f00;
    font-weight: 700;
}

.tm-store-categories-offcanvas .tm-offcanvas-root-link {
    background: #eaf1ff;
    color: #154887;
    font-weight: 700;
}

.tm-store-categories-offcanvas .tm-offcanvas-root-link.active {
    background: #164f9d;
    border-color: #164f9d;
    color: #fff;
}

.tm-store-categories-offcanvas .tm-offcanvas-all-link {
    background: #edf4ff;
    color: #164f9d;
    font-weight: 700;
}

.tm-store-categories-offcanvas .tm-offcanvas-all-link.active {
    background: #164f9d;
    border-color: #164f9d;
    color: #fff;
}

.tm-store-categories-offcanvas .tm-offcanvas-option-link {
    position: relative;
    background: #fffaf1;
    color: #6c3c00;
    padding-right: 1.55rem;
}

.tm-store-categories-offcanvas .tm-offcanvas-option-link::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff9f1c;
    position: absolute;
    right: .75rem;
    top: 1.05rem;
}

.tm-store-categories-offcanvas .tm-offcanvas-option-link.active {
    background: #ffe5be;
    border-color: #ffb454;
    color: #7a2f00;
}

.tm-store-categories-offcanvas .tm-offcanvas-option-link small {
    color: #9a7850 !important;
}

.tm-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .15rem;
    background: #fff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .08);
    padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom));
}

.tm-mobile-bottom-nav-item {
    border: 0;
    background: transparent;
    color: #6c757d;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    font-size: .75rem;
    font-weight: 500;
    padding: .25rem .1rem;
}

.tm-mobile-bottom-nav-item i {
    font-size: 1.1rem;
    line-height: 1;
}

.tm-mobile-bottom-nav-item.active,
.tm-mobile-bottom-nav-item:hover {
    color: #ef4056;
}

.tm-mobile-bottom-nav-item .tm-shopping-cart-live-badge-mobile {
    margin-top: .15rem;
    font-size: .64rem;
    min-width: 2.6rem;
}

.tm-mobile-bottom-nav-button {
    cursor: pointer;
}

.tm-global-mobile-bottom-nav {
    position: fixed;
    left: .65rem;
    right: .65rem;
    bottom: calc(.55rem + env(safe-area-inset-bottom));
    z-index: 1030;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .35rem;
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    box-shadow: 0 -10px 32px rgba(15, 23, 42, .14);
    padding: .38rem;
    backdrop-filter: blur(18px) saturate(155%);
    -webkit-backdrop-filter: blur(18px) saturate(155%);
}

.tm-global-mobile-bottom-nav-item {
    text-decoration: none;
    color: #64748b;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    font-size: .78rem;
    font-weight: 700;
    min-height: 54px;
    padding: .32rem .1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.tm-global-mobile-bottom-nav-item i {
    font-size: 1.1rem;
    line-height: 1;
}

.tm-global-mobile-bottom-nav-item.active,
.tm-global-mobile-bottom-nav-item:hover {
    color: #0d6efd;
    background: linear-gradient(135deg, rgba(13, 110, 253, .1), rgba(15, 118, 110, .05));
    border-color: rgba(13, 110, 253, .16);
}

.tm-global-mobile-bottom-nav-item.active {
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #0f766e);
    box-shadow: 0 10px 20px rgba(13, 110, 253, .2);
}

.tm-global-mobile-bottom-nav-item:hover {
    transform: translateY(-1px);
}

.tm-global-mobile-bottom-nav-item .tm-shopping-cart-live-badge-mobile {
    margin-top: .15rem;
    font-size: .64rem;
    min-width: 2.6rem;
}

@media (max-width: 1199.98px) {
    .tm-app.tm-has-global-mobile-bottom-nav .footer {
        display: none !important;
    }

    .tm-store-products-card .tm-sort-chip-list {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: .2rem;
    }

    .tm-store-products-card .tm-sort-chip {
        flex: 0 0 auto;
    }

    .tm-public-product-page .breadcrumb {
        flex-wrap: wrap;
        row-gap: .25rem;
        font-size: .85rem;
    }

    .tm-public-product-page .tm-product-main-ratio {
        --bs-aspect-ratio: 86%;
    }

    .tm-public-product-page .tm-product-gallery-layout {
        gap: .75rem !important;
    }

    .tm-public-product-page .tm-product-thumb-strip {
        padding-bottom: .25rem !important;
    }

    .tm-product-detail-grid {
        grid-template-columns: 1fr;
    }

    .tm-product-buy-card {
        position: static;
    }

    .tm-product-discount-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .tm-public-product-page .card-body {
        padding: .85rem;
    }

    .tm-public-product-page .tm-product-main-ratio {
        --bs-aspect-ratio: 95%;
    }

    .tm-public-product-page .tm-product-thumb {
        width: 64px;
        min-width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .tm-public-product-page #jsPriceCurrent {
        font-size: 1.25rem;
    }

    .tm-product-gallery-inner,
    .tm-product-info-surface,
    .tm-product-section-surface {
        padding: .85rem;
    }

    .tm-product-title-block {
        padding-bottom: .85rem;
    }

    .tm-product-title {
        font-size: 1.25rem;
    }

    .tm-product-meta-row {
        align-items: stretch;
    }

    .tm-product-store-link,
    .tm-product-meta-chip {
        max-width: 100%;
    }

    .tm-product-current-price {
        font-size: 1.35rem;
    }

    .tm-product-public-props {
        grid-template-columns: 1fr;
    }

    .tm-product-discount-card {
        grid-template-columns: 1fr;
    }

    .tm-product-discount-card-price {
        text-align: start;
    }
}

@media (min-width: 1200px) {
    .tm-public-store-page {
        padding-bottom: 0;
    }
}

@media (max-width: 991.98px) {
    .tm-public-product-page .tm-product-gallery-social-shell.is-comments-open .tm-product-main-ratio {
        --bs-aspect-ratio: 38%;
    }
}

@media (max-width: 767.98px) {
    .tm-public-product-page .tm-product-gallery-social-shell.is-comments-open .tm-product-main-ratio {
        --bs-aspect-ratio: 34%;
    }
}

/* Instagram-style product comments modal/sheet. */
.tm-product-gallery-social-shell {
    position: relative;
    display: block;
    min-height: 0;
    max-width: 1180px;
    margin-inline: auto;
}

.tm-product-media-pane {
    min-width: 0;
}

.tm-product-comments-panel {
    height: auto;
    margin-top: .8rem;
}

.tm-product-comments-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
    max-width: 100%;
}

.tm-product-comments-mobile-actions .tm-product-like-button,
.tm-product-comments-mobile-trigger {
    border: 0;
    color: #111827;
    background: transparent;
    box-shadow: none;
}

.tm-product-comments-mobile-actions .tm-product-like-button {
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    border-radius: 50%;
    font-size: .95rem;
}

.tm-product-comments-mobile-actions .tm-product-like-button i,
.tm-product-comments-mobile-trigger i {
    font-size: 1.55rem;
}

.tm-product-comments-mobile-actions .tm-product-like-button.is-liked {
    color: #ed4956;
    background: transparent;
}

.tm-product-comments-mobile-trigger {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 0 .25rem;
    font-weight: 800;
}

.tm-product-comments-mobile-trigger strong {
    min-width: 1.65rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #111827;
    border-radius: .25rem;
    color: #111827;
    background: #fff;
    font-size: .78rem;
}

.tm-product-comments-mobile-trigger-icon {
    width: auto;
    height: auto;
    color: #111827;
    background: transparent;
}

.tm-product-comments-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: block;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, .68);
    transition: opacity .22s ease;
}

.tm-product-comments-panel.is-mobile-sheet-open .tm-product-comments-sheet-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.tm-product-comments-panel-shell {
    overflow: hidden;
    background: #fff;
}

.tm-product-comments-panel-side {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.tm-product-comments-modal-media {
    display: none;
    min-width: 0;
    min-height: 0;
    align-items: center;
    justify-content: center;
    background: #000;
}

.tm-product-comments-modal-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* قاب اصلی با همان نسبت گالری و تایم‌لاین، در عرض موجود جا می‌گیرد. */
.tm-public-product-page .tm-product-main-ratio {
    --bs-aspect-ratio: calc(100% / var(--tm-product-media-ratio));
    background: var(--tm-product-media-bg);
}

.tm-public-product-page .tm-product-main-image {
    width: 100%;
    height: 100%;
    object-fit: var(--tm-product-media-fit);
    object-position: center center;
    background: var(--tm-product-media-bg);
}

.tm-product-comments-media-carousel,
.tm-product-comments-media-carousel .carousel-inner,
.tm-product-comments-media-carousel .carousel-item {
    width: 100%;
    height: 100%;
}

.tm-product-comments-media-carousel .carousel-item {
    background: var(--tm-product-media-bg, var(--tm-surface-bg));
}

.tm-product-comments-modal-media .tm-product-comments-media-carousel img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
}

.tm-product-comments-media-control {
    width: 12%;
    opacity: .82;
}

.tm-product-comments-media-control:hover,
.tm-product-comments-media-control:focus {
    opacity: 1;
}

.tm-product-comments-media-control .carousel-control-prev-icon,
.tm-product-comments-media-control .carousel-control-next-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background-size: 1.3rem 1.3rem;
    background-color: rgba(0, 0, 0, .5);
}

.tm-product-comments-reaction-row {
    display: none;
}

.tm-product-comments-panel .tm-product-comments-list {
    gap: 0;
    margin-top: 0;
}

.tm-product-comments-panel .tm-product-comment-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: .75rem;
    align-items: start;
    padding: .78rem 0;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
}

.tm-product-comments-panel .tm-product-comment-item.is-store-owner {
    padding-inline: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.tm-product-comment-avatar {
    grid-row: 1 / span 4;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 30% 20%, #feda75 0 18%, #fa7e1e 38%, #d62976 62%, #962fbf 78%, #4f5bd5 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
    font-weight: 900;
    text-transform: uppercase;
}

.tm-product-comment-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.tm-product-comments-panel .tm-product-comment-head,
.tm-product-comments-panel .tm-product-comment-body,
.tm-product-comments-panel .tm-product-comment-actions,
.tm-product-comments-panel .tm-product-comment-replies,
.tm-product-comments-panel .tm-product-comment-form {
    grid-column: 2;
}

.tm-product-comments-panel .tm-product-comment-head {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin-bottom: .08rem;
}

.tm-product-comments-panel .tm-product-comment-author {
    color: #111827;
    font-size: .92rem;
    font-weight: 900;
    direction: ltr;
}

.tm-product-comments-panel .tm-product-comment-time,
.tm-product-comments-panel .tm-product-comment-edited {
    margin-inline-start: 0;
    color: #737373;
    font-size: .8rem;
    font-weight: 500;
}

.tm-product-comments-panel .tm-product-comment-badge {
    min-height: 1.15rem;
    padding: .05rem .35rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
}

.tm-product-comments-panel .tm-product-comment-body {
    color: #111827;
    font-size: .94rem;
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.tm-product-comments-panel .tm-product-comment-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .85rem;
    margin-top: .35rem;
}

.tm-product-comments-panel .tm-product-comment-actions .btn {
    min-height: auto;
    padding: 0;
    border: 0;
    color: #737373;
    background: transparent;
    font-size: .78rem;
    font-weight: 800;
}

.tm-product-comments-panel .tm-product-comment-actions .btn:hover {
    color: #111827;
    background: transparent;
}

.tm-product-comments-panel .tm-comment-like-button {
    min-width: auto;
    gap: .25rem;
    color: #737373;
}

.tm-product-comments-panel .tm-comment-like-button.is-liked {
    color: #ed4956;
    background: transparent;
}

.tm-product-comments-panel .tm-product-comment-replies {
    display: grid;
    gap: .45rem;
    margin-top: .55rem;
    padding-inline-start: 1.1rem;
    border-inline-start: 1px solid #dbdbdb;
}

.tm-product-comments-panel .tm-product-comment-replies-toggle {
    grid-column: 2;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-top: .45rem;
    padding: 0;
    border: 0;
    color: #737373;
    background: transparent;
    font-size: .8rem;
    font-weight: 800;
    line-height: 1.4;
}

.tm-product-comments-panel .tm-product-comment-replies-toggle::before {
    content: "";
    width: 2.25rem;
    height: 1px;
    display: inline-block;
    background: #dbdbdb;
}

.tm-product-comments-panel .tm-product-comment-replies-toggle:hover {
    color: #111827;
}

.tm-product-comments-panel .tm-product-comment-replies .tm-product-comment-item {
    grid-template-columns: 32px minmax(0, 1fr);
    padding-block: .35rem;
}

.tm-product-comments-panel .tm-product-comment-replies .tm-product-comment-avatar {
    width: 30px;
    height: 30px;
    font-size: .8rem;
}

.tm-product-comments-panel .tm-product-comment-reply-form,
.tm-product-comments-panel .tm-product-comment-edit-form {
    margin-top: .55rem;
    padding: 0;
    border: 0;
    background: transparent;
}

@media (min-width: 992px) {
    .tm-product-media-pane,
    .tm-product-media-pane .tm-product-gallery-layout,
    .tm-product-media-pane .tm-product-gallery-layout > [class*="col-"],
    .tm-product-media-pane .tm-product-main-media-with-tools,
    .tm-product-media-pane .tm-product-main-media-carousel-wrap,
    .tm-product-media-pane .tm-product-main-carousel,
    .tm-product-media-pane .carousel-inner,
    .tm-product-media-pane .carousel-item,
    .tm-product-media-pane .js-open-product-gallery,
    .tm-product-media-pane .tm-product-main-ratio {
        height: auto;
    }

    .tm-product-media-pane .tm-product-main-ratio::before {
        display: block;
    }

    .tm-product-media-pane .tm-product-thumb-strip {
        max-height: none;
        overflow-x: auto;
        overflow-y: visible;
    }

    .tm-product-comments-panel-shell {
        position: fixed;
        top: 50%;
        left: 50%;
        z-index: 1081;
        width: min(92vw, 1440px);
        height: min(88vh, 900px);
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(390px, 470px);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 6px;
        box-shadow: 0 36px 90px rgba(0, 0, 0, .42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(-50%, -50%) scale(.985);
        transition: opacity .2s ease, transform .22s ease, visibility .22s ease;
    }

    .tm-product-comments-panel.is-mobile-sheet-open .tm-product-comments-panel-shell {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, -50%) scale(1);
    }

    .tm-product-comments-modal-media {
        display: flex;
    }

    .tm-product-comments-panel-side {
        border-inline-start: 1px solid #dbdbdb;
    }

    .tm-product-comments-sheet-handle {
        display: block;
        height: 0;
        border: 0;
    }

    .tm-product-comments-sheet-handle > span {
        display: none;
    }

    .tm-product-comments-sheet-close {
        position: absolute;
        top: .7rem;
        left: .7rem;
        z-index: 2;
        width: 2rem;
        height: 2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #111827;
        background: rgba(255, 255, 255, .92);
    }

    .tm-product-comments-ig-header {
        min-height: 60px;
        padding: .75rem 1rem;
        border-bottom: 1px solid #dbdbdb;
        background: #fff;
    }

    .tm-product-comments-ig-header h2 {
        font-size: .95rem;
    }

    .tm-product-comments-scroll {
        flex: 1;
        min-height: 0;
        padding: .9rem 1rem;
        overflow-y: auto;
    }

    .tm-product-comments-composer {
        flex: 0 0 auto;
        padding: .75rem 1rem;
        border-top: 1px solid #dbdbdb;
        background: #fff;
    }

    .tm-product-comments-panel .tm-product-comment-form {
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .tm-product-comments-panel .tm-product-comment-form textarea {
        min-height: 2.75rem;
        border: 0;
        border-radius: 999px;
        background: #f7f7f7;
        resize: none;
    }
}

@media (max-width: 991.98px) {
    .tm-product-comments-panel {
        margin-top: .55rem;
    }

    .tm-product-comments-panel-shell {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1081;
        height: min(88vh, 760px);
        min-height: min(530px, calc(100vh - 56px));
        max-height: calc(100vh - 42px);
        display: block;
        border-radius: 26px 26px 0 0;
        box-shadow: 0 -24px 52px rgba(0, 0, 0, .28);
        opacity: 1;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(calc(100% + 18px));
        transition: transform .34s cubic-bezier(.22, .8, .22, 1), visibility .34s ease;
    }

    .tm-product-comments-panel.is-mobile-sheet-open .tm-product-comments-panel-shell {
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .tm-product-comments-panel-side {
        height: 100%;
    }

    .tm-product-comments-modal-media {
        display: none;
    }

    .tm-product-comments-sheet-handle {
        height: 3.05rem;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border-bottom: 0;
        background: #fff;
    }

    .tm-product-comments-sheet-handle > span {
        width: 52px;
        height: 5px;
        border-radius: 999px;
        background: #737373;
        opacity: .75;
    }

    .tm-product-comments-sheet-close {
        position: absolute;
        left: .85rem;
        top: .58rem;
        width: 2.1rem;
        height: 2.1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: #f3f4f6;
    }

    .tm-product-comments-ig-header {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 .9rem .8rem;
        border-bottom: 1px solid #efefef;
        background: #fff;
        text-align: center;
    }

    .tm-product-comments-avatar,
    .tm-product-comments-ig-header p,
    .tm-product-comments-header-actions {
        display: none;
    }

    .tm-product-comments-ig-header h2 {
        font-size: 1.15rem;
        font-weight: 800;
    }

    .tm-product-comments-scroll {
        flex: 1;
        min-height: 0;
        padding: 1rem 1.15rem 1rem;
        overflow-y: auto;
    }

    .tm-product-comments-composer {
        display: flex;
        flex-direction: column;
        padding: .5rem .8rem calc(.85rem + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #dbdbdb;
        background: #fff;
    }

    .tm-product-comments-reaction-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .35rem;
        padding: .25rem .25rem .65rem;
        font-size: 1.65rem;
        line-height: 1;
        order: -1;
    }

    .tm-product-comments-panel .tm-product-comment-form {
        display: block;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .tm-product-comments-composer > .tm-product-comment-form {
        display: flex;
        align-items: center;
        gap: .55rem;
    }

    .tm-product-comments-panel .tm-product-comment-form textarea {
        min-height: 2.85rem;
        max-height: 6rem;
        border-radius: 999px;
        background: #fff;
        resize: none;
    }

    .tm-product-comments-panel .tm-product-comment-form .btn-primary {
        min-width: 4.25rem;
        border-radius: 999px;
    }

    .tm-product-comments-panel .tm-product-comment-form .small {
        display: none;
    }

    .tm-product-comments-panel .tm-product-comment-item {
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: .82rem;
        padding-block: .85rem;
    }

    .tm-product-comment-avatar {
        width: 46px;
        height: 46px;
    }
}

/* =========================================================
   Storefront public home
   ========================================================= */
.tm-storefront-page {
    min-height: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding-bottom: 0;
    background: #f6f8fb;
    color: #182233;
}

.tm-app .tm-main-layout-container:has(.tm-storefront-page, .tm-store-contact-public-page) {
    display: flex;
    flex-direction: column;
}

.tm-app .tm-main-layout-container > main:has(> .tm-storefront-page, > .tm-store-contact-public-page) {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding-bottom: 0 !important;
}

.tm-storefront-page > .tm-store-footer,
.tm-app .tm-main-layout-container > main:has(> .tm-store-contact-public-page) > .tm-store-footer {
    margin-top: auto;
}

.tm-storefront-page a {
    text-decoration: none;
}

.tm-storefront-hero,
.tm-store-contact-public-head {
    padding: 1.45rem 0 .95rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .96), rgba(13, 110, 253, .86) 52%, rgba(225, 29, 72, .9)),
        #0f766e;
}

.tm-storefront-master-header {
    flex: 0 0 auto;
}

.tm-storefront-subpage-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dbe4ef;
}

.tm-storefront-subpage-heading span {
    display: block;
    margin-bottom: .2rem;
    color: #0f766e;
    font-size: .82rem;
    font-weight: 800;
}

.tm-storefront-subpage-heading h2 {
    margin: 0;
    color: #172033;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.7;
}

.tm-storefront-identity {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.tm-storefront-logo {
    width: 112px;
    height: 112px;
    display: block;
    object-fit: contain;
    border: 3px solid rgba(255, 255, 255, .78);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .2);
}

.tm-storefront-domain,
.tm-storefront-panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 1.85rem;
    padding: .22rem .58rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: rgba(255, 255, 255, .92);
    background: rgba(255, 255, 255, .12);
    font-size: .82rem;
    font-weight: 800;
}

.tm-storefront-identity-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
}

.tm-storefront-report-btn {
    width: 1.85rem;
    height: 1.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    color: rgba(255, 255, 255, .92);
    background: rgba(255, 255, 255, .12);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.tm-storefront-report-btn:hover,
.tm-storefront-report-btn:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, .6);
    background: rgba(225, 29, 72, .48);
}

.tm-storefront-title {
    margin: .55rem 0 .45rem;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3.75rem);
    line-height: 1.45;
    font-weight: 900;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.tm-storefront-title a {
    color: inherit;
    text-decoration: none;
}

.tm-storefront-title a:hover,
.tm-storefront-title a:focus-visible {
    color: #fff;
    text-decoration: none;
}

.tm-storefront-desc {
    max-width: 54rem;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 1.03rem;
    line-height: 2;
    white-space: pre-line;
}

.tm-storefront-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.tm-storefront-social-link {
    width: 2.45rem;
    height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.tm-storefront-social-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .24);
    border-color: rgba(255, 255, 255, .55);
    transform: translateY(-1px);
}

.tm-storefront-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    max-width: 44rem;
    margin-top: 1.15rem;
}

.tm-storefront-stats > div {
    min-height: 5rem;
    padding: .72rem .8rem;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
}

.tm-storefront-stats strong {
    display: block;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
}

.tm-storefront-stats span {
    color: rgba(255, 255, 255, .85);
    font-size: .84rem;
    font-weight: 700;
}

.tm-storefront-hero-panel {
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 8px;
    background: rgba(255, 255, 255, .15);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .18);
    backdrop-filter: blur(18px) saturate(145%);
}

.tm-storefront-hero-panel h2 {
    margin: .5rem 0 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
}

.tm-storefront-campaign-list {
    display: grid;
    gap: .62rem;
    margin-top: .85rem;
    max-height: 25rem;
    overflow-y: auto;
    scrollbar-width: thin;
}

.tm-storefront-campaign-type {
    display: grid;
    gap: .55rem;
    padding: .65rem;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 8px;
    background: rgba(15, 23, 42, .12);
}

.tm-storefront-campaign-type-head {
    min-height: 2rem;
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .5rem;
    color: #fff;
}

.tm-storefront-campaign-type-head > i {
    color: rgba(255, 255, 255, .62);
    font-size: 1.05rem;
}

.tm-storefront-campaign-type.is-active .tm-storefront-campaign-type-head > i {
    color: #86efac;
}

.tm-storefront-campaign-type-head strong {
    font-size: .9rem;
    font-weight: 900;
}

.tm-storefront-campaign-type-head small {
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
    font-weight: 800;
}

.tm-storefront-campaign-type.is-active .tm-storefront-campaign-type-head small {
    color: #bbf7d0;
}

.tm-storefront-campaign-type-items {
    display: grid;
    gap: .45rem;
}

.tm-storefront-campaign-card,
.tm-storefront-coupon-empty {
    width: 100%;
    min-height: 4.6rem;
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    padding: .72rem .85rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    text-align: start;
}

.tm-store-footer {
    border-top: 1px solid #dbe4ef;
    color: #334155;
    background: #f8fafc;
}

.tm-store-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.tm-store-footer-section {
    min-width: 0;
    padding: 1.15rem 1.35rem;
}

.tm-store-footer-section + .tm-store-footer-section {
    border-inline-start: 1px solid #e2e8f0;
}

.tm-store-footer-heading {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .65rem;
    color: #0f766e;
}

.tm-store-footer-heading h2 {
    margin: 0;
    font-size: .92rem;
    font-weight: 900;
}

.tm-store-footer-heading a,
.tm-store-footer-store-link,
.tm-store-footer-platform-link {
    color: inherit;
    text-decoration: none;
}

.tm-store-footer-heading a:hover,
.tm-store-footer-heading a:focus-visible,
.tm-store-footer-store-link:hover,
.tm-store-footer-store-link:focus-visible,
.tm-store-footer-platform-link:hover,
.tm-store-footer-platform-link:focus-visible {
    color: var(--bs-primary);
}

.tm-store-footer-contact-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem .9rem;
}

.tm-store-footer-contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(10rem, 13rem);
    align-items: start;
    gap: .8rem;
}

.tm-store-footer-map {
    height: 5.25rem;
    overflow: hidden;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #e2e8f0;
}

.tm-store-footer-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.tm-store-footer-map-block {
    display: grid;
    gap: .28rem;
}

.tm-store-footer-map-note {
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.7;
}

.tm-store-footer-contact-list a,
.tm-store-footer-contact-list > span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #475569;
    font-size: .76rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.tm-store-footer-contact-list a:hover {
    color: var(--bs-primary);
}

.tm-store-footer-about-title {
    display: block;
    margin-bottom: .25rem;
    color: #1e293b;
    font-size: .8rem;
    font-weight: 900;
}

.tm-store-footer-about {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #64748b;
    font-size: .76rem;
    line-height: 1.9;
    white-space: pre-line;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.tm-store-footer-more {
    display: inline-flex;
    margin-top: .35rem;
    color: var(--bs-primary);
    font-size: .74rem;
    font-weight: 900;
}

.tm-store-footer-empty {
    margin: 0;
    color: #64748b;
    font-size: .76rem;
}

.tm-store-footer-bottom {
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .55rem 1.35rem;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: .72rem;
}

.tm-store-footer-store-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #0f172a;
}

.tm-store-footer-platform-link {
    color: #64748b;
    font-weight: 800;
}

.tm-store-contact-store-link {
    color: inherit;
    text-decoration: none;
}

.tm-store-contact-store-link:hover,
.tm-store-contact-store-link:focus-visible {
    color: var(--bs-primary);
}

.tm-storefront-campaign-card[type="button"] {
    cursor: pointer;
}

.tm-storefront-campaign-card[type="button"]:hover {
    background: rgba(255, 255, 255, .2);
}

.tm-storefront-campaign-icon {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #0f172a;
    background: #fff;
    font-size: 1.1rem;
}

.tm-storefront-campaign-copy {
    min-width: 0;
    display: grid;
    gap: .2rem;
}

.tm-storefront-campaign-copy strong {
    overflow-wrap: anywhere;
    font-weight: 900;
}

.tm-storefront-campaign-copy small {
    color: rgba(255, 255, 255, .88);
    font-weight: 800;
}

.tm-storefront-coupon-empty {
    justify-content: flex-start;
    margin-top: .85rem;
    border-style: solid;
}

.tm-storefront-nav-band {
    position: sticky;
    top: 0;
    z-index: 1020;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
    backdrop-filter: blur(16px) saturate(150%);
}

.tm-storefront-nav-shell {
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
    min-height: 3.25rem;
    padding: .35rem 0;
    overflow: visible;
}

.tm-storefront-static-links {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-inline-start: auto;
}

.tm-storefront-nav-link,
.tm-storefront-mobile-menu-btn {
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    background: #fff;
    padding: .48rem .76rem;
    font-size: .9rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .045);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tm-storefront-nav-link:hover,
.tm-storefront-nav-link.active,
.tm-storefront-mobile-menu-btn {
    color: #0f766e;
    border-color: rgba(15, 118, 110, .16);
    background: rgba(15, 118, 110, .08);
}

.tm-storefront-submenu {
    min-width: 18rem;
    max-height: min(70vh, 24rem);
    overflow-y: auto;
    padding: .45rem;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .16);
}

.tm-storefront-submenu .dropdown-item {
    gap: 1rem;
    min-height: 2.7rem;
    border-radius: 8px;
    font-weight: 800;
}

.tm-storefront-submenu .dropdown-item small {
    color: #64748b;
    font-weight: 800;
}

.tm-storefront-submenu-count {
    display: inline-flex;
    align-items: baseline;
    gap: .2rem;
}

.tm-storefront-submenu-count > span {
    font-size: .58rem;
    font-weight: 600;
}

.tm-storefront-mobile-menu-btn {
    width: 100%;
    justify-content: space-between;
    margin-block: .45rem;
    background: #eefaf7;
    box-shadow: none;
}

.tm-storefront-mobile-menu-btn strong {
    min-width: 0;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-public-store-menu-band {
    margin-bottom: 1rem;
    border-radius: 8px;
}

.tm-public-store-menu-band .tm-storefront-nav-shell {
    padding-inline: .65rem;
}

.tm-storefront-section {
    padding: 1.4rem 0;
}

.tm-storefront-featured {
    color: #fff;
    background: #172554;
}

.tm-storefront-section-head,
.tm-storefront-products-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tm-storefront-section-head span,
.tm-storefront-products-head span {
    display: block;
    color: #0f766e;
    font-size: .83rem;
    font-weight: 900;
}

.tm-storefront-featured .tm-storefront-section-head span {
    color: #fbbf24;
}

.tm-storefront-section-head h2,
.tm-storefront-products-head h2 {
    margin: .2rem 0 0;
    color: #111827;
    font-size: 1.35rem;
    font-weight: 900;
}

.tm-storefront-featured .tm-storefront-section-head h2 {
    color: #fff;
}

.tm-storefront-deal-card,
.tm-storefront-product-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tm-storefront-deal-card:hover,
.tm-storefront-product-card:hover {
    border-color: rgba(15, 118, 110, .28);
    box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
    transform: translateY(-2px);
}

.tm-storefront-deal-media,
.tm-storefront-product-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #fff;
}

.tm-storefront-deal-media img,
.tm-storefront-product-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: .65rem;
}

.tm-storefront-discount-badge {
    position: absolute;
    top: .65rem;
    inset-inline-start: .65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2rem;
    padding: .2rem .48rem;
    border-radius: 999px;
    color: #fff;
    background: #e11d48;
    box-shadow: 0 10px 20px rgba(225, 29, 72, .24);
    font-size: .85rem;
    font-weight: 900;
}

.tm-storefront-deal-body,
.tm-storefront-product-body {
    padding: .95rem;
}

.tm-storefront-deal-body h3,
.tm-storefront-product-body h3 {
    min-height: 3.15rem;
    margin: 0 0 .7rem;
    color: #111827;
    font-size: .98rem;
    line-height: 1.75;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.tm-storefront-deal-body h3 a,
.tm-storefront-product-body h3 a {
    color: inherit;
}

.tm-storefront-product-category {
    min-height: 1.45rem;
    margin-bottom: .35rem;
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tm-storefront-price-row {
    display: grid;
    gap: .15rem;
    min-height: 3rem;
}

.tm-storefront-price-row strong {
    color: #0f766e;
    font-size: 1rem;
    font-weight: 900;
}

.tm-storefront-price-row small {
    color: #94a3b8;
    font-weight: 700;
    text-decoration: line-through;
}

.tm-storefront-countdown {
    min-height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: .75rem;
    border: 1px solid rgba(225, 29, 72, .18);
    border-radius: 8px;
    color: #be123c;
    background: #fff1f2;
    font-size: .86rem;
    font-weight: 900;
}

.tm-storefront-countdown.is-ended {
    color: #64748b;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.tm-storefront-countdown.is-compact {
    justify-content: flex-start;
    padding-inline: .65rem;
    font-size: .8rem;
}

.tm-storefront-sort-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
}

.tm-storefront-sort {
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .42rem .72rem;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    color: #475569;
    background: #fff;
    font-size: .84rem;
    font-weight: 900;
}

.tm-storefront-sort:hover,
.tm-storefront-sort.active {
    color: #fff;
    border-color: #0f766e;
    background: #0f766e;
}

.tm-storefront-product-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: .75rem;
}

.tm-storefront-product-footer .btn {
    flex: 0 0 auto;
    min-width: 6.1rem;
    border-radius: 8px;
    font-weight: 900;
}

.tm-storefront-empty {
    display: grid;
    justify-items: center;
    gap: .8rem;
    padding: 2.2rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    text-align: center;
}

.tm-storefront-empty i {
    color: #0f766e;
    font-size: 2rem;
}

.tm-storefront-bottom-nav {
    position: fixed;
    right: .65rem;
    left: .65rem;
    bottom: calc(.55rem + env(safe-area-inset-bottom));
    z-index: 1030;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .35rem;
    padding: .38rem;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 -12px 32px rgba(15, 23, 42, .16);
    backdrop-filter: blur(16px) saturate(145%);
}

.tm-storefront-bottom-item {
    min-height: 54px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .18rem;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #64748b;
    background: transparent;
    font-size: .77rem;
    font-weight: 900;
}

.tm-storefront-bottom-item.active,
.tm-storefront-bottom-item:hover {
    color: #fff;
    border-color: #0f766e;
    background: #0f766e;
}

.tm-store-contact-public-page {
    min-height: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    background: #f8fafc;
}

.tm-store-contact-public-head {
    padding: 1.25rem 0;
}

.tm-store-contact-public-head h1 {
    margin: .35rem 0 0;
    font-size: clamp(1.35rem, 2.4vw, 2.1rem);
    font-weight: 950;
    line-height: 1.7;
}

.tm-store-contact-back,
.tm-store-contact-back:hover {
    color: rgba(255, 255, 255, .9);
    font-weight: 800;
    text-decoration: none;
}

.tm-store-contact-domain {
    color: rgba(255, 255, 255, .82);
    font-weight: 800;
}

.tm-store-contact-public-body {
    padding: 1.4rem 0 2rem;
}

.tm-store-contact-panel,
.tm-store-contact-empty {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.tm-store-contact-panel {
    height: 100%;
    padding: 1rem;
}

.tm-store-contact-panel h2 {
    margin-bottom: .9rem;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 950;
}

.tm-store-contact-method-list {
    display: grid;
    gap: .65rem;
}

.tm-store-contact-method,
.tm-store-contact-address {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .8rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    background: #fff;
}

.tm-store-contact-method {
    text-decoration: none;
}

.tm-store-contact-method:hover {
    border-color: rgba(15, 118, 110, .24);
    color: #0f766e;
    background: #f0fdfa;
}

.tm-store-contact-method i,
.tm-store-contact-address i {
    color: #0f766e;
    font-size: 1.25rem;
}

.tm-store-contact-method small,
.tm-store-contact-address small {
    display: block;
    color: #64748b;
    font-weight: 800;
}

.tm-store-contact-method strong,
.tm-store-contact-address strong {
    display: block;
    overflow-wrap: anywhere;
    font-weight: 950;
}

.tm-store-contact-address {
    margin-top: .75rem;
    background: #f8fafc;
}

.tm-store-contact-address p {
    margin: .35rem 0 0;
    color: #334155;
    line-height: 1.9;
}

.tm-store-contact-map-shell {
    height: min(62vh, 34rem);
    min-height: 23rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #e2e8f0;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.tm-store-contact-map-shell iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.tm-store-contact-map-note {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .65rem;
    padding: .55rem .75rem;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    color: #1e40af;
    background: #eff6ff;
    font-size: .85rem;
    font-weight: 800;
    line-height: 1.8;
}

.tm-store-contact-empty {
    display: grid;
    justify-items: center;
    gap: .85rem;
    padding: 2.4rem 1rem;
    color: #334155;
    text-align: center;
}

.tm-store-contact-empty i {
    color: #0f766e;
    font-size: 2rem;
}

.tm-store-contact-picker {
    padding: .8rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.tm-store-contact-map-canvas {
    width: 100%;
    min-height: 20rem;
    margin-top: .75rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    background: #e2e8f0;
}

.tm-store-contact-search-results {
    display: grid;
    gap: .4rem;
    margin-top: .6rem;
}

.tm-store-contact-search-results .btn {
    min-height: 42px;
    justify-content: flex-start;
    white-space: normal;
    text-align: start;
    line-height: 1.65;
}

.tm-store-contact-picker .leaflet-container {
    font-family: inherit;
}

@media (max-width: 767.98px) {
    .tm-store-contact-map-canvas {
        min-height: 18rem;
    }
}

.tm-storefront-offcanvas {
    --bs-offcanvas-width: min(88vw, 24rem);
    width: var(--bs-offcanvas-width);
    border-inline-end: 0;
}

.tm-storefront-offcanvas .offcanvas-header {
    align-items: flex-start;
    padding: 1rem 1rem .85rem;
    border-bottom: 1px solid #edf2f7;
}

.tm-storefront-offcanvas .offcanvas-title {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1.8;
}

.tm-storefront-offcanvas .offcanvas-body {
    padding: .85rem;
    background: #f8fafc;
}

.tm-storefront-mobile-panel {
    display: grid;
    gap: .65rem;
}

.tm-storefront-mobile-all,
.tm-storefront-mobile-category-head,
.tm-storefront-mobile-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #263241;
    font-weight: 900;
}

.tm-storefront-mobile-all {
    min-height: 3.25rem;
    padding: .72rem .85rem;
    border-color: rgba(15, 118, 110, .22);
}

.tm-storefront-mobile-all span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.tm-storefront-mobile-all small,
.tm-storefront-mobile-category-head small,
.tm-storefront-mobile-option small {
    color: #64748b;
    font-weight: 900;
    white-space: nowrap;
}

.tm-storefront-mobile-category-card {
    display: grid;
    gap: .55rem;
    padding: .55rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .045);
}

.tm-storefront-mobile-category-card.active {
    border-color: rgba(15, 118, 110, .32);
    box-shadow: 0 10px 24px rgba(15, 118, 110, .08);
}

.tm-storefront-mobile-category-head {
    min-height: 3rem;
    padding: .66rem .75rem;
    background: #f8fafc;
}

.tm-storefront-mobile-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
}

.tm-storefront-mobile-option {
    min-height: 2.65rem;
    padding: .55rem .62rem;
    font-size: .82rem;
}

.tm-storefront-mobile-all.active,
.tm-storefront-mobile-category-head.active,
.tm-storefront-mobile-option.active {
    color: #fff;
    border-color: #0f766e;
    background: #0f766e;
}

.tm-storefront-mobile-all.active small,
.tm-storefront-mobile-category-head.active small,
.tm-storefront-mobile-option.active small {
    color: rgba(255, 255, 255, .86);
}

.tm-store-list-page {
    padding-bottom: 4rem;
}

.tm-store-about-content {
    line-height: 2;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.tm-store-about-recycle-content {
    min-width: 18rem;
    max-width: 30rem;
    white-space: pre-line;
}

.tm-store-about-public-card {
    max-width: 62rem;
    margin-inline: auto;
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    background: var(--bs-body-bg);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.tm-store-about-public-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 8px;
    color: #fff;
    background: #0d6efd;
    font-size: 1.25rem;
}

.tm-store-list-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #0d6efd);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
}

.tm-store-list-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2rem;
    padding: .25rem .65rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .13);
    font-size: .82rem;
    font-weight: 900;
}

.tm-store-list-hero h1 {
    margin: .55rem 0 .35rem;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.8rem);
    font-weight: 900;
}

.tm-store-list-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    line-height: 1.9;
}

.tm-store-list-card {
    height: 100%;
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    cursor: pointer;
}

.tm-store-list-card:hover {
    border-color: rgba(15, 118, 110, .26);
    box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
    transform: translateY(-2px);
}

.tm-store-list-card:focus-visible {
    outline: 3px solid rgba(var(--bs-primary-rgb), .28);
    outline-offset: 3px;
}

.tm-store-list-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: .75rem;
    background: #f8fafc;
}

.tm-store-list-card-media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.tm-store-list-card-body {
    min-width: 0;
    padding: .95rem;
}

.tm-store-list-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.tm-store-list-card h2 a {
    color: inherit;
    text-decoration: none;
}

.tm-store-list-card h2 a:hover,
.tm-store-list-card h2 a:focus-visible {
    color: var(--bs-primary);
    text-decoration: none;
}

.tm-store-list-card p {
    margin: 0;
    color: #475569;
    font-size: .88rem;
    line-height: 1.85;
    white-space: pre-line;
}

.tm-store-list-description {
    position: relative;
    margin: .55rem 0 .75rem;
}

.tm-store-list-description:not(.is-expanded) p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tm-store-list-description-toggle {
    display: none;
    margin-top: .2rem;
    padding: 0;
    border: 0;
    color: var(--bs-primary);
    background: transparent;
    font-size: .82rem;
    font-weight: 900;
}

.tm-store-list-description.is-overflowing .tm-store-list-description-toggle {
    display: inline-flex;
}

.tm-store-list-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
    margin-bottom: .75rem;
}

.tm-store-list-campaigns {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.tm-store-list-campaigns span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .28rem .48rem;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    color: #166534;
    background: #f0fdf4;
    font-size: .72rem;
    font-weight: 900;
}

.tm-store-list-stats span {
    min-height: 3rem;
    display: grid;
    align-content: center;
    justify-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    background: #f8fafc;
    font-size: .76rem;
    font-weight: 800;
}

.tm-store-list-stats strong {
    color: #0f172a;
    font-size: .95rem;
    font-weight: 900;
}

.tm-store-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.tm-store-list-footer small {
    color: #64748b;
    font-weight: 800;
}

.tm-store-list-footer .btn {
    min-width: 5.2rem;
    border-radius: 8px;
    font-weight: 900;
}

.tm-store-list-empty {
    display: grid;
    justify-items: center;
    gap: .8rem;
    padding: 2.2rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.tm-store-list-empty i {
    color: #0f766e;
    font-size: 2rem;
}

@media (max-width: 1199.98px) {
    .tm-storefront-identity {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .tm-storefront-logo {
        width: 92px;
        height: 92px;
    }
}

@media (max-width: 991.98px) {
    .tm-storefront-page {
        padding-bottom: calc(5.35rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 767.98px) {
    .tm-storefront-subpage-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .tm-storefront-subpage-heading .btn {
        align-self: flex-start;
    }

    .tm-storefront-hero {
        padding: .75rem 0 .85rem;
    }

    .tm-storefront-hero .row {
        --bs-gutter-y: .75rem;
    }

    .tm-storefront-identity {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: .65rem;
    }

    .tm-storefront-logo {
        width: 64px;
        height: 64px;
        border-width: 2px;
        box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
    }

    .tm-storefront-domain,
    .tm-storefront-panel-kicker {
        min-height: 1.55rem;
        padding: .16rem .46rem;
        font-size: .74rem;
    }

    .tm-storefront-title {
        margin: .28rem 0 .18rem;
        font-size: 1.35rem;
        line-height: 1.55;
    }

    .tm-storefront-desc {
        margin-top: .15rem;
        font-size: .84rem;
        line-height: 1.75;
    }

    .tm-storefront-socials {
        gap: .35rem;
        margin-top: .5rem;
    }

    .tm-storefront-social-link {
        width: 2.05rem;
        height: 2.05rem;
    }

    .tm-storefront-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .45rem;
        margin-top: .65rem;
    }

    .tm-storefront-stats > div {
        min-height: 3.35rem;
        padding: .45rem .35rem;
    }

    .tm-storefront-stats strong {
        font-size: 1rem;
    }

    .tm-storefront-stats span {
        font-size: .7rem;
        line-height: 1.6;
    }

    .tm-storefront-hero-panel {
        padding: .75rem;
    }

    .tm-storefront-hero-panel h2 {
        margin-top: .3rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    .tm-storefront-campaign-list {
        gap: .45rem;
        margin-top: .55rem;
        max-height: 18rem;
    }

    .tm-storefront-campaign-card,
    .tm-storefront-coupon-empty {
        min-height: 3.25rem;
        padding: .5rem .62rem;
        font-size: .82rem;
    }

    .tm-store-footer-grid {
        grid-template-columns: 1fr;
    }

    .tm-store-footer-section {
        padding: .9rem 1rem;
    }

    .tm-store-footer-section + .tm-store-footer-section {
        border-top: 1px solid #e2e8f0;
        border-inline-start: 0;
    }

    .tm-store-footer-contact-content {
        grid-template-columns: 1fr;
    }

    .tm-store-footer-map {
        height: 6.5rem;
    }

    .tm-store-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: .65rem 1rem;
    }

    .tm-storefront-nav-band {
        box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    }

    .tm-storefront-section {
        padding: .95rem 0;
    }

    .tm-public-store-menu-band {
        margin-bottom: .75rem;
    }

    .tm-storefront-section-head,
    .tm-storefront-products-head,
    .tm-storefront-product-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .tm-storefront-sort-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: .25rem;
    }

    .tm-storefront-sort {
        flex: 0 0 auto;
    }

    .tm-storefront-product-media {
        aspect-ratio: 4 / 3;
    }

    .tm-storefront-product-body {
        padding: .78rem;
    }

    .tm-storefront-product-body h3 {
        min-height: auto;
        margin-bottom: .55rem;
        font-size: .95rem;
    }

    .tm-storefront-product-footer .btn {
        width: 100%;
    }

    .tm-storefront-mobile-option-grid {
        grid-template-columns: 1fr;
    }

    .tm-storefront-offcanvas.offcanvas-start {
        --bs-offcanvas-width: 100%;
        inset: auto 0 0 0;
        width: 100%;
        height: auto;
        max-height: min(76dvh, 34rem);
        transform: translateY(100%);
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
        border-inline-end: 0;
        overflow: hidden;
    }

    .tm-storefront-offcanvas.offcanvas-start.show,
    .tm-storefront-offcanvas.offcanvas-start.showing {
        transform: none;
    }

    .tm-storefront-offcanvas .offcanvas-body {
        max-height: calc(min(76dvh, 34rem) - 4.25rem);
        overflow-y: auto;
    }

    .tm-store-list-hero {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .tm-store-list-card {
        grid-template-columns: 1fr;
    }

    .tm-store-list-card-media {
        min-height: auto;
    }

    .tm-store-list-card-media img {
        width: min(100%, 9rem);
    }

    .tm-store-list-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .tm-store-list-footer .btn {
        width: 100%;
    }
}
/* پایش عملیاتی: فضای متناسب جدول و نوار عمودی در سمت راست. */
.tm-operational-scroll { max-height: 65vh; min-height: 18rem; direction: ltr; }
.tm-operational-scroll > table { direction: rtl; min-width: 62rem; }
