:root {
    --blue: #1d5bc9;
    --blue-light: #ECF1FB;
    --border: #E5E7EB;
    --text: #000;
    --muted: #717171;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    ;
}

#main {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#body_bkg {
    background: linear-gradient(#3E67C84D, #F7F8FADB 5%);
}


.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 0;
    border-bottom: 1px solid var(--border);
    background-color: #fff;
}

/* Styles for screens wider than 768px (tablets and desktops) */
@media (min-width: 768px) {
    #main {
        width: 80%;
        /* On larger screens, the element takes half the width */
    }

    .header {
        padding: 0 10%;
    }
}

@media (min-width: 1024px) {
    #main {
        width: 70%;
        /* On larger screens, the element takes half the width */
    }

    .header {
        padding: 0 15%;
    }
}

/* Styles for screens wider than 1536px (large desktops) */
@media (min-width: 1536px) {
    #main {
        width: 60%;
        /* On very large screens, it takes a third of the width */
    }

    .header {
        padding: 0 20%;
    }
}

#header {
    height: 100%;
}

#main_center {
    margin-top: 0px;
    position: relative;
    z-index: 20;
}

/* LEFT */
.header-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    height: 52px;
}

.logo-4d {
    height: 52px;
}

.logo-text {
    background: var(--blue);
    background-image: url('/images/store2026/store.svg');
    background-repeat: no-repeat;
    color: #fff;
    padding: 8px 12px;
    font-weight: 700;
    height: 100%;
    align-content: end;
}

/* RIGHT */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.region {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.region-select {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
}

.region-select img {
    width: 20px;
    height: auto;
}

.cart {
    font-size: 18px;
    cursor: pointer;
}

.user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hello {
    font-size: 14px;
    color: #374151;
}

.avatar {
    gap: 4px;
    position: relative;
}

.arrow {
    font-size: 12px;
    color: #6b7280;
    cursor: pointer;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    left: -200px;
}

.user-dropdown-content a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 12px;
    font-weight: normal;
}

.user-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.avatar:hover .user-dropdown-content {
    display: block;
}

/* REGION DROPDOWN */
.region {
    position: relative;
    font-size: 14px;
}

/* DROPDOWN */

.region-dropbtn {
    min-width: 150px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.region-dropdown {
    position: relative;
}

.region-dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.region-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.region-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.region-dropdown:hover .region-dropdown-content {
    display: block;
}

.region-dropdown:hover .region-dropbtn {
    background-color: #fff;
}

.divider {
    display: block;
    margin: 0 auto;
    width: 80%;
    height: 1px;
    background-color: #e5e7eb;
}

.box_x3_2026 {
    flex-direction: column;
    justify-content: space-between;
    width: 33% !important;
    height: 350px;
}

.box_x1_vertical_2026 {
    width: 100%;
    flex-direction: row;
    gap: 20px;
}

.box_x1_vertical_right_2026 {
    display: flex;
    width: 75%;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.box_x1_vertical_img_2026 {
    width: 25%;
}

.box_2026 {
    display: flex;
    border: 1px solid var(--border);
    background-color: #fff;
    min-width: 2px;
    min-height: 2px;
    padding: 10px;
    font-size: 12px;
    color: #666666;
    box-shadow: 0px 4px 8px 0px rgba(100, 100, 100, 0.1);
    border-radius: 10px;
}

.box_price_2026 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box_price_price_2026 {
    font-weight: bold;
    font-size: 14px;
    color: #1d5bc9
}

.store_chapter_2026 {
    font-size: 24px;
    font-weight: 500;
    color: #000;
}

.store_chapter {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
    margin: 20px 0 12px;
    padding: 0;
}

.store_hr {
    border: none;
    border-top: 1px solid var(--border);
    background: none;
    height: 0;
    margin: 4px 0;
}

.store_articles_2026 {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.store_articles_fullwidth_2026 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.primary_button {
    padding: 8px 30px;
    background-color: var(--blue);
    color: #fff !important;
    border-radius: 8px;
}

.box_desc_2026 {
    line-height: 12px;
    color: #717171;
}


.box_title_2026 a {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #004088 !important;
}

.box_2026_content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.breadcrumb_2026 {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.breadcrumb_2026 a {
    color: #000 !important;
    text-decoration: none;
}

.breadcrumb_2026 a:hover {
    color: var(--blue);
}

/* tabs 2026 */
#tabnav_2026 {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

/* Tabs container */
.tabs_2026 {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}

/* Tab wrapper */
.tab-item {
    position: relative;
}

/* Base tab */
.tab {
    display: flex;
    flex-direction: column;
    min-width: 120px;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 12px;
    color: #9aa0a6 !important;
    fill: #9aa0a6 !important;
    position: relative;
    cursor: pointer;
    transition: color 0.2s ease;
    gap: 10px;
}

/* Icon */
.tab-icon {
    font-size: 18px;
    fill: #9aa0a6 !important;
}

/* Hover */
.tab:hover {
    color: var(--blue) !important;
    fill: var(--blue) !important;
}

/* Active tab */
.tab.is-active {
    color: var(--blue) !important;
    fill: var(--blue) !important;
    font-weight: 500 !important;
}

/* Active underline */
.tab.is-active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--blue);
    border-radius: 3px 3px 0 0;
}



#main_content_3, #main_content_full {
    position: relative;
    border: 0px solid #dadada;
    margin-left: 0px;
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    min-height: 600px;
    background-color: #fff;
    font-size: 12px;
    color: #666666;
}

#main_content_3 a {
    /* color: #9aa0a6; */
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}








/* LICENSES TABLE */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

/* Header */
.page-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-weight: 600;
}

.filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #f3f4f6;
    cursor: pointer;
    font-size: 14px;
}

.filter-btn.active {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

/* Table Header */
.table-header {
    display: grid;
    grid-template-columns: 32px 2fr 0.8fr 2.5fr 0.8fr 1fr;
    padding: 12px 16px;
    background: linear-gradient(#8fb0f0, #6e94e8);
    color: white;
    font-size: 14px;
    font-weight: 500;
    gap: 4px;
}

/* Rows */
.row {
    border-bottom: 1px solid var(--border);
}

.row-main {
    display: grid;
    grid-template-columns: 32px 2fr 0.8fr 2.5fr 0.8fr 1fr;
    padding: 14px 16px;
    align-items: center;
    cursor: pointer;
    background: white;
    gap: 4px;
}

.row-main:hover {
    background: #f9fafb;
}

.row-main p {
    font-size: 10px;
    padding-top: 3px;
}

.chevron {
    transition: transform 0.2s ease;
    font-size: 14px;
    width: fit-content;
}

.row.open .chevron {
    transform: rotate(90deg);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
}

.badge.subscription {
    background: #d1fae5;
    color: #065f46;
}

.badge.perpetual {
    background: #ede9fe;
    color: #5b21b6;
}

.status.active {
    background: #E3EBFF;
    color: #0369a1;
}

.status.active-maintenance {
    background: #DFF4FF;
    color: #0369a1;
}

.status.no-maintenance {
    background: #F1F1F1;
    color: #000;
}

.status.canceled {
    background: #fde7d9;
    color: #9a3412;
}

.status.no-maintenance {
    background: #f3f4f6;
    color: #6b7280;
}

/* Accordion content */
.row-details {
    display: none;
    padding: 10px;
    background: var(--blue-light);
    font-size: 14px;
    color: var(--muted);
}

.row.open .row-details {
    display: block;
}

.details-box {
    padding: 16px;
    background: white;
    border: 1px dashed var(--border);
    border-radius: 6px;
}

/* Accordion content */
.accordion-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inner-accordion {
    padding: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Cards */
.card {
    border: 1px solid var(--border);
    border-radius: 6px;
    background: white;
}

.card-header {
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    margin: 0;
    font-size: 15px;
    color: #1e3a8a;
}

.link-action {
    font-size: 14px;
    color: var(--blue);
    text-decoration: none;
}

.link-action:hover {
    text-decoration: underline;
}

.card-body {
    padding: 18px;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    font-size: 14px;
    color: var(--text);
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
}

.product-code {
    color: #6D8BD1 !important
}

.grid-2 span {
    color: var(--muted);
}

.grid-2 p {
    font-size: 10px;
}

/* Status labels */
.status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status.success {
    background: #dcfce7;
    color: #166534;
}

.status.danger {
    background: #fee2e2;
    color: #991b1b;
}

/* Delegated access table */
.table {
    width: 100%;
}

.details-table-header,
.details-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr 100px;
    padding: 10px 18px;
    align-items: center;
}

.details-table-header {
    background: #f8fafc;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}

.details-table-row {
    border-top: 1px solid var(--border);
    font-size: 14px;
}

.actions {
    display: flex;
    gap: 10px;
    cursor: pointer;
}

/* Manage subscription */
.manage-subscription {
    padding: 18px;
}

.manage-subscription h4 {
    margin: 0 0 16px;
    font-size: 15px;
    color: #1e3a8a;
}

.manage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
}

.manage-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.manage-toggle {
    display: flex;
    justify-content: flex-end;
}

.upgrade-toggle {
    display: flex;
    justify-content: flex-end;
}

/* Counters */
.counter-row,
.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.counter {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.counter button {
    width: 28px;
    height: 28px;
    border: none;
    background: #6e94e8;
    color: white;
    cursor: pointer;
}

.counter span {
    width: 32px;
    text-align: center;
    font-weight: 500;
}

/* Toggle switch */
.switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 24px;
    transition: 0.2s;
}

.slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.2s;
}

.switch input:checked+.slider {
    background: #4c78d8;
}

.switch input:checked+.slider::before {
    transform: translateX(20px);
}

/* Footer */
.manage-footer {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cancel-link {
    color: #2563eb;
    font-size: 14px;
    text-decoration: none;
}

.footer-actions {
    gap: 8px;
    display: none
}

.btn {
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
}

.btn.primary {
    background: #4c78d8;
    border-color: #4c78d8;
    color: white;
}

.open-modal-btn {
    stroke: #717171;
    cursor: pointer;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.add-access-btn {
    cursor: pointer;
}

.add-access-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.add-access-modal-overlay.active {
    display: flex;
}

.delete-access-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.delete-access-modal-overlay.active {
    display: flex;
}

.cancel-subscription-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.cancel-subscription-modal-overlay.active {
    display: flex;
}


.edit-access-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.edit-access-modal-overlay.active {
    display: flex;
}

/* Modal Box */
.modal {
    background: white;
    padding: 20px;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal h2 {
    margin-top: 0;
}

.modal input {
    width: 100%;
    padding: 8px;
    margin: 15px 0;
    box-sizing: border-box;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-buttons button {
    padding: 6px 12px;
    cursor: pointer;
}

.cancel-btn {
    background: #ccc;
    border: none;
}

.save-btn {
    background: #007bff;
    color: white;
    border: none;
}







/* toast style */
#toast-container {
    position: fixed;
    bottom: 20px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 250px;
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-family: sans-serif;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

/* Show animation */
.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Variants */
.toast.success {
    background: #4caf50;
}

.toast.danger {
    background: #f44336;
}

.toast.info {
    background: #2196f3;
}

/* Hide spinners in Chrome, Safari, Edge, and Opera */
.no-spinner::-webkit-outer-spin-button,
.no-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide spinners in Firefox */
.no-spinner[type=number] {
    -moz-appearance: textfield;
}

.t2025_controler_number {
    width: 40px;
    text-align: center;
    color: #666666;
    font-size: 12pt;
    font-weight: bold;
    border: none;
}

/* Quote Summary */
.quote-summary {
    border: 1px solid #ddd;
    background: #f5f5f7;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    width: 100%;
}

.quote-summary h4 {
    margin-bottom: 10px;
    color: #2c4a9a;
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #cbcbcb
}

.quote-table th {
    text-align: left;
    padding: 10px;
    background: #fff;
    font-weight: 600;
}

.quote-table td {
    padding: 10px;
    border-top: 1px solid #eee;
}

.quote-table tr:first-child td {
    border-top: none;
}

/* Downgrade Summary */
.downgrade-summary {
    border: 1px solid #c01a19;
    background: #fbeff0;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    width: 100%;
}

.downgrade-summary h4 {
    margin-bottom: 10px;
    color: #3d3d3d;
}

.downgrade-summary p {
    color: #c01a19;
    padding-bottom: 10px;
}

.downgrade-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #c01a19
}

.downgrade-table th {
    text-align: left;
    padding: 10px;
    background: #fde2e4;
    font-weight: 600;
}

.downgrade-table td {
    padding: 10px;
    border-top: 1px solid #eee;
}

.downgrade-table tr:first-child td {
    border-top: none;
}



.ref {
    font-size: 12px;
    color: #777;
}

.quote-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-weight: bold;
    font-size: 16px;
    color: #2c4a9a;
}

.quote-wrapper {
    position: relative;
}

.cart-preview {
    min-height: 200px;
    display: none;
}

/* overlay */
.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: none;
    justify-content: center;
    align-items: center;

    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);

    z-index: 10;

}


/* spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #2c4a9a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

input:disabled {
    background-color: #f5f5f5;
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
}

.span-disabled {
    background-color: #c3c3c3 !important;
    color: #999;
    border-color: #ddd;
    cursor: not-allowed;
}

button:disabled {
    background-color: #e0e0e0;
    color: #888;
    border: 1px solid #ddd;
    cursor: not-allowed;
}

/* Optional: prevent hover effects */
button:disabled:hover {
    background-color: #e0e0e0;
}

.t2025_article_discount {
    border: none;
    border-radius: 10px;
    background-color: #dbe9fe;
    color: #427bed;
    font-weight: bold;
    font-size: 8pt;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 6px;
    width: fit-content;
}

.t2025_article_discountType_STANDARD_DISCOUNT {
    background-color: #dbe9fe;
    color: #427bed;
}

.t2025_article_discountType_SPECIAL_DISCOUNT {
    background-color: #fef1da;
    color: #ed9242;
}

.t2025_article_discountType_Customer_Special_Price {
    background-color: #d9fce4;
    color: #31b57f;
}

#sidebar_right {
    visibility: hidden;
    display: none;
}


.store_home_body_active {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.store_home_body_inactive {
    display: none;
}

.store_home_body_active .store_chapter,
.store_home_body_active .store_hr {
    flex: 0 0 100%;
}

/* ===================== store index box cards ===================== */

.box_x3 {
    flex: 0 0 calc(33.333% - 18px);
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    background-color: #fdfdfd;
}

.box_x3:hover {
    box-shadow: 0 8px 24px rgba(29, 91, 201, 0.12);
    transform: translateY(-3px);
}

.store_home_body_active .box,
.store_home_body_inactive .box {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.07);
    position: relative;
}

.store_home_body_active .box_x3_img,
.store_home_body_inactive .box_x3_img {
    text-align: center;
    margin-bottom: 12px;
}

.store_home_body_active .box_x3_img img,
.store_home_body_inactive .box_x3_img img {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin-top: 0;
}

.store_home_body_active .box_title,
.store_home_body_inactive .box_title {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    margin: 0 0 8px;
    text-align: left;
}

.store_home_body_active .box_title a,
.store_home_body_inactive .box_title a {
    color: var(--blue);
    text-decoration: none;
}

.store_home_body_active .box_title a:hover,
.store_home_body_inactive .box_title a:hover {
    text-decoration: underline;
}

.store_home_body_active .box_desc,
.store_home_body_inactive .box_desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0 0 12px;
    flex-grow: 1;
}

.store_home_body_active .box_price,
.store_home_body_inactive .box_price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--muted);
    position: static;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.store_home_body_active .box_price_price,
.store_home_body_inactive .box_price_price {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
}

.store_home_body_active .box_more_info,
.store_home_body_inactive .box_more_info {
    position: static;
    text-align: right;
    margin-top: 10px;
}

.store_home_body_active .box_more_info a.orange_link,
.store_home_body_inactive .box_more_info a.orange_link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    padding: 7px 18px !important;
    background-color: #059669 !important;
    background-image: none !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25) !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.01em;
}

.store_home_body_active .box_more_info a.orange_link:hover,
.store_home_body_inactive .box_more_info a.orange_link:hover {
    background-color: #047857 !important;
    background-image: none !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
    transform: none;
    color: #fff !important;
}

/* box_x1_vertical (template=1) */

.store_home_body_active .box_x1_vertical,
.store_home_body_inactive .box_x1_vertical {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(100, 100, 100, 0.07);
    flex: 0 0 100%;
    margin-bottom: 0;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.store_home_body_active .box_x1_vertical:hover,
.store_home_body_inactive .box_x1_vertical:hover {
    box-shadow: 0 8px 24px rgba(29, 91, 201, 0.12);
    transform: translateY(-2px);
}

.store_home_body_active .box_x1_vertical_img,
.store_home_body_inactive .box_x1_vertical_img {
    flex: 0 0 100px;
    width: 100px;
    text-align: center;
    padding: 0;
    margin: 0;
    display: block;
    position: static;
}

.store_home_body_active .box_x1_vertical_img img,
.store_home_body_inactive .box_x1_vertical_img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0;
}

.store_home_body_active .box_x1_vertical_right,
.store_home_body_inactive .box_x1_vertical_right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: static;
    width: auto;
    top: auto;
}


/* ===================== #tabnav override 2026 ===================== */

#tabnav {
    display: flex !important;
    flex-direction: row !important;
    gap: 4px !important;
    list-style: none !important;
    margin: 16px 0 0 0 !important;
    padding: 0 !important;
    height: auto !important;
    background: none !important;
    border-bottom: 1px solid var(--border) !important;
}

#tabnav ul,
#tabnav li {
    display: block !important;
    float: none !important;
    background: none !important;
    border: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

#tabnav_left_tab {
    border-left: none !important;
    height: auto !important;
}

/* Base link style */
#tabnav a:link,
#tabnav a:visited {
    display: inline-block; /* no !important: allows JS display:none inline style to override */
    float: none !important;
    padding: 8px 16px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important; /* same weight as active tab to prevent layout shift */
    color: var(--muted) !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    margin-bottom: -1px !important;
    border-radius: 0 !important;
    height: auto !important;
    transition: color 0.2s ease, border-color 0.2s ease !important;
    cursor: pointer !important;
}

/* Hover */
#tabnav a:hover {
    color: var(--blue) !important;
    background: none !important;
    border-bottom: 3px solid var(--border) !important;
    height: auto !important;
}

/* Active tab */
#tabnav a.tabnav_active {
    color: var(--blue) !important;
    font-weight: 600 !important;
    border-bottom: 3px solid var(--blue) !important;
    background: none !important;
    margin-top: 0 !important;
}


/* ===================== orange_link → emerald green 2026 ===================== */

a.orange_link, a.shoppingCart_continue {
    position: relative;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none !important;
    padding: 7px 18px !important;
    background-color: #059669 !important;
    background-image: none !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25) !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    letter-spacing: 0.01em;
    height: auto !important;
    line-height: normal !important;
}

a.orange_link:hover,
a.shoppingCart_continue:hover {
    background-color: #047857 !important;
    background-image: none !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
    transform: translateY(-1px);
    color: #fff !important;
    text-decoration: none !important;
}

.serverText-body {
    margin: 0 !important;
    max-width: max-content !important;
}

/* ===================================================================
   Article page - Template 2008 Modernization (matching template_2025)
   =================================================================== */

/* Layout: remove old fixed widths */
#article_description {
    width: 100% !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

#article_longDescription {
    width: 100% !important;
}

.template_2008 #article_longDescription {
    width: calc(100% - 230px) !important;
    display: inline-block !important;
    vertical-align: top;
    font-size: 13px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: left;
}

.template_2008 #article_longDescription p {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

.template_2008 #article_longDescription ul,
#article_longDescription ol {
    margin: 12px 0 12px 20px;
    padding: 0;
}

.template_2008 #article_longDescription li {
    margin-bottom: 6px;
    line-height: 1.6;
    color: var(--text);
}

.template_2008 #article_longDescription h2,
.template_2008 #article_longDescription h3,
.template_2008 #article_longDescription h4 {
    font-weight: 600;
    color: var(--text);
    margin-top: 20px;
    margin-bottom: 8px;
}

.template_2008 #article_longDescription h2 { font-size: 18px; }
.template_2008 #article_longDescription h3 { font-size: 16px; }
.template_2008 #article_longDescription h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

.template_2008 #article_longDescription a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}

.template_2008 #article_longDescription a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.template_2008 #article_longDescription strong,
.template_2008 #article_longDescription b {
    font-weight: 600;
    color: var(--text);
}

.template_2008 #article_longDescription em,
.template_2008 #article_longDescription i {
    font-style: italic;
    color: var(--muted);
}

.template_2008 #article_radio {
    width: auto !important;
    display: block !important;
}

.template_2008 #article_suboptions {
    height: auto !important;
    width: 100% !important;
}


/* Article name */
.template_2008 #article_name {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* Not available message */
.template_2008 #article_notAvailable {
    font-size: 14px;
    color: var(--muted);
    font-style: italic;
    margin-top: 16px;
}

/* Price display in description area */
.template_2008 .p_price {
    text-align: left !important;
    padding-left: 0 !important;
    margin-top: 16px;
    font-size: 14px;
}

.template_2008 .article_public_price_label {
    font-size: 12px;
    color: var(--muted);
    font-weight: normal !important;
}

.template_2008 .article_public_price {
    font-size: 12px !important;
    color: var(--muted) !important;
    text-decoration: line-through;
}

.template_2008 .article_price_label {
    font-size: 14px;
    color: var(--muted);
    font-weight: normal !important;
}

.template_2008 .price,
.template_2008 #Article_Customer_Price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--blue) !important;
}

.template_2008 .article_configAmount {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--muted) !important;
}

.template_2008 #Article_Amount {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--blue) !important;
    margin-left: 8px !important;
}

/* Add to cart button: replace orange button with modern blue */
.template_2008 .article_configAddToCart {
    position: static !important;
    top: auto !important;
    right: auto !important;
}

.template_2008 a.addToCart_button,
.template_2008 #main_content_3 a.addToCart_button {
    background: var(--blue) !important;
    background-image: none !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 10px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    text-decoration: none !important;
    display: inline-block;
    cursor: pointer;
    position: static !important;
}

.template_2008 a.addToCart_button:hover,
.template_2008 #main_content_3 a.addToCart_button:hover {
    background: #1a4fa0 !important;
    text-decoration: none !important;
}




/* ===================================================================
   Article page - Form controls modernization
   =================================================================== */

/* --- Radio buttons --- */
.template_2008 #main_content_3 input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    margin-right: 6px;
}

.template_2008 #main_content_3 input[type="radio"]:checked {
    border-color: var(--blue);
    background-color: var(--blue);
    box-shadow: inset 0 0 0 3px #fff;
}

.template_2008 #main_content_3 input[type="radio"]:hover:not(:checked) {
    border-color: var(--blue);
}

.template_2008 #main_content_3 input[type="radio"]:focus {
    outline: 2px solid var(--blue-light);
    outline-offset: 2px;
}

/* --- Checkboxes --- */
.template_2008 #main_content_3 input[type="checkbox"], #shopping_cart_actions input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    margin-right: 6px;
}

.template_2008 #main_content_3 input[type="checkbox"]:checked, #shopping_cart_actions input[type="checkbox"]:checked {
    border-color: var(--blue);
    background-color: var(--blue);
}

.template_2008 #main_content_3 input[type="checkbox"]:checked::after, #shopping_cart_actions input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.template_2008 #main_content_3 input[type="checkbox"]:hover:not(:checked), #shopping_cart_actions input[type="checkbox"]:hover:not(:checked) {
    border-color: var(--blue);
}

.template_2008 #main_content_3 input[type="checkbox"]:focus, #shopping_cart_actions input[type="checkbox"]:focus {
    outline: 2px solid var(--blue-light);
    outline-offset: 2px;
}


.template_2008 #main_content_3 input[type="checkbox"]:disabled,
.template_2008 #main_content_3 input[type="radio"]:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* --- Text inputs (quantity fields) --- */
.template_2008 #main_content_3 input[type="text"]{
    height: 34px;
    padding: 0 10px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background-color: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    vertical-align: middle;
    width: auto;
}

.template_2008 #main_content_3 input[type="text"]:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-light);
}

.template_2008 #main_content_3 input[type="text"]:disabled {
    background-color: #f5f5f5;
    color: #999;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

/* --- Select dropdowns --- */
.template_2008 #main_content_3 select {
    height: 34px;
    padding: 0 32px 0 10px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23717171' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.template_2008 #main_content_3 select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-light);
}

.template_2008 #main_content_3 select:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}















/* Hide the "old-style" special info ribbons */
.box_x1_with_header_special_info,
.box_x1_with_header_special_info2 {
    display: none !important;
}

/* Sections: platform, expansions, maintenance → t2025_article_card style */
.box_x1_with_header {
    position: static !important;
    background-color: #f9fafb !important;
    background-image: none !important;
    border: 1px solid #edeef1 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    color: var(--text) !important;
}

.box_x1_with_header h3 {
    color: #7282a0 !important;
    font-size: 14px !important;
    /* font-weight: 700 !important; */
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding-left: 0 !important;
}

.box_x1_with_header h3 .box_x1_with_header_name a {
    color: #7282a0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.box_x1_with_header_item {
    background-image: none !important;
    padding-top: 8px !important;
    padding-left: 0 !important;
    padding-bottom: 8px !important;
    font-size: 12px !important;
    color: var(--text) !important;
    font-family: "Inter", sans-serif !important;
}

.box_x1_with_header_description {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
    padding: 0;
    border: none;
    background: none;
}

.box_x1_with_header_desc_title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    padding-top: 20px;
}

/* Simple box */
.box_x1 {
    background-color: #fff;
    border: 1px solid #edeef1;
    border-radius: 10px;
    padding: 16px;
    margin-top: 12px;
    margin-bottom: 12px;
}

/* Total price + Add to cart box: replace yellow_box */
.yellow_box {
    position: static !important;
    background-color: #f9fafb !important;
    background-image: none !important;
    background-position: initial !important;
    background-repeat: initial !important;
    border: 1px solid #edeef1 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;
    gap: 16px;
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    color: var(--muted) !important;
}

#shoppingCart th {
    background-image: none !important;
    background-color: #7282a0 !important;
}