:root {
    --primary-color: #1d3b5c;
    --primary-dark: #0f2a44;
    --primary-light: #3a5f82;
    --primary-ultralight: #e8edf3;
    --secondary-color: #f4f7fc;
    --accent-color: #e67e22;
    --text-dark: #0b1e36;
    --text-light: #4f6b8a;
    --white: #ffffff;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
    --card-radius: 20px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',sans-serif
}

body {
    background: #eef3fa
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none
}

.toast {
    background: #fff;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    padding: 16px 20px;
    margin-bottom: 10px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    transform: translateX(100%);
    opacity: 0;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    pointer-events: auto;
    position: relative
}

.toast.show {
    transform: translateX(0);
    opacity: 1
}

.toast.success {
    background: #28a745
}

.toast.error {
    background: #ef4444
}

.toast.warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg,#fffbeb,#fef3c7)
}

.toast.info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg,#eff6ff,#dbeafe)
}

.toast.info .toast-icon {
    color: #3b82f6
}

.toast-icon {
    margin-right: 12px;
    flex-shrink: 0
}

.toast-content {
    flex: 1
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: #374151
}

.toast-message {
    font-size: 13px;
    line-height: 1.4
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: 0 0;
    border: none;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    opacity: .7;
    transition: opacity .2s
}

.toast-close:hover {
    opacity: 1
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0,0,0,.1);
    border-radius: 0 0 8px 8px;
    transform-origin: left;
    animation: progress linear
}

.toast.success .toast-progress {
    background: #10b981
}

.toast.error .toast-progress {
    background: #ef4444
}

.toast.warning .toast-progress {
    background: #f59e0b
}

.toast.info .toast-progress {
    background: #3b82f6
}

@keyframes progress {
    0% {
        transform: scaleX(1)
    }

    to {
        transform: scaleX(0)
    }
}

#loggedActions {
    display: none;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.id-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center
}

a {
    text-decoration: none
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto
}

.top-nav-wrapper {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.04);
    box-shadow: 0 4px 16px -6px rgba(0,20,30,.06);
    padding: 0 20px;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 100
}

.top-nav {
    width: 100%;
    max-width: 1280px;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    flex: 1
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 650;
    color: #0b1e36;
    flex-shrink: 0
}

.nav-brand i {
    color: #1d3b5c;
    font-size: 26px
}

.nav-brand small {
    font-size: 15px;
    font-weight: 400;
    color: #5e7d9e;
    margin-left: 6px
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-left: auto
}

.nav-menu a {
    text-decoration: none;
    color: #2c4b6e;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 40px;
    transition: .15s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    background: 0 0;
    border: 1px solid transparent
}

.nav-menu a:hover {
    background: #ecf3fb;
    border-color: #d3e2f2;
    color: #0a2744
}

.nav-menu a.active-menu {
    background: #1d3b5c;
    color: #fff;
    border-color: #1d3b5c
}

.nav-menu a i {
    font-size: 14px
}

.nav-toggle-category {
    display: none;
    background: 0 0;
    border: 1px solid #d9e2ef;
    border-radius: 40px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1d3b5c;
    cursor: pointer;
    transition: .15s;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    margin-left: auto
}

.nav-toggle-category:hover {
    background: #ecf3fb;
    border-color: #b6cde0
}

.nav-toggle-category i {
    font-size: 16px
}

.id-search-wrapper {
    width: 100%;
    background: #f8faff;
    border-bottom: 1px solid rgba(0,0,0,.03);
    padding: 12px 20px;
    display: flex;
    justify-content: center
}

.id-search-bar {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.id-search-bar .id-search-input-wrap {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 40px;
    padding: 0 18px;
    border: 1px solid #d9e2ef;
    transition: .2s;
    box-shadow: 0 2px 6px rgba(0,0,0,.02)
}

.id-search-bar .id-search-input-wrap:focus-within {
    border-color: #1d3b5c;
    box-shadow: 0 4px 12px rgba(29,59,92,.08)
}

.id-search-bar .id-search-input-wrap i {
    color: #8aa3c0;
    font-size: 16px;
    margin-right: 10px
}

.id-search-bar .id-search-input-wrap input {
    border: none;
    outline: 0;
    padding: 12px 0;
    font-size: 15px;
    background: 0 0;
    width: 100%;
    color: #0b1e36
}

.id-search-bar .id-search-input-wrap input::placeholder {
    color: #9bb1cc
}

.id-search-bar .id-btn-search {
    background: #1d3b5c;
    border: none;
    padding: 10px 28px;
    border-radius: 40px;
    color: #fff;
    font-weight: 550;
    font-size: 15px;
    cursor: pointer;
    transition: .15s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap
}

.id-search-bar .id-btn-search:hover {
    background: #12304b;
    transform: scale(.97)
}

.id-search-bar .id-hot-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #5e7d9e;
    flex-wrap: wrap
}

.id-search-bar .id-hot-tags a {
    color: #3b5a7a;
    text-decoration: none;
    background: #eef4fc;
    padding: 4px 14px;
    border-radius: 30px;
    font-weight: 450;
    transition: .12s
}

.id-search-bar .id-hot-tags a:hover {
    background: #d9e2ef;
    color: #0b1e36
}

.main-wrapper {
    width: 100%;
    max-width: 1280px;
    margin-top: 24px;
    margin-bottom: 28px;
    flex: 1
}

.id-card-container {
    display: flex;
    gap: 20px;
    align-items: flex-start
}

.id-category-wrapper {
    width: 280px;
    min-width: 220px;
    flex-shrink: 0
}

.id-category-side {
    background: #f8faff;
    border-radius: 28px;
    padding: 24px 16px 20px 20px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    max-height: 70vh;
    position: sticky;
    top: 130px;
    box-shadow: 0 4px 16px rgba(0,0,0,.02);
    border: 1px solid rgba(0,0,0,.02);
    align-self: flex-start
}

.id-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-right: 4px;
    flex-shrink: 0
}

.id-category-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #0b1a2e;
    display: flex;
    align-items: center;
    gap: 8px
}

.id-category-header h2 i {
    font-size: 20px;
    color: #2c4b6e
}

.id-category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow-y: auto;
    padding-right: 6px
}

.id-category-list::-webkit-scrollbar {
    width: 5px
}

.id-category-list::-webkit-scrollbar-track {
    background: #eef3fa;
    border-radius: 12px
}

.id-category-list::-webkit-scrollbar-thumb {
    background: #b6c8dd;
    border-radius: 12px
}

.id-category-item {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 500;
    color: #1f3a5f;
    background: 0 0;
    transition: all .15s ease;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    flex-shrink: 0
}

.id-category-item i {
    width: 20px;
    font-size: 16px;
    color: #3d5f80
}

.id-category-item .badge {
    margin-left: auto;
    background: #e6edf6;
    font-size: 12px;
    font-weight: 500;
    padding: 0 10px;
    border-radius: 40px;
    line-height: 22px;
    color: #1f3a5f
}

.id-category-item.active {
    background: #e3edfc;
    border-color: #b6d0e9;
    box-shadow: 0 2px 6px rgba(0,60,130,.04);
    font-weight: 600;
    color: #0b2b50
}

.id-category-item.active i {
    color: #0b2b50
}

.id-category-item.active .badge {
    background: #c7daf5;
    color: #0b2b50
}

.id-category-item:hover:not(.active) {
    background: #ecf3fb;
    border-color: #d3e2f2
}

.id-product-side {
    flex: 1;
    background: #fff;
    border-radius: 28px;
    padding: 28px 28px 30px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0,0,0,.02);
    border: 1px solid rgba(0,0,0,.02);
    min-width: 0
}

.id-category-intro {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eaf0f8
}

.id-category-intro .id-cat-title {
    font-size: 22px;
    font-weight: 700;
    color: #0b1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px
}

.id-category-intro .id-cat-desc {
    font-size: 15px;
    color: #4f6b8a;
    line-height: 1.6
}

.id-product-grid {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.id-product-card {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background: #fafcff;
    border-radius: 18px;
    border: 1px solid #eaf0f8;
    transition: all .15s;
    gap: 16px;
    min-height: 72px;
    flex-wrap: wrap
}

.id-product-card:hover {
    background: #f5faff;
    border-color: #cbddec;
    box-shadow: 0 4px 16px rgba(0,20,40,.06)
}

.id-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 180px;
    min-width: 140px
}

.id-product-name {
    font-weight: 600;
    font-size: 17px;
    color: #0b1e36;
    line-height: 1.4;
    word-break: break-word
}

.id-product-stock {
    font-size: 13px;
    color: #5e7d9e;
    display: flex;
    align-items: center;
    gap: 6px
}

.id-product-stock .id-stock-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 2px
}

.id-product-stock .id-stock-dot.in-stock {
    background: #2ecc71
}

.id-product-stock .id-stock-dot.low-stock {
    background: #f39c12
}

.id-product-stock .id-stock-dot.out-of-stock {
    background: #e74c3c
}

.product-price-col {
    width: 120px;
    flex: 0 0 120px;
    text-align: left;
    font-weight: 700;
    font-size: 20px;
    color: #1d3b5c;
    letter-spacing: .3px
}

.id-product-action-col {
    width: 110px;
    flex: 0 0 110px;
    text-align: left
}

.id-btn-buy {
    background: #1d3b5c;
    border: none;
    padding: 8px 26px;
    border-radius: 40px;
    color: #fff;
    font-weight: 550;
    font-size: 14px;
    cursor: pointer;
    transition: .15s ease;
    box-shadow: 0 3px 10px rgba(23,55,90,.1);
    border: 1px solid rgba(255,255,255,.08);
    white-space: nowrap;
    display: inline-block;
    text-decoration: none
}

.id-btn-buy:hover {
    background: #12304b;
    transform: scale(.96)
}

.id-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6b8aa9
}

.id-empty-state i {
    font-size: 48px;
    color: #d9e2ef;
    margin-bottom: 16px;
    display: block
}

.id-empty-state h3 {
    font-size: 18px;
    color: #0b1e36;
    margin-bottom: 6px
}

.id-empty-state p {
    font-size: 14px;
    color: #8aa3c0
}

.footer-wrapper {
    width: 100%;
    background: #fff;
    border-top: 1px solid #edf2f9;
    padding: 0 20px;
    display: flex;
    justify-content: center
}

.site-footer {
    width: 100%;
    max-width: 1280px;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-size: 14px;
    color: #3b5a7a
}

.footer-links {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap
}

.footer-links a {
    color: #2c4b6e;
    text-decoration: none;
    font-weight: 450;
    transition: .12s;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.footer-links a:hover {
    color: #0b1e36
}

.footer-links a i {
    font-size: 14px
}

.footer-copy {
    color: #6b8aa9;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px
}

@media (max-width: 780px) {
    body {
        padding-bottom:70px
    }

    .nav-menu {
        display: none!important
    }

    .nav-toggle-category {
        display: flex;
        margin-left: auto
    }

    .nav-left {
        gap: 12px;
        flex: 1;
        display: flex;
        align-items: center
    }

    .id-search-bar {
        flex-direction: column;
        align-items: stretch
    }

    .id-search-bar .id-hot-tags {
        justify-content: center
    }

    .main-wrapper {
        padding: 0 12px;
        margin-top: 16px;
        margin-bottom: 16px
    }

    .id-card-container {
        flex-direction: column;
        gap: 0
    }

    .id-category-wrapper {
        width: 100%;
        min-width: unset;
        flex-shrink: 1;
        margin-bottom: 16px;
        display: none
    }

    .id-category-wrapper.show {
        display: block!important
    }

    .id-category-side {
        position: relative;
        top: 0;
        max-height: none;
        height: auto;
        padding: 18px 14px 14px;
        border-radius: 20px
    }

    .id-category-list {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 8px;
        overflow-y: visible;
        padding-right: 0;
        max-height: none
    }

    .id-category-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 4px;
        border-radius: 14px;
        background: #f8faff;
        border: 1px solid #eaf0f8;
        gap: 4px;
        min-height: 64px;
        text-align: center;
        font-size: 13px
    }

    .id-category-item i {
        width: auto;
        font-size: 22px;
        color: #3d5f80;
        margin-bottom: 2px
    }

    .id-category-item .badge {
        margin-left: 0;
        font-size: 10px;
        padding: 0 6px;
        line-height: 18px
    }

    .id-category-item.active {
        background: #e3edfc;
        border-color: #b6d0e9;
        color: #0b2b50
    }

    .id-category-item.active i {
        color: #0b2b50
    }

    .id-category-item.active .badge {
        background: #c7daf5;
        color: #0b2b50
    }

    .id-category-item:hover:not(.active) {
        background: #ecf3fb;
        border-color: #d3e2f2
    }

    .id-product-side {
        padding: 20px 16px 24px;
        border-radius: 20px
    }

    .id-product-card {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 16px 18px;
        gap: 10px 16px;
        min-height: auto;
        border-radius: 18px;
        background: #fff;
        border: 1px solid #edf2f9;
        box-shadow: 0 2px 8px rgba(0,0,0,.02);
        margin-bottom: 4px
    }

    .id-product-info {
        flex: 1 1 100%;
        min-width: 100%;
        order: 1;
        margin-bottom: 4px;
        gap: 4px
    }

    .id-product-name {
        font-size: 17px;
        font-weight: 600;
        color: #0b1e36
    }

    .id-product-stock {
        font-size: 13px;
        color: #5e7d9e;
        margin-top: 0
    }

    .product-price-col {
        flex: 0 1 auto;
        width: auto;
        text-align: left;
        font-size: 19px;
        font-weight: 700;
        color: #1d3b5c;
        order: 2;
        padding-right: 10px
    }

    .id-product-stock-mobile {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: #2c7a4d;
        order: 3;
        margin-left: auto;
        flex-shrink: 0;
        background: #e6f5ed;
        padding: 4px 14px;
        border-radius: 30px;
        line-height: 1.5;
        font-weight: 500
    }

    .id-product-stock-mobile .id-stock-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        display: inline-block;
        margin-right: 4px
    }

    .id-product-stock-mobile .id-stock-dot.in-stock {
        background: #2ecc71
    }

    .id-product-stock-mobile .id-stock-dot.low-stock {
        background: #f39c12
    }

    .id-product-stock-mobile .id-stock-dot.out-of-stock {
        background: #e74c3c
    }

    .id-product-stock-mobile.low {
        background: #fef4e6;
        color: #b9770e
    }

    .id-product-stock-mobile.out {
        background: #fde8e8;
        color: #b33c3c
    }

    .id-product-action-col {
        flex: 1 1 100%;
        width: 100%;
        text-align: left;
        order: 4;
        margin-top: 6px;
        padding-left: 0
    }

    .id-btn-buy {
        font-size: 15px;
        padding: 10px 32px;
        display: inline-block;
        background: #1d3b5c;
        color: #fff;
        border-radius: 40px;
        font-weight: 550;
        border: none;
        cursor: pointer;
        transition: .15s;
        box-shadow: 0 3px 10px rgba(23,55,90,.1)
    }

    .id-btn-buy:hover {
        background: #12304b;
        transform: scale(.97)
    }

    .id-product-info .id-product-stock {
        display: none
    }

    .site-footer {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 16px 0;
        gap: 8px
    }

    .footer-links {
        gap: 18px;
        flex-wrap: wrap
    }

    .id-category-intro .id-cat-title {
        font-size: 19px
    }
}

@media (max-width: 480px) {
    .top-nav {
        padding:20px 0
    }

    .nav-brand {
        font-size: 18px
    }

    .nav-brand i {
        font-size: 22px
    }

    .id-product-side {
        padding: 16px 12px 20px
    }

    .id-product-card {
        padding: 14px 16px;
        gap: 8px 12px;
        border-radius: 16px
    }

    .id-product-name {
        font-size: 16px
    }

    .product-price-col {
        font-size: 17px
    }

    .id-product-stock-mobile {
        font-size: 12px;
        padding: 3px 12px
    }

    .id-btn-buy {
        font-size: 14px;
        padding: 8px 26px
    }

    .footer-links {
        gap: 12px
    }

    .id-search-bar .id-btn-search {
        width: 100%;
        justify-content: center
    }

    .mobile-more-panel a {
        flex: 0 0 calc(33.33% - 10px);
        min-width: 56px;
        max-width: 80px;
        padding: 10px 4px;
        font-size: 12px
    }

    .mobile-more-panel a i {
        font-size: 20px
    }

    .id-category-list {
        grid-template-columns: repeat(3,1fr)
    }

    .id-category-item {
        min-height: 56px;
        padding: 8px 4px
    }

    .id-category-item i {
        font-size: 18px
    }
}

@media (max-width: 380px) {
    .id-category-list {
        grid-template-columns:repeat(2,1fr)
    }

    .product-price-col {
        font-size: 15px
    }

    .id-product-stock-mobile {
        font-size: 11px;
        padding: 2px 10px
    }

    .id-btn-buy {
        font-size: 13px;
        padding: 7px 20px
    }

    .mobile-more-panel a {
        flex: 0 0 calc(50% - 10px);
        max-width: 70px;
        min-width: 50px;
        padding: 8px 4px;
        font-size: 11px
    }

    .mobile-more-panel a i {
        font-size: 18px
    }
}

@media (min-width: 781px) {
    body {
        padding-bottom:0
    }

    .id-product-stock-mobile {
        display: none!important
    }
}

.page-banner {
    background: linear-gradient(135deg,var(--primary-color),var(--primary-dark));
    color: var(--white);
    padding: 50px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%,rgba(255,255,255,.05) 0,transparent 50%),radial-gradient(circle at 80% 50%,rgba(255,255,255,.05) 0,transparent 50%)
}

.page-banner .container {
    position: relative;
    z-index: 1
}

.page-banner h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

.page-banner h1 i {
    font-size: 2.2rem
}

.page-banner p {
    font-size: 1.1rem;
    opacity: .92;
    max-width: 700px;
    margin: 0 auto
}

.filter-section {
    padding: 30px 0 10px
}

.filter-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(29,59,92,.06)
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px
}

.filter-tab {
    padding: 8px 20px;
    background-color: var(--primary-ultralight);
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all .3s;
    font-weight: 500;
    font-size: .9rem;
    border: 1px solid transparent;
    user-select: none
}

.filter-tab.active {
    background-color: var(--primary-color);
    color: var(--white)
}

.filter-tab:hover:not(.active) {
    border-color: var(--primary-color)
}

.search-box {
    position: relative
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: all .3s;
    background-color: var(--white);
    outline: 0
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29,59,92,.15)
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light)
}

.query-products-section {
    padding: 20px 0 60px
}

.query-products-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px
}

.query-product-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(29,59,92,.06)
}

.query-product-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(29,59,92,.15)
}

.query-product-header {
    display: flex;
    align-items: center;
    padding: 20px 20px 16px;
    gap: 16px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 100px
}

.query-product-image {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center
}

.query-product-info {
    flex: 1;
    min-width: 0
}

.query-product-title {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.query-product-tag {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 500;
    background: var(--primary-ultralight);
    color: var(--primary-color);
    margin-top: 6px
}

.query-product-body {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.query-product-desc {
    font-size: .85rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1
}

.query-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0
}

.query-product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color)
}

.query-product-btn {
    padding: 6px 18px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    transition: all .3s;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(29,59,92,.15)
}

.query-product-btn:hover {
    background: var(--primary-dark);
    transform: scale(.96);
    box-shadow: 0 4px 12px rgba(29,59,92,.25)
}

@media (max-width: 1200px) {
    .query-products-grid {
        grid-template-columns:repeat(3,1fr)
    }
}

@media (max-width: 992px) {
    .query-products-grid {
        grid-template-columns:repeat(2,1fr)
    }
}

@media (max-width: 640px) {
    .query-products-grid {
        grid-template-columns:1fr
    }

    .page-banner h1 {
        font-size: 1.8rem
    }

    .page-banner p {
        font-size: .95rem
    }

    .filter-container {
        padding: 16px
    }

    .filter-tabs {
        gap: 6px
    }

    .query-product-header {
        padding: 14px 16px;
        min-height: 80px
    }

    .query-product-image {
        width: 44px;
        height: 44px;
        font-size: 18px
    }

    .query-product-title {
        font-size: .9rem
    }

    .query-product-body {
        padding: 12px 16px 16px
    }

    .query-product-price {
        font-size: 1.1rem
    }
}

@media (max-width: 400px) {
    .query-product-header {
        flex-direction:column;
        align-items: flex-start;
        gap: 8px
    }

    .query-product-image {
        width: 40px;
        height: 40px;
        font-size: 16px
    }
}

.query-d-btn {
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all .3s ease;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(29,59,92,.2)
}

.query-d-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(29,59,92,.3);
    transform: translateY(-2px)
}

.query-d-detail-section {
    padding: 30px 0 50px
}

.query-d-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(29,59,92,.06);
    margin-bottom: 40px
}

.query-d-detail-left {
    padding: 30px 30px 20px;
    display: flex;
    flex-direction: column
}

.query-d-product-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    background: var(--primary-ultralight);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden
}

.query-d-product-image-wrap img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain
}

.query-d-product-image-wrap i {
    font-size: 80px;
    color: var(--primary-color);
    opacity: .4
}

.query-d-product-meta-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 10px
}

.query-d-product-meta-info .query-d-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px
}

.query-d-product-meta-info .query-d-tag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: var(--primary-ultralight);
    color: var(--primary-color);
    margin-bottom: 12px
}

.query-d-product-meta-info .query-d-desc {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7
}

.query-d-detail-right {
    padding: 30px 30px 30px;
    background: #fafcff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start
}

.query-d-detail-right .query-d-form-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(29,59,92,.08)
}

.query-d-form-group {
    margin-bottom: 18px
}

.query-d-form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 14px
}

.query-d-form-group label .query-d-required {
    color: #e74c3c;
    margin-left: 2px
}

.query-d-form-group input,.query-d-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d9e2ef;
    border-radius: 10px;
    font-size: 15px;
    transition: all .3s;
    background: var(--white);
    outline: 0;
    color: var(--text-dark)
}

.query-d-form-group input:focus,.query-d-form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29,59,92,.1)
}

.query-d-form-group textarea {
    min-height: 80px;
    resize: vertical
}

.query-d-btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 700;
    margin-top: 6px
}

.query-d-intro-section {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 35px 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(29,59,92,.06)
}

.query-d-intro-section .query-d-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-ultralight);
    display: flex;
    align-items: center;
    gap: 10px
}

.query-d-intro-section .query-d-section-title i {
    color: var(--primary-color)
}

.query-d-intro-content {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.8
}

.query-d-intro-content .highlight {
    color: #e74c3c;
    font-size: 18px;
    font-weight: 700
}

.query-d-intro-content .notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px 18px;
    border-radius: 8px;
    margin: 12px 0
}

.query-d-intro-content ul {
    padding-left: 22px;
    margin: 12px 0
}

.query-d-intro-content ul li {
    margin-bottom: 6px;
    list-style-type: disc;
    color: var(--text-light)
}

.query-d-case-section {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 35px 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(29,59,92,.06)
}

.query-d-case-section .query-d-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-ultralight);
    display: flex;
    align-items: center;
    gap: 10px
}

.query-d-case-section .query-d-section-title i {
    color: var(--primary-color)
}

.query-d-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 16px
}

.query-d-case-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all .3s ease;
    aspect-ratio: 1;
    background: var(--primary-ultralight);
    display: flex;
    align-items: center;
    justify-content: center
}

.query-d-case-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover)
}

.query-d-case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.query-d-case-item .placeholder {
    color: var(--text-light);
    font-size: 14px;
    text-align: center;
    padding: 20px
}

.query-d-related-section {
    margin-bottom: 40px
}

.query-d-related-section .query-d-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-ultralight);
    display: flex;
    align-items: center;
    gap: 10px
}

.query-d-related-section .query-d-section-title i {
    color: var(--primary-color)
}

.query-d-related-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px
}

.query-d-related-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(29,59,92,.06)
}

.query-d-related-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px)
}

.query-d-related-card .query-d-card-header {
    display: flex;
    align-items: center;
    padding: 16px 18px 12px;
    gap: 14px;
    border-bottom: 1px solid #f0f0f0;
    min-height: 80px
}

.query-d-related-card .query-d-card-header .icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-ultralight);
    color: var(--primary-color);
    font-size: 20px;
    overflow: hidden
}

.query-d-related-card .query-d-card-header .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.query-d-related-card .query-d-card-header .title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.query-d-related-card .query-d-card-body {
    padding: 14px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.query-d-related-card .query-d-card-body .query-d-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1
}

.query-d-related-card .query-d-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0
}

.query-d-related-card .query-d-card-footer .query-d-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-color)
}

.query-d-related-card .query-d-card-footer .query-d-btn-sm {
    padding: 5px 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s;
    display: inline-block
}

.query-d-related-card .query-d-card-footer .query-d-btn-sm:hover {
    background: var(--primary-dark);
    transform: scale(.96)
}

.query-d-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.85);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.query-d-modal-overlay.show {
    display: flex
}

.query-d-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative
}

.query-d-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    display: block
}

.query-d-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    background: 0 0;
    border: none;
    transition: .2s
}

.query-d-modal-close:hover {
    transform: rotate(90deg)
}

@media (max-width: 992px) {
    .query-d-detail-container {
        grid-template-columns:1fr;
        gap: 0
    }

    .query-d-detail-left {
        padding: 24px 24px 16px
    }

    .query-d-detail-right {
        padding: 24px
    }

    .query-d-related-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width: 768px) {
    .query-d-intro-section {
        padding:24px 20px
    }

    .query-d-case-section {
        padding: 24px 20px
    }

    .query-d-case-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .query-d-product-image-wrap {
        min-height: 200px
    }

    .query-d-product-image-wrap img {
        max-height: 200px
    }

    .query-d-product-meta-info h1 {
        font-size: 20px
    }

    .query-d-product-meta-info .query-d-price {
        font-size: 26px
    }

    .query-d-related-grid {
        grid-template-columns: 1fr
    }

    .query-d-detail-right .query-d-form-title {
        font-size: 16px
    }
}

@media (max-width: 480px) {
    .query-d-detail-left {
        padding:16px 16px 12px
    }

    .query-d-detail-right {
        padding: 16px
    }

    .query-d-product-meta-info h1 {
        font-size: 18px
    }

    .query-d-product-meta-info .query-d-price {
        font-size: 22px
    }

    .query-d-intro-section {
        padding: 18px 16px
    }

    .query-d-case-section {
        padding: 18px 16px
    }

    .query-d-case-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 10px
    }

    .query-d-intro-content .highlight {
        font-size: 15px
    }
}

.sim-d-btn {
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all .3s ease;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(29,59,92,.2)
}

.sim-d-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(29,59,92,.3);
    transform: translateY(-2px)
}

.breadcrumb-wrapper {
    width: 100%;
    padding: 18px 0;
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,.04)
}

.breadcrumb {
    display: flex;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-light)
}

.breadcrumb li {
    display: flex;
    align-items: center
}

.breadcrumb li+li::before {
    content: '/';
    margin: 0 8px;
    color: var(--text-light)
}

.breadcrumb a {
    color: var(--primary-color);
    transition: color .3s
}

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px
}

.sim-d-detail-section {
    padding: 30px 0 50px
}

.sim-d-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(29,59,92,.06);
    margin-bottom: 40px
}

.sim-d-detail-left {
    padding: 30px 30px 20px;
    display: flex;
    flex-direction: column
}

.sim-d-product-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden
}

.sim-d-product-image-wrap img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain
}

.sim-d-product-meta-info h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 10px
}

.sim-d-product-meta-info .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px
}

.sim-d-product-meta-info .tag {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    background: var(--primary-ultralight);
    color: var(--primary-color);
    margin-bottom: 12px
}

.sim-d-product-meta-info .desc {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7
}

.sim-d-detail-right {
    padding: 30px 30px 30px;
    background: #fafcff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start
}

.sim-d-detail-right .sim-d-form-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(29,59,92,.08)
}

.sim-d-form-group {
    margin-bottom: 18px
}

.sim-d-form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 14px
}

.sim-d-form-group label .required {
    color: #e74c3c;
    margin-left: 2px
}

.sim-d-form-group input,.sim-d-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d9e2ef;
    border-radius: 10px;
    font-size: 15px;
    transition: all .3s;
    background: var(--white);
    outline: 0;
    color: var(--text-dark)
}

.sim-d-form-group input:focus,.sim-d-form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29,59,92,.1)
}

.sim-d-form-group textarea {
    min-height: 80px;
    resize: vertical
}

.sim-d-quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap
}

.sim-d-quantity-label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px
}

.sim-d-quantity-controls {
    display: flex;
    align-items: center;
    border: 1.5px solid #d9e2ef;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white)
}

.sim-d-quantity-controls:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29,59,92,.1)
}

.sim-d-quantity-sim-d-btn {
    background: var(--primary-ultralight);
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    color: var(--text-dark);
    font-size: 16px
}

.sim-d-quantity-sim-d-btn:hover {
    background: var(--primary-color);
    color: var(--white)
}

.sim-d-quantity-input {
    height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    outline: 0;
    background: var(--white);
    width: 60px;
    font-weight: 600;
    -moz-appearance: textfield
}

.sim-d-quantity-input::-webkit-inner-spin-button,.sim-d-quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.sim-d-btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    font-weight: 700;
    margin-top: 6px
}

.sim-d-intro-section {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 35px 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(29,59,92,.06)
}

.sim-d-intro-section .sim-d-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-ultralight);
    display: flex;
    align-items: center;
    gap: 10px
}

.sim-d-intro-section .sim-d-section-title i {
    color: var(--primary-color)
}

.sim-d-intro-content {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-line
}

.sim-d-related-section {
    margin-bottom: 40px
}

.sim-d-related-section .sim-d-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-ultralight);
    display: flex;
    align-items: center;
    gap: 10px
}

.sim-d-related-section .sim-d-section-title i {
    color: var(--primary-color)
}

.sim-d-related-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px
}

.sim-d-related-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(29,59,92,.06)
}

.sim-d-related-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px)
}

.sim-d-related-card .sim-d-card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: var(--primary-ultralight)
}

.sim-d-related-card .sim-d-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease
}

.sim-d-related-card:hover .sim-d-card-image img {
    transform: scale(1.05)
}

.sim-d-related-card .sim-d-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.sim-d-related-card .sim-d-card-body .title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 38px
}

.sim-d-related-card .sim-d-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0
}

.sim-d-related-card .sim-d-card-footer .price {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-color)
}

.sim-d-related-card .sim-d-card-footer .sim-d-btn-sm {
    padding: 5px 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(29,59,92,.12)
}

.sim-d-related-card .sim-d-card-footer .sim-d-btn-sm:hover {
    background: var(--primary-dark);
    transform: scale(.96)
}

@media (max-width: 992px) {
    .sim-d-detail-container {
        grid-template-columns:1fr;
        gap: 0
    }

    .sim-d-detail-left {
        padding: 24px 24px 16px
    }

    .sim-d-detail-right {
        padding: 24px
    }

    .sim-d-related-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width: 768px) {
    .breadcrumb .current {
        max-width:150px
    }

    .sim-d-intro-section {
        padding: 24px 20px
    }

    .sim-d-product-image-wrap {
        min-height: 200px
    }

    .sim-d-product-image-wrap img {
        max-height: 200px
    }

    .sim-d-product-meta-info h1 {
        font-size: 20px
    }

    .sim-d-product-meta-info .price {
        font-size: 26px
    }

    .sim-d-related-grid {
        grid-template-columns: 1fr
    }

    .sim-d-related-card .sim-d-card-image {
        height: 120px
    }

    .sim-d-detail-right .sim-d-form-title {
        font-size: 16px
    }

    .sim-d-quantity-controls .sim-d-quantity-sim-d-btn {
        width: 38px;
        height: 38px
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size:13px
    }

    .breadcrumb .current {
        max-width: 120px
    }

    .sim-d-detail-left {
        padding: 16px 16px 12px
    }

    .sim-d-detail-right {
        padding: 16px
    }

    .sim-d-product-meta-info h1 {
        font-size: 18px
    }

    .sim-d-product-meta-info .price {
        font-size: 22px
    }

    .sim-d-intro-section {
        padding: 18px 16px
    }

    .sim-d-intro-section .sim-d-section-title {
        font-size: 18px
    }

    .sim-d-related-section .sim-d-section-title {
        font-size: 18px
    }

    .sim-d-quantity-selector {
        gap: 10px
    }

    .sim-d-quantity-controls .sim-d-quantity-sim-d-btn {
        width: 34px;
        height: 34px;
        font-size: 14px
    }

    .sim-d-quantity-input {
        width: 48px;
        font-size: 14px
    }
}

.id-d-detail-card {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,.02);
    border: 1px solid rgba(0,0,0,.02);
    display: flex;
    overflow: hidden;
    margin-bottom: 40px
}

.id-d-detail-left {
    flex: 1.3;
    padding: 32px 30px;
    background: #fff
}

.id-d-detail-left .id-d-product-title-large {
    font-size: 26px;
    font-weight: 700;
    color: #0b1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px
}

.id-d-detail-left .id-d-product-title-large i {
    color: #1d3b5c;
    font-size: 28px
}

.id-d-detail-left .id-d-product-price-stock {
    display: flex;
    align-items: center;
    gap: 16px 24px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eaf0f8
}

.id-d-detail-left .id-d-product-price-large {
    font-size: 28px;
    font-weight: 700;
    color: #1d3b5c;
    display: flex;
    align-items: center;
    gap: 4px
}

.id-d-detail-left .id-d-product-price-large small {
    font-size: 16px;
    font-weight: 400;
    color: #5e7d9e;
    margin-left: 4px
}

.id-d-detail-left .id-d-stock-status-large {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 500;
    font-size: 14px;
    padding: 4px 16px;
    border-radius: 40px
}

.id-d-detail-left .id-d-stock-status-large i {
    font-size: 12px
}

.id-d-detail-left .id-d-product-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #2c4b6e
}

.id-d-detail-left .id-d-product-intro p {
    margin-bottom: 12px
}

.id-d-detail-left .id-d-product-intro .highlight {
    background: #f0f5fd;
    padding: 14px 18px;
    border-radius: 16px;
    border-left: 4px solid #1d3b5c;
    margin: 16px 0;
    color: #0b1e36
}

.id-d-detail-left .id-d-product-intro ul {
    padding-left: 22px;
    margin: 10px 0
}

.id-d-detail-left .id-d-product-intro ul li {
    margin-bottom: 6px;
    list-style-type: disc
}

.id-d-detail-right {
    width: 420px;
    min-width: 340px;
    flex-shrink: 0;
    padding: 32px 28px 32px 26px;
    background: #fafcff;
    border-left: 1px solid #eaf0f8;
    display: flex;
    flex-direction: column;
    justify-content: flex-start
}

.id-d-detail-right .id-d-panel-label {
    font-size: 14px;
    font-weight: 600;
    color: #5e7d9e;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaf0f8
}

.id-d-detail-right .id-d-form-group {
    margin-bottom: 16px
}

.id-d-detail-right .id-d-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 550;
    color: #1f3a5f;
    margin-bottom: 6px
}

.id-d-detail-right .id-d-form-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 40px;
    border: 1px solid #d9e2ef;
    font-size: 15px;
    background: #fff;
    transition: .2s;
    outline: 0;
    color: #0b1e36
}

.id-d-detail-right .id-d-form-group input:focus {
    border-color: #1d3b5c;
    box-shadow: 0 0 0 3px rgba(29,59,92,.06)
}

.id-d-detail-right .id-d-form-group .id-d-input-with-icon {
    position: relative
}

.id-d-detail-right .id-d-form-group .id-d-input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8aa3c0;
    font-size: 16px
}

.id-d-gender-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.id-d-gender-group .id-d-gender-btn {
    flex: 1;
    min-width: 60px;
    padding: 10px 0;
    text-align: center;
    border-radius: 40px;
    border: 1px solid #d9e2ef;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #1f3a5f;
    cursor: pointer;
    transition: .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px
}

.id-d-gender-group .id-d-gender-btn i {
    font-size: 14px
}

.id-d-gender-group .id-d-gender-btn:hover {
    background: #ecf3fb;
    border-color: #b6cde0
}

.id-d-gender-group .id-d-gender-btn.active {
    background: #1d3b5c;
    color: #fff;
    border-color: #1d3b5c
}

.id-d-gender-group .id-d-gender-btn.active i {
    color: #fff
}

.id-d-qty-group {
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 60px;
    border: 1.5px solid #d9e2ef;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s,box-shadow .2s;
    max-width: 200px
}

.id-d-qty-group:focus-within {
    border-color: #1d3b5c;
    box-shadow: 0 0 0 3px rgba(29,59,92,.08)
}

.id-d-qty-group .id-d-qty-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: #f8faff;
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
    transition: .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f3a5f;
    flex-shrink: 0;
    user-select: none
}

.id-d-qty-group .id-d-qty-btn:hover {
    background: #e3edfc;
    color: #0b1a2e
}

.id-d-qty-group .id-d-qty-btn:active {
    background: #d0dff0;
    transform: scale(.92)
}

.id-d-qty-group .id-d-qty-btn.id-d-qty-dec {
    border-radius: 60px 0 0 60px
}

.id-d-qty-group .id-d-qty-btn.id-d-qty-inc {
    border-radius: 0 60px 60px 0
}

.id-d-qty-group .qty-input {
    width: 60px;
    text-align: center!important;
    font-size: 18px!important;
    font-weight: 600;
    padding: 10px 0!important;
    border: none!important;
    border-left: 1px solid #eaf0f8!important;
    border-right: 1px solid #eaf0f8!important;
    background: #fff!important;
    outline: 0!important;
    color: #0b1a2e!important;
    min-width: 50px;
    -moz-appearance: textfield!important;
    box-shadow: none!important
}

.id-d-qty-group .qty-input::-webkit-inner-spin-button,.id-d-qty-group .qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.id-d-qty-group .qty-input:focus {
    background: #fafcff
}

.id-d-btn-buy-now {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 40px;
    background: #1d3b5c;
    color: #fff;
    font-size: 18px;
    font-weight: 650;
    cursor: pointer;
    transition: .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    box-shadow: 0 6px 16px rgba(29,59,92,.15)
}

.id-d-btn-buy-now:hover {
    background: #12304b;
    transform: scale(.98)
}

.id-d-related-section {
    margin-top: 0
}

.id-d-related-section .id-d-section-title {
    font-size: 20px;
    font-weight: 650;
    color: #0b1a2e;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px
}

.id-d-related-section .id-d-section-title i {
    color: #1d3b5c
}

.id-d-related-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px
}

.id-d-related-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px 18px 22px;
    border: 1px solid #eaf0f8;
    transition: .15s;
    box-shadow: 0 2px 8px rgba(0,0,0,.02);
    display: flex;
    flex-direction: column
}

.id-d-related-card:hover {
    border-color: #b6cde0;
    box-shadow: 0 8px 20px rgba(0,20,30,.06)
}

.id-d-related-card .id-d-rel-title {
    font-size: 17px;
    font-weight: 600;
    color: #0b1a2e;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px
}

.id-d-related-card .id-d-rel-title i {
    color: #3d5f80;
    font-size: 16px
}

.id-d-related-card .id-d-rel-desc {
    font-size: 14px;
    color: #4f6b8a;
    line-height: 1.5;
    flex: 1;
    margin: 4px 0 10px
}

.id-d-related-card .id-d-rel-price {
    font-size: 20px;
    font-weight: 700;
    color: #1d3b5c;
    margin-bottom: 12px
}

.id-d-related-card .id-d-rel-price small {
    font-size: 14px;
    font-weight: 400;
    color: #5e7d9e
}

.id-d-related-card .id-d-btn-rel-buy {
    background: #1d3b5c;
    border: none;
    padding: 10px 0;
    border-radius: 40px;
    color: #fff;
    font-weight: 550;
    font-size: 14px;
    cursor: pointer;
    transition: .15s;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.id-d-related-card .id-d-btn-rel-buy:hover {
    background: #12304b;
    transform: scale(.97)
}

@media (max-width: 992px) {
    .id-d-detail-card {
        flex-direction:column;
        border-radius: 28px
    }

    .id-d-detail-right {
        width: 100%;
        min-width: unset;
        border-left: none;
        border-top: 1px solid #eaf0f8;
        padding: 28px 26px 32px
    }

    .id-d-related-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width: 780px) {
    .id-d-detail-left {
        padding:20px 16px
    }

    .id-d-detail-left .id-d-product-title-large {
        font-size: 20px
    }

    .id-d-detail-left .id-d-product-price-large {
        font-size: 24px
    }

    .id-d-detail-right {
        padding: 20px 16px 24px
    }

    .id-d-related-grid {
        grid-template-columns: 1fr
    }

    .id-d-gender-group .id-d-gender-btn {
        flex: 1 0 60px
    }

    .id-d-qty-group {
        max-width: 170px
    }

    .id-d-qty-group .id-d-qty-btn {
        width: 42px;
        height: 42px;
        font-size: 18px
    }

    .id-d-qty-group .qty-input {
        width: 50px;
        font-size: 16px;
        padding: 8px 0
    }
}

@media (max-width: 400px) {
    .id-d-qty-group {
        max-width:150px
    }

    .id-d-qty-group .id-d-qty-btn {
        width: 36px;
        height: 36px;
        font-size: 16px
    }

    .id-d-qty-group .qty-input {
        width: 44px;
        font-size: 15px;
        padding: 6px 0
    }

    .id-d-detail-left .id-d-product-title-large {
        font-size: 18px
    }

    .id-d-detail-left .id-d-product-price-large {
        font-size: 20px
    }

    .id-d-detail-left .id-d-product-price-stock {
        gap: 10px 16px
    }
}

.user-status-bar {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 16px 24px;
    margin: 20px auto 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(29,59,92,.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    max-width: 1280px
}

.user-status-bar .status-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px
}

.user-status-bar .status-left .status-icon {
    font-size: 20px;
    color: var(--text-light);
    flex-shrink: 0
}

.user-status-bar .status-left .status-text {
    font-size: 14px;
    color: var(--text-light)
}

.user-status-bar .status-left .status-text strong {
    color: var(--text-dark)
}

.user-status-bar .status-left .status-text .func-name {
    color: var(--primary-color);
    font-weight: 700
}

.user-status-bar .status-left .status-text .func-desc {
    color: var(--text-light)
}

.user-status-bar .user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.user-status-bar .user-actions .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px
}

.user-status-bar .user-actions .username {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px
}

.user-status-bar .user-actions .balance {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 15px
}

.btn-login {
    padding: 8px 24px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s ease;
    margin-right: 10px
}

.btn-login:hover {
    background: var(--primary-dark)
}

.btn-logout {
    padding: 6px 16px;
    background: 0 0;
    color: var(--text-light);
    border: 1px solid #d9e2ef;
    border-radius: 40px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s ease
}

.btn-logout:hover {
    border-color: #e74c3c;
    color: #e74c3c
}

.btn-register {
    padding: 8px 24px;
    background: 0 0;
    color: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s ease
}

.btn-register:hover {
    background: var(--primary-ultralight)
}

.user-status-bar .user-actions .divider {
    width: 1px;
    height: 28px;
    background: #d9e2ef
}

.tab-section {
    padding: 20px 0 10px
}

.tab-group {
    display: flex;
    gap: 8px;
    background: var(--white);
    border-radius: 60px;
    padding: 6px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(29,59,92,.06);
    max-width: 600px;
    margin: 0 auto 24px
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 40px;
    background: 0 0;
    color: var(--text-light);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: all .3s ease;
    font-family: inherit
}

.tab-btn:hover {
    color: var(--primary-color)
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(29,59,92,.2)
}

.tab-btn i {
    margin-right: 8px
}

.service-panel {
    display: none;
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 28px 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(29,59,92,.06)
}

.service-panel.active {
    display: block
}

.panel-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-ultralight)
}

.panel-content {
    display: flex;
    gap: 30px
}

.panel-left {
    flex: 0 0 340px;
    min-width: 280px
}

.panel-right {
    flex: 1;
    min-width: 0
}

.country-list-wrap {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 4px 6px;
    max-height: 420px;
    overflow-y: auto
}

.country-list-wrap::-webkit-scrollbar {
    width: 5px
}

.country-list-wrap::-webkit-scrollbar-track {
    background: #eef3fa;
    border-radius: 12px
}

.country-list-wrap::-webkit-scrollbar-thumb {
    background: #b6c8dd;
    border-radius: 12px
}

.country-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 14px;
    color: var(--text-dark)
}

.country-item:hover {
    background: var(--primary-ultralight)
}

.country-item.active {
    background: var(--primary-color);
    color: var(--white)
}

.country-item .flag {
    font-size: 18px;
    margin-right: 10px
}

.country-item .name {
    flex: 1
}

.country-item .count {
    font-size: 12px;
    color: var(--text-light);
    background: var(--primary-ultralight);
    padding: 0 8px;
    border-radius: 30px;
    line-height: 20px
}

.country-item.active .count {
    background: rgba(255,255,255,.2);
    color: var(--white)
}

.service-list-wrap {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px
}

.service-list-wrap::-webkit-scrollbar {
    width: 5px
}

.service-list-wrap::-webkit-scrollbar-track {
    background: #eef3fa;
    border-radius: 12px
}

.service-list-wrap::-webkit-scrollbar-thumb {
    background: #b6c8dd;
    border-radius: 12px
}

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

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--secondary-color);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all .2s ease;
    cursor: pointer;
    gap: 10px;
    flex-wrap: wrap
}

.service-item:hover {
    border-color: var(--primary-color);
    background: var(--primary-ultralight)
}

.service-item .info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 120px
}

.service-item .info .title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark)
}

.service-item .info .desc {
    font-size: 13px;
    color: var(--text-light)
}

.service-item .price-tag {
    font-weight: 700;
    font-size: 16px;
    color: var(--accent-color);
    white-space: nowrap
}

.service-item .btn-sm {
    padding: 5px 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s;
    white-space: nowrap
}

.service-item .btn-sm:hover {
    background: var(--primary-dark);
    transform: scale(.96)
}

.rental-center-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 10px 0
}

.rental-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-bottom: 16px
}

.rental-options .rental-btn {
    padding: 10px 28px;
    border-radius: 40px;
    border: 1.5px solid #d9e2ef;
    background: var(--white);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
    color: var(--text-dark);
    min-width: 60px
}

.rental-options .rental-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-ultralight)
}

.rental-options .rental-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color)
}

.rental-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    width: 100%;
    justify-content: center
}

.rental-qty-wrapper label {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark)
}

.rental-qty-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #d9e2ef;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white)
}

.rental-qty-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29,59,92,.1)
}

.rental-qty-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--primary-ultralight);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    transition: all .2s ease;
    font-family: inherit
}

.rental-qty-btn:hover {
    background: var(--primary-color);
    color: var(--white)
}

.rental-qty-group input {
    width: 60px;
    height: 42px;
    border: none;
    border-left: 1px solid #d9e2ef;
    border-right: 1px solid #d9e2ef;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    outline: 0;
    background: var(--white);
    color: var(--text-dark)
}

.rental-qty-group input::-webkit-inner-spin-button,.rental-qty-group input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.rental-qty-group input[type=number] {
    -moz-appearance: textfield
}

.rental-price-display {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    padding: 8px 0 16px;
    text-align: center;
    width: 100%
}

.rental-price-display .unit {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light)
}

.rental-buy-btn {
    padding: 14px 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all .3s ease;
    display: inline-block;
    width: auto;
    min-width: 200px;
    text-align: center
}

.rental-buy-btn:hover {
    background: var(--primary-dark);
    transform: scale(.97);
    box-shadow: 0 4px 16px rgba(29,59,92,.25)
}

.esim-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--secondary-color);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all .2s ease;
    cursor: pointer;
    gap: 10px;
    flex-wrap: wrap
}

.esim-plan:hover {
    border-color: var(--primary-color);
    background: var(--primary-ultralight)
}

.esim-plan .info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 120px
}

.esim-plan .info .title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark)
}

.esim-plan .info .desc {
    font-size: 13px;
    color: var(--text-light)
}

.esim-plan .price-tag {
    font-weight: 700;
    font-size: 16px;
    color: var(--accent-color);
    white-space: nowrap
}

.esim-plan .btn-sm {
    padding: 5px 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s;
    white-space: nowrap
}

.esim-plan .btn-sm:hover {
    background: var(--primary-dark);
    transform: scale(.96)
}

.sms-search-box {
    position: relative;
    margin-bottom: 12px
}

.sms-search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1.5px solid #d9e2ef;
    border-radius: 40px;
    font-size: 14px;
    transition: all .3s;
    background: var(--white);
    outline: 0;
    color: var(--text-dark)
}

.sms-search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29,59,92,.1)
}

.sms-search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 14px
}

.sms-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px
}

.sms-modal-overlay.show {
    display: flex
}

.sms-modal-box {
    background: var(--white);
    border-radius: 28px;
    max-width: 480px;
    width: 100%;
    padding: 32px 30px 28px;
    box-shadow: 0 30px 60px rgba(0,0,0,.25);
    position: relative;
    animation: modalIn .25s ease;
    max-height: 95vh;
    overflow-y: auto
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(.96)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.sms-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 24px;
    color: #a0b8d0;
    cursor: pointer;
    transition: .2s;
    background: 0 0;
    border: none;
    line-height: 1;
    padding: 4px
}

.sms-modal-close:hover {
    color: #1d3b5c;
    transform: rotate(90deg)
}

.sms-modal-box h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0b1a2e;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px
}

.sms-modal-box .sms-modal-sub {
    font-size: 14px;
    color: #6b8aa9;
    margin-bottom: 20px
}

.sms-form-group {
    margin-bottom: 16px
}

.sms-form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 14px
}

.sms-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d9e2ef;
    border-radius: 10px;
    font-size: 15px;
    transition: all .3s;
    background: var(--white);
    outline: 0;
    color: var(--text-dark)
}

.sms-form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29,59,92,.1)
}

.sms-form-group .input-with-icon {
    position: relative
}

.sms-form-group .input-with-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8aa3c0;
    font-size: 16px
}

.sms-form-group .input-with-icon input {
    padding-left: 44px
}

.sms-btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 40px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all .3s ease;
    margin-top: 4px
}

.sms-btn-submit:hover {
    background: var(--primary-dark);
    transform: scale(.97)
}

.auth-switch {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-light)
}

.auth-switch a {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer
}

.auth-switch a:hover {
    text-decoration: underline
}

.recharge-amounts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 16px
}

.recharge-amounts .amount-btn {
    padding: 10px 20px;
    border-radius: 40px;
    border: 1.5px solid #d9e2ef;
    background: var(--white);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
    color: var(--text-dark);
    flex: 1;
    min-width: 60px
}

.recharge-amounts .amount-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-ultralight)
}

.recharge-amounts .amount-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color)
}

.recharge-amounts .amount-input-wrap {
    flex: 1;
    min-width: 100px;
    position: relative
}

.recharge-amounts .amount-input-wrap input {
    width: 100%;
    padding: 10px 16px;
    border: 1.5px solid #d9e2ef;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    outline: 0;
    background: var(--white);
    color: var(--text-dark)
}

.recharge-amounts .amount-input-wrap input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29,59,92,.1)
}

.sms-modal-footer-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px
}

.sms-modal-footer-actions button {
    flex: 1;
    padding: 12px 0;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .15s;
    border: none
}

.sms-modal-footer-actions .btn-confirm {
    background: var(--primary-color);
    color: #fff
}

.sms-modal-footer-actions .btn-confirm:hover {
    background: var(--primary-dark);
    transform: scale(.97)
}

.sms-modal-footer-actions .btn-cancel {
    background: #f0f5fd;
    color: #1f3a5f
}

.sms-modal-footer-actions .btn-cancel:hover {
    background: #e3edfc
}

@media (max-width: 992px) {
    .panel-content {
        flex-direction:column
    }

    .panel-left {
        flex: none;
        width: 100%;
        min-width: unset
    }

    .country-list-wrap {
        max-height: 200px
    }

    .service-list-wrap {
        max-height: 300px
    }

    .user-status-bar {
        padding: 14px 18px
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size:1.5rem
    }

    .tab-group {
        border-radius: 30px;
        padding: 4px;
        max-width: 100%
    }

    .tab-btn i {
        margin-right: 4px
    }

    .service-panel {
        padding: 18px 16px
    }

    .panel-title {
        font-size: 16px
    }

    .service-item {
        flex-wrap: wrap;
        gap: 6px
    }

    .service-item .btn-sm {
        width: 100%;
        text-align: center
    }

    .esim-plan {
        flex-wrap: wrap;
        gap: 6px
    }

    .esim-plan .btn-sm {
        width: 100%;
        text-align: center
    }

    .rental-qty-wrapper {
        gap: 10px
    }

    .rental-qty-group input {
        width: 50px;
        height: 36px;
        font-size: 16px
    }

    .rental-price-display {
        font-size: 26px
    }

    .rental-buy-btn {
        padding: 12px 36px;
        font-size: 16px;
        min-width: 160px
    }

    .sms-modal-box {
        padding: 24px 18px 20px
    }

    .user-status-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px
    }

    .user-status-bar .status-left {
        justify-content: center
    }

    .user-status-bar .user-actions {
        justify-content: center
    }
}

@media (max-width: 480px) {
    .tab-btn i {
        font-size:.8rem;
        margin-right: 2px
    }

    .country-item {
        font-size: 13px;
        padding: 8px 10px
    }

    .country-item .flag {
        font-size: 16px;
        margin-right: 6px
    }

    .service-item .info .title {
        font-size: 14px
    }

    .rental-price-display {
        font-size: 22px
    }

    .rental-buy-btn {
        padding: 10px 28px;
        font-size: 15px;
        min-width: 140px
    }

    .sms-modal-box {
        padding: 20px 14px 16px;
        max-height: 98vh
    }

    .sms-modal-box h2 {
        font-size: 18px
    }

    .recharge-amounts .amount-btn {
        font-size: 14px;
        padding: 8px 14px;
        min-width: 50px
    }

    .sms-modal-footer-actions {
        flex-direction: column;
        gap: 8px
    }
}

.payment-container {
    background: #f2f6fe;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(circle at 20% 30%,#eef4fc,#dce6f2)
}

.payment-wrapper {
    max-width: 1280px;
    width: 100%;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 28px 30px 32px;
    box-shadow: 0 24px 48px rgba(0,10,30,.1),0 8px 24px rgba(0,0,0,.03);
    border: 1px solid rgba(255,255,255,.6);
    display: flex;
    gap: 32px;
    transition: all .2s
}

.payment-left-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.payment-right-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.payment-card {
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: 0 4px 12px rgba(0,0,0,.02);
    transition: all .2s
}

.payment-card-title {
    font-size: 13px;
    font-weight: 500;
    color: #4c5a73;
    letter-spacing: .3px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px
}

.payment-card-title svg {
    width: 16px;
    height: 16px;
    fill: #4c5a73;
    flex-shrink: 0
}

.payment-header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 8px
}

.payment-header-mobile h1 {
    font-size: 22px;
    font-weight: 600;
    color: #0b1a33;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -.3px
}

.payment-header-mobile h1 svg {
    width: 28px;
    height: 28px;
    fill: #2a7de1
}

.payment-order-value {
    font-weight: 600;
    color: #496185;
    display: inline-block
}

.timer-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    background: #f0f4fe;
    border-radius: 60px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    color: #1f334f;
    flex-wrap: wrap;
    gap: 6px
}

.timer-left {
    display: flex;
    align-items: center;
    gap: 8px
}

.timer-left svg {
    width: 18px;
    height: 18px;
    fill: #2a7de1;
    flex-shrink: 0
}

.timer-display {
    font-size: 20px;
    font-weight: 700;
    color: #0b1a33;
    letter-spacing: 1px;
    min-width: 80px;
    text-align: right
}

.timer-display.warning {
    color: #e67e22
}

.timer-display.danger {
    color: #e74c3c;
    animation: blink 1s ease-in-out infinite
}

.timer-expired {
    color: #e74c3c;
    font-weight: 600
}

@keyframes blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

.payment-amount-number {
    font-size: 36px;
    font-weight: 700;
    color: #0b1a33;
    letter-spacing: -.5px;
    line-height: 1.1
}

.payment-amount-currency {
    font-size: 22px;
    font-weight: 500;
    color: #2a7de1;
    background: #e9f0fe;
    padding: 0 14px;
    border-radius: 40px;
    line-height: 1.5;
    display: inline-block
}

.payment-amount-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 10px
}

.payment-selector-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px
}

.selector-item {
    background: #fff;
    border-radius: 60px;
    padding: 10px 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #1e2a41;
    border: 1.5px solid #dce3ef;
    transition: all .15s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,.02);
    touch-action: manipulation;
    user-select: none;
    line-height: 1.2
}

.selector-item img {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: contain;
    background: #f0f4fe;
    padding: 2px
}

.selector-item.active {
    background: #1f5faf;
    border-color: #1f5faf;
    color: #fff;
    box-shadow: 0 6px 14px rgba(31,95,175,.2)
}

.selector-item.active img {
    background: rgba(255,255,255,.2)
}

.selector-item.usdt {
    border-left: 3px solid #26a17b
}

.selector-item.usdc {
    border-left: 3px solid #2775ca
}

.selector-item.active.usdt {
    background: #1a7c5e;
    border-color: #1a7c5e
}

.selector-item.active.usdc {
    background: #1a5f9e;
    border-color: #1a5f9e
}

.selector-item.polygon {
    border-left: 3px solid #8247e5
}

.selector-item.arbitrum {
    border-left: 3px solid #2d374b
}

.selector-item.active.polygon {
    background: #6a35c4;
    border-color: #6a35c4
}

.selector-item.active.arbitrum {
    background: #2d374b;
    border-color: #2d374b
}

.payment-selector-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 500;
    color: #1f334f;
    margin-bottom: 8px;
    padding: 0 2px
}

.payment-address-box {
    background: #f2f6fd;
    border-radius: 60px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e3eaf5;
    transition: border .2s;
    cursor: pointer;
    touch-action: manipulation;
    flex-wrap: wrap
}

.payment-address-box:active {
    background: #e8eefa
}

.payment-address-text {
    font-size: 14px;
    font-weight: 500;
    color: #0b1a33;
    letter-spacing: .2px;
    flex: 1;
    min-width: 150px;
    word-break: break-all;
    line-height: 1.5
}

.payment-address-label {
    font-size: 13px;
    font-weight: 500;
    color: #4a5b77;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px
}

.payment-address-label .tag {
    margin-left: auto;
    font-size: 12px;
    background: #e3eaf5;
    padding: 2px 14px;
    border-radius: 30px;
    font-weight: 500
}

.payment-copy-btn-text {
    background: #e5eefa;
    border: none;
    border-radius: 40px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #2a7de1;
    cursor: pointer;
    transition: all .2s ease;
    touch-action: manipulation;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
    min-width: 115px
}

.payment-copy-btn-text:active {
    transform: scale(.95)
}

.payment-copy-btn-text.copied {
    background: #2ecc71;
    color: #fff
}

.payment-copy-btn-text.copied:active {
    background: #27ae60
}

.payment-network-hint {
    font-size: 12px;
    color: #496185;
    background: #eaf0fa;
    padding: 8px 16px;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
    width: 100%
}

.payment-network-hint svg {
    width: 14px;
    height: 14px;
    fill: #2a7de1;
    flex-shrink: 0
}

.qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px 16px
}

#qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    width: 100%;
    max-width: 200px;
    margin: 0 auto
}

#qrcode canvas,#qrcode img {
    max-width: 100%;
    height: auto;
    display: block
}

.payment-qr-label {
    font-size: 13px;
    font-weight: 500;
    color: #1e334f;
    margin-top: 12px;
    background: #f0f5fe;
    padding: 4px 18px;
    border-radius: 60px;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    gap: 6px
}

.payment-qr-label svg {
    width: 16px;
    height: 16px;
    fill: #1e334f
}

.payment-qr-network-tag {
    font-size: 12px;
    color: #3d5e7e;
    background: #e6edf6;
    padding: 3px 16px;
    border-radius: 40px;
    margin-top: 6px
}

@media (max-width: 768px) {
    .container {
        padding:0 20px
    }

    .footer-wrapper {
        display: none
    }

    .payment-wrapper {
        flex-direction: column;
        padding: 15px;
        border-radius: 18px;
        gap: 18px;
        max-width: 500px;
        box-shadow: none;
        border: 0
    }

    .payment-left-panel,.payment-right-panel {
        flex: none;
        width: 100%
    }

    .payment-header-mobile {
        display: flex
    }

    .payment-selector-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .payment-amount-number {
        font-size: 34px
    }

    .payment-amount-currency {
        font-size: 20px
    }

    .payment-right-panel {
        gap: 14px
    }

    .payment-card {
        padding: 14px 16px;
        border-radius: 24px
    }

    .payment-address-text {
        font-size: 13px;
        min-width: 100px;
        word-break: break-all
    }

    .payment-copy-btn-text {
        font-size: 12px;
        padding: 6px 14px;
        min-width: 92px
    }

    #qrcode {
        max-width: 180px;
        padding: 10px
    }

    .timer-display {
        font-size: 18px;
        min-width: 70px
    }

    .timer-section {
        font-size: 13px;
        padding: 8px 14px
    }
}

@media (max-width: 420px) {
    .payment-card {
        padding:12px 14px;
        border-radius: 20px
    }

    .payment-selector-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 6px
    }

    .selector-item {
        font-size: 11px;
        padding: 8px 4px
    }

    .selector-item img {
        width: 16px;
        height: 16px
    }

    .payment-amount-number {
        font-size: 28px
    }

    .payment-amount-currency {
        font-size: 18px;
        padding: 0 10px
    }

    .payment-address-text {
        font-size: 12px;
        min-width: 80px;
        word-break: break-all
    }

    .payment-copy-btn-text {
        font-size: 11px;
        padding: 5px 12px
    }

    #qrcode {
        max-width: 150px;
        padding: 8px
    }

    .payment-order-value {
        font-size: 13px;
        padding: 3px 12px
    }

    .payment-header-mobile h1 {
        font-size: 18px
    }

    .payment-header-mobile h1 svg {
        width: 22px;
        height: 22px
    }

    .timer-display {
        font-size: 16px;
        min-width: 60px
    }

    .timer-section {
        font-size: 12px;
        padding: 6px 12px
    }
}

@media (min-width: 769px) {
    .payment-wrapper {
        padding:30px 34px 34px
    }

    .payment-left-panel {
        gap: 18px
    }

    .payment-right-panel {
        gap: 18px
    }

    .payment-amount-number {
        font-size: 40px
    }

    .payment-amount-currency {
        font-size: 24px
    }

    .selector-item {
        font-size: 13px;
        padding: 5px 8px;
        font-weight: 700;
        color: #496185
    }

    .payment-copy-btn-text {
        font-size: 14px;
        padding: 8px 20px
    }

    #qrcode {
        max-width: 220px;
        padding: 14px
    }

    .payment-address-text {
        font-size: 15px;
        min-width: 200px;
        word-break: break-all
    }

    .timer-display {
        font-size: 22px;
        min-width: 90px
    }
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-bottom: 40px
}

.home-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px 16px 22px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.03);
    border: 1px solid rgba(0,0,0,.02);
    transition: all .2s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.home-card:hover {
    box-shadow: 0 12px 32px rgba(0,20,40,.08);
    border-color: #cbddec;
    background: #fafcff
}

.home-card .icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 4px
}

.home-card .icon-wrap.blue {
    background: linear-gradient(145deg,#2b5f8a,#1d3b5c)
}

.home-card .icon-wrap.green {
    background: linear-gradient(145deg,#2d8f6f,#1d6b50)
}

.home-card .icon-wrap.orange {
    background: linear-gradient(145deg,#e08f3a,#c47a2a)
}

.home-card .icon-wrap.purple {
    background: linear-gradient(145deg,#7b5ea7,#5d3f8a)
}

.home-card .icon-wrap.pink {
    background: linear-gradient(145deg,#c95a7a,#b03e5f)
}

.home-card .card-title {
    font-size: 17px;
    font-weight: 600;
    color: #0b1e36
}

.home-card .card-desc {
    font-size: 13px;
    color: #6b8aa9;
    line-height: 1.5;
    max-width: 180px
}

.home-card .card-tag {
    font-size: 11px;
    background: #eef4fc;
    color: #2c4b6e;
    padding: 2px 14px;
    border-radius: 30px;
    margin-top: 4px;
    font-weight: 450
}

.info-block {
    background: #fff;
    border-radius: 24px;
    padding: 28px 30px;
    margin-bottom: 18px;
    border: 1px solid rgba(0,0,0,.02);
    box-shadow: 0 2px 12px rgba(0,0,0,.02);
    transition: .15s
}

.info-block:hover {
    border-color: #d3e2f2;
    background: #fafcff
}

.info-block:last-child {
    margin-bottom: 0
}

.info-block .block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px
}

.info-block .block-header i {
    font-size: 24px;
    color: #1d3b5c;
    width: 36px;
    text-align: center
}

.info-block .block-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0b1e36
}

.info-block .block-body {
    font-size: 15px;
    color: #4f6b8a;
    line-height: 1.8;
    padding-left: 48px
}

.info-block .block-body p {
    margin-bottom: 6px
}

.info-block .block-body ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.info-block .block-body ul li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 10px
}

.info-block .block-body ul li i {
    color: #1d3b5c;
    width: 20px;
    font-size: 15px;
    text-align: center
}

.info-block .block-body .terms-item {
    margin-bottom: 10px
}

.info-block .block-body .terms-item strong {
    color: #0b1e36;
    display: block;
    font-weight: 600
}

.info-block .block-body .terms-item p {
    margin: 2px 0 0 0
}

.info-block .block-body .terms-link {
    margin-top: 10px;
    font-size: 14px;
    color: #8aa3c0
}

.info-block .block-body .terms-link a {
    color: #1d3b5c;
    text-decoration: underline;
    font-weight: 500
}

@media (max-width: 780px) {
    .home-grid {
        grid-template-columns:repeat(3,1fr);
        gap: 12px
    }

    .home-card {
        padding: 20px 12px 16px
    }

    .info-block {
        padding: 20px 18px
    }

    .info-block .block-body {
        padding-left: 20px
    }
}

@media (max-width: 480px) {
    .home-grid {
        grid-template-columns:repeat(2,1fr);
        gap: 10px
    }

    .home-card {
        padding: 16px 10px 14px
    }

    .info-block {
        padding: 16px 14px
    }

    .info-block .block-header i {
        font-size: 20px;
        width: 28px
    }

    .info-block .block-body ul li {
        padding: 3px 0
    }
}

@media (max-width: 380px) {
    .home-grid {
        grid-template-columns:1fr 1fr;
        gap: 8px
    }
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,.1);
    z-index: 999;
    padding: 12px 0 8px;
    border-top: 1px solid rgba(26,115,232,.1)
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display:flex
    }

    body {
        padding-bottom: 85px
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display:none!important
    }

    body {
        padding-bottom: 0
    }
}

.sim-products-section {
    padding: 16px 0 50px
}

.sim-products-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px
}

.sim-product-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(29,59,92,.06)
}

.sim-product-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(29,59,92,.15)
}

.sim-product-image {
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: var(--primary-ultralight);
    display: flex;
    align-items: center;
    justify-content: center
}

.sim-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease
}

.sim-product-card:hover .sim-product-image img {
    transform: scale(1.04)
}

.sim-product-image .placeholder {
    font-size: 48px;
    color: var(--primary-color);
    opacity: .3
}

.sim-product-info {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.sim-product-tag {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 500;
    background: var(--primary-ultralight);
    color: var(--primary-color);
    align-self: flex-start;
    margin-bottom: 6px
}

.sim-product-title {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 38px
}

.sim-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0
}

.sim-product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-color)
}

.sim-product-btn {
    padding: 5px 14px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all .3s;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(29,59,92,.12)
}

.sim-product-btn:hover {
    background: var(--primary-dark);
    transform: scale(.96)
}

@media (max-width: 1200px) {
    .sim-products-grid {
        grid-template-columns:repeat(3,1fr)
    }
}

@media (max-width: 992px) {
    .sim-products-grid {
        grid-template-columns:repeat(2,1fr)
    }
}

@media (max-width: 768px) {
    .sim-products-grid {
        gap:14px
    }

    .sim-product-image {
        height: 140px
    }

    .sim-product-title {
        font-size: .85rem;
        min-height: 36px
    }

    .sim-product-price {
        font-size: 1.05rem
    }
}

@media (max-width: 480px) {
    .sim-products-grid {
        grid-template-columns:1fr;
        gap: 12px
    }

    .sim-product-image {
        height: 160px
    }

    .sim-product-info {
        padding: 12px 14px 14px
    }

    .sim-product-title {
        font-size: .9rem;
        min-height: auto
    }
}

.mobile-bottom-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0 10px
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 20%;
    max-width: 20%;
    padding: 8px 5px;
    cursor: pointer;
    transition: all .3s ease;
    border-radius: 12px;
    text-decoration: none
}

.mobile-bottom-nav-item.active,.mobile-bottom-nav-item:active {
    background-color: var(--primary-ultralight)
}

.mobile-bottom-nav-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    font-size: 20px;
    color: var(--text-light);
    transition: all .3s ease;
    border-radius: 50%
}

.mobile-bottom-nav-item.active .mobile-bottom-nav-icon,.mobile-bottom-nav-item:active .mobile-bottom-nav-icon {
    color: var(--primary-color);
    background-color: rgba(26,115,232,.1);
    transform: translateY(-3px)
}

.mobile-bottom-nav-text {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
    transition: all .3s ease
}

.mobile-bottom-nav-item.active .mobile-bottom-nav-text,.mobile-bottom-nav-item:active .mobile-bottom-nav-text {
    color: var(--primary-color)
}

.mobile-bottom-nav-item.category-btn .mobile-bottom-nav-icon {
    color: var(--accent-color);
    background-color: rgba(255,109,0,.1)
}

.mobile-bottom-nav-item.category-btn.active .mobile-bottom-nav-icon,.mobile-bottom-nav-item.category-btn:active .mobile-bottom-nav-icon {
    color: var(--white);
    background-color: var(--accent-color)
}

.mobile-bottom-nav-item.category-btn .mobile-bottom-nav-text {
    color: var(--accent-color);
    font-weight: 600
}

.mobile-bottom-nav-item.category-btn.active .mobile-bottom-nav-text,.mobile-bottom-nav-item.category-btn:active .mobile-bottom-nav-text {
    color: var(--accent-color)
}

.mobile-bottom-nav-item.more-btn .mobile-bottom-nav-icon {
    color: var(--text-light)
}

.mobile-bottom-nav-item.more-btn.active .mobile-bottom-nav-icon,.mobile-bottom-nav-item.more-btn:active .mobile-bottom-nav-icon {
    color: var(--primary-color);
    transform: rotate(180deg)
}

.mobile-bottom-nav-expanded {
    position: fixed;
    bottom: 84px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,.1);
    z-index: 998;
    padding: 15px;
    display: none;
    transform: translateY(100%);
    transition: transform .3s ease
}

.mobile-bottom-nav-expanded.active {
    display: block;
    transform: translateY(0);
    animation: slideUp .3s ease
}

@keyframes slideUp {
    from {
        transform: translateY(100%)
    }

    to {
        transform: translateY(0)
    }
}

.expanded-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(26,115,232,.1)
}

.expanded-menu-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark)
}

.close-expanded-menu {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-ultralight);
    color: var(--primary-color);
    cursor: pointer;
    font-size: 18px
}

.expanded-menu-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px
}

.expanded-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 12px;
    background-color: var(--secondary-color);
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none
}

.expanded-menu-item:active {
    background-color: var(--primary-ultralight);
    transform: translateY(-2px)
}

.expanded-menu-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
    color: var(--primary-color);
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(26,115,232,.15)
}

.expanded-menu-text {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 997;
    display: none
}

.mobile-nav-overlay.active {
    display: block;
    animation: fadeIn .3s ease
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@media (max-width: 360px) {
    .mobile-bottom-nav-item {
        flex:0 0 18%;
        max-width: 18%
    }
}
