#product {
    --color-primary: var(--alfa-gold, #b3924a);
    --color-light: color-mix(in oklab, var(--color-primary) 70%, white 30%);
}

/* dp hide */
#dp-container {
    display: none !important;
}

/* ====================================
   UTILITY: Hidden Addon Row
   ==================================== */
.hidden-addon-abcweb {
    display: none !important;
}



/* ====================================
   ABCWEB: Summary Table Styling
   Reference Design Implementation
   ==================================== */

/* Main Wrapper */
#abcweb-product-addons-wrapper {
    margin: 0;
    padding: 0;
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; */
}

/* ====================================
   ABCWEB: Size Fields Toggle
   ==================================== */
.abcweb-size-toggle-container {
    padding: 16px 0 12px;
    border-bottom: 1px solid #E0E0E0;
}

.abcweb-size-toggle-left {
    flex: 0 0 auto;
}

.abcweb-size-toggle-right {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-start;
}

.abcweb-size-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
}

.abcweb-size-toggle-checkbox {
    width: 18px;
    height: 18px;
}

.abcweb-size-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.abcweb-size-fields-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: auto;
}

.abcweb-size-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
    align-items: flex-start;
    text-align: left;
}

.abcweb-size-field-header {
    width: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.abcweb-size-field-label {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.abcweb-required-star {
    color: #d40000;
    font-weight: 700;
    margin-left: 4px;
}

.abcweb-size-field-description {
    font-size: 0.8rem;
    color: #666;
    margin: 4px 0 0 0;
    line-height: 1.4;
}

.abcweb-size-field-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

/* Inline text inputs in summary table */
.abcweb-inline-text-input {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.abcweb-text-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.abcweb-text-field-input {
    display: block;
}

.abcweb-size-field-range {
    font-size: 0.8rem;
    color: #6b7280;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .abcweb-size-toggle-container {
        flex-direction: column;
        align-items: stretch;
    }

    .abcweb-size-toggle-right {
        justify-content: flex-start;
    }

    .abcweb-size-fields-row {
        justify-content: flex-start;
    }
}

.abcweb-size-field-helper {
    font-size: 0.8rem;
    color: #6b7280;
}

.abcweb-size-field-error {
    display: none;
    background: #fbe9e9;
    border: 1px solid #f5c2c2;
    color: #b91c1c;
    padding: 8px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
}

.abcweb-size-field.is-invalid .abcweb-size-field-input {
    border-color: #ef4444;
}

/* ====================================
   ABCWEB: Wymiary Select - Disabled State
   ==================================== */
select.abcweb-wymiary-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f3f4f6 !important;
    color: #6b7280 !important;
    pointer-events: none;
    position: relative;
}

select.abcweb-wymiary-disabled:hover {
    background-color: #f3f4f6 !important;
}

/* Lock icon styling (Material Icons) */
.dimension-lock-icon {
    margin-left: 8px;
    font-size: 18px;
    color: #6b7280;
    cursor: help;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    vertical-align: middle;
}

.dimension-lock-icon:hover {
    opacity: 1;
}

/* Section Wrapper - Clean minimal container */
.abcweb-summary-section-wrapper {
    background: #fff;
    border: none;
    border-bottom: 1px solid #E0E0E0;
    padding: 20px 0px;
    margin: 0;
}

.abcweb-sections-list .abcweb-summary-section-wrapper {
    border-bottom: none;
}
.abcweb-sections-list .abcweb-summary-section-wrapper:has(~ .abcweb-summary-section-wrapper) {
    border-bottom: 1px solid #E0E0E0;
}

/* ====================================
   ABCWEB: Section with No Visible Addons
   ==================================== */
.abcweb-section-no-visible-addons {
    padding-bottom: 0px;
}


/* Section Header - Horizontal layout */
.abcweb-summary-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Section Info - Name + Icon */
.abcweb-summary-section-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Section Name */
.abcweb-summary-section-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

/* Info Icon - Beige circle */
.abcweb-summary-info-icon,
.abcweb-info-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #D4B896;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-style: normal;
    flex-shrink: 0;
}

/* Change/Add Button - Orange with icon */
.abcweb-summary-change-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    transition: color 0.2s ease;
    font-family: inherit;
}

.abcweb-summary-change-btn:hover {
    color: var(--color-light);
}

.abcweb-summary-change-btn .btn-icon > span {
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    display: inline-block;
    vertical-align: middle;
    margin-top: -0.25em;
}

/* Summary Table Wrapper */
.abcweb-summary-table-wrapper {
    margin: 0;
    padding: 0;
}

/* Only add top margin when table has visible (non-hidden) rows */
.abcweb-summary-table-wrapper:has(tr:not([data-hidden="true"])) {
    margin-top: 16px;
}

/* Hide table when section is empty (all empty addons) */
.abcweb-summary-table-wrapper.is-empty {
    display: none;
}

/* Summary Table - Clean two-column layout */
.abcweb-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    table-layout: fixed;
}

.abcweb-summary-table tbody {
    /* Group rows */
}

/* Summary Row */
.abcweb-summary-row {
    border: none;
}

.abcweb-summary-row-missing-required td {
}

.abcweb-summary-row:last-child td {
    padding-bottom: 0;
}

/* Table Cells */
.abcweb-summary-table td {
    vertical-align: top;
    line-height: 1.6;
}

/* Label Column - Dark gray with colon */
.abcweb-summary-label {
    padding-bottom: 0.25rem;
    /* Small gap below label */
    padding-right: 0.25rem;
    /* Small gap to separate from value */
    color: #666;
    font-weight: 600;
    width: 40%;
    vertical-align: top;
}

/* Keep summary deep links visually consistent with previous label color */
.abcweb-summary-label .js-configurator-summary-link {
    color: #666;
}

.abcweb-summary-label .js-configurator-summary-link:visited,
.abcweb-summary-label .js-configurator-summary-link:hover,
.abcweb-summary-label .js-configurator-summary-link:active,
.abcweb-summary-label .js-configurator-summary-link:focus {
    color: #666;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

.abcweb-option-blocked-info .abcweb-option-blocked-info-link {
    color: #666;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

/* Value Column - Dark text */
.abcweb-summary-value {
    color: #333;
    font-weight: 400;
    width: 60%;
    transition: background-color 0.3s ease;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.abcweb-summary-value-missing-required {
    color: #8d1d1d;
}

.abcweb-summary-value-exclusion-conflict {
    color: #8d1d1d;
}

.abcweb-required-validation-note {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #b42318;
    font-weight: 600;
}

.abcweb-required-row-note-row td {
    padding-top: 0;
    padding-bottom: 8px;
}

/* Animation for when value is updated */
.abcweb-summary-value.updated {
    background-color: #fff9e6;
    transition: background-color 0.1s ease;
}

/* Hide row if it contains empty addon */
.abcweb-summary-row[style*="display: none"] {
    display: none !important;
}

.abcweb-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden off-screen */
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.abcweb-sidebar.active {
    right: 0;
}

.abcweb-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.abcweb-sidebar-overlay.active {
    display: block;
}

/* Sidebar Header */
.abcweb-sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.abcweb-close-sidebar-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    margin-right: 15px;
    padding: 0;
    display: flex;
    align-items: center;
}

.abcweb-sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    flex-grow: 1;
}

.abcweb-sidebar-total {
    font-size: 1rem;
    color: #666;
}

.abcweb-sidebar-total .current-price {
    color: #c59b6d;
    font-weight: 700;
    font-size: 1.2rem;;
}

/* Sidebar Content */
.abcweb-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Group container */
.abcweb-group-container {
    margin-bottom: 25px;
}

.abcweb-group-missing-required {
}

.abcweb-group-exclusion-conflict {
}

.abcweb-sidebar-required-note {
    margin-top: 8px;
    font-size: 0.82rem;
    color: #b42318;
    font-weight: 600;
}

.abcweb-group-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.abcweb-group-name {
    font-weight: 500;
    font-size: 1.1rem;
}

.abcweb-group-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    /* Square borders as per design */
    background-color: #fff;
    font-size: 1rem;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4l128-128c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 12px top 50%;
    background-size: 10px auto;
}

/* Selected Addons Display Table */
.abcweb-selected-addons {
    margin: 0;
    padding: 0;
}

.abcweb-selected-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.abcweb-selected-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.abcweb-selected-table tr:last-child {
    border-bottom: none;
}

.abcweb-selected-table td {
    padding: 8px 0;
    vertical-align: top;
    line-height: 1.5;
}

.abcweb-selected-table td.label {
    color: #333;
    font-weight: 400;
    width: 30%;
    padding-right: 20px;
}

.abcweb-selected-table td.value {
    color: #666;
    font-weight: 400;
    width: 70%;
    transition: background-color 0.3s ease;
}

/* Animation for when value is updated */
.abcweb-selected-table td.value.updated {
    background-color: #fff9e6;
    transition: background-color 0.1s ease;
}

/* Custom Select Component Styles */
.abcweb-custom-select {
    position: relative;
    width: 100%;
}

.abcweb-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.abcweb-select-trigger:hover {
    border-color: #bbb;
}

.abcweb-select-trigger:focus {
    outline: none;
    border-color: #ddc08d;
    box-shadow: 0 0 0 3px rgba(221, 192, 141, 0.1);
}

.abcweb-select-trigger[aria-expanded="true"] {
    border-color: #ddc08d;
    border-bottom: 1px solid #e0e0e0 !important;
    /* Gray separator line */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Hide image in trigger - only text */
.abcweb-select-thumb {
    display: none;
}

.abcweb-select-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.abcweb-select-label {
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
}

.abcweb-select-price {
    display: none;
    /* Hide price in trigger */
}

.abcweb-select-arrow {
    margin-left: 12px;
    font-size: 1rem;
    color: #666;
    transition: transform 0.3s;
    flex-shrink: 0;
    font-style: normal;
}

.abcweb-select-trigger[aria-expanded="true"] .abcweb-select-arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.abcweb-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddc08d;
    border-top: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Slim customized scrollbar for dropdown - Premium / Sleek style */
.abcweb-select-dropdown {
    scrollbar-width: thin;
    scrollbar-color: #ddc08d #f9f9f9;
}

.abcweb-select-dropdown::-webkit-scrollbar {
    width: 6px;
}

.abcweb-select-dropdown::-webkit-scrollbar-track {
    background: transparent;
    /* Cleaner background */
}

.abcweb-select-dropdown::-webkit-scrollbar-thumb {
    background-color: #ddc08d !important;
    border-radius: 20px;
    border: 2px solid #fff;
    /* Padding effect / gap around thumb */
    background-clip: content-box;
}

.abcweb-select-dropdown::-webkit-scrollbar-thumb:hover {
    background-color: #cba970 !important;
}

.abcweb-select-dropdown[hidden] {
    display: none;
}

.abcweb-select-dropdown.active {
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

/* Option Items - horizontal layout: image | name | price */
.abcweb-select-option {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.15s;
    border-bottom: 1px solid #f5f5f5;
    gap: 12px;
}

.abcweb-select-option:last-child {
    border-bottom: none;
}

.abcweb-select-option:hover {
    background-color: #fafafa;
}

.abcweb-select-option:focus {
    outline: none;
    background-color: #f5f5f5;
}

.abcweb-select-option.selected {
    background-color: #fff9f0;
}

/* Thumbnail - show in dropdown options */
.abcweb-option-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
}

/* Option info - name takes remaining space */
.abcweb-option-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    /* Allow text truncation */
}

.abcweb-option-name {
    font-size: 1rem;
    color: #333;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

/* Price aligned to right */
.abcweb-option-price {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .abcweb-sidebar {
        width: 100%;
    }

    .abcweb-selected-table td.label {
        width: 40%;
    }

    .abcweb-selected-table td.value {
        width: 60%;
    }

    .abcweb-option-thumb {
        width: 36px;
        height: 36px;
    }

    .abcweb-select-label,
    .abcweb-option-name {
        font-size: 13px;
    }


    .abcweb-option-price {
        font-size: 13px;
    }

    /* Inline text inputs - full width on mobile */
    .abcweb-inline-text-input {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Convert table rows to flex layout on mobile for better stacking */
    .abcweb-summary-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .abcweb-summary-row:last-child {
        border-bottom: none;
    }

    .abcweb-summary-label,
    .abcweb-summary-value {
        display: block;
        width: 100% !important;
        padding: 0 !important;
    }

    .abcweb-summary-label {
        font-weight: 500;
        margin-bottom: 4px;
    }
}

/* ====================================
   INFO VIEW - Group Description Sidebar
   ==================================== */

/* View containers */
.abcweb-sidebar-content {
    transition: opacity 0.2s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.abcweb-view-addons,
.abcweb-view-info {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.abcweb-view-addons.active,
.abcweb-view-info.active {
    opacity: 1;
}

/* Info view content */
.abcweb-view-info {
    padding: 20px;
}

.info-group-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.info-group-description p {
    margin: 0 0 12px 0;
}

.info-group-description p:last-child {
    margin-bottom: 0;
}

/* Info icon in group header - only show if description exists */
.abcweb-group-header .abcweb-info-icon {
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.abcweb-group-header .abcweb-info-icon:hover {
    background-color: #C4A886;
    transform: scale(1.1);
}

.abcweb-group-header .abcweb-info-icon:active {
    transform: scale(0.95);
}

/* ====================================
   ABCWEB: Upload Field Styling (added)
   Matches reference: dashed container, centered icon, labels
   ==================================== */
.abcweb-upload-field {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px;
    min-height: 140px;
    border: 2px dashed #e6e7ea;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
}

.abcweb-upload-field.hidden {
    display: none !important;
}

.abcweb-upload-field .icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #eadfc9;
    /* beige-ish */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b4f34;
    font-size: 28px;
    flex-shrink: 0;
}

.abcweb-upload-label {
    margin: 0;
}

.abcweb-upload-label .title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.abcweb-upload-label .subtitle {
    font-size: 13px;
    color: #6b6b6b;
    margin: 0;
}

.abcweb-upload-input {
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0; */
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}


/* Footer at top when filled */
.abcweb-upload-footer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    z-index: 2;
    max-width: 90%;
}

.abcweb-upload-clear-row {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Blur effect overlay when filled */
.abcweb-upload-field.filled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    /* fallback for browsers without backdrop-filter */
    /* For Safari/Chrome: */
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 8px;
    transition: background 0.2s;
}

.abcweb-upload-preview {
    display: none;
    font-size: 13px;
    color: #333;
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    max-width: calc(100% - 48px);
}

.abcweb-upload-field.filled .abcweb-upload-preview {
    display: flex;
}

.abcweb-upload-preview .upload-file-name {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    display: inline-block;
    vertical-align: middle;
}

.abcweb-upload-preview .upload-file-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.abcweb-upload-preview .upload-file-size {
    color: #6b6b6b;
    font-size: 0.8rem;
    text-wrap: nowrap;
}

.abcweb-upload-clear {
    display: none;
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.abcweb-upload-field.filled .abcweb-upload-clear {
    display: inline-flex;
    align-items: center;
}

/* subtle hover state */
.abcweb-upload-field:hover {
    border-color: #d6d7da;
}

@media (max-width: 480px) {
    .abcweb-upload-field {
        padding: 18px;
        min-height: 110px;
    }

    .abcweb-upload-field .icon-circle {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .abcweb-upload-label .title {
        font-size: 1.2rem;
    }
}

/* ====================================
   ABCWEB: Exclusions Styling
   ==================================== */

/* Excluded option in dropdown */
.abcweb-select-option.excluded {
    background-color: #fff !important;
    /* White background for the option itself */
    opacity: 0.6;
    /* Lightened to match reference but still readable */
    pointer-events: none;
    /* Not clickable */
    position: relative;
    cursor: not-allowed !important;
}

/* Remove emoji icon from excluded options */
.abcweb-select-option.excluded::after {
    content: '';
    /* Remove 🚫 emoji */
    display: none;
}

/* Exclusion message wrapper (for layout/spacing) */
.abcweb-option-blocked-info-wrapper {
    padding: 0px 16px;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

/* Exclusion message BELOW excluded option (standalone box) */
.abcweb-option-blocked-info {
    padding: 8px 10px;
    /* Adjusted padding for inner box */
    background-color: #f6f0e3;
    /* Beige background for the box */
    font-size: 13px;
    /* Slightly larger font */
    color: #000;
    /* Black text for better readability */
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
    /* CENTERED text */
    display: block;
    width: 100%;
    margin-bottom: 8px;
    /* Separation from next item */
    box-sizing: border-box;
}

/* Exclusion message below select - simplified neutral design */
.abcweb-exclusion-message {
    margin-top: 12px;
    background: #f8f8f8;
    /* Light gray background */
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
    color: #444;
    display: block !important;
    padding: 0 !important;
    gap: 0 !important;
    transition: all 0.3s ease;
    overflow: hidden;
}

.abcweb-exclusion-message:hover {
    border-color: #dcdcdc;
}

.abcweb-exclusion-message strong {
    color: #222;
    font-weight: 600;
}

.abcweb-exclusion-message .toggle-icon {
    font-size: 10px;
    margin-left: auto;
    color: #444;
}



/* Mobile responsive for exclusion messages */
@media (max-width: 480px) {
    .abcweb-exclusion-message {
        font-size: 0.8rem;
        padding: 12px 14px;
        gap: 10px;
    }

    .abcweb-exclusion-message small {
        font-size: 11px;
    }
}

/* Additional styles for compact exclusion message with toggle */

/* Summary line (always visible, clickable) */
.exclusion-summary {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    user-select: none;
    line-height: 1.5;
    position: relative;
    padding-right: 40px;
}

.exclusion-summary:hover {
    background-color: #fafafa;
}

.exclusion-summary::before {
    content: '';
    display: none;
}

.exclusion-summary strong {
    color: #222;
    font-weight: 600;
}

.toggle-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    transition: transform 0.3s ease;
    color: #444;
}

/* Rotate icon when expanded */
.abcweb-exclusion-message:has(.exclusion-details.expanded) .toggle-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Details section (expandable) */
.exclusion-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.exclusion-details.expanded {
    max-height: 800px;
}

.details-content {
    padding: 12px 16px;
    border-top: 1px solid #e0e0e0;
    background-color: #fff;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #444;
}

.details-content strong {
    color: #222;
    display: block;
    margin-bottom: 8px;
}

/* Excluded options table */
.excluded-options-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.excluded-options-table td {
    padding: 4px 0;
    vertical-align: top;
}

.excluded-options-table .option-bullet {
    width: 20px;
    color: #ccc;
    font-weight: bold;
    padding-right: 8px;
}

.excluded-options-table .option-name {
    color: #444;
    line-height: 1.5;
}



/* Global Notification Area */
.abcweb-notifications-area {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.abcweb-user-message {
    padding: 14px 20px;
    background: hsl(36, 38%, 95%);
    /* Very light beige */
    border: 1px solid #f6f0e3;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.5;
    animation: slideInNotify 0.3s ease-out;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* .abcweb-user-message.success {
    border-left-color: #28a745;
}

.abcweb-user-message.warning {
    border-left-color: #ffc107;
}

.abcweb-user-message.info {
    border-left-color: #ddc08d;
} */

@keyframes slideInNotify {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Force hide when .hidden class is present - moved to bottom to ensure final word */
.abcweb-exclusion-message.hidden {
    display: none !important;
}



/**/
.product__variants .variant .form-select.disabled {
    color: gray;
}



/*  */
.abcweb-size-fields {
    width: 100%;
}
.abcweb-size-fields-row {
    container-type: inline-size;
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
    margin-left: unset;
    margin-top: 0.5rem;
}
.abcweb-size-field {
    flex: 1 1 100%;
    min-width: 220px;
    max-width: 100%;
}

/* container query: jeśli jest miejsce na 2 elementy, ustawimy 50% */
@container (min-width: calc(2 * 220px + 1rem)) {
    .abcweb-size-field {
        flex: 1 1 48%;
        min-width: 0;
    }
}

.abcweb-size-toggle-checkbox {
    appearance: none;
    width: 1.15em;
    height: 1.15em;
    border: 1px solid black;
    border-radius: 0;
    display: grid;
    place-content: center;
    background: white;
    color: white;
}
.abcweb-size-toggle-checkbox::before {
    content: '';
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 0.12s transform ease-in-out;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    background-color: currentColor;
}
.abcweb-size-toggle-checkbox:checked::before {
    transform: scale(1);
}

@media screen and (max-width: 575.98px) {
    .abcweb-size-fields-row {
        flex-wrap: wrap;
    }
}


