.top-offset {
    padding-top: 100px !important;
}

/* Enable smooth scrolling globally */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.option-card .form-control:disabled {
    color: #9f9f9f !important;
}

/* Prevent scroll-on-focus for component options */
.component-option:focus {
    outline: none;
    scroll-margin: 0;
}

.component-option:focus-visible {
    outline: 2px solid #666666;
    outline-offset: 2px;
}

/* Prevent page jump when clicking on option cards */
.option-card {
    scroll-margin: 0;
}

.option-card label {
    cursor: pointer;
}

.configurator-description,
.configurator-description p,
.configurator-description ul,
.configurator-description ol,
.configurator-description li,
.configurator-description blockquote,
.configurator-description code,
.configurator-description pre {
    color: #000 !important;
    font-size: 0.84rem !important;
    line-height: 1.35 !important;
}

.configurator-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #f8fafc;
    color: #344054;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.configurator-hero {
    margin-bottom: 1.75rem;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
}

.configurator-hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.configurator-hero-description {
    max-width: 46rem;
}

.configurator-hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
}

.barebone-image-container.configurator-hero-image-container {
    width: min(100%, 560px);
    height: clamp(320px, 42vw, 520px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.configurator-hero-image-placeholder {
    font-size: 0.82rem;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
}

.configurator-hero-image-placeholder .ti {
    font-size: 2.5rem;
}

.barebone-config-hero {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.barebone-config-media {
    min-width: 0;
}

.barebone-image-container.barebone-config-image-container {
    width: 180px;
    height: 140px;
    border-radius: 10px;
    background: #fff;
}

.barebone-config-image-placeholder {
    width: 100%;
    height: 100%;
}

.barebone-config-content {
    min-width: 0;
}

.barebone-config-kicker {
    margin-bottom: 0.35rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.barebone-config-title {
    margin: 0 0 0.45rem;
    color: #101828;
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.barebone-config-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    color: #475467;
    font-size: 0.82rem;
}

.barebone-config-sku {
    padding: 0.1rem 0.45rem;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #f8fafc;
    color: #667085;
    font-size: 0.72rem;
}

.barebone-config-meta .price-display {
    display: none;
}

.barebone-config-description-wrap {
    max-width: 100%;
}

.barebone-config-description.configurator-description-collapsed {
    --description-collapsed-height: calc(1.35em * 5);
    max-height: calc(1.35em * 5);
}

.configurator-description h1,
.configurator-description h2,
.configurator-description h3,
.configurator-description h4,
.configurator-description h5,
.configurator-description h6 {
    color: #000 !important;
    font-size: 0.9rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
}

.configurator-description > *:last-child {
    margin-bottom: 0 !important;
}

.configurator-description p,
.configurator-description ul,
.configurator-description ol,
.configurator-description pre,
.configurator-description blockquote {
    margin-bottom: 0.35rem !important;
}

.configurator-description ul,
.configurator-description ol {
    padding-left: 1rem;
}

.configurator-description-wrap {
    position: relative;
}

.configurator-description-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.configurator-description-collapsed {
    --description-collapsed-height: calc(1.35em * 12);
    max-height: calc(1.35em * 12);
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.configurator-description-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.configurator-description-expanded {
    max-height: var(--description-expanded-height, var(--description-collapsed-height));
}

.configurator-description-expanded::after {
    opacity: 0;
}

.configurator-description-checkbox:checked + .configurator-description {
    max-height: var(--description-expanded-height, var(--description-collapsed-height));
}

.configurator-description-checkbox:checked + .configurator-description::after {
    opacity: 0;
}

.configurator-description-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #000 !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    padding: 0.45rem 0.8rem !important;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.configurator-description-toggle::after {
    content: ">";
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}

.configurator-description-less {
    display: none;
}

.configurator-description-checkbox:checked ~ .configurator-description-toggle .configurator-description-more {
    display: none;
}

.configurator-description-checkbox:checked ~ .configurator-description-toggle .configurator-description-less {
    display: inline;
}

.configurator-description-checkbox:checked ~ .configurator-description-toggle::after {
    transform: rotate(-90deg);
}

.configurator-description-toggle:hover,
.configurator-description-toggle:focus {
    color: #000 !important;
    text-decoration: none;
    background: #f8f9fb;
    border-color: #b8c0cc;
    box-shadow: 0 3px 8px rgba(16, 24, 40, 0.1);
    transform: translateY(-1px);
}

/* Dynamic requirement icon - prevent layout shifts */
.dynamic-required-icon {
    display: inline-block;
    width: auto;
    min-width: 0;
    height: auto;
    line-height: 1;
    vertical-align: middle;
    margin-left: 0.5rem;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.dynamic-required-icon i {
    display: inline-block;
    vertical-align: middle;
}

/* Popover styling for dynamic requirements */
.popover {
    max-width: 400px;
}

.popover-body .component-link-alert {
    color: #333333 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    font-weight: 600 !important;
}

.popover-body .component-link-alert:hover {
    color: #1a1a1a !important;
}

/* Preloader - Blocking Mode */
.icecat-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 9999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.icecat-preloader.preloader-blocking {
    pointer-events: all;
    cursor: wait;
}

.icecat-preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    z-index: 10000;
}


/* Component Shortcuts */
.component-shortcuts {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 0.5rem;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    border-radius: 8px;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ced4da transparent;
    /* Ensure it doesn't break sticky on mobile */
    position: relative;
}

.component-shortcut-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.5rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0.5rem 0.75rem 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.component-shortcut-actions .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.component-shortcuts::-webkit-scrollbar {
    height: 4px;
}

.component-shortcuts::-webkit-scrollbar-track {
    background: transparent;
}

.component-shortcuts::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 2px;
}

.component-shortcuts::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* Sticky shortcuts */
.component-shortcuts-wrapper {
    /* Safari support */
    position: sticky !important;
    top: 80px !important;
    /* Offset to account for top navigation */
    z-index: 100 !important;
    padding: 0.75rem 0 0 0;
    margin: -1rem 0 1rem 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-bottom: 1px solid #e9ecef;
    /* Ensure it works on mobile */
    -webkit-transform: translateZ(0);
    /* Force hardware acceleration */
    transform: translateZ(0);
    will-change: transform;
    /* Ensure parent doesn't clip */
    -ms-flex-item-align: start;
    align-self: flex-start;
    width: 100%;
}

/* Mobile adjustments - use fixed positioning for better reliability */
@media (max-width: 768px) {
    .component-shortcuts-wrapper {
        top: 60px !important;
        /* Offset for mobile navigation */
        left: 0 !important;
        right: 0 !important;
        padding: 0.5rem 15px !important;
        position: fixed !important;
        /* Use fixed instead of sticky on mobile */
        z-index: 1000 !important;
        /* Higher z-index for fixed positioning */
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: #f8f9fa !important;
        border-bottom: 1px solid #e9ecef;
        /* Force hardware acceleration */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /* Add padding to the row that comes after shortcuts to prevent content overlap */
    .component-shortcuts-wrapper~.row {
        padding-top: 15px !important;
        /* Space for fixed shortcuts */
    }

    /* Ensure parent containers don't clip fixed element */
    .container-fluid,
    .container {
        position: relative;
        overflow-x: visible !important;
    }

    /* Ensure body/html don't interfere on mobile */
    body,
    html {
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.component-shortcut-item {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    min-width: 70px;
    text-decoration: none !important;
    color: #4a4a4a !important;
    border: 1.5px solid #d0d0d0 !important;
    border-radius: 6px;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background: #f5f5f5 !important;
    cursor: pointer;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.component-shortcut-item:hover {
    background: #e8e8e8;
    border-color: #999999;
    color: #1a1a1a;
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.component-shortcut-item:active {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

/* Active/highlighted shortcut */
.component-shortcut-item.active {
    background: #172b7a !important;
    border-color: #4a4a4a !important;
    color: #ffffff !important;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.component-shortcut-item.active .shortcut-icon {
    color: #ffffff !important;
}

.component-shortcut-item.requires-attention {
    border-color: #d14343 !important;
    background: #fff5f5 !important;
    color: #7a1f1f !important;
}

.component-shortcut-item.requires-attention .shortcut-icon {
    color: #d14343;
}

.component-shortcut-item.requires-attention::after {
    content: '';
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #d14343;
    box-shadow: 0 0 0 2px #fff5f5;
}

.component-shortcut-item.active.requires-attention {
    border-color: #172b7a !important;
    background: #172b7a !important;
    color: #ffffff !important;
}

.component-shortcut-item.active.requires-attention .shortcut-icon {
    color: #ffffff !important;
}

.component-shortcut-item.active.requires-attention::after {
    background: #ffd5d5;
    box-shadow: 0 0 0 2px #172b7a;
}

.shortcut-icon {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #666666;
    -webkit-transition: color 0.2s ease, -webkit-transform 0.2s ease;
    transition: color 0.2s ease, -webkit-transform 0.2s ease;
    -o-transition: transform 0.2s ease, color 0.2s ease;
    transition: transform 0.2s ease, color 0.2s ease;
    transition: transform 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
    display: block;
}

.component-shortcut-item:hover .shortcut-icon {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    color: #333333;
}

.component-shortcut-item.active .shortcut-icon {
    color: #ffffff !important;
}

.shortcut-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    color: inherit;
    line-height: 1.1;
    white-space: nowrap;
}

.configurator-panel {
    background: none;
    border-radius: 16px;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.config-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.5rem 1em;
    margin-bottom: 1rem;
    scroll-margin-top: 200px;
    /* Offset for top navigation (100px) + sticky shortcuts when scrolling */
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.config-section:hover {
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

.config-section.is-collapsed:hover {
    border-color: #2c4e86;
    background: -webkit-gradient(linear, left top, right top, from(#ffffff), to(#f4f7fb));
    background: -o-linear-gradient(left, #ffffff 0%, #f4f7fb 100%);
    background: linear-gradient(90deg, #ffffff 0%, #f4f7fb 100%);
    -webkit-box-shadow: 0 6px 16px rgba(27, 44, 77, 0.12);
    box-shadow: 0 6px 16px rgba(27, 44, 77, 0.12);
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
}

.config-section:last-child {
    margin-bottom: 0;
}

.special-components-separator hr {
    border-top: 2px solid #dee2e6;
    opacity: 1;
    margin: 0;
}

.configurator-panel .section-title::before,
.configurator-panel .section-title::after {
    content: "" !important;
    display: none !important;
}

.special-component {
    background: #cdd5db;
    border-radius: 8px;
    padding: 0.5rem 1em;
    border: 1px solid #d0d0d0;
    margin-top: 1rem;
    border-bottom: 1px solid #d0d0d0 !important;
}

.special-component .section-title {
    color: #1a1a1a;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.1rem;
    }
}

.component-section-header {
    gap: 1rem;
    cursor: pointer;
    padding: 0.25rem 0;
    position: relative;
}

.configurator-sections-toolbar {
    min-height: 2rem;
}

.configurator-toggle-sections {
    font-size: 0.78rem;
    line-height: 1.1;
    padding: 0.35rem 0.8rem;
    color: #2f2f2f;
    background: #ffffff;
}

.configurator-toggle-sections:hover {
    background: #f2f2f2;
    border-color: #a8a8a8 !important;
}

.configurator-toggle-sections .ti {
    font-size: 0.95rem;
    vertical-align: -0.12rem;
}

.component-section-header:hover .section-title-label {
    color: #111111;
}

.config-section.is-collapsed:hover .section-title-label {
    color: #16233f;
}

.config-section.is-collapsed:hover .section-title .ti,
.config-section.is-collapsed:hover .section-title .configurator-svg-icon {
    color: #2c4e86;
}

.component-section-header::after {
    content: '';
    width: 0.6rem;
    height: 0.6rem;
    margin-left: 0.75rem;
    border-right: 2px solid #5f5f5f;
    border-bottom: 2px solid #5f5f5f;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: -webkit-transform 0.2s ease;
    -o-transition: transform 0.2s ease;
    transition: transform 0.2s ease;
    transition: transform 0.2s ease, -webkit-transform 0.2s ease;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.config-section.is-collapsed:hover .component-section-header::after {
    border-color: #2c4e86;
    -webkit-transform: rotate(-45deg) translate(2px, -2px);
    -ms-transform: rotate(-45deg) translate(2px, -2px);
    transform: rotate(-45deg) translate(2px, -2px);
}

.section-title-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 0.25rem;
    min-width: 0;
}

.section-title-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.component-selection-indicator {
    display: none;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 0.35rem;
    padding: 0.18rem 0.6rem;
    min-height: 1.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
}

.component-selection-indicator::before {
    content: '';
    display: block;
    flex-shrink: 0;
    margin-top: -4px;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: currentColor;
}

.config-section.is-required-missing {
    border-color: #e4b4b4;
    box-shadow: 0 2px 8px rgba(153, 27, 27, 0.08);
}

.config-section.is-required-missing.is-collapsed {
    background: linear-gradient(90deg, #ffffff 0%, #fff6f6 100%);
}

.config-section.is-required-missing .component-selection-indicator {
    display: inline-flex;
    color: #a12626;
    background: #fff1f1;
    border-color: #f1c7c7;
}

.config-section.is-required-missing .section-title-label {
    color: #5f1414;
}

.config-section.is-required-missing .section-title .ti,
.config-section.is-required-missing .section-title .configurator-svg-icon,
.config-section.is-required-missing .component-section-header::after {
    color: #a12626;
    border-color: #a12626;
}

.config-section:not(.is-collapsed) .component-selection-indicator {
    display: none !important;
}

.config-section.is-collapsed .component-selection-indicator:empty {
    display: none;
}

.component-total-info {
    font-size: 1rem;
}

.component-total-info small {
    font-size: inherit;
}

.config-section.is-collapsed .component-total-info {
    align-self: center;
}

.config-section.is-collapsed .section-title-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.config-section.is-collapsed .component-section-header::after {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.config-section-body {
    padding-top: 1rem;
    padding-bottom: 1em;
    overflow: hidden;
    opacity: 1;
    -webkit-transition: height 0.18s ease, opacity 0.18s ease, padding-top 0.18s ease, padding-bottom 0.18s ease;
    -o-transition: height 0.18s ease, opacity 0.18s ease, padding-top 0.18s ease, padding-bottom 0.18s ease;
    transition: height 0.18s ease, opacity 0.18s ease, padding-top 0.18s ease, padding-bottom 0.18s ease;
    will-change: height, opacity, padding-top, padding-bottom;
}

.section-title .ti {
    color: #666666;
    margin-right: 0.5rem;
}

.configurator-svg-icon {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    background-color: currentColor;
    -webkit-mask: var(--icon-url) center / contain no-repeat;
    mask: var(--icon-url) center / contain no-repeat;
    vertical-align: -0.18em;
}

.section-title .configurator-svg-icon,
.option-card .configurator-svg-icon {
    color: #666666;
}

.shortcut-icon .configurator-svg-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.summary-component-icon,
.summary-table-icon {
    width: 0.95rem;
    height: 0.95rem;
}

.component-item {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 0;
}

#component-barebone > div {
    background: #fff;
}

.barebone-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border: 1px solid #d9dee5;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f6 100%);
    overflow: hidden;
    flex-shrink: 0;
}

.barebone-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    background: transparent;
}

.barebone-image.is-hidden {
    display: none;
}

.barebone-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem;
    color: #667085;
    text-align: center;
    font-size: 0.74rem;
    line-height: 1.25;
}

.barebone-image-placeholder .ti {
    font-size: 1.5rem;
    color: #98a2b3;
}

@media (max-width: 991.98px) {
    .barebone-image-container.configurator-hero-image-container {
        width: min(100%, 440px);
        height: 320px;
        margin: 0 auto;
    }

    .barebone-config-hero {
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 0.85rem;
    }

    .barebone-image-container.barebone-config-image-container {
        width: 140px;
        height: 112px;
    }
}

.component-options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.5rem;
}

.option-card {
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    padding: 0 0.75rem;
    -webkit-transition: all 0.15s ease;
    -o-transition: all 0.15s ease;
    transition: all 0.15s ease;
    background: #ffffff;
    cursor: pointer;
    position: relative;
}

.option-card:hover {
    border-color: #999999;
    background: #f0f0f0;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
}

/* Disabled state - items with no price */
.option-card.option-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    background: #f8f9fa;
    border-color: #dee2e6;
    position: relative;
}

.option-card.option-disabled:hover {
    border-color: #dee2e6;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.option-unavailable-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #666666;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.option-card.option-disabled .form-check-input:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.option-card.option-disabled .option-label,
.option-card.option-disabled .option-sku,
.option-card.option-disabled .option-price {
    color: #6c757d;
}

.option-card.option-disabled .qty-input:disabled,
.option-card.option-disabled .qty-increase:disabled,
.option-card.option-disabled .qty-decrease:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Selected state - make it very obvious */
.option-card.is-selected {
    border-color: #d3ccff;
    border-width: 1px;
    background: #eaecff;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
}

/* Prevent selection of disabled items */
.option-card.option-disabled.is-selected {
    border-color: #dee2e6;
    border-width: 1px;
    background: #f8f9fa;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.option-card .form-check {
    margin: 0;
    min-height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.option-card .form-check-input {
    margin-top: 0;
    margin-right: 0;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
    top: 0;
}

.option-card .form-check-label {
    max-width: calc(100% - 10px);
    cursor: pointer;
}

.option-card .form-check-label .d-flex {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* Prevent wrapping of price and quantity selector */
.option-card-content {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 1rem;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    /* Align to top so wrapped text looks good */
}

.option-card .component-option {
    pointer-events: none;
}

.option-card-left {
    min-width: 0;
    /* Allow text to shrink */
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    overflow: hidden;
    /* Enable ellipsis on children */
}

.option-card-left .d-flex {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    /* Keep on one line */
    min-width: 0;
    /* Allow shrinking */
}

.option-label {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
    cursor: pointer;
    position: relative;
}

.option-label:hover {
    color: #1a1a1a;
}

.option-card-right {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    /* Don't shrink, don't grow */
    white-space: nowrap;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.option-card .form-check-label .mb-1 {
    margin-bottom: 0.25rem !important;
}

.option-card .form-check-input:checked~.form-check-label {
    color: #1a1a1a;
    font-weight: 600;
}

.option-card .form-check-input:checked {
    background-color: #4a4a4a;
    border-color: #4a4a4a;
    -webkit-box-shadow: 0 0 0 3px rgba(74, 74, 74, 0.2);
    box-shadow: 0 0 0 3px rgba(74, 74, 74, 0.2);
}

.option-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2a2a2a;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    max-width: 100%;
    display: inline-block;
}

.option-sku {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.125rem;
}

/* Compact quantity control - inline with price */
.quantity-control-compact {
    display: inline-block;
}

.quantity-control-inline {
    width: auto !important;
    min-width: 90px;
}

.quantity-control-inline .qty-input {
    width: 40px;
    padding: 0.25rem 0.125rem;
    font-size: 0.8rem;
    border-left: none;
    border-right: none;
}

.quantity-control-inline .qty-decrease,
.quantity-control-inline .qty-increase {
    padding: 0.25rem 0.375rem;
    font-size: 0.75rem;
    line-height: 1;
    min-width: 28px;
}

.quantity-control-inline .qty-decrease i,
.quantity-control-inline .qty-increase i {
    font-size: 0.7rem;
}

.option-price {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.price-display {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.quantity-control {
    margin-top: 0.5rem;
}

.quantity-control .input-group {
    max-width: 120px;
}

.quantity-control .form-control {
    text-align: center;
    font-weight: 500;
}

/* Hide number input arrows/spinners */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type=number] {
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
}

.summary-panel {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-transition: -webkit-box-shadow 0.3s ease;
    transition: -webkit-box-shadow 0.3s ease;
    -o-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
}

.summary-panel:hover {
    -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Compact Header */
.summary-header {
    border-bottom: 0;
    padding-bottom: 0;
}

.summary-total-compact {
    padding-top: 0.5rem;
}

.summary-total-compact h4 {
    font-size: 1.75rem;
    line-height: 1.2;
    color: #1a1a1a;
}

/* Saved configuration indicator */
.saved-config-indicator {
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    background-color: #e9f7ef;
}

/* Read-only mode styling */
.configurator-panel.read-only {
    opacity: 0.7;
    cursor: not-allowed;
}

.configurator-panel.read-only * {
    pointer-events: none;
}

.configurator-panel.read-only .component-section-header,
.configurator-panel.read-only .component-section-header *,
.configurator-panel.read-only .component-shortcuts a,
.configurator-panel.read-only .component-shortcuts button {
    pointer-events: auto;
}

.configurator-readonly-banner {
    font-size: 0.8rem;
    color: #6c757d;
}

.summary-total-compact .btn {
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}

.summary-shipping-estimate {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

/* Compact Server Quantity */
.summary-server-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0.5rem;
    background: #f8f9fa;
    border-radius: 999px;
    border: 1px solid #e9ecef;
}

.summary-server-qty label {
    white-space: nowrap;
}

.summary-server-qty-input {
    width: 92px;
    flex: 0 0 92px;
}

.summary-server-qty .input-group {
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.summary-server-qty .input-group .btn {
    border-color: #dee2e6;
    padding: 0.125rem 0.35rem;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.summary-server-qty .input-group .btn:hover {
    background-color: #4a4a4a;
    border-color: #4a4a4a;
    color: white;
}

.summary-server-qty .input-group .form-control {
    border-color: #dee2e6;
    min-height: 28px;
    padding: 0.125rem 0.25rem;
    font-weight: 600;
}

.summary-server-qty .input-group .form-control:focus {
    border-color: #666666;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.summary-server-qty .input-group .form-control:disabled,
.summary-server-qty .input-group .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #e9ecef;
}

.summary-panel.sticky-top {
    /* Safari support */
    position: sticky !important;
    top: 200px !important;
    /* Offset: top navigation (100px) + shortcuts wrapper height (~100px) */
    z-index: 1 !important;
}


.option-card .ti {
    font-size: 1.1rem;
    vertical-align: middle;
    color: #666666;
}

.section-title .ti {
    font-size: 1.25rem;
    vertical-align: middle;
}

/* Compact Action Buttons */
.summary-actions-compact {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.summary-actions-compact #btn-email-link,
.summary-actions-compact #btn-add-to-cart {
    border-width: 2px;
    font-size: 18px;
    font-weight: 400 !important;
    line-height: 1.5;
    padding: 12px 22px;
}

.summary-selected-config {
}

.summary-selected-title {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    margin-bottom: 0.55rem;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
}

.summary-selected-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.summary-selected-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    min-width: 0;
    padding-bottom: 5px;
}

.summary-selected-icon {
    width: 1rem;
    height: 1rem;
    margin-top: 0.12rem;
    color: #172b7a;
}

.summary-selected-text {
    min-width: 0;
    flex: 1 1 auto;
}

.summary-selected-label {
    color: #667085;
    font-size: 0.68rem;
    line-height: 1.15;
    text-transform: uppercase;
}

.summary-selected-value {
    color: #1f2937;
    font-size: 0.8rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.summary-selected-empty,
.summary-selected-more {
    color: #667085;
    font-size: 0.78rem;
}

.mobile-configurator-cta {
    display: none;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 5.5rem;
    }

    .mobile-configurator-cta {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
        backdrop-filter: blur(12px);
    }

    .mobile-configurator-cta-total {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        line-height: 1.15;
    }

    .mobile-configurator-cta-total span {
        color: #667085;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-configurator-cta-total strong {
        color: #172b7a;
        display: block;
        font-size: 1.25rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-configurator-cta .btn {
        flex: 0 0 auto;
        max-width: 52%;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .mobile-configurator-cta {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        gap: 0.5rem;
    }

    .mobile-configurator-cta-total span {
        font-size: 0.65rem;
    }

    .mobile-configurator-cta-total strong {
        font-size: 1.08rem;
    }

    .mobile-configurator-cta .btn {
        max-width: 50%;
        padding: 0.65rem 0.8rem;
        font-size: 0.82rem;
    }
}

.summary-help-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
    border: 1px solid #f1d4d8;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.08);
}

.summary-help-image-wrap {
    width: 66%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.summary-help-image {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 180px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.summary-help-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.summary-help-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b02a37;
    margin-bottom: 0.2rem;
}

.summary-help-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
}

.summary-help-text {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #6b7280;
}

.summary-help-button {
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    line-height: 1.2;
}


/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 991.98px) {
    .summary-panel {
        padding: 1rem;
        border-radius: 12px;
    }

    .summary-help-card {
        padding: 0.65rem;
        gap: 0.65rem;
    }

    .summary-panel.sticky-top {
        top: 180px !important;
        position: sticky !important;
    }

    .summary-header h5 {
        font-size: 1rem;
    }

    .summary-total-compact h4 {
        font-size: 1.5rem;
    }

    .summary-server-qty {
        padding: 0.3rem 0.45rem;
    }

    .summary-selected-config {
        padding: 0.65rem;
    }

    .summary-selected-list {
        max-height: 220px;
    }

    .summary-actions-compact .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .summary-actions-compact #btn-email-link,
    .summary-actions-compact #btn-add-to-cart {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .configurator-panel {
        padding: 0;
    }

    .barebone-config-hero {
        grid-template-columns: 1fr;
    }

    .barebone-image-container.barebone-config-image-container {
        width: 100%;
        height: 180px;
    }

    .barebone-config-title {
        font-size: 1.35rem;
    }

    .config-section {
        padding: 1rem;
    }

    .summary-panel {
        padding: 0.875rem;
    }

    .summary-total-compact h4 {
        font-size: 1.35rem;
    }

    .summary-server-qty-input {
        width: 86px;
        flex-basis: 86px;
    }

    .summary-selected-list {
        max-height: 180px;
    }

    .summary-actions-compact .btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
    }

    .summary-actions-compact #btn-email-link,
    .summary-actions-compact #btn-add-to-cart {
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
    }

    .summary-actions-compact .btn i {
        font-size: 0.875rem;
    }
}


/* Badge styling */
.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Modal adjustments - Ensure modals are always above preloader */
.modal {
    z-index: 10000 !important;
    /* Above preloader (9999) */
}

.modal-backdrop {
    z-index: 9998 !important;
    /* Below modal but above preloader when modal is shown */
}

/* Ensure all Bootstrap modals are above preloader */
#notificationModal,
#confirmationModal,
#emailModal,
#summaryModal {
    z-index: 10000 !important;
}

/* Summary Modal Styling - Table Format */
#summaryModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

#summaryModal .table {
    margin-bottom: 0;
    font-size: 0.9rem;
}

#summaryModal .table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #495057;
    padding: 0.75rem 0.5rem;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

#summaryModal .table tbody tr {
    border-bottom: 1px solid #e9ecef;
    -webkit-transition: background-color 0.15s ease;
    -o-transition: background-color 0.15s ease;
    transition: background-color 0.15s ease;
}

#summaryModal .table tbody tr:hover {
    background-color: #f8f9fa;
}

#summaryModal .table tbody td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
}

#summaryModal .table tbody td code {
    background-color: #f1f3f5;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #495057;
}

#summaryModal .table .badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.6rem;
    font-weight: 600;
}

#summaryModal .table tbody tr:last-child {
    border-bottom: none;
}

/* Responsive table on mobile */
@media (max-width: 575.98px) {
    #summaryModal .modal-body {
        padding: 0.75rem 1rem;
    }

    #summaryModal .table {
        font-size: 0.8rem;
    }

    #summaryModal .table thead th {
        font-size: 0.75rem;
        padding: 0.5rem 0.35rem;
    }

    #summaryModal .table tbody td {
        padding: 0.6rem 0.35rem;
    }

    #summaryModal .table tbody td code {
        font-size: 0.7rem;
        padding: 0.15rem 0.3rem;
    }

    #summaryModal .table .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

#summaryModal .card:hover {
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.modal-content {
    border-radius: 12px;
    border: none;
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.5rem;
}

/* Form controls */
.form-control:focus,
.form-select:focus {
    border-color: #666666;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

/* Button hover effects */
.btn-primary:hover {
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

/* Icecat Preloader */
.icecat-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 9999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    -o-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.icecat-preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    padding: 2rem;
}

.preloader-content .spinner-border {
    border-width: 0.3rem;
    -webkit-animation: spinner-border 0.75s linear infinite;
    animation: spinner-border 0.75s linear infinite;
}

@-webkit-keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-border {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Loading state for option labels */
.option-label.loading {
    color: #6c757d;
    font-style: italic;
}

.option-label.loading::after {
    content: '...';
    -webkit-animation: loading-dots 1.5s steps(4, end) infinite;
    animation: loading-dots 1.5s steps(4, end) infinite;
}

@-webkit-keyframes loading-dots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%,
    100% {
        content: '...';
    }
}

@keyframes loading-dots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%,
    100% {
        content: '...';
    }
}


/* Spinning animation for loader icons */
.spinning {
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Dynamic Requirement Alert - Clickable Component Links */
.dynamic-requirement-alert .component-link-alert {
    color: #333333 !important;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    -webkit-transition: color 0.2s ease, -webkit-text-decoration-color 0.2s ease;
    transition: color 0.2s ease, -webkit-text-decoration-color 0.2s ease;
    -o-transition: color 0.2s ease, text-decoration-color 0.2s ease;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
    transition: color 0.2s ease, text-decoration-color 0.2s ease, -webkit-text-decoration-color 0.2s ease;
}

.dynamic-requirement-alert .component-link-alert:hover {
    color: #1a1a1a !important;
    -webkit-text-decoration-color: #1a1a1a;
    text-decoration-color: #1a1a1a;
    text-decoration-thickness: 2px;
}

.dynamic-requirement-alert .component-link-alert:active {
    color: #000000 !important;
}

/* Enterprise consistency pass */
:root {
    --cfg-blue: #1d4ed8;
    --cfg-blue-dark: #1e3a8a;
    --cfg-blue-soft: #eff6ff;
    --cfg-amber: #b45309;
    --cfg-amber-soft: #fffbeb;
    --cfg-amber-border: #fcd34d;
    --cfg-border: #e5e7eb;
    --cfg-border-strong: #cbd5e1;
    --cfg-text: #111827;
    --cfg-muted: #64748b;
    --cfg-surface: #ffffff;
    --cfg-surface-soft: #f8fafc;
}

.component-shortcuts-wrapper {
    border-bottom: 0;
}

.component-shortcuts {
    gap: 0.35rem;
    padding: 0.45rem;
    border: 1px solid var(--cfg-border);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.component-shortcut-item {
    min-width: 68px;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--cfg-border) !important;
    border-radius: 10px;
    background: var(--cfg-surface) !important;
    color: #334155 !important;
    box-shadow: none !important;
}

.component-shortcut-item:hover {
    background: var(--cfg-surface-soft) !important;
    border-color: var(--cfg-border-strong) !important;
    color: var(--cfg-text) !important;
    box-shadow: none;
    transform: none;
}

.component-shortcut-item.active {
    background: var(--cfg-blue) !important;
    border-color: var(--cfg-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(29, 78, 216, 0.18) !important;
}

.component-shortcut-item.requires-attention {
    border-color: var(--cfg-amber-border) !important;
    background: var(--cfg-amber-soft) !important;
    color: #7c2d12 !important;
}

.component-shortcut-item.requires-attention .shortcut-icon {
    color: var(--cfg-amber);
}

.component-shortcut-item.requires-attention::after {
    background: var(--cfg-amber);
    box-shadow: 0 0 0 2px var(--cfg-amber-soft);
}

.component-shortcut-item.active.requires-attention {
    background: var(--cfg-blue) !important;
    border-color: var(--cfg-blue) !important;
    color: #ffffff !important;
}

.component-shortcut-item.active.requires-attention::after {
    background: #fbbf24;
    box-shadow: 0 0 0 2px var(--cfg-blue);
}

.shortcut-icon {
    margin-bottom: 0.18rem;
    font-size: 1.05rem;
    color: #64748b;
}

.component-shortcut-item:hover .shortcut-icon {
    transform: none;
    color: inherit;
}

.shortcut-label {
    font-size: 0.68rem;
    font-weight: 600;
}

.config-section {
    border-color: var(--cfg-border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    box-shadow: none;
}

.config-section:hover,
.config-section.is-collapsed:hover {
    border-color: var(--cfg-border-strong);
    background: var(--cfg-surface);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transform: none;
}

.special-component {
    background: var(--cfg-surface);
    border-color: var(--cfg-border);
}

.section-title {
    color: var(--cfg-text);
    font-size: 1.4rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.1rem;
    }
}

.section-title .ti,
.section-title .configurator-svg-icon,
.option-card .ti,
.option-card .configurator-svg-icon {
    color: #94a3b8;
}

.required-badge {
    border: 1px solid var(--cfg-amber-border);
    background: var(--cfg-amber-soft);
    color: #92400e;
    font-weight: 650;
}

.component-selection-indicator {
    font-weight: 650;
}

.config-section.is-required-missing {
    border-color: var(--cfg-amber-border);
    box-shadow: 0 8px 18px rgba(180, 83, 9, 0.08);
}

.config-section.is-required-missing.is-collapsed {
    background: linear-gradient(90deg, #ffffff 0%, var(--cfg-amber-soft) 100%);
}

.config-section.is-required-missing .component-selection-indicator {
    color: #92400e;
    background: var(--cfg-amber-soft);
    border-color: var(--cfg-amber-border);
}

.config-section.is-required-missing .section-title-label,
.config-section.is-required-missing .section-title .ti,
.config-section.is-required-missing .section-title .configurator-svg-icon,
.config-section.is-required-missing .component-section-header::after {
    color: #92400e;
    border-color: #92400e;
}

.component-item {
    background: var(--cfg-surface-soft);
    border-color: var(--cfg-border);
    border-radius: 10px;
    padding: 1rem;
}

#component-barebone {
    padding: 1rem;
}

.barebone-config-kicker {
    margin-bottom: 0.4rem;
    border-color: var(--cfg-border);
    background: var(--cfg-surface-soft);
    color: var(--cfg-muted);
    font-weight: 650;
}

.barebone-config-title {
    color: var(--cfg-text);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.barebone-config-meta {
    color: var(--cfg-muted);
}

.barebone-config-meta .ti {
    color: #94a3b8;
}

.barebone-image-container.barebone-config-image-container {
    border: 1px solid var(--cfg-border);
    background: var(--cfg-surface-soft);
}

.option-card {
    padding: 0 0.65rem;
    border-color: var(--cfg-border);
    border-left-width: 3px;
    border-radius: 10px;
    background: var(--cfg-surface);
    box-shadow: none;
    -webkit-transition: border-color 0.08s ease, border-left-width 0.08s ease, background-color 0.08s ease, -webkit-box-shadow 0.08s ease;
    -o-transition: border-color 0.08s ease, border-left-width 0.08s ease, background-color 0.08s ease, box-shadow 0.08s ease;
    transition: border-color 0.08s ease, border-left-width 0.08s ease, background-color 0.08s ease, box-shadow 0.08s ease;
}

.option-card:hover {
    border-color: var(--cfg-border-strong);
    border-left-color: #94a3b8;
    background: var(--cfg-surface-soft);
    box-shadow: none;
    transform: none;
}

.option-card.is-selected,
.option-card.is-pending-selected {
    border-color: #93c5fd;
    border-left-color: var(--cfg-blue);
    border-left-width: 5px;
    background: var(--cfg-blue-soft);
    box-shadow: 0 0 0 1px rgba(29, 78, 216, 0.12), 0 6px 14px rgba(29, 78, 216, 0.08);
    transform: none;
}

.option-card.is-selected .option-label,
.option-card.is-pending-selected .option-label,
.option-card.is-selected .option-price,
.option-card.is-pending-selected .option-price {
    color: var(--cfg-blue-dark);
    font-weight: 650;
}

.option-card.is-selected .ti,
.option-card.is-pending-selected .ti,
.option-card.is-selected .configurator-svg-icon,
.option-card.is-pending-selected .configurator-svg-icon {
    color: var(--cfg-blue);
}

.option-card.is-selected::after,
.option-card.is-pending-selected::after {
    display: none;
}

.option-card.option-disabled.is-selected,
.option-card.option-disabled.is-pending-selected {
    border-color: var(--cfg-border);
    border-left-color: var(--cfg-border);
    background: #f8f9fa;
}

.option-card.option-disabled.is-selected::after,
.option-card.option-disabled.is-pending-selected::after {
    display: none;
}

.option-card .form-check {
    min-height: 3.2rem;
}

.option-card-content {
    gap: 0.85rem;
}

.option-card .form-check-label {
    padding: 0.65rem 0 0.65rem 0;
}

.option-card .form-check-input:checked~.form-check-label {
    font-weight: 400;
}

.option-card .form-check-input:checked {
    background-color: var(--cfg-blue);
    border-color: var(--cfg-blue);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.option-label {
    color: var(--cfg-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.option-price {
    color: var(--cfg-text);
    font-size: 0.95rem;
    font-weight: 650;
}

.quantity-control-inline .qty-input,
.quantity-control-inline .qty-decrease,
.quantity-control-inline .qty-increase {
    border-color: var(--cfg-border);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cfg-blue);
    box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.12);
}

.summary-panel {
    border-color: var(--cfg-border);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.summary-panel:hover {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.summary-header h5 {
    color: var(--cfg-text);
    font-size: 1rem;
    font-weight: 650 !important;
}

.summary-header h5 .ti {
    display: none;
}

.summary-selected-title {
    color: var(--cfg-muted);
    font-size: 0.78rem;
    font-weight: 650;
}

.summary-selected-list {
    gap: 0.35rem;
    max-height: 300px;
}

.summary-selected-icon {
    color: var(--cfg-blue);
}

.summary-selected-label {
    color: var(--cfg-muted);
    font-size: 0.66rem;
    letter-spacing: 0.03em;
}

.summary-selected-value {
    color: var(--cfg-text);
    font-size: 0.9rem;
}

.summary-total-compact {
    padding-top: 0.75rem;
    border-top: 1px solid var(--cfg-border);
}

.summary-total-compact h4,
#total-price {
    color: var(--cfg-blue-dark) !important;
    font-weight: 700 !important;
}

.summary-server-qty {
    border-color: var(--cfg-border);
    background: var(--cfg-surface-soft);
}

.summary-server-qty label {
    color: var(--cfg-muted) !important;
}

.summary-server-qty .input-group .btn:hover {
    background-color: var(--cfg-blue);
    border-color: var(--cfg-blue);
}

.summary-server-qty .input-group .form-control:focus {
    border-color: var(--cfg-blue);
    box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.12);
}

.summary-actions-compact #btn-email-link,
.summary-actions-compact #btn-add-to-cart {
    border-width: 1px;
    font-size: 0.95rem;
    font-weight: 600 !important;
    padding: 0.7rem 1rem;
}

.summary-actions-compact #btn-email-link {
    border-color: var(--cfg-border-strong) !important;
    color: #334155;
    background: #ffffff;
}

.summary-actions-compact #btn-email-link:hover {
    border-color: var(--cfg-blue) !important;
    color: var(--cfg-blue);
    background: var(--cfg-blue-soft);
}

.summary-shipping-estimate {
    background: var(--cfg-surface-soft);
    border-color: var(--cfg-border);
}

.summary-help-card {
    background: #ffffff;
    border-color: var(--cfg-border);
    box-shadow: none;
}

.summary-help-eyebrow {
    color: var(--cfg-blue-dark);
}

.summary-help-title {
    font-weight: 650;
}

.btn-outline-primary {
    border-color: #bfdbfe;
    color: var(--cfg-blue);
}

.btn-outline-primary:hover {
    border-color: var(--cfg-blue);
    background: var(--cfg-blue);
    color: #ffffff;
}

@media (max-width: 575.98px) {
    .option-card .form-check {
        min-height: auto;
    }

    .option-card .form-check-label {
        padding-right: 1.1rem;
    }

    .option-card-content {
        gap: 0.6rem;
    }
}
