@media (max-width: 575.98px) {
    .announcement {
        padding-right: 44px;
    }

    .announcement .announcement-text {
        gap: 6px;
    }

    .announcement .announcement-text span {
        flex: 1 1 100%;
        line-height: 1.35;
    }

    .announcement .announcement-text .btn {
        margin-left: 0 !important;
        max-width: calc(100vw - 90px);
        white-space: normal;
        line-height: 1.25;
    }
}

/* Visual QA overrides: preserve full product visuals and prevent layout shift. */
.item {
    overflow: hidden;
}

.item .item-header,
.item-img,
.item-video,
.item-audio {
    min-width: 0;
}

.item-img,
.item-video,
.item-audio {
    aspect-ratio: 16 / 10;
    height: auto !important;
    min-height: 0;
    overflow: hidden;
    background: #f7f8fb;
}

.item-img img,
.item-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.item .item-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.item .item-info {
    margin-top: auto;
}

.item .row.row-cols-auto.g-2 {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}

.item .row.row-cols-auto.g-2 > .col {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    max-width: 50%;
}

.item .btn {
    min-height: 42px;
    line-height: 1.25;
}

.item-single-img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f7f8fb;
    
    border-radius: 8px;
}

.item-single-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.home-category {
    min-height: 118px;
}

.home-category .home-category-icon img {
    object-fit: contain;
    object-position: center;
}

.blog-post .blog-post-header {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f7f8fb;
}

.blog-post .blog-post-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.service-visual {
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center;
    background: #f7f8fb;
    border: 1px solid rgb(var(--border_color));
}

.ad-slot img,
.ad-slot iframe {
    max-width: 100%;
}

.ad-slot img {
    height: auto;
    object-fit: contain;
}

.product-image,
.product-image-small,
.payment-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f7f8fb;
}

.product-image img,
.product-image-small img,
.payment-img img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-image {
    width: 96px;
    height: 96px;
}

.product-image-small {
    width: 72px;
    height: 72px;
}

.payment-img {
    min-height: 56px;
}

.header-image {
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 991.98px) {
    .item-single-img {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 575.98px) {
    .item-img,
    .item-video,
    .item-audio,
    .service-visual,
    .blog-post .blog-post-header {
        aspect-ratio: 4 / 3;
    }

    .item .row.row-cols-auto.g-2 > .col {
        width: auto !important;
        flex: 1 1 0;
        min-width: 0;
    }

    .product-image {
        width: 76px;
        height: 76px;
    }

    .product-image-small {
        width: 60px;
        height: 60px;
    }
}

.software-list-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgb(var(--border_color));
}

.software-list-intro h1 {
    margin: 6px 0 8px;
    font-size: 32px;
    line-height: 1.2;
}

.software-list-intro p {
    max-width: 760px;
    margin: 0;
    color: rgb(var(--text_muted));
}

.software-list-kicker {
    display: inline-flex;
    align-items: center;
    color: rgb(var(--primary_color));
    font-size: 13px;
    font-weight: 600;
}

.item .item-content {
    gap: 8px;
}

.item .item-title {
    white-space: normal;
    min-height: 52px;
    margin-bottom: 0;
}

.item .item-category span {
    display: inline-flex;
    max-width: 100%;
    padding: 5px 8px;
    border: 1px solid rgb(var(--border_color));
    border-radius: 6px;
    color: rgb(var(--text_muted));
    font-size: 12px;
    line-height: 1.2;
}

.item-excerpt {
    min-height: 60px;
    margin: 0;
    color: rgb(var(--text_muted));
    font-size: 14px;
    line-height: 1.45;
}

.item .item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 12px;
}

.item .item-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgb(var(--text_muted));
    font-size: 12px;
}

.software-offer-card {
    border: 1px solid rgb(var(--border_color));
}

.software-offer-label {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    background-color: rgba(var(--primary_color), 0.08);
    color: rgb(var(--primary_color));
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.software-offer-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgb(var(--border_color));
    border-bottom: 1px solid rgb(var(--border_color));
}

.software-offer-price span {
    color: rgb(var(--text_muted));
}

.software-offer-price strong {
    color: rgb(var(--text_color));
    font-size: 28px;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .software-list-intro {
        align-items: stretch;
        flex-direction: column;
    }

    .software-list-intro h1 {
        font-size: 26px;
    }

    .software-list-intro .btn {
        width: 100%;
    }

    .item .item-title,
    .item-excerpt {
        min-height: auto;
    }

    /* Category tabs - mobile responsive */
    .items-tabs-actions .row.row-cols-auto {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin: 0;
    }

    .items-tabs-actions .row.row-cols-auto > .col {
        flex: 0 0 auto;
        width: auto !important;
        padding: 0;
    }

    .items-tabs-btn {
        padding: 10px 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* Footer lower - mobile alignment */
    .footer-lower .row {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-lower .col {
        width: 100% !important;
        flex: 0 0 100%;
    }

    .footer-payment {
        display: flex;
        justify-content: center;
    }

    .footer-copyright {
        text-align: center;
    }

    /* Footer upper columns */
    .footer-upper .row.row-cols-sm-3 > .col {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer .h5,
    .footer span.h5 {
        width: 100%;
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .section .container-custom,
    .header .container-custom {
        max-width: 100%;
        padding-right: 12px;
        padding-left: 12px;
        overflow-x: hidden;
    }

    .software-list-intro,
    .software-list-intro > div,
    .software-list-intro p,
    .items,
    .items > .row,
    .items > .row > .col,
    .item {
        max-width: 100%;
        min-width: 0;
    }

    .software-list-intro,
    .software-list-intro > div,
    .software-list-intro p,
    .section-text,
    .header-text {
        width: 100%;
    }

    .software-list-intro p {
        overflow-wrap: break-word;
        word-break: normal;
    }

    .items > .row {
        --bs-gutter-x: 0;
        margin-right: 0;
        margin-left: 0;
        row-gap: 16px;
    }

    .items > .row > .col {
        padding-right: 0;
        padding-left: 0;
    }

    .item .row.row-cols-auto {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .item .row.row-cols-auto > .col {
        flex: 1 1 0;
        min-width: 0;
        width: auto !important;
        padding-right: 4px;
        padding-left: 4px;
    }

    .item .btn {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-search {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .header-search .form-control {
        min-height: 52px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .header-search .btn {
        position: static;
        width: 100%;
        height: 48px;
        padding-inline: 16px;
    }
}

@media (max-width: 575.98px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .announcement,
    .nav-bar,
    .nav-bar .container,
    .nav-bar .container-custom,
    .nav-bar-container,
    .header,
    .header .container,
    .header .container-custom,
    .section,
    .section .container,
    .section .container-custom,
    .footer,
    .footer .container,
    .footer .container-custom {
        max-width: 100%;
        overflow-x: hidden;
    }

    .nav-bar .container,
    .nav-bar .container-custom {
        padding-right: 12px;
        padding-left: 12px;
    }

    .nav-bar .nav-bar-container {
        justify-content: space-between;
        gap: 12px;
        min-width: 0;
    }

    .nav-bar .logo {
        min-width: 0;
        max-width: calc(100vw - 118px);
    }

    .nav-bar .logo img {
        max-width: 100%;
        height: auto;
    }

    .nav-bar .nav-bar-actions,
    .nav-bar .cart-btn,
    .nav-bar .nav-bar-menu-btn {
        flex-shrink: 0;
    }

    .nav-bar .nav-bar-menu {
        overflow: hidden;
    }

    .nav-bar .nav-bar-menu-inner {
        max-width: calc(100vw - 24px);
    }

    .nav-bar .nav-bar-menu:not(.show) {
        display: none;
        pointer-events: none;
    }

    .nav-bar .nav-bar-menu.show {
        display: block;
    }

    .nav-bar .nav-bar-menu:not(.show) .nav-bar-menu-inner {
        right: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    .nav-bar .nav-bar-menu.show .nav-bar-menu-inner {
        right: 0;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    .offcanvas.offcanvas-start {
        max-width: calc(100vw - 24px);
    }

    .software-list-intro,
    .software-list-intro > *,
    .software-list-intro p,
    .section-text,
    .header-text,
    .items,
    .items > .row,
    .items > .row > .col,
    .item,
    .item * {
        max-width: 100%;
        min-width: 0;
    }

    .software-list-intro {
        width: 100%;
    }

    .software-list-intro p,
    .section-text,
    .header-text,
    .item-title,
    .item-excerpt {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 1399.98px) {
    .nav-bar .nav-bar-menu {
        overflow: hidden;
    }

    .nav-bar .nav-bar-menu:not(.show) {
        display: none;
        pointer-events: none;
    }

    .nav-bar .nav-bar-menu.show {
        display: block;
    }

    .nav-bar .nav-bar-menu .nav-bar-menu-inner {
        right: 0;
        max-width: calc(100vw - 24px);
    }

    .nav-bar .nav-bar-menu:not(.show) .nav-bar-menu-inner {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    .nav-bar .nav-bar-menu.show .nav-bar-menu-inner {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

/* Responsive stabilization layer: public site and customer panel. */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

.section,
.header,
.footer,
.container,
.container-custom,
.section-inner,
.section-body,
.box,
.card,
.row,
[class*="col-"] {
    min-width: 0;
}

.nav-bar .nav-bar-links span,
.nav-bar .drop-down-btn span,
.nav-bar span.mx-2.d-none.d-lg-inline-block {
    font-family: var(--fs-font-primary);
    font-size: .9rem;
    font-weight: 500;
}

.nav-bar .logo,
.nav-bar a.logo {
    align-items: center;
    display: flex;
    flex: 0 0 180px;
    height: 58px !important;
    justify-content: flex-start;
    max-width: 180px;
    min-width: 180px;
    width: 180px !important;
}

.nav-bar .logo img,
.nav-bar a.logo img {
    display: block;
    flex: 0 0 auto;
    height: auto !important;
    max-height: 54px;
    object-fit: contain;
    object-position: left center;
    width: 180px !important;
}

.nav-bar .logo-fallback {
    color: rgb(var(--text_color));
    display: none;
    font-family: var(--fs-font-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.nav-bar-container,
.nav-bar-actions,
.nav-bar-links,
.nav-bar-buttons {
    min-width: 0;
}

.nav-bar .link,
.drop-down-btn,
.left-item,
.section-title,
.header-title,
.item-title,
.item-excerpt,
.software-list-intro p,
.footer-text {
    overflow-wrap: anywhere;
}

.section .btn,
.header .btn,
.footer .btn,
.customer-panel-container .btn,
.cart-actions a,
.cart-actions button,
.continue-btn,
.browse-btn,
.empty-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    max-width: 100%;
    min-width: 0;
    text-align: center;
    white-space: normal;
}

.item {
    width: 100%;
    min-width: 0;
}

.item-header,
.item-img,
.item-video,
.item-audio {
    width: 100%;
    min-width: 0;
}

.item-img,
.item-video,
.item-audio {
    position: relative;
    aspect-ratio: 16 / 10;
    height: auto !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #fff;
}

.item-img img,
.item-video video,
.blog-post .blog-post-img,
.item-single-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.item-single-img {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.item-single-img img {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent;
}

.items > .row > .col {
    display: flex;
}

.item .item-title {
    display: block;
    white-space: normal;
}

.item .item-price,
.item .item-meta {
    min-width: 0;
}

.item .row.row-cols-auto {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
}

.item .row.row-cols-auto > .col {
    flex: 1 1 0;
    min-width: 0;
}

.software-list-intro {
    min-width: 0;
}

.service-page .box,
#offer-details .box,
.software-offer-card,
.package-configurator .box {
    max-width: 100%;
}

.package-configurator-title {
    font-size: clamp(1.65rem, 7vw, 31px);
    line-height: 1.18;
}

.service-page .d-flex,
.software-offer-price,
.hosting-panel-head,
.hosting-service-top,
.hosting-card-head {
    min-width: 0;
}

.service-page h2,
.service-page h3,
.service-page p,
.software-offer-price strong,
.software-offer-price span {
    overflow-wrap: anywhere;
}

#offer-details .section-header,
#offer-details form,
#offer-details .form-control {
    min-width: 0;
}

#offer-details button[type="submit"] {
    max-width: 100%;
}

.hero-banner,
#cart-section,
#cart-section .container,
.cart-top,
.cart-bottom,
.extra-services,
.cart-table,
.cart-item-row,
.cart-actions,
.empty-cart-container,
.payment-methods-container,
.payment-methods-grid,
.summary-section,
.secure-payment-box {
    max-width: 100%;
    min-width: 0;
}

.cart-table {
    width: 100%;
}

.cart-item-row .urund,
.cart-item-row .urunds,
.price-wrapper,
.extra-right-list,
.summary-row,
.summary-label,
.summary-value {
    min-width: 0;
}

.cart-item-row .erl-header,
.cart-item-row .erl-content,
.cart-item-row .item-price-amount,
.summary-label,
.summary-value,
.total-price,
.payment-name,
.payment-balance {
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.payment-methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
}

.payment-label {
    min-width: 0;
}

.payment-img {
    width: 100%;
}

.user-panel-shell {
    margin-top: 0 !important;
}

.user-panel-hero-wrap {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(21, 40, 75, .84)),
        radial-gradient(circle at top right, rgba(var(--primary_color), .22), transparent 34%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.announcement-text span {
    color: #fff;
}

.footer-subscribe h3 {
    color: #fff;
    font-size: 1.75rem;
}

.footer .row,
.footer [class*="col-"],
.footer .col {
    min-width: 0;
}

@media (max-width: 991.98px) {
    [data-aos],
    [data-aos].aos-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 767.98px) {
    html,
    body {
        overscroll-behavior-x: none;
    }

    body {
        touch-action: pan-y pinch-zoom;
    }

    [data-aos],
    [data-aos].aos-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .footer {
        width: 100%;
    }

    .footer .container,
    .footer .container-custom {
        box-sizing: border-box;
        max-width: 100%;
    }

    .footer .footer-subscribe > .row,
    .footer .footer-upper > .container > .row,
    .footer .footer-upper > .container-custom > .row,
    .footer .footer-upper .row.row-cols-2,
    .footer .footer-lower .row {
        --bs-gutter-x: 0;
        margin-right: 0 !important;
        margin-left: 0 !important;
        width: 100%;
    }

    .footer .footer-subscribe > .row > .col,
    .footer .footer-upper > .container > .row > .col-12,
    .footer .footer-upper > .container-custom > .row > .col-12,
    .footer .footer-upper .row.row-cols-2 > .col,
    .footer .footer-lower .row > .col {
        max-width: 100%;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .footer .footer-upper .row.g-5 {
        row-gap: 2rem;
    }

    .footer .footer-upper .row.row-cols-2 {
        row-gap: 1.25rem;
    }

    .section-body > .row.g-5,
    .section-body > section > .row.g-5,
    .section-body > .tab-content > .tab-pane > .row,
    .section-body .tab-content > .tab-pane > .row,
    .section-body > .accordion > .row,
    .section-body .accordion > .row {
        --bs-gutter-x: 0;
        margin-right: 0 !important;
        margin-left: 0 !important;
        width: 100%;
    }

    .section-body > .row.g-5 > [class*="col"],
    .section-body > section > .row.g-5 > [class*="col"],
    .section-body > .tab-content > .tab-pane > .row > [class*="col"],
    .section-body .tab-content > .tab-pane > .row > [class*="col"],
    .section-body > .accordion > .row > [class*="col"],
    .section-body .accordion > .row > [class*="col"] {
        max-width: 100%;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .section-body,
    .section-body > .tab-content,
    .section-body > .tab-content > .tab-pane,
    .section-body > .accordion {
        max-width: 100%;
        overflow-x: hidden;
    }
}

.user-banner {
    padding: 28px 0;
}

.user-banner-profile {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.user-banner-profile-avatar {
    flex: 0 0 auto;
}

.user-banner-profile-avatar img {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
}

.user-banner-profile-meta,
.user-banner-profile-name {
    min-width: 0;
}

.user-banner-profile-name center {
    text-align: left;
}

.user-banner-profile-name h3,
.user-banner-profile-name h3 a {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.profile-options {
    margin-top: 12px;
}

.po-item {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.po-item p {
    margin: 0;
}

.po-item .add-balance-btn {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.customer-panel-container {
    padding: 28px 0 48px;
    background: #f5f7fb;
}

.panel-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.left-bar,
.customer-box {
    min-width: 0;
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .05);
}

.left-bar {
    position: sticky;
    top: 92px;
    padding: 14px;
}

.left-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    color: #111827;
}

.left-header p {
    margin: 0;
    font-weight: 700;
}

.mobile-menus {
    display: grid;
    gap: 6px;
}

.left-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    border: 0;
    border-radius: 8px;
    background-color: transparent;
    color: #334155;
    text-align: left;
    line-height: 1.3;
    transition: background-color .2s ease, color .2s ease;
}

.left-item i {
    flex: 0 0 18px;
    text-align: center;
}

.left-item span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.left-item:hover,
.left-item.active {
    background: rgba(var(--primary_color), .1);
    color: rgb(var(--primary_color));
}

.user-logout-link {
    cursor: pointer;
    font: inherit;
}

.left-bar .panel {
    max-height: 0;
    overflow: hidden;
    padding-left: 16px;
    transition: max-height .25s ease;
}

.customer-area {
    min-width: 0;
}

.customer-box:not(:last-child) {
    margin-bottom: 20px;
}

.customer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid #eef2f7;
}

.ch-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.ch-left p {
    margin: 0;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ch-icon {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    background: #f1f5f9;
    color: #0f172a;
}

.customer-infos {
    min-width: 0;
    padding: 22px;
    overflow-x: auto;
}

.customer-infos > * {
    max-width: 100%;
}

.customer-infos table {
    width: 100%;
}

.customer-infos .form-control,
.customer-infos .form-select,
.customer-infos .bootstrap-select,
.customer-infos .dropdown-toggle {
    max-width: 100%;
}

.customer-infos .row {
    min-width: 0;
}

@media (max-width: 1199.98px) {
    .panel-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 991.98px) {
    .section .container,
    .section .container-custom,
    .header .container,
    .header .container-custom,
    .footer .container,
    .footer .container-custom {
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .software-list-intro,
    .hosting-panel-head,
    .hosting-hero-card,
    .service-page .d-flex.justify-content-between {
        align-items: stretch;
        flex-direction: column;
    }

    .software-list-intro .btn,
    .service-page .btn,
    #offer-details button[type="submit"] {
        width: 100%;
    }

    .panel-layout {
        grid-template-columns: 1fr;
    }

    .left-bar {
        position: static;
    }

    .mobile-menus {
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
    }

    .mobile-menus.open {
        max-height: 1400px;
        margin-top: 10px;
    }

    .customer-panel-container {
        padding-top: 18px;
    }
}

@media (max-width: 767.98px) {
    .header .header-inner {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .header-title,
    .header-title-home {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
        line-height: 1.15;
    }

    .header-text,
    .section-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .item .row.row-cols-auto {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .cart-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .payment-methods-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .user-banner-profile {
        align-items: flex-start;
    }

    .customer-header,
    .customer-infos {
        padding: 16px;
    }
}

@media (max-width: 575.98px) {
    .nav-bar .container,
    .nav-bar .container-custom {
        padding-right: 12px;
        padding-left: 12px;
    }

    .nav-bar .logo,
    .nav-bar a.logo {
        flex-basis: 150px;
        max-width: 150px;
        min-width: 150px;
        width: 150px !important;
    }

    .nav-bar .logo img,
    .nav-bar a.logo img {
        max-height: 48px;
        width: 150px !important;
    }

    .nav-bar-actions {
        gap: 6px;
    }

    .nav-bar .nav-bar-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .nav-bar,
    .nav-bar .container,
    .nav-bar .container-custom,
    .nav-bar .nav-bar-container,
    .nav-bar .nav-bar-actions,
    .nav-bar .user-menu {
        overflow: visible !important;
    }

    .nav-bar .logo,
    .nav-bar a.logo {
        flex: 1 1 auto !important;
        max-width: calc(100vw - 178px) !important;
        min-width: 0 !important;
        width: auto !important;
    }

    .nav-bar .logo img,
    .nav-bar a.logo img {
        width: auto !important;
        max-width: 100% !important;
        max-height: 42px !important;
        object-position: left center;
    }

    .nav-bar .nav-bar-actions {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        min-width: 0;
    }

    .nav-bar .cart-btn,
    .nav-bar .nav-bar-menu-btn,
    .nav-bar .user-menu > .drop-down-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }

    .nav-bar .cart-btn {
        display: grid !important;
        place-items: center;
        background: #172c53;
        color: #fff !important;
    }

    .nav-bar .cart-btn .link-title {
        display: grid;
        place-items: center;
        width: 100%;
        height: 100%;
    }

    .nav-bar .nav-bar-menu-btn {
        display: grid;
        place-items: center;
        flex: 0 0 40px;
        background: #f5f7fb;
        color: #172033;
    }

    .nav-bar .user-menu {
        position: relative;
        flex: 0 0 40px;
        width: 40px !important;
        margin: 0 !important;
    }

    .nav-bar .user-menu > .drop-down-btn {
        display: grid !important;
        place-items: center;
        overflow: hidden;
        background: rgba(var(--primary_color), .12);
        border: 1px solid rgba(var(--primary_color), .18);
        color: rgb(var(--primary_color));
    }

    .nav-bar .user-menu > .drop-down-btn .user-img {
        width: 40px !important;
        height: 40px !important;
        border-radius: 8px !important;
        object-fit: cover;
    }

    .nav-bar .user-menu > .drop-down-btn span,
    .nav-bar .user-menu > .drop-down-btn i {
        display: none !important;
    }

    .nav-bar .user-menu .drop-down-menu {
        right: 0 !important;
        left: auto !important;
        top: calc(100% + 10px) !important;
        width: min(286px, calc(100vw - 24px)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 24px) !important;
        padding: 8px !important;
        border: 1px solid #e7ecf3;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 18px 48px rgba(15, 23, 42, .16);
        overflow: hidden;
        font-family: var(--fs-font-primary) !important;
        z-index: 1100;
    }

    .nav-bar .user-menu .user-menu-balance {
        gap: 10px !important;
        padding: 10px 10px 12px !important;
        white-space: normal !important;
    }

    .nav-bar .user-menu .user-menu-balance .user-img-md {
        width: 42px !important;
        height: 42px !important;
        border-radius: 8px !important;
    }

    .nav-bar .user-menu .user-menu-balance-content {
        min-width: 0;
    }

    .nav-bar .user-menu .user-menu-balance-name,
    .nav-bar .user-menu .user-menu-balance-amount {
        display: block;
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-family: var(--fs-font-primary) !important;
    }

    .nav-bar .user-menu .drop-down-item {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 38px;
        padding: 9px 10px !important;
        border-radius: 7px;
        color: #172033 !important;
        font-family: var(--fs-font-primary) !important;
        font-size: 13px !important;
        font-weight: 500;
        line-height: 1.25;
        white-space: normal;
    }

    .nav-bar .user-menu .drop-down-item i {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 18px;
        width: 18px;
        color: #172033;
        text-align: center;
    }

    .nav-bar .user-menu .drop-down-item i::before {
        font-family: bootstrap-icons !important;
    }

    .nav-bar .user-menu .drop-down-item.text-danger,
    .nav-bar .user-menu .drop-down-item.text-danger i {
        color: #dc3545 !important;
    }

    .item-img,
    .item-video,
    .item-audio,
    .item-single-img,
    .blog-post .blog-post-header {
        aspect-ratio: 4 / 3;
    }

    .item .item-content {
        padding: 12px;
    }

    .item .row.row-cols-auto {
        display: flex;
        flex-wrap: nowrap;
    }

    .item .row.row-cols-auto > .col {
        flex: 1 1 0;
        min-width: 0;
        width: auto !important;
        padding-right: 0;
        padding-left: 0;
    }

    .section .btn,
    .header .btn,
    .footer .btn,
    .customer-panel-container .btn,
    .continue-btn,
    .browse-btn,
    .empty-cart-btn {
        width: 100%;
        min-height: 44px;
        padding-right: 14px;
        padding-left: 14px;
        line-height: 1.25;
    }

    .software-list-intro {
        gap: 14px;
    }

    .software-list-intro h1 {
        font-size: 1.65rem;
    }

    .service-page .box,
    #offer-details .box,
    .software-offer-card,
    .package-configurator .box,
    .cart-top,
    .cart-bottom,
    .empty-cart-container,
    .customer-box,
    .left-bar {
        border-radius: 8px;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr !important;
    }

    .summary-row,
    .software-offer-price {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .user-banner {
        padding: 22px 0;
    }

    .user-banner-profile {
        flex-direction: column;
        text-align: left;
    }

    .po-item {
        width: 100%;
    }

    .customer-panel-container {
        padding-bottom: 32px;
    }

    .customer-infos {
        padding: 14px;
    }

    .customer-infos .table,
    .customer-infos table {
        min-width: 620px;
    }

    /* Category tabs - extra small */
    .items-tabs-actions .row.row-cols-auto {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        margin: 0;
    }

    .items-tabs-actions .row.row-cols-auto > .col {
        flex: 0 0 auto;
        width: auto !important;
        padding: 0;
    }

    .items-tabs-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Footer lower - centered */
    .footer-lower .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-lower .col {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-lower .footer-copyright {
        text-align: center;
    }

    .footer-lower .footer-payment {
        display: flex;
        justify-content: center;
    }

    .footer-lower .footer-payment img {
        max-width: 240px;
        height: auto;
    }

    /* Footer upper - full width columns */
    .footer .row-cols-sm-3 > .col,
    .footer .row-cols-2 > .col {
        width: 100% !important;
        flex: 0 0 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer .logo,
    .footer a.logo {
        width: auto !important;
        height: auto !important;
    }

    .footer .logo img,
    .footer a.logo img {
        width: auto !important;
        max-width: 160px;
        height: auto !important;
    }
}

/* Mobile section scroll fix: latest items and FAQ must never become draggable inner panels. */
@media (max-width: 767.98px) {
    .latest-items-section,
    .latest-items-section .container,
    .latest-items-section .container-custom,
    .latest-items-section .section-inner,
    .latest-items-section .section-body,
    .latest-items-section .items-tabs-actions,
    .latest-items-section .tab-content,
    .latest-items-section .tab-pane,
    .latest-items-section .tab-pane > .row,
    .latest-items-section .item,
    .faqs-section,
    .faqs-section .container,
    .faqs-section .container-custom,
    .faqs-section .section-inner,
    .faqs-section .section-body,
    .faqs-section .accordion-custom,
    .faqs-section .accordion-custom > .row,
    .faq-page-accordion,
    .faq-page-accordion > .row {
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: auto !important;
        overscroll-behavior-x: none;
        touch-action: pan-y;
        scrollbar-width: none;
    }

    .latest-items-section ::-webkit-scrollbar,
    .faqs-section ::-webkit-scrollbar,
    .faq-page-accordion ::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    .latest-items-section .items-tabs-actions .row.row-cols-auto {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        transform: none !important;
    }

    .latest-items-section .items-tabs-actions .row.row-cols-auto > .col {
        flex: 0 1 auto !important;
        max-width: 100% !important;
        padding-right: 3px !important;
        padding-left: 3px !important;
    }

    .latest-items-section .items-tabs-btn {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .latest-items-section .tab-pane > .row,
    .faqs-section .accordion-custom > .row,
    .faq-page-accordion > .row {
        --bs-gutter-x: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        transform: none !important;
    }

    .latest-items-section .tab-pane > .row > [class*="col"],
    .faqs-section .accordion-custom > .row > [class*="col"],
    .faq-page-accordion > .row > [class*="col"] {
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .faqs-section .accordion-button,
    .faq-page-accordion .accordion-button {
        align-items: flex-start;
        gap: 12px;
        min-width: 0;
        white-space: normal;
        overflow: visible;
        touch-action: manipulation;
    }

    .faqs-section .accordion-button span,
    .faq-page-accordion .accordion-button span {
        flex: 1 1 auto;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .faqs-section .accordion-button .accordion-button-icon,
    .faq-page-accordion .accordion-button .accordion-button-icon {
        flex: 0 0 30px;
    }

    .latest-items-section [data-aos],
    .latest-items-section [data-aos].aos-animate,
    .faqs-section [data-aos],
    .faqs-section [data-aos].aos-animate {
        transform: none !important;
        transition: none !important;
    }
}

/* Modern user dashboard shell */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 99999;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgb(var(--primary_color));
    color: #fff;
    transform: translateY(-140%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
    color: #fff;
}

.nav-bar .nav-bar-menu-btn,
.nav-bar .nav-bar-menu .nav-bar-menu-header .nav-bar-menu-close {
    border: 0;
    line-height: 1;
}

.fs-user-body {
    background: #f5f7fb;
}

.fs-user-dashboard {
    min-height: calc(100vh - 90px);
    padding: 0 0 54px;
    background:
        linear-gradient(180deg, rgba(var(--primary_color), 0.06) 0, rgba(var(--primary_color), 0) 310px),
        #f5f7fb;
    overflow-x: clip;
}

.fs-user-dashboard .container-custom {
    max-width: 1240px;
}

.fs-user-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(460px, 0.85fr);
    gap: 24px;
    align-items: stretch;
    padding: 38px 0 28px;
}

.fs-user-profile-card,
.fs-user-stat,
.fs-user-sidebar,
.fs-user-card,
.fs-user-alert {
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(16, 31, 58, 0.07);
}

.fs-user-profile-card {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
    padding: 24px;
}

.fs-user-avatar {
    display: inline-flex;
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    padding: 4px;
    border: 3px solid rgb(var(--primary_color));
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 18px 34px rgba(var(--primary_color), 0.2);
}

.fs-user-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.fs-user-profile-copy {
    min-width: 0;
}

.fs-user-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: rgb(var(--primary_color));
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.fs-user-profile-copy h1 {
    margin: 0;
    color: #101f3a;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}

.fs-user-profile-copy p {
    max-width: 100%;
    margin: 7px 0 14px;
    color: #6c7484;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.fs-user-balance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.fs-user-balance span {
    color: #7c8595;
    font-size: 13px;
}

.fs-user-balance strong {
    color: #101f3a;
    font-size: 17px;
}

.fs-user-balance-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 8px;
    background: rgb(var(--primary_color));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.fs-user-balance-action:hover {
    color: #fff;
    filter: brightness(0.95);
}

.fs-user-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.fs-user-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 128px;
    padding: 20px 18px;
    color: #101f3a;
    overflow: hidden;
}

.fs-user-stat::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(var(--primary_color), 0.08);
}

.fs-user-stat:hover {
    color: #101f3a;
    transform: translateY(-2px);
    box-shadow: 0 20px 55px rgba(16, 31, 58, 0.1);
}

.fs-user-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 8px;
    background: rgba(var(--primary_color), 0.1);
    color: rgb(var(--primary_color));
    font-size: 16px;
}

.fs-user-stat strong {
    color: #101f3a;
    font-size: 27px;
    font-weight: 800;
    line-height: 1;
}

.fs-user-stat span:last-child {
    margin-top: 7px;
    color: #657084;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.fs-user-workspace {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.fs-user-sidebar {
    position: sticky;
    top: 18px;
    padding: 14px;
}

.fs-user-menu-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: rgb(var(--primary_color));
    color: #fff;
    font-weight: 800;
}

.fs-user-menu-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.fs-user-menu-toggle-icon {
    transition: transform 0.2s ease;
}

.fs-user-menu-toggle[aria-expanded="true"] .fs-user-menu-toggle-icon {
    transform: rotate(180deg);
}

.fs-user-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fs-user-menu-group {
    display: grid;
    gap: 6px;
}

.fs-user-menu-group p {
    margin: 4px 8px 8px;
    color: #8a94a6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.fs-user-menu-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #263249;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

.fs-user-menu-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    border-radius: 8px;
    background: #f2f5f9;
    color: rgb(var(--primary_color));
    font-size: 14px;
}

.fs-user-menu-link span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.fs-user-menu-link:hover {
    background: rgba(var(--primary_color), 0.08);
    color: rgb(var(--primary_color));
}

.fs-user-menu-link.active {
    background: rgb(var(--primary_color));
    color: #fff;
    box-shadow: 0 10px 24px rgba(var(--primary_color), 0.26);
}

.fs-user-menu-link.active i {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.fs-user-menu-logout {
    cursor: pointer;
}

.fs-user-main {
    min-width: 0;
}

.fs-user-alert {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px;
}

.fs-user-alert.warning {
    border-color: rgba(255, 172, 54, 0.32);
    background: #fff9ee;
}

.fs-user-alert.danger {
    border-color: rgba(231, 76, 60, 0.24);
    background: #fff4f3;
}

.fs-user-alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(var(--primary_color), 0.1);
    color: rgb(var(--primary_color));
}

.fs-user-alert h2 {
    margin: 0 0 6px;
    color: #101f3a;
    font-size: 18px;
    font-weight: 800;
}

.fs-user-alert p {
    margin: 0;
    color: #5f6b7f;
}

.fs-user-card {
    width: 100%;
    min-width: 0;
    margin-inline: auto;
    overflow: hidden;
}

.fs-user-card.dashboard-container-sm {
    max-width: 760px;
}

.fs-user-card.dashboard-container-md {
    max-width: 960px;
}

.fs-user-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid #edf1f6;
    background: #fff;
}

.fs-user-card-header span {
    display: block;
    margin-bottom: 4px;
    color: rgb(var(--primary_color));
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.fs-user-card-header h2 {
    margin: 0;
    color: #101f3a;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.fs-user-card-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
}

.fs-user-card-body {
    min-width: 0;
    padding: 24px;
}

.fs-user-card-body .box {
    border: 1px solid #edf1f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.fs-user-card-body .box-padding {
    padding: 20px;
}

.fs-user-card-body .form-section {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f6;
}

.fs-user-card-body .form-section h5,
.fs-user-card-body h3,
.fs-user-card-body h4 {
    color: #101f3a;
    font-weight: 800;
}

.fs-user-card-body .table-search {
    border: 1px solid #edf1f6;
    border-radius: 8px;
    background: #f8fafc;
}

.fs-user-card-body .table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #edf1f6;
    border-radius: 8px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.fs-user-card-body .table {
    min-width: 720px;
    margin-bottom: 0;
}

.fs-user-card-body .table thead th {
    border-bottom: 1px solid #edf1f6;
    background: #f8fafc;
    color: #4d5b70;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.fs-user-card-body .table td,
.fs-user-card-body .table th {
    padding: 14px 16px;
    vertical-align: middle;
}

.fs-user-card-body .item-img-sm {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
}

.fs-user-card-body .item-img-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fs-user-card-body .form-control,
.fs-user-card-body .form-select,
.fs-user-card-body .bootstrap-select > .dropdown-toggle {
    min-height: 46px;
    border-color: #dfe5ee;
    border-radius: 8px;
}

.fs-user-card-body .btn {
    border-radius: 8px;
    font-weight: 700;
}

.fs-user-card-body .pagination {
    margin-top: 18px;
}

.fs-user-card-body svg {
    max-width: min(170px, 70vw);
    height: auto;
}

.fs-user-card-body .dropdown-menu {
    border: 1px solid #edf1f6;
    border-radius: 8px;
    box-shadow: 0 18px 46px rgba(16, 31, 58, 0.12);
}

.fs-user-card-body .counter {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fs-user-card-body .counter-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.fs-wallet-balance-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.fs-wallet-deposit-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    color: #6c7484;
    text-align: right;
}

.fs-wallet-deposit-cta span {
    font-size: 13px;
    font-weight: 700;
}

.fs-wallet-deposit-cta strong {
    color: #101f3a;
    font-weight: 800;
}

.fs-deposit-limit-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(var(--primary_color), 0.18);
    border-radius: 8px;
    background: rgba(var(--primary_color), 0.07);
    color: #536176;
    font-size: 13px;
    font-weight: 700;
}

.fs-deposit-limit-note i {
    margin-top: 2px;
    color: rgb(var(--primary_color));
}

.fs-deposit-limit-note strong {
    color: #101f3a;
    font-weight: 800;
}

@media (max-width: 1199.98px) {
    .fs-user-hero {
        grid-template-columns: 1fr;
    }

    .fs-user-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .fs-user-workspace {
        grid-template-columns: 260px minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .fs-user-dashboard {
        padding-bottom: 34px;
    }

    .fs-user-hero {
        padding: 24px 0 18px;
    }

    .fs-user-workspace {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fs-user-sidebar {
        position: static;
        padding: 10px;
    }

    .fs-user-menu-toggle {
        display: flex;
    }

    .fs-user-menu {
        display: none;
        padding-top: 12px;
    }

    .fs-user-menu.open {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    .fs-user-dashboard {
        overflow-x: hidden;
    }

    .fs-user-dashboard .container-custom {
        width: 100%;
        max-width: 100%;
        padding-right: 12px;
        padding-left: 12px;
    }

    .fs-user-profile-card {
        gap: 14px;
        padding: 18px;
    }

    .fs-user-avatar {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .fs-user-profile-copy h1 {
        font-size: 22px;
    }

    .fs-user-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .fs-user-stat {
        min-height: 116px;
        padding: 16px;
    }

    .fs-user-stat strong {
        font-size: 24px;
    }

    .fs-user-card-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .fs-user-card-header h2 {
        font-size: 20px;
    }

    .fs-user-card-actions,
    .fs-user-card-actions .btn {
        width: 100%;
    }

    .fs-user-card-body {
        padding: 16px;
    }

    .fs-user-card-body .box-padding {
        padding: 16px;
    }

    .fs-user-card-body .table-container {
        margin-right: -2px;
        margin-left: -2px;
    }

    .fs-user-card-body .table td,
    .fs-user-card-body .table th {
        padding: 12px;
    }

    .fs-user-card-body .row > [class*="col"] {
        min-width: 0;
    }

    .fs-user-card-body .table-search .row > [class*="col"],
    .fs-user-card-body form .row > [class*="col"] {
        flex: 0 0 100%;
        width: 100%;
    }

    .fs-user-card-body .table-search .btn,
    .fs-user-card-body form .btn {
        width: 100%;
    }

    .fs-wallet-balance-box {
        align-items: stretch;
        flex-direction: column;
    }

    .fs-wallet-deposit-cta {
        justify-content: flex-start;
        text-align: left;
    }

    .fs-wallet-deposit-cta .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .fs-user-profile-card {
        align-items: center;
        gap: 12px;
    }

    .fs-user-avatar {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }

    .fs-user-balance-action {
        width: 100%;
        margin-top: 4px;
    }
}

/* Brand typography: Manrope primary, Galano Grotesque secondary. */
body,
p,
a,
span,
small,
strong,
label,
li,
td,
th,
button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.dropdown-menu,
.drop-down-menu,
.drop-down-item,
.drop-down-btn,
.nav-bar,
.footer,
.section-text,
.header-text,
.item-excerpt,
.accordion-button,
.accordion-body,
.user-menu,
.fs-user-dashboard {
    font-family: var(--fs-font-primary) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.header-title,
.item-title,
.table-name,
.logo-fallback,
.nav-bar .logo-fallback,
.fs-user-profile-copy h1,
.fs-user-card-header h2,
.fs-user-alert h2,
.sign-title {
    font-family: var(--fs-font-secondary) !important;
}

.nav-bar .nav-bar-links span,
.nav-bar .drop-down-btn span,
.nav-bar span.mx-2.d-none.d-lg-inline-block,
.nav-bar .user-menu .drop-down-menu,
.nav-bar .user-menu .user-menu-balance-name,
.nav-bar .user-menu .user-menu-balance-amount,
.nav-bar .user-menu .drop-down-item {
    font-family: var(--fs-font-primary) !important;
}

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before,
.nav-bar .user-menu .drop-down-item i::before {
    font-family: bootstrap-icons !important;
}

/* Customer dashboard layout: sidebar groups and account blocks. */
.fs-user-dashboard-compact {
    padding-top: 28px;
}

.fs-user-dashboard-compact .fs-user-workspace {
    grid-template-columns: 304px minmax(0, 1fr);
    gap: 28px;
}

.fs-user-dashboard-compact .fs-user-sidebar {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.fs-user-sidebar-panel {
    overflow: hidden;
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(16, 31, 58, 0.07);
}

.fs-user-sidebar-head {
    padding: 20px 18px;
    border-bottom: 3px solid rgb(var(--primary_color));
    background: linear-gradient(135deg, rgb(var(--primary_color)) 0%, #17335a 100%);
    color: #fff;
}

.fs-user-sidebar-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.fs-user-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fs-user-sidebar-avatar {
    display: inline-flex;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    padding: 3px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.fs-user-sidebar-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.fs-user-sidebar-profile-copy {
    min-width: 0;
}

.fs-user-sidebar-profile-copy strong,
.fs-user-sidebar-profile-copy span,
.fs-user-sidebar-profile-copy em {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fs-user-sidebar-profile-copy strong {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.fs-user-sidebar-profile-copy span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-style: normal;
}

.fs-user-sidebar-profile-copy span i,
.fs-user-sidebar-profile-copy em i {
    margin-right: 6px;
}

.fs-user-sidebar-profile-copy em {
    width: max-content;
    max-width: 100%;
    margin-top: 7px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.fs-user-dashboard-compact .fs-user-menu {
    gap: 18px;
    padding: 18px 14px;
}

.fs-user-dashboard-compact .fs-user-menu-group {
    gap: 4px;
}

.fs-user-dashboard-compact .fs-user-menu-group p {
    margin: 0 10px 8px;
    color: #7e8899;
    font-size: 11px;
}

.fs-user-dashboard-compact .fs-user-menu-link {
    min-height: 42px;
    padding: 8px 10px;
    color: #4b5568;
    font-weight: 700;
}

.fs-user-dashboard-compact .fs-user-menu-link i {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background: transparent;
    color: #111827;
}

.fs-user-dashboard-compact .fs-user-menu-link:hover,
.fs-user-dashboard-compact .fs-user-menu-link.active {
    background: rgba(var(--primary_color), 0.1);
    color: rgb(var(--primary_color));
    box-shadow: none;
}

.fs-user-dashboard-compact .fs-user-menu-link:hover i,
.fs-user-dashboard-compact .fs-user-menu-link.active i {
    background: rgba(var(--primary_color), 0.12);
    color: rgb(var(--primary_color));
}

.fs-user-sidebar-status {
    display: grid;
    gap: 8px;
    padding: 12px 14px 16px;
    border-top: 1px solid #edf1f6;
    background: #fbfcfe;
}

.fs-user-verify {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid #edf1f6;
    border-radius: 8px;
    background: #fff;
    color: #5f6b7f;
    font-size: 13px;
    font-weight: 700;
}

.fs-user-verify > i {
    color: rgb(var(--primary_color));
}

.fs-user-verify span {
    flex: 1 1 auto;
    min-width: 0;
}

.fs-user-verify strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
}

.fs-user-verify.ok {
    border-color: rgba(var(--primary_color), 0.22);
    background: rgba(var(--primary_color), 0.06);
}

.fs-user-verify.ok strong {
    background: rgb(var(--primary_color));
}

.fs-user-verify.pending strong {
    background: #f5a524;
}

.fs-user-sidebar-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 28px);
    min-height: 48px;
    margin: 0 14px 16px;
    border: 0;
    border-radius: 8px;
    background: #e9163d;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
}

.fs-account-page {
    display: grid;
    gap: 24px;
}

.fs-account-page-head {
    padding: 4px 0 10px;
    border-bottom: 1px solid #e7ecf3;
}

.fs-account-page-head h1 {
    margin: 0;
    color: #596273;
    font-size: 26px;
    font-weight: 700;
}

.fs-account-panel {
    overflow: hidden;
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(16, 31, 58, 0.05);
}

.fs-account-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 62px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgb(var(--primary_color)) 0%, #17335a 100%);
    color: #fff;
}

.fs-account-panel-head.fs-account-panel-head-alt {
    background: linear-gradient(135deg, #17335a 0%, rgb(var(--primary_color)) 100%);
}

.fs-account-panel-head > div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.fs-account-panel-head h2 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.fs-account-panel-action,
.fs-account-panel-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.fs-account-panel-action {
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.fs-account-panel-action:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
}

.fs-account-panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.fs-account-empty {
    display: grid;
    place-items: center;
    min-height: 160px;
    padding: 34px 20px;
    color: #7a8493;
    text-align: center;
}

.fs-account-empty.compact {
    min-height: 140px;
    padding: 24px 12px;
}

.fs-account-empty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: rgb(var(--primary_color));
    color: #fff;
    font-size: 24px;
}

.fs-account-empty p {
    margin: 0;
    color: #7a8493;
}

.fs-account-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 22px;
}

.fs-account-stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 154px;
    padding: 26px 20px 20px;
    border: 1px solid #e7ecf3;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.fs-account-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: rgb(var(--primary_color));
}

.fs-account-stat-card.accent-yellow::before {
    background: #f4c430;
}

.fs-account-stat-card.accent-blue::before {
    background: #2d9cdb;
}

.fs-account-stat-card.accent-purple::before {
    background: #8e44ad;
}

.fs-account-stat-card.accent-green::before {
    background: rgb(var(--primary_color));
}

.fs-account-stat-card strong {
    color: #172033;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.fs-account-stat-card span {
    margin-top: 12px;
    color: #7a8493;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.fs-account-stat-card a,
.fs-account-stat-card em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-top: auto;
    padding: 8px 13px;
    border: 1px solid rgba(var(--primary_color), 0.24);
    border-radius: 8px;
    background: rgba(var(--primary_color), 0.07);
    color: rgb(var(--primary_color));
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.fs-account-table-wrap {
    padding: 22px;
    overflow-x: auto;
}

.fs-account-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.fs-account-table th,
.fs-account-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #edf1f6;
    color: #5f6b7f;
    vertical-align: middle;
}

.fs-account-table th {
    color: #7a8493;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.fs-account-table td {
    font-size: 14px;
}

.fs-account-table-empty {
    padding: 24px 12px;
    color: #8b95a6;
    text-align: center;
}

.fs-account-table-empty-cell {
    padding: 0 !important;
}

@media (max-width: 1199.98px) {
    .fs-user-dashboard-compact .fs-user-workspace {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .fs-account-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .fs-user-dashboard-compact .fs-user-workspace {
        grid-template-columns: 1fr;
    }

    .fs-user-dashboard-compact .fs-user-sidebar {
        position: static;
    }

    .fs-user-dashboard-compact .fs-user-menu {
        display: none;
        padding-top: 14px;
    }

    .fs-user-dashboard-compact .fs-user-menu.open {
        display: flex;
    }

    .fs-user-dashboard-compact .fs-user-menu-toggle {
        margin: 14px;
        width: calc(100% - 28px);
    }
}

@media (max-width: 767.98px) {
    .fs-user-dashboard-compact {
        padding-top: 18px;
    }

    .fs-account-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .fs-account-panel-actions,
    .fs-account-panel-actions .btn,
    .fs-account-panel-action {
        width: 100%;
    }

    .fs-account-stat-grid,
    .fs-account-table-wrap {
        padding: 14px;
    }

    .fs-account-stat-grid {
        grid-template-columns: 1fr;
    }

    .fs-account-stat-card {
        min-height: 132px;
    }

    .fs-account-table-wrap {
        overflow-x: visible;
    }

    .fs-account-table {
        min-width: 0;
    }

    .fs-account-table thead {
        display: none;
    }

    .fs-account-table tbody {
        display: grid;
        gap: 10px;
    }

    .fs-account-table tr,
    .fs-account-table td {
        display: block;
        width: 100%;
    }

    .fs-account-table tr {
        padding: 12px;
        border: 1px solid #edf1f6;
        border-radius: 8px;
        background: #fff;
    }

    .fs-account-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 0;
        border: 0;
        color: #172033;
        text-align: right;
    }

    .fs-account-table td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        color: #7a8493;
        font-size: 12px;
        font-weight: 800;
        text-align: left;
        text-transform: uppercase;
    }

    .fs-account-table td a:not(.btn) {
        max-width: 58%;
        margin-left: auto;
        overflow-wrap: anywhere;
    }

    .fs-account-table td .btn {
        margin-left: auto;
    }

    .fs-account-table td.fs-account-table-empty-cell {
        display: block;
        padding: 0;
        text-align: center;
    }

    .fs-account-table td.fs-account-table-empty-cell::before {
        display: none;
    }

    .fs-account-page-head h1 {
        font-size: 23px;
    }
}
